locostack.com_agents.yaml 284 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110
  1. ---
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. annotations:
  6. controller-gen.kubebuilder.io/version: v0.20.1
  7. name: agents.locostack.com
  8. spec:
  9. group: locostack.com
  10. names:
  11. kind: Agent
  12. listKind: AgentList
  13. plural: agents
  14. shortNames:
  15. - agt
  16. singular: agent
  17. scope: Namespaced
  18. versions:
  19. - additionalPrinterColumns:
  20. - jsonPath: .spec.template.name
  21. name: Runtime
  22. type: string
  23. - jsonPath: .status.conditions[?(@.type=='Ready')].status
  24. name: Ready
  25. type: string
  26. name: v1alpha1
  27. schema:
  28. openAPIV3Schema:
  29. description: Agent is the Schema for the agents API
  30. properties:
  31. apiVersion:
  32. description: |-
  33. APIVersion defines the versioned schema of this representation of an object.
  34. Servers should convert recognized schemas to the latest internal value, and
  35. may reject unrecognized values.
  36. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  37. type: string
  38. kind:
  39. description: |-
  40. Kind is a string value representing the REST resource this object represents.
  41. Servers may infer this from the endpoint the client submits requests to.
  42. Cannot be updated.
  43. In CamelCase.
  44. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  45. type: string
  46. metadata:
  47. type: object
  48. spec:
  49. description: spec defines the desired state of Agent
  50. properties:
  51. knowledgeBases:
  52. description: |-
  53. knowledgeBases are the knowledge bases bound to this agent.
  54. Each entry references an ExternalKnowledgeBase or ManagedKnowledgeBase in the same namespace.
  55. items:
  56. description: ObjectReference contains enough information to let
  57. you inspect or modify the referred object.
  58. properties:
  59. apiVersion:
  60. description: API version of the referent.
  61. type: string
  62. fieldPath:
  63. description: |-
  64. If referring to a piece of an object instead of an entire object, this string
  65. should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
  66. For example, if the object reference is to a container within a pod, this would take on a value like:
  67. "spec.containers{name}" (where "name" refers to the name of the container that triggered
  68. the event) or if no container name is specified "spec.containers[2]" (container with
  69. index 2 in this pod). This syntax is chosen only to have some well-defined way of
  70. referencing a part of an object.
  71. type: string
  72. kind:
  73. description: |-
  74. Kind of the referent.
  75. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  76. type: string
  77. name:
  78. description: |-
  79. Name of the referent.
  80. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  81. type: string
  82. namespace:
  83. description: |-
  84. Namespace of the referent.
  85. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
  86. type: string
  87. resourceVersion:
  88. description: |-
  89. Specific resourceVersion to which this reference is made, if any.
  90. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
  91. type: string
  92. uid:
  93. description: |-
  94. UID of the referent.
  95. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
  96. type: string
  97. type: object
  98. x-kubernetes-map-type: atomic
  99. type: array
  100. model:
  101. description: |-
  102. model is the language model bound to this agent.
  103. Must reference an ExternalModel or ManagedModel (category=language) in the same namespace.
  104. properties:
  105. apiVersion:
  106. description: API version of the referent.
  107. type: string
  108. fieldPath:
  109. description: |-
  110. If referring to a piece of an object instead of an entire object, this string
  111. should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
  112. For example, if the object reference is to a container within a pod, this would take on a value like:
  113. "spec.containers{name}" (where "name" refers to the name of the container that triggered
  114. the event) or if no container name is specified "spec.containers[2]" (container with
  115. index 2 in this pod). This syntax is chosen only to have some well-defined way of
  116. referencing a part of an object.
  117. type: string
  118. kind:
  119. description: |-
  120. Kind of the referent.
  121. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  122. type: string
  123. name:
  124. description: |-
  125. Name of the referent.
  126. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  127. type: string
  128. namespace:
  129. description: |-
  130. Namespace of the referent.
  131. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
  132. type: string
  133. resourceVersion:
  134. description: |-
  135. Specific resourceVersion to which this reference is made, if any.
  136. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
  137. type: string
  138. uid:
  139. description: |-
  140. UID of the referent.
  141. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
  142. type: string
  143. type: object
  144. x-kubernetes-map-type: atomic
  145. skills:
  146. description: |-
  147. skills are the agent skills bound to this agent.
  148. Each entry references a Skill in the same namespace.
  149. items:
  150. description: ObjectReference contains enough information to let
  151. you inspect or modify the referred object.
  152. properties:
  153. apiVersion:
  154. description: API version of the referent.
  155. type: string
  156. fieldPath:
  157. description: |-
  158. If referring to a piece of an object instead of an entire object, this string
  159. should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
  160. For example, if the object reference is to a container within a pod, this would take on a value like:
  161. "spec.containers{name}" (where "name" refers to the name of the container that triggered
  162. the event) or if no container name is specified "spec.containers[2]" (container with
  163. index 2 in this pod). This syntax is chosen only to have some well-defined way of
  164. referencing a part of an object.
  165. type: string
  166. kind:
  167. description: |-
  168. Kind of the referent.
  169. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  170. type: string
  171. name:
  172. description: |-
  173. Name of the referent.
  174. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  175. type: string
  176. namespace:
  177. description: |-
  178. Namespace of the referent.
  179. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
  180. type: string
  181. resourceVersion:
  182. description: |-
  183. Specific resourceVersion to which this reference is made, if any.
  184. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
  185. type: string
  186. uid:
  187. description: |-
  188. UID of the referent.
  189. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
  190. type: string
  191. type: object
  192. x-kubernetes-map-type: atomic
  193. type: array
  194. stackRef:
  195. description: stackRef associates this tool with a stack.
  196. properties:
  197. name:
  198. default: ""
  199. description: |-
  200. Name of the referent.
  201. This field is effectively required, but due to backwards compatibility is
  202. allowed to be empty. Instances of this type with an empty value here are
  203. almost certainly wrong.
  204. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  205. type: string
  206. type: object
  207. x-kubernetes-map-type: atomic
  208. subagents:
  209. description: |-
  210. subagents are the agents bound to this agent.
  211. Each entry references an Agent in the same namespace.
  212. items:
  213. description: ObjectReference contains enough information to let
  214. you inspect or modify the referred object.
  215. properties:
  216. apiVersion:
  217. description: API version of the referent.
  218. type: string
  219. fieldPath:
  220. description: |-
  221. If referring to a piece of an object instead of an entire object, this string
  222. should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
  223. For example, if the object reference is to a container within a pod, this would take on a value like:
  224. "spec.containers{name}" (where "name" refers to the name of the container that triggered
  225. the event) or if no container name is specified "spec.containers[2]" (container with
  226. index 2 in this pod). This syntax is chosen only to have some well-defined way of
  227. referencing a part of an object.
  228. type: string
  229. kind:
  230. description: |-
  231. Kind of the referent.
  232. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  233. type: string
  234. name:
  235. description: |-
  236. Name of the referent.
  237. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  238. type: string
  239. namespace:
  240. description: |-
  241. Namespace of the referent.
  242. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
  243. type: string
  244. resourceVersion:
  245. description: |-
  246. Specific resourceVersion to which this reference is made, if any.
  247. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
  248. type: string
  249. uid:
  250. description: |-
  251. UID of the referent.
  252. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
  253. type: string
  254. type: object
  255. x-kubernetes-map-type: atomic
  256. type: array
  257. systemPrompt:
  258. description: |-
  259. systemPrompt is injected at the start of every conversation.
  260. Overrides the class-level default when set.
  261. type: string
  262. template:
  263. description: template holds the configuration overrides for the component.
  264. properties:
  265. metadata:
  266. description: metadata is a standard object metadata.
  267. type: object
  268. name:
  269. description: name selects a built-in preset.
  270. type: string
  271. spec:
  272. description: spec holds the pod-level configuration for the workload.
  273. properties:
  274. affinity:
  275. description: affinity provides fine-grained node and pod (anti-)affinity
  276. rules.
  277. properties:
  278. nodeAffinity:
  279. description: Describes node affinity scheduling rules
  280. for the pod.
  281. properties:
  282. preferredDuringSchedulingIgnoredDuringExecution:
  283. description: |-
  284. The scheduler will prefer to schedule pods to nodes that satisfy
  285. the affinity expressions specified by this field, but it may choose
  286. a node that violates one or more of the expressions. The node that is
  287. most preferred is the one with the greatest sum of weights, i.e.
  288. for each node that meets all of the scheduling requirements (resource
  289. request, requiredDuringScheduling affinity expressions, etc.),
  290. compute a sum by iterating through the elements of this field and adding
  291. "weight" to the sum if the node matches the corresponding matchExpressions; the
  292. node(s) with the highest sum are the most preferred.
  293. items:
  294. description: |-
  295. An empty preferred scheduling term matches all objects with implicit weight 0
  296. (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
  297. properties:
  298. preference:
  299. description: A node selector term, associated
  300. with the corresponding weight.
  301. properties:
  302. matchExpressions:
  303. description: A list of node selector requirements
  304. by node's labels.
  305. items:
  306. description: |-
  307. A node selector requirement is a selector that contains values, a key, and an operator
  308. that relates the key and values.
  309. properties:
  310. key:
  311. description: The label key that the
  312. selector applies to.
  313. type: string
  314. operator:
  315. description: |-
  316. Represents a key's relationship to a set of values.
  317. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  318. type: string
  319. values:
  320. description: |-
  321. An array of string values. If the operator is In or NotIn,
  322. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  323. the values array must be empty. If the operator is Gt or Lt, the values
  324. array must have a single element, which will be interpreted as an integer.
  325. This array is replaced during a strategic merge patch.
  326. items:
  327. type: string
  328. type: array
  329. x-kubernetes-list-type: atomic
  330. required:
  331. - key
  332. - operator
  333. type: object
  334. type: array
  335. x-kubernetes-list-type: atomic
  336. matchFields:
  337. description: A list of node selector requirements
  338. by node's fields.
  339. items:
  340. description: |-
  341. A node selector requirement is a selector that contains values, a key, and an operator
  342. that relates the key and values.
  343. properties:
  344. key:
  345. description: The label key that the
  346. selector applies to.
  347. type: string
  348. operator:
  349. description: |-
  350. Represents a key's relationship to a set of values.
  351. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  352. type: string
  353. values:
  354. description: |-
  355. An array of string values. If the operator is In or NotIn,
  356. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  357. the values array must be empty. If the operator is Gt or Lt, the values
  358. array must have a single element, which will be interpreted as an integer.
  359. This array is replaced during a strategic merge patch.
  360. items:
  361. type: string
  362. type: array
  363. x-kubernetes-list-type: atomic
  364. required:
  365. - key
  366. - operator
  367. type: object
  368. type: array
  369. x-kubernetes-list-type: atomic
  370. type: object
  371. x-kubernetes-map-type: atomic
  372. weight:
  373. description: Weight associated with matching
  374. the corresponding nodeSelectorTerm, in the
  375. range 1-100.
  376. format: int32
  377. type: integer
  378. required:
  379. - preference
  380. - weight
  381. type: object
  382. type: array
  383. x-kubernetes-list-type: atomic
  384. requiredDuringSchedulingIgnoredDuringExecution:
  385. description: |-
  386. If the affinity requirements specified by this field are not met at
  387. scheduling time, the pod will not be scheduled onto the node.
  388. If the affinity requirements specified by this field cease to be met
  389. at some point during pod execution (e.g. due to an update), the system
  390. may or may not try to eventually evict the pod from its node.
  391. properties:
  392. nodeSelectorTerms:
  393. description: Required. A list of node selector
  394. terms. The terms are ORed.
  395. items:
  396. description: |-
  397. A null or empty node selector term matches no objects. The requirements of
  398. them are ANDed.
  399. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
  400. properties:
  401. matchExpressions:
  402. description: A list of node selector requirements
  403. by node's labels.
  404. items:
  405. description: |-
  406. A node selector requirement is a selector that contains values, a key, and an operator
  407. that relates the key and values.
  408. properties:
  409. key:
  410. description: The label key that the
  411. selector applies to.
  412. type: string
  413. operator:
  414. description: |-
  415. Represents a key's relationship to a set of values.
  416. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  417. type: string
  418. values:
  419. description: |-
  420. An array of string values. If the operator is In or NotIn,
  421. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  422. the values array must be empty. If the operator is Gt or Lt, the values
  423. array must have a single element, which will be interpreted as an integer.
  424. This array is replaced during a strategic merge patch.
  425. items:
  426. type: string
  427. type: array
  428. x-kubernetes-list-type: atomic
  429. required:
  430. - key
  431. - operator
  432. type: object
  433. type: array
  434. x-kubernetes-list-type: atomic
  435. matchFields:
  436. description: A list of node selector requirements
  437. by node's fields.
  438. items:
  439. description: |-
  440. A node selector requirement is a selector that contains values, a key, and an operator
  441. that relates the key and values.
  442. properties:
  443. key:
  444. description: The label key that the
  445. selector applies to.
  446. type: string
  447. operator:
  448. description: |-
  449. Represents a key's relationship to a set of values.
  450. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  451. type: string
  452. values:
  453. description: |-
  454. An array of string values. If the operator is In or NotIn,
  455. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  456. the values array must be empty. If the operator is Gt or Lt, the values
  457. array must have a single element, which will be interpreted as an integer.
  458. This array is replaced during a strategic merge patch.
  459. items:
  460. type: string
  461. type: array
  462. x-kubernetes-list-type: atomic
  463. required:
  464. - key
  465. - operator
  466. type: object
  467. type: array
  468. x-kubernetes-list-type: atomic
  469. type: object
  470. x-kubernetes-map-type: atomic
  471. type: array
  472. x-kubernetes-list-type: atomic
  473. required:
  474. - nodeSelectorTerms
  475. type: object
  476. x-kubernetes-map-type: atomic
  477. type: object
  478. podAffinity:
  479. description: Describes pod affinity scheduling rules (e.g.
  480. co-locate this pod in the same node, zone, etc. as some
  481. other pod(s)).
  482. properties:
  483. preferredDuringSchedulingIgnoredDuringExecution:
  484. description: |-
  485. The scheduler will prefer to schedule pods to nodes that satisfy
  486. the affinity expressions specified by this field, but it may choose
  487. a node that violates one or more of the expressions. The node that is
  488. most preferred is the one with the greatest sum of weights, i.e.
  489. for each node that meets all of the scheduling requirements (resource
  490. request, requiredDuringScheduling affinity expressions, etc.),
  491. compute a sum by iterating through the elements of this field and adding
  492. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  493. node(s) with the highest sum are the most preferred.
  494. items:
  495. description: The weights of all of the matched WeightedPodAffinityTerm
  496. fields are added per-node to find the most preferred
  497. node(s)
  498. properties:
  499. podAffinityTerm:
  500. description: Required. A pod affinity term,
  501. associated with the corresponding weight.
  502. properties:
  503. labelSelector:
  504. description: |-
  505. A label query over a set of resources, in this case pods.
  506. If it's null, this PodAffinityTerm matches with no Pods.
  507. properties:
  508. matchExpressions:
  509. description: matchExpressions is a list
  510. of label selector requirements. The
  511. requirements are ANDed.
  512. items:
  513. description: |-
  514. A label selector requirement is a selector that contains values, a key, and an operator that
  515. relates the key and values.
  516. properties:
  517. key:
  518. description: key is the label
  519. key that the selector applies
  520. to.
  521. type: string
  522. operator:
  523. description: |-
  524. operator represents a key's relationship to a set of values.
  525. Valid operators are In, NotIn, Exists and DoesNotExist.
  526. type: string
  527. values:
  528. description: |-
  529. values is an array of string values. If the operator is In or NotIn,
  530. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  531. the values array must be empty. This array is replaced during a strategic
  532. merge patch.
  533. items:
  534. type: string
  535. type: array
  536. x-kubernetes-list-type: atomic
  537. required:
  538. - key
  539. - operator
  540. type: object
  541. type: array
  542. x-kubernetes-list-type: atomic
  543. matchLabels:
  544. additionalProperties:
  545. type: string
  546. description: |-
  547. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  548. map is equivalent to an element of matchExpressions, whose key field is "key", the
  549. operator is "In", and the values array contains only "value". The requirements are ANDed.
  550. type: object
  551. type: object
  552. x-kubernetes-map-type: atomic
  553. matchLabelKeys:
  554. description: |-
  555. MatchLabelKeys is a set of pod label keys to select which pods will
  556. be taken into consideration. The keys are used to lookup values from the
  557. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  558. to select the group of existing pods which pods will be taken into consideration
  559. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  560. pod labels will be ignored. The default value is empty.
  561. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  562. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  563. items:
  564. type: string
  565. type: array
  566. x-kubernetes-list-type: atomic
  567. mismatchLabelKeys:
  568. description: |-
  569. MismatchLabelKeys is a set of pod label keys to select which pods will
  570. be taken into consideration. The keys are used to lookup values from the
  571. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  572. to select the group of existing pods which pods will be taken into consideration
  573. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  574. pod labels will be ignored. The default value is empty.
  575. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  576. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  577. items:
  578. type: string
  579. type: array
  580. x-kubernetes-list-type: atomic
  581. namespaceSelector:
  582. description: |-
  583. A label query over the set of namespaces that the term applies to.
  584. The term is applied to the union of the namespaces selected by this field
  585. and the ones listed in the namespaces field.
  586. null selector and null or empty namespaces list means "this pod's namespace".
  587. An empty selector ({}) matches all namespaces.
  588. properties:
  589. matchExpressions:
  590. description: matchExpressions is a list
  591. of label selector requirements. The
  592. requirements are ANDed.
  593. items:
  594. description: |-
  595. A label selector requirement is a selector that contains values, a key, and an operator that
  596. relates the key and values.
  597. properties:
  598. key:
  599. description: key is the label
  600. key that the selector applies
  601. to.
  602. type: string
  603. operator:
  604. description: |-
  605. operator represents a key's relationship to a set of values.
  606. Valid operators are In, NotIn, Exists and DoesNotExist.
  607. type: string
  608. values:
  609. description: |-
  610. values is an array of string values. If the operator is In or NotIn,
  611. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  612. the values array must be empty. This array is replaced during a strategic
  613. merge patch.
  614. items:
  615. type: string
  616. type: array
  617. x-kubernetes-list-type: atomic
  618. required:
  619. - key
  620. - operator
  621. type: object
  622. type: array
  623. x-kubernetes-list-type: atomic
  624. matchLabels:
  625. additionalProperties:
  626. type: string
  627. description: |-
  628. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  629. map is equivalent to an element of matchExpressions, whose key field is "key", the
  630. operator is "In", and the values array contains only "value". The requirements are ANDed.
  631. type: object
  632. type: object
  633. x-kubernetes-map-type: atomic
  634. namespaces:
  635. description: |-
  636. namespaces specifies a static list of namespace names that the term applies to.
  637. The term is applied to the union of the namespaces listed in this field
  638. and the ones selected by namespaceSelector.
  639. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  640. items:
  641. type: string
  642. type: array
  643. x-kubernetes-list-type: atomic
  644. topologyKey:
  645. description: |-
  646. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  647. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  648. whose value of the label with key topologyKey matches that of any node on which any of the
  649. selected pods is running.
  650. Empty topologyKey is not allowed.
  651. type: string
  652. required:
  653. - topologyKey
  654. type: object
  655. weight:
  656. description: |-
  657. weight associated with matching the corresponding podAffinityTerm,
  658. in the range 1-100.
  659. format: int32
  660. type: integer
  661. required:
  662. - podAffinityTerm
  663. - weight
  664. type: object
  665. type: array
  666. x-kubernetes-list-type: atomic
  667. requiredDuringSchedulingIgnoredDuringExecution:
  668. description: |-
  669. If the affinity requirements specified by this field are not met at
  670. scheduling time, the pod will not be scheduled onto the node.
  671. If the affinity requirements specified by this field cease to be met
  672. at some point during pod execution (e.g. due to a pod label update), the
  673. system may or may not try to eventually evict the pod from its node.
  674. When there are multiple elements, the lists of nodes corresponding to each
  675. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  676. items:
  677. description: |-
  678. Defines a set of pods (namely those matching the labelSelector
  679. relative to the given namespace(s)) that this pod should be
  680. co-located (affinity) or not co-located (anti-affinity) with,
  681. where co-located is defined as running on a node whose value of
  682. the label with key <topologyKey> matches that of any node on which
  683. a pod of the set of pods is running
  684. properties:
  685. labelSelector:
  686. description: |-
  687. A label query over a set of resources, in this case pods.
  688. If it's null, this PodAffinityTerm matches with no Pods.
  689. properties:
  690. matchExpressions:
  691. description: matchExpressions is a list
  692. of label selector requirements. The requirements
  693. are ANDed.
  694. items:
  695. description: |-
  696. A label selector requirement is a selector that contains values, a key, and an operator that
  697. relates the key and values.
  698. properties:
  699. key:
  700. description: key is the label key
  701. that the selector applies to.
  702. type: string
  703. operator:
  704. description: |-
  705. operator represents a key's relationship to a set of values.
  706. Valid operators are In, NotIn, Exists and DoesNotExist.
  707. type: string
  708. values:
  709. description: |-
  710. values is an array of string values. If the operator is In or NotIn,
  711. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  712. the values array must be empty. This array is replaced during a strategic
  713. merge patch.
  714. items:
  715. type: string
  716. type: array
  717. x-kubernetes-list-type: atomic
  718. required:
  719. - key
  720. - operator
  721. type: object
  722. type: array
  723. x-kubernetes-list-type: atomic
  724. matchLabels:
  725. additionalProperties:
  726. type: string
  727. description: |-
  728. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  729. map is equivalent to an element of matchExpressions, whose key field is "key", the
  730. operator is "In", and the values array contains only "value". The requirements are ANDed.
  731. type: object
  732. type: object
  733. x-kubernetes-map-type: atomic
  734. matchLabelKeys:
  735. description: |-
  736. MatchLabelKeys is a set of pod label keys to select which pods will
  737. be taken into consideration. The keys are used to lookup values from the
  738. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  739. to select the group of existing pods which pods will be taken into consideration
  740. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  741. pod labels will be ignored. The default value is empty.
  742. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  743. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  744. items:
  745. type: string
  746. type: array
  747. x-kubernetes-list-type: atomic
  748. mismatchLabelKeys:
  749. description: |-
  750. MismatchLabelKeys is a set of pod label keys to select which pods will
  751. be taken into consideration. The keys are used to lookup values from the
  752. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  753. to select the group of existing pods which pods will be taken into consideration
  754. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  755. pod labels will be ignored. The default value is empty.
  756. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  757. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  758. items:
  759. type: string
  760. type: array
  761. x-kubernetes-list-type: atomic
  762. namespaceSelector:
  763. description: |-
  764. A label query over the set of namespaces that the term applies to.
  765. The term is applied to the union of the namespaces selected by this field
  766. and the ones listed in the namespaces field.
  767. null selector and null or empty namespaces list means "this pod's namespace".
  768. An empty selector ({}) matches all namespaces.
  769. properties:
  770. matchExpressions:
  771. description: matchExpressions is a list
  772. of label selector requirements. The requirements
  773. are ANDed.
  774. items:
  775. description: |-
  776. A label selector requirement is a selector that contains values, a key, and an operator that
  777. relates the key and values.
  778. properties:
  779. key:
  780. description: key is the label key
  781. that the selector applies to.
  782. type: string
  783. operator:
  784. description: |-
  785. operator represents a key's relationship to a set of values.
  786. Valid operators are In, NotIn, Exists and DoesNotExist.
  787. type: string
  788. values:
  789. description: |-
  790. values is an array of string values. If the operator is In or NotIn,
  791. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  792. the values array must be empty. This array is replaced during a strategic
  793. merge patch.
  794. items:
  795. type: string
  796. type: array
  797. x-kubernetes-list-type: atomic
  798. required:
  799. - key
  800. - operator
  801. type: object
  802. type: array
  803. x-kubernetes-list-type: atomic
  804. matchLabels:
  805. additionalProperties:
  806. type: string
  807. description: |-
  808. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  809. map is equivalent to an element of matchExpressions, whose key field is "key", the
  810. operator is "In", and the values array contains only "value". The requirements are ANDed.
  811. type: object
  812. type: object
  813. x-kubernetes-map-type: atomic
  814. namespaces:
  815. description: |-
  816. namespaces specifies a static list of namespace names that the term applies to.
  817. The term is applied to the union of the namespaces listed in this field
  818. and the ones selected by namespaceSelector.
  819. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  820. items:
  821. type: string
  822. type: array
  823. x-kubernetes-list-type: atomic
  824. topologyKey:
  825. description: |-
  826. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  827. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  828. whose value of the label with key topologyKey matches that of any node on which any of the
  829. selected pods is running.
  830. Empty topologyKey is not allowed.
  831. type: string
  832. required:
  833. - topologyKey
  834. type: object
  835. type: array
  836. x-kubernetes-list-type: atomic
  837. type: object
  838. podAntiAffinity:
  839. description: Describes pod anti-affinity scheduling rules
  840. (e.g. avoid putting this pod in the same node, zone,
  841. etc. as some other pod(s)).
  842. properties:
  843. preferredDuringSchedulingIgnoredDuringExecution:
  844. description: |-
  845. The scheduler will prefer to schedule pods to nodes that satisfy
  846. the anti-affinity expressions specified by this field, but it may choose
  847. a node that violates one or more of the expressions. The node that is
  848. most preferred is the one with the greatest sum of weights, i.e.
  849. for each node that meets all of the scheduling requirements (resource
  850. request, requiredDuringScheduling anti-affinity expressions, etc.),
  851. compute a sum by iterating through the elements of this field and subtracting
  852. "weight" from the sum if the node has pods which matches the corresponding podAffinityTerm; the
  853. node(s) with the highest sum are the most preferred.
  854. items:
  855. description: The weights of all of the matched WeightedPodAffinityTerm
  856. fields are added per-node to find the most preferred
  857. node(s)
  858. properties:
  859. podAffinityTerm:
  860. description: Required. A pod affinity term,
  861. associated with the corresponding weight.
  862. properties:
  863. labelSelector:
  864. description: |-
  865. A label query over a set of resources, in this case pods.
  866. If it's null, this PodAffinityTerm matches with no Pods.
  867. properties:
  868. matchExpressions:
  869. description: matchExpressions is a list
  870. of label selector requirements. The
  871. requirements are ANDed.
  872. items:
  873. description: |-
  874. A label selector requirement is a selector that contains values, a key, and an operator that
  875. relates the key and values.
  876. properties:
  877. key:
  878. description: key is the label
  879. key that the selector applies
  880. to.
  881. type: string
  882. operator:
  883. description: |-
  884. operator represents a key's relationship to a set of values.
  885. Valid operators are In, NotIn, Exists and DoesNotExist.
  886. type: string
  887. values:
  888. description: |-
  889. values is an array of string values. If the operator is In or NotIn,
  890. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  891. the values array must be empty. This array is replaced during a strategic
  892. merge patch.
  893. items:
  894. type: string
  895. type: array
  896. x-kubernetes-list-type: atomic
  897. required:
  898. - key
  899. - operator
  900. type: object
  901. type: array
  902. x-kubernetes-list-type: atomic
  903. matchLabels:
  904. additionalProperties:
  905. type: string
  906. description: |-
  907. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  908. map is equivalent to an element of matchExpressions, whose key field is "key", the
  909. operator is "In", and the values array contains only "value". The requirements are ANDed.
  910. type: object
  911. type: object
  912. x-kubernetes-map-type: atomic
  913. matchLabelKeys:
  914. description: |-
  915. MatchLabelKeys is a set of pod label keys to select which pods will
  916. be taken into consideration. The keys are used to lookup values from the
  917. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  918. to select the group of existing pods which pods will be taken into consideration
  919. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  920. pod labels will be ignored. The default value is empty.
  921. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  922. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  923. items:
  924. type: string
  925. type: array
  926. x-kubernetes-list-type: atomic
  927. mismatchLabelKeys:
  928. description: |-
  929. MismatchLabelKeys is a set of pod label keys to select which pods will
  930. be taken into consideration. The keys are used to lookup values from the
  931. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  932. to select the group of existing pods which pods will be taken into consideration
  933. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  934. pod labels will be ignored. The default value is empty.
  935. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  936. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  937. items:
  938. type: string
  939. type: array
  940. x-kubernetes-list-type: atomic
  941. namespaceSelector:
  942. description: |-
  943. A label query over the set of namespaces that the term applies to.
  944. The term is applied to the union of the namespaces selected by this field
  945. and the ones listed in the namespaces field.
  946. null selector and null or empty namespaces list means "this pod's namespace".
  947. An empty selector ({}) matches all namespaces.
  948. properties:
  949. matchExpressions:
  950. description: matchExpressions is a list
  951. of label selector requirements. The
  952. requirements are ANDed.
  953. items:
  954. description: |-
  955. A label selector requirement is a selector that contains values, a key, and an operator that
  956. relates the key and values.
  957. properties:
  958. key:
  959. description: key is the label
  960. key that the selector applies
  961. to.
  962. type: string
  963. operator:
  964. description: |-
  965. operator represents a key's relationship to a set of values.
  966. Valid operators are In, NotIn, Exists and DoesNotExist.
  967. type: string
  968. values:
  969. description: |-
  970. values is an array of string values. If the operator is In or NotIn,
  971. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  972. the values array must be empty. This array is replaced during a strategic
  973. merge patch.
  974. items:
  975. type: string
  976. type: array
  977. x-kubernetes-list-type: atomic
  978. required:
  979. - key
  980. - operator
  981. type: object
  982. type: array
  983. x-kubernetes-list-type: atomic
  984. matchLabels:
  985. additionalProperties:
  986. type: string
  987. description: |-
  988. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  989. map is equivalent to an element of matchExpressions, whose key field is "key", the
  990. operator is "In", and the values array contains only "value". The requirements are ANDed.
  991. type: object
  992. type: object
  993. x-kubernetes-map-type: atomic
  994. namespaces:
  995. description: |-
  996. namespaces specifies a static list of namespace names that the term applies to.
  997. The term is applied to the union of the namespaces listed in this field
  998. and the ones selected by namespaceSelector.
  999. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  1000. items:
  1001. type: string
  1002. type: array
  1003. x-kubernetes-list-type: atomic
  1004. topologyKey:
  1005. description: |-
  1006. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  1007. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  1008. whose value of the label with key topologyKey matches that of any node on which any of the
  1009. selected pods is running.
  1010. Empty topologyKey is not allowed.
  1011. type: string
  1012. required:
  1013. - topologyKey
  1014. type: object
  1015. weight:
  1016. description: |-
  1017. weight associated with matching the corresponding podAffinityTerm,
  1018. in the range 1-100.
  1019. format: int32
  1020. type: integer
  1021. required:
  1022. - podAffinityTerm
  1023. - weight
  1024. type: object
  1025. type: array
  1026. x-kubernetes-list-type: atomic
  1027. requiredDuringSchedulingIgnoredDuringExecution:
  1028. description: |-
  1029. If the anti-affinity requirements specified by this field are not met at
  1030. scheduling time, the pod will not be scheduled onto the node.
  1031. If the anti-affinity requirements specified by this field cease to be met
  1032. at some point during pod execution (e.g. due to a pod label update), the
  1033. system may or may not try to eventually evict the pod from its node.
  1034. When there are multiple elements, the lists of nodes corresponding to each
  1035. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  1036. items:
  1037. description: |-
  1038. Defines a set of pods (namely those matching the labelSelector
  1039. relative to the given namespace(s)) that this pod should be
  1040. co-located (affinity) or not co-located (anti-affinity) with,
  1041. where co-located is defined as running on a node whose value of
  1042. the label with key <topologyKey> matches that of any node on which
  1043. a pod of the set of pods is running
  1044. properties:
  1045. labelSelector:
  1046. description: |-
  1047. A label query over a set of resources, in this case pods.
  1048. If it's null, this PodAffinityTerm matches with no Pods.
  1049. properties:
  1050. matchExpressions:
  1051. description: matchExpressions is a list
  1052. of label selector requirements. The requirements
  1053. are ANDed.
  1054. items:
  1055. description: |-
  1056. A label selector requirement is a selector that contains values, a key, and an operator that
  1057. relates the key and values.
  1058. properties:
  1059. key:
  1060. description: key is the label key
  1061. that the selector applies to.
  1062. type: string
  1063. operator:
  1064. description: |-
  1065. operator represents a key's relationship to a set of values.
  1066. Valid operators are In, NotIn, Exists and DoesNotExist.
  1067. type: string
  1068. values:
  1069. description: |-
  1070. values is an array of string values. If the operator is In or NotIn,
  1071. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  1072. the values array must be empty. This array is replaced during a strategic
  1073. merge patch.
  1074. items:
  1075. type: string
  1076. type: array
  1077. x-kubernetes-list-type: atomic
  1078. required:
  1079. - key
  1080. - operator
  1081. type: object
  1082. type: array
  1083. x-kubernetes-list-type: atomic
  1084. matchLabels:
  1085. additionalProperties:
  1086. type: string
  1087. description: |-
  1088. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  1089. map is equivalent to an element of matchExpressions, whose key field is "key", the
  1090. operator is "In", and the values array contains only "value". The requirements are ANDed.
  1091. type: object
  1092. type: object
  1093. x-kubernetes-map-type: atomic
  1094. matchLabelKeys:
  1095. description: |-
  1096. MatchLabelKeys is a set of pod label keys to select which pods will
  1097. be taken into consideration. The keys are used to lookup values from the
  1098. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  1099. to select the group of existing pods which pods will be taken into consideration
  1100. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  1101. pod labels will be ignored. The default value is empty.
  1102. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  1103. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  1104. items:
  1105. type: string
  1106. type: array
  1107. x-kubernetes-list-type: atomic
  1108. mismatchLabelKeys:
  1109. description: |-
  1110. MismatchLabelKeys is a set of pod label keys to select which pods will
  1111. be taken into consideration. The keys are used to lookup values from the
  1112. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  1113. to select the group of existing pods which pods will be taken into consideration
  1114. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  1115. pod labels will be ignored. The default value is empty.
  1116. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  1117. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  1118. items:
  1119. type: string
  1120. type: array
  1121. x-kubernetes-list-type: atomic
  1122. namespaceSelector:
  1123. description: |-
  1124. A label query over the set of namespaces that the term applies to.
  1125. The term is applied to the union of the namespaces selected by this field
  1126. and the ones listed in the namespaces field.
  1127. null selector and null or empty namespaces list means "this pod's namespace".
  1128. An empty selector ({}) matches all namespaces.
  1129. properties:
  1130. matchExpressions:
  1131. description: matchExpressions is a list
  1132. of label selector requirements. The requirements
  1133. are ANDed.
  1134. items:
  1135. description: |-
  1136. A label selector requirement is a selector that contains values, a key, and an operator that
  1137. relates the key and values.
  1138. properties:
  1139. key:
  1140. description: key is the label key
  1141. that the selector applies to.
  1142. type: string
  1143. operator:
  1144. description: |-
  1145. operator represents a key's relationship to a set of values.
  1146. Valid operators are In, NotIn, Exists and DoesNotExist.
  1147. type: string
  1148. values:
  1149. description: |-
  1150. values is an array of string values. If the operator is In or NotIn,
  1151. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  1152. the values array must be empty. This array is replaced during a strategic
  1153. merge patch.
  1154. items:
  1155. type: string
  1156. type: array
  1157. x-kubernetes-list-type: atomic
  1158. required:
  1159. - key
  1160. - operator
  1161. type: object
  1162. type: array
  1163. x-kubernetes-list-type: atomic
  1164. matchLabels:
  1165. additionalProperties:
  1166. type: string
  1167. description: |-
  1168. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  1169. map is equivalent to an element of matchExpressions, whose key field is "key", the
  1170. operator is "In", and the values array contains only "value". The requirements are ANDed.
  1171. type: object
  1172. type: object
  1173. x-kubernetes-map-type: atomic
  1174. namespaces:
  1175. description: |-
  1176. namespaces specifies a static list of namespace names that the term applies to.
  1177. The term is applied to the union of the namespaces listed in this field
  1178. and the ones selected by namespaceSelector.
  1179. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  1180. items:
  1181. type: string
  1182. type: array
  1183. x-kubernetes-list-type: atomic
  1184. topologyKey:
  1185. description: |-
  1186. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  1187. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  1188. whose value of the label with key topologyKey matches that of any node on which any of the
  1189. selected pods is running.
  1190. Empty topologyKey is not allowed.
  1191. type: string
  1192. required:
  1193. - topologyKey
  1194. type: object
  1195. type: array
  1196. x-kubernetes-list-type: atomic
  1197. type: object
  1198. type: object
  1199. nodeSelector:
  1200. additionalProperties:
  1201. type: string
  1202. description: nodeSelector pins pods to nodes that match all
  1203. the specified labels.
  1204. type: object
  1205. resources:
  1206. description: resources sets per-container resource requests
  1207. and limits.
  1208. properties:
  1209. claims:
  1210. description: |-
  1211. Claims lists the names of resources, defined in spec.resourceClaims,
  1212. that are used by this container.
  1213. This field depends on the
  1214. DynamicResourceAllocation feature gate.
  1215. This field is immutable. It can only be set for containers.
  1216. items:
  1217. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  1218. properties:
  1219. name:
  1220. description: |-
  1221. Name must match the name of one entry in pod.spec.resourceClaims of
  1222. the Pod where this field is used. It makes that resource available
  1223. inside a container.
  1224. type: string
  1225. request:
  1226. description: |-
  1227. Request is the name chosen for a request in the referenced claim.
  1228. If empty, everything from the claim is made available, otherwise
  1229. only the result of this request.
  1230. type: string
  1231. required:
  1232. - name
  1233. type: object
  1234. type: array
  1235. x-kubernetes-list-map-keys:
  1236. - name
  1237. x-kubernetes-list-type: map
  1238. limits:
  1239. additionalProperties:
  1240. anyOf:
  1241. - type: integer
  1242. - type: string
  1243. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1244. x-kubernetes-int-or-string: true
  1245. description: |-
  1246. Limits describes the maximum amount of compute resources allowed.
  1247. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  1248. type: object
  1249. requests:
  1250. additionalProperties:
  1251. anyOf:
  1252. - type: integer
  1253. - type: string
  1254. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1255. x-kubernetes-int-or-string: true
  1256. description: |-
  1257. Requests describes the minimum amount of compute resources required.
  1258. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  1259. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  1260. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  1261. type: object
  1262. type: object
  1263. runtime:
  1264. description: runtime describes the container runtime to use
  1265. for the workload.
  1266. properties:
  1267. args:
  1268. description: args specifies or overrides the preset's
  1269. container command.
  1270. items:
  1271. type: string
  1272. type: array
  1273. command:
  1274. description: command specifies or overrides the preset's
  1275. container entrypoint.
  1276. items:
  1277. type: string
  1278. type: array
  1279. conditionalArgs:
  1280. description: conditionalArgs are appended to the preset
  1281. command conditionally.
  1282. items:
  1283. properties:
  1284. args:
  1285. description: args are appended to the preset args.
  1286. items:
  1287. type: string
  1288. type: array
  1289. when:
  1290. description: when the value is not empty after variable
  1291. substitution, the args are appended to the preset
  1292. args.
  1293. type: string
  1294. required:
  1295. - args
  1296. - when
  1297. type: object
  1298. type: array
  1299. env:
  1300. description: env holds environment variables injected
  1301. into the container.
  1302. items:
  1303. description: EnvVar represents an environment variable
  1304. present in a Container.
  1305. properties:
  1306. name:
  1307. description: |-
  1308. Name of the environment variable.
  1309. May consist of any printable ASCII characters except '='.
  1310. type: string
  1311. value:
  1312. description: |-
  1313. Variable references $(VAR_NAME) are expanded
  1314. using the previously defined environment variables in the container and
  1315. any service environment variables. If a variable cannot be resolved,
  1316. the reference in the input string will be unchanged. Double $$ are reduced
  1317. to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
  1318. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
  1319. Escaped references will never be expanded, regardless of whether the variable
  1320. exists or not.
  1321. Defaults to "".
  1322. type: string
  1323. valueFrom:
  1324. description: Source for the environment variable's
  1325. value. Cannot be used if value is not empty.
  1326. properties:
  1327. configMapKeyRef:
  1328. description: Selects a key of a ConfigMap.
  1329. properties:
  1330. key:
  1331. description: The key to select.
  1332. type: string
  1333. name:
  1334. default: ""
  1335. description: |-
  1336. Name of the referent.
  1337. This field is effectively required, but due to backwards compatibility is
  1338. allowed to be empty. Instances of this type with an empty value here are
  1339. almost certainly wrong.
  1340. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1341. type: string
  1342. optional:
  1343. description: Specify whether the ConfigMap
  1344. or its key must be defined
  1345. type: boolean
  1346. required:
  1347. - key
  1348. type: object
  1349. x-kubernetes-map-type: atomic
  1350. fieldRef:
  1351. description: |-
  1352. Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
  1353. spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
  1354. properties:
  1355. apiVersion:
  1356. description: Version of the schema the FieldPath
  1357. is written in terms of, defaults to "v1".
  1358. type: string
  1359. fieldPath:
  1360. description: Path of the field to select
  1361. in the specified API version.
  1362. type: string
  1363. required:
  1364. - fieldPath
  1365. type: object
  1366. x-kubernetes-map-type: atomic
  1367. fileKeyRef:
  1368. description: |-
  1369. FileKeyRef selects a key of the env file.
  1370. Requires the EnvFiles feature gate to be enabled.
  1371. properties:
  1372. key:
  1373. description: |-
  1374. The key within the env file. An invalid key will prevent the pod from starting.
  1375. The keys defined within a source may consist of any printable ASCII characters except '='.
  1376. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
  1377. type: string
  1378. optional:
  1379. default: false
  1380. description: |-
  1381. Specify whether the file or its key must be defined. If the file or key
  1382. does not exist, then the env var is not published.
  1383. If optional is set to true and the specified key does not exist,
  1384. the environment variable will not be set in the Pod's containers.
  1385. If optional is set to false and the specified key does not exist,
  1386. an error will be returned during Pod creation.
  1387. type: boolean
  1388. path:
  1389. description: |-
  1390. The path within the volume from which to select the file.
  1391. Must be relative and may not contain the '..' path or start with '..'.
  1392. type: string
  1393. volumeName:
  1394. description: The name of the volume mount
  1395. containing the env file.
  1396. type: string
  1397. required:
  1398. - key
  1399. - path
  1400. - volumeName
  1401. type: object
  1402. x-kubernetes-map-type: atomic
  1403. resourceFieldRef:
  1404. description: |-
  1405. Selects a resource of the container: only resources limits and requests
  1406. (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
  1407. properties:
  1408. containerName:
  1409. description: 'Container name: required for
  1410. volumes, optional for env vars'
  1411. type: string
  1412. divisor:
  1413. anyOf:
  1414. - type: integer
  1415. - type: string
  1416. description: Specifies the output format
  1417. of the exposed resources, defaults to
  1418. "1"
  1419. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1420. x-kubernetes-int-or-string: true
  1421. resource:
  1422. description: 'Required: resource to select'
  1423. type: string
  1424. required:
  1425. - resource
  1426. type: object
  1427. x-kubernetes-map-type: atomic
  1428. secretKeyRef:
  1429. description: Selects a key of a secret in the
  1430. pod's namespace
  1431. properties:
  1432. key:
  1433. description: The key of the secret to select
  1434. from. Must be a valid secret key.
  1435. type: string
  1436. name:
  1437. default: ""
  1438. description: |-
  1439. Name of the referent.
  1440. This field is effectively required, but due to backwards compatibility is
  1441. allowed to be empty. Instances of this type with an empty value here are
  1442. almost certainly wrong.
  1443. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1444. type: string
  1445. optional:
  1446. description: Specify whether the Secret
  1447. or its key must be defined
  1448. type: boolean
  1449. required:
  1450. - key
  1451. type: object
  1452. x-kubernetes-map-type: atomic
  1453. type: object
  1454. required:
  1455. - name
  1456. type: object
  1457. type: array
  1458. envFrom:
  1459. description: envFrom references ConfigMaps or Secrets
  1460. whose key-value pairs are injected as environment variables.
  1461. items:
  1462. description: EnvFromSource represents the source of
  1463. a set of ConfigMaps or Secrets
  1464. properties:
  1465. configMapRef:
  1466. description: The ConfigMap to select from
  1467. properties:
  1468. name:
  1469. default: ""
  1470. description: |-
  1471. Name of the referent.
  1472. This field is effectively required, but due to backwards compatibility is
  1473. allowed to be empty. Instances of this type with an empty value here are
  1474. almost certainly wrong.
  1475. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1476. type: string
  1477. optional:
  1478. description: Specify whether the ConfigMap must
  1479. be defined
  1480. type: boolean
  1481. type: object
  1482. x-kubernetes-map-type: atomic
  1483. prefix:
  1484. description: |-
  1485. Optional text to prepend to the name of each environment variable.
  1486. May consist of any printable ASCII characters except '='.
  1487. type: string
  1488. secretRef:
  1489. description: The Secret to select from
  1490. properties:
  1491. name:
  1492. default: ""
  1493. description: |-
  1494. Name of the referent.
  1495. This field is effectively required, but due to backwards compatibility is
  1496. allowed to be empty. Instances of this type with an empty value here are
  1497. almost certainly wrong.
  1498. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1499. type: string
  1500. optional:
  1501. description: Specify whether the Secret must
  1502. be defined
  1503. type: boolean
  1504. type: object
  1505. x-kubernetes-map-type: atomic
  1506. type: object
  1507. type: array
  1508. extraArgs:
  1509. description: extraArgs are appended to the preset command.
  1510. items:
  1511. type: string
  1512. type: array
  1513. image:
  1514. description: |-
  1515. image specifies or overrides the preset's container image, e.g. to pin a specific tag
  1516. or pull from a private registry mirror.
  1517. type: string
  1518. name:
  1519. description: name selects a built-in runtime preset.
  1520. type: string
  1521. port:
  1522. description: port specifies or overrides the container
  1523. port the runtime listens on.
  1524. format: int32
  1525. type: integer
  1526. volumeMounts:
  1527. description: volumeMounts defines where pod volumes are
  1528. mounted inside the container.
  1529. items:
  1530. description: VolumeMount describes a mounting of a Volume
  1531. within a container.
  1532. properties:
  1533. mountPath:
  1534. description: |-
  1535. Path within the container at which the volume should be mounted. Must
  1536. not contain ':'.
  1537. type: string
  1538. mountPropagation:
  1539. description: |-
  1540. mountPropagation determines how mounts are propagated from the host
  1541. to container and the other way around.
  1542. When not set, MountPropagationNone is used.
  1543. This field is beta in 1.10.
  1544. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
  1545. (which defaults to None).
  1546. type: string
  1547. name:
  1548. description: This must match the Name of a Volume.
  1549. type: string
  1550. readOnly:
  1551. description: |-
  1552. Mounted read-only if true, read-write otherwise (false or unspecified).
  1553. Defaults to false.
  1554. type: boolean
  1555. recursiveReadOnly:
  1556. description: |-
  1557. RecursiveReadOnly specifies whether read-only mounts should be handled
  1558. recursively.
  1559. If ReadOnly is false, this field has no meaning and must be unspecified.
  1560. If ReadOnly is true, and this field is set to Disabled, the mount is not made
  1561. recursively read-only. If this field is set to IfPossible, the mount is made
  1562. recursively read-only, if it is supported by the container runtime. If this
  1563. field is set to Enabled, the mount is made recursively read-only if it is
  1564. supported by the container runtime, otherwise the pod will not be started and
  1565. an error will be generated to indicate the reason.
  1566. If this field is set to IfPossible or Enabled, MountPropagation must be set to
  1567. None (or be unspecified, which defaults to None).
  1568. If this field is not specified, it is treated as an equivalent of Disabled.
  1569. type: string
  1570. subPath:
  1571. description: |-
  1572. Path within the volume from which the container's volume should be mounted.
  1573. Defaults to "" (volume's root).
  1574. type: string
  1575. subPathExpr:
  1576. description: |-
  1577. Expanded path within the volume from which the container's volume should be mounted.
  1578. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
  1579. Defaults to "" (volume's root).
  1580. SubPathExpr and SubPath are mutually exclusive.
  1581. type: string
  1582. required:
  1583. - mountPath
  1584. - name
  1585. type: object
  1586. type: array
  1587. type: object
  1588. securityContext:
  1589. description: |-
  1590. securityContext sets pod-level security attributes such as runAsUser,
  1591. runAsGroup, fsGroup, and sysctls.
  1592. properties:
  1593. appArmorProfile:
  1594. description: |-
  1595. appArmorProfile is the AppArmor options to use by the containers in this pod.
  1596. Note that this field cannot be set when spec.os.name is windows.
  1597. properties:
  1598. localhostProfile:
  1599. description: |-
  1600. localhostProfile indicates a profile loaded on the node that should be used.
  1601. The profile must be preconfigured on the node to work.
  1602. Must match the loaded name of the profile.
  1603. Must be set if and only if type is "Localhost".
  1604. type: string
  1605. type:
  1606. description: |-
  1607. type indicates which kind of AppArmor profile will be applied.
  1608. Valid options are:
  1609. Localhost - a profile pre-loaded on the node.
  1610. RuntimeDefault - the container runtime's default profile.
  1611. Unconfined - no AppArmor enforcement.
  1612. type: string
  1613. required:
  1614. - type
  1615. type: object
  1616. fsGroup:
  1617. description: |-
  1618. A special supplemental group that applies to all containers in a pod.
  1619. Some volume types allow the Kubelet to change the ownership of that volume
  1620. to be owned by the pod:
  1621. 1. The owning GID will be the FSGroup
  1622. 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
  1623. 3. The permission bits are OR'd with rw-rw----
  1624. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  1625. Note that this field cannot be set when spec.os.name is windows.
  1626. format: int64
  1627. type: integer
  1628. fsGroupChangePolicy:
  1629. description: |-
  1630. fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
  1631. before being exposed inside Pod. This field will only apply to
  1632. volume types which support fsGroup based ownership(and permissions).
  1633. It will have no effect on ephemeral volume types such as: secret, configmaps
  1634. and emptydir.
  1635. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
  1636. Note that this field cannot be set when spec.os.name is windows.
  1637. type: string
  1638. runAsGroup:
  1639. description: |-
  1640. The GID to run the entrypoint of the container process.
  1641. Uses runtime default if unset.
  1642. May also be set in SecurityContext. If set in both SecurityContext and
  1643. PodSecurityContext, the value specified in SecurityContext takes precedence
  1644. for that container.
  1645. Note that this field cannot be set when spec.os.name is windows.
  1646. format: int64
  1647. type: integer
  1648. runAsNonRoot:
  1649. description: |-
  1650. Indicates that the container must run as a non-root user.
  1651. If true, the Kubelet will validate the image at runtime to ensure that it
  1652. does not run as UID 0 (root) and fail to start the container if it does.
  1653. If unset or false, no such validation will be performed.
  1654. May also be set in SecurityContext. If set in both SecurityContext and
  1655. PodSecurityContext, the value specified in SecurityContext takes precedence.
  1656. type: boolean
  1657. runAsUser:
  1658. description: |-
  1659. The UID to run the entrypoint of the container process.
  1660. Defaults to user specified in image metadata if unspecified.
  1661. May also be set in SecurityContext. If set in both SecurityContext and
  1662. PodSecurityContext, the value specified in SecurityContext takes precedence
  1663. for that container.
  1664. Note that this field cannot be set when spec.os.name is windows.
  1665. format: int64
  1666. type: integer
  1667. seLinuxChangePolicy:
  1668. description: |-
  1669. seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.
  1670. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux.
  1671. Valid values are "MountOption" and "Recursive".
  1672. "Recursive" means relabeling of all files on all Pod volumes by the container runtime.
  1673. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.
  1674. "MountOption" mounts all eligible Pod volumes with `-o context` mount option.
  1675. This requires all Pods that share the same volume to use the same SELinux label.
  1676. It is not possible to share the same volume among privileged and unprivileged Pods.
  1677. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes
  1678. whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their
  1679. CSIDriver instance. Other volumes are always re-labelled recursively.
  1680. "MountOption" value is allowed only when SELinuxMount feature gate is enabled.
  1681. If not specified and SELinuxMount feature gate is enabled, "MountOption" is used.
  1682. If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes
  1683. and "Recursive" for all other volumes.
  1684. This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.
  1685. All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.
  1686. Note that this field cannot be set when spec.os.name is windows.
  1687. type: string
  1688. seLinuxOptions:
  1689. description: |-
  1690. The SELinux context to be applied to all containers.
  1691. If unspecified, the container runtime will allocate a random SELinux context for each
  1692. container. May also be set in SecurityContext. If set in
  1693. both SecurityContext and PodSecurityContext, the value specified in SecurityContext
  1694. takes precedence for that container.
  1695. Note that this field cannot be set when spec.os.name is windows.
  1696. properties:
  1697. level:
  1698. description: Level is SELinux level label that applies
  1699. to the container.
  1700. type: string
  1701. role:
  1702. description: Role is a SELinux role label that applies
  1703. to the container.
  1704. type: string
  1705. type:
  1706. description: Type is a SELinux type label that applies
  1707. to the container.
  1708. type: string
  1709. user:
  1710. description: User is a SELinux user label that applies
  1711. to the container.
  1712. type: string
  1713. type: object
  1714. seccompProfile:
  1715. description: |-
  1716. The seccomp options to use by the containers in this pod.
  1717. Note that this field cannot be set when spec.os.name is windows.
  1718. properties:
  1719. localhostProfile:
  1720. description: |-
  1721. localhostProfile indicates a profile defined in a file on the node should be used.
  1722. The profile must be preconfigured on the node to work.
  1723. Must be a descending path, relative to the kubelet's configured seccomp profile location.
  1724. Must be set if type is "Localhost". Must NOT be set for any other type.
  1725. type: string
  1726. type:
  1727. description: |-
  1728. type indicates which kind of seccomp profile will be applied.
  1729. Valid options are:
  1730. Localhost - a profile defined in a file on the node should be used.
  1731. RuntimeDefault - the container runtime default profile should be used.
  1732. Unconfined - no profile should be applied.
  1733. type: string
  1734. required:
  1735. - type
  1736. type: object
  1737. supplementalGroups:
  1738. description: |-
  1739. A list of groups applied to the first process run in each container, in
  1740. addition to the container's primary GID and fsGroup (if specified). If
  1741. the SupplementalGroupsPolicy feature is enabled, the
  1742. supplementalGroupsPolicy field determines whether these are in addition
  1743. to or instead of any group memberships defined in the container image.
  1744. If unspecified, no additional groups are added, though group memberships
  1745. defined in the container image may still be used, depending on the
  1746. supplementalGroupsPolicy field.
  1747. Note that this field cannot be set when spec.os.name is windows.
  1748. items:
  1749. format: int64
  1750. type: integer
  1751. type: array
  1752. x-kubernetes-list-type: atomic
  1753. supplementalGroupsPolicy:
  1754. description: |-
  1755. Defines how supplemental groups of the first container processes are calculated.
  1756. Valid values are "Merge" and "Strict". If not specified, "Merge" is used.
  1757. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled
  1758. and the container runtime must implement support for this feature.
  1759. Note that this field cannot be set when spec.os.name is windows.
  1760. type: string
  1761. sysctls:
  1762. description: |-
  1763. Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
  1764. sysctls (by the container runtime) might fail to launch.
  1765. Note that this field cannot be set when spec.os.name is windows.
  1766. items:
  1767. description: Sysctl defines a kernel parameter to be
  1768. set
  1769. properties:
  1770. name:
  1771. description: Name of a property to set
  1772. type: string
  1773. value:
  1774. description: Value of a property to set
  1775. type: string
  1776. required:
  1777. - name
  1778. - value
  1779. type: object
  1780. type: array
  1781. x-kubernetes-list-type: atomic
  1782. windowsOptions:
  1783. description: |-
  1784. The Windows specific settings applied to all containers.
  1785. If unspecified, the options within a container's SecurityContext will be used.
  1786. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
  1787. Note that this field cannot be set when spec.os.name is linux.
  1788. properties:
  1789. gmsaCredentialSpec:
  1790. description: |-
  1791. GMSACredentialSpec is where the GMSA admission webhook
  1792. (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
  1793. GMSA credential spec named by the GMSACredentialSpecName field.
  1794. type: string
  1795. gmsaCredentialSpecName:
  1796. description: GMSACredentialSpecName is the name of
  1797. the GMSA credential spec to use.
  1798. type: string
  1799. hostProcess:
  1800. description: |-
  1801. HostProcess determines if a container should be run as a 'Host Process' container.
  1802. All of a Pod's containers must have the same effective HostProcess value
  1803. (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
  1804. In addition, if HostProcess is true then HostNetwork must also be set to true.
  1805. type: boolean
  1806. runAsUserName:
  1807. description: |-
  1808. The UserName in Windows to run the entrypoint of the container process.
  1809. Defaults to the user specified in image metadata if unspecified.
  1810. May also be set in PodSecurityContext. If set in both SecurityContext and
  1811. PodSecurityContext, the value specified in SecurityContext takes precedence.
  1812. type: string
  1813. type: object
  1814. type: object
  1815. tolerations:
  1816. description: tolerations allow pods to be scheduled onto nodes
  1817. with matching taints.
  1818. items:
  1819. description: |-
  1820. The pod this Toleration is attached to tolerates any taint that matches
  1821. the triple <key,value,effect> using the matching operator <operator>.
  1822. properties:
  1823. effect:
  1824. description: |-
  1825. Effect indicates the taint effect to match. Empty means match all taint effects.
  1826. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
  1827. type: string
  1828. key:
  1829. description: |-
  1830. Key is the taint key that the toleration applies to. Empty means match all taint keys.
  1831. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
  1832. type: string
  1833. operator:
  1834. description: |-
  1835. Operator represents a key's relationship to the value.
  1836. Valid operators are Exists, Equal, Lt, and Gt. Defaults to Equal.
  1837. Exists is equivalent to wildcard for value, so that a pod can
  1838. tolerate all taints of a particular category.
  1839. Lt and Gt perform numeric comparisons (requires feature gate TaintTolerationComparisonOperators).
  1840. type: string
  1841. tolerationSeconds:
  1842. description: |-
  1843. TolerationSeconds represents the period of time the toleration (which must be
  1844. of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
  1845. it is not set, which means tolerate the taint forever (do not evict). Zero and
  1846. negative values will be treated as 0 (evict immediately) by the system.
  1847. format: int64
  1848. type: integer
  1849. value:
  1850. description: |-
  1851. Value is the taint value the toleration matches to.
  1852. If the operator is Exists, the value should be empty, otherwise just a regular string.
  1853. type: string
  1854. type: object
  1855. type: array
  1856. topologySpreadConstraints:
  1857. description: |-
  1858. topologySpreadConstraints controls how pods are spread across failure
  1859. domains (zones, nodes). Prefer this over pod anti-affinity for HA spread.
  1860. items:
  1861. description: TopologySpreadConstraint specifies how to spread
  1862. matching pods among the given topology.
  1863. properties:
  1864. labelSelector:
  1865. description: |-
  1866. LabelSelector is used to find matching pods.
  1867. Pods that match this label selector are counted to determine the number of pods
  1868. in their corresponding topology domain.
  1869. properties:
  1870. matchExpressions:
  1871. description: matchExpressions is a list of label
  1872. selector requirements. The requirements are ANDed.
  1873. items:
  1874. description: |-
  1875. A label selector requirement is a selector that contains values, a key, and an operator that
  1876. relates the key and values.
  1877. properties:
  1878. key:
  1879. description: key is the label key that the
  1880. selector applies to.
  1881. type: string
  1882. operator:
  1883. description: |-
  1884. operator represents a key's relationship to a set of values.
  1885. Valid operators are In, NotIn, Exists and DoesNotExist.
  1886. type: string
  1887. values:
  1888. description: |-
  1889. values is an array of string values. If the operator is In or NotIn,
  1890. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  1891. the values array must be empty. This array is replaced during a strategic
  1892. merge patch.
  1893. items:
  1894. type: string
  1895. type: array
  1896. x-kubernetes-list-type: atomic
  1897. required:
  1898. - key
  1899. - operator
  1900. type: object
  1901. type: array
  1902. x-kubernetes-list-type: atomic
  1903. matchLabels:
  1904. additionalProperties:
  1905. type: string
  1906. description: |-
  1907. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  1908. map is equivalent to an element of matchExpressions, whose key field is "key", the
  1909. operator is "In", and the values array contains only "value". The requirements are ANDed.
  1910. type: object
  1911. type: object
  1912. x-kubernetes-map-type: atomic
  1913. matchLabelKeys:
  1914. description: |-
  1915. MatchLabelKeys is a set of pod label keys to select the pods over which
  1916. spreading will be calculated. The keys are used to lookup values from the
  1917. incoming pod labels, those key-value labels are ANDed with labelSelector
  1918. to select the group of existing pods over which spreading will be calculated
  1919. for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
  1920. MatchLabelKeys cannot be set when LabelSelector isn't set.
  1921. Keys that don't exist in the incoming pod labels will
  1922. be ignored. A null or empty list means only match against labelSelector.
  1923. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
  1924. items:
  1925. type: string
  1926. type: array
  1927. x-kubernetes-list-type: atomic
  1928. maxSkew:
  1929. description: |-
  1930. MaxSkew describes the degree to which pods may be unevenly distributed.
  1931. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
  1932. between the number of matching pods in the target topology and the global minimum.
  1933. The global minimum is the minimum number of matching pods in an eligible domain
  1934. or zero if the number of eligible domains is less than MinDomains.
  1935. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  1936. labelSelector spread as 2/2/1:
  1937. In this case, the global minimum is 1.
  1938. | zone1 | zone2 | zone3 |
  1939. | P P | P P | P |
  1940. - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
  1941. scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
  1942. violate MaxSkew(1).
  1943. - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
  1944. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
  1945. to topologies that satisfy it.
  1946. It's a required field. Default value is 1 and 0 is not allowed.
  1947. format: int32
  1948. type: integer
  1949. minDomains:
  1950. description: |-
  1951. MinDomains indicates a minimum number of eligible domains.
  1952. When the number of eligible domains with matching topology keys is less than minDomains,
  1953. Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
  1954. And when the number of eligible domains with matching topology keys equals or greater than minDomains,
  1955. this value has no effect on scheduling.
  1956. As a result, when the number of eligible domains is less than minDomains,
  1957. scheduler won't schedule more than maxSkew Pods to those domains.
  1958. If value is nil, the constraint behaves as if MinDomains is equal to 1.
  1959. Valid values are integers greater than 0.
  1960. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
  1961. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
  1962. labelSelector spread as 2/2/2:
  1963. | zone1 | zone2 | zone3 |
  1964. | P P | P P | P P |
  1965. The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
  1966. In this situation, new pod with the same labelSelector cannot be scheduled,
  1967. because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
  1968. it will violate MaxSkew.
  1969. format: int32
  1970. type: integer
  1971. nodeAffinityPolicy:
  1972. description: |-
  1973. NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
  1974. when calculating pod topology spread skew. Options are:
  1975. - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
  1976. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
  1977. If this value is nil, the behavior is equivalent to the Honor policy.
  1978. type: string
  1979. nodeTaintsPolicy:
  1980. description: |-
  1981. NodeTaintsPolicy indicates how we will treat node taints when calculating
  1982. pod topology spread skew. Options are:
  1983. - Honor: nodes without taints, along with tainted nodes for which the incoming pod
  1984. has a toleration, are included.
  1985. - Ignore: node taints are ignored. All nodes are included.
  1986. If this value is nil, the behavior is equivalent to the Ignore policy.
  1987. type: string
  1988. topologyKey:
  1989. description: |-
  1990. TopologyKey is the key of node labels. Nodes that have a label with this key
  1991. and identical values are considered to be in the same topology.
  1992. We consider each <key, value> as a "bucket", and try to put balanced number
  1993. of pods into each bucket.
  1994. We define a domain as a particular instance of a topology.
  1995. Also, we define an eligible domain as a domain whose nodes meet the requirements of
  1996. nodeAffinityPolicy and nodeTaintsPolicy.
  1997. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
  1998. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
  1999. It's a required field.
  2000. type: string
  2001. whenUnsatisfiable:
  2002. description: |-
  2003. WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
  2004. the spread constraint.
  2005. - DoNotSchedule (default) tells the scheduler not to schedule it.
  2006. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
  2007. but giving higher precedence to topologies that would help reduce the
  2008. skew.
  2009. A constraint is considered "Unsatisfiable" for an incoming pod
  2010. if and only if every possible node assignment for that pod would violate
  2011. "MaxSkew" on some topology.
  2012. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  2013. labelSelector spread as 3/1/1:
  2014. | zone1 | zone2 | zone3 |
  2015. | P P P | P | P |
  2016. If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
  2017. to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
  2018. MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
  2019. won't make it *more* imbalanced.
  2020. It's a required field.
  2021. type: string
  2022. required:
  2023. - maxSkew
  2024. - topologyKey
  2025. - whenUnsatisfiable
  2026. type: object
  2027. type: array
  2028. volumes:
  2029. description: volumes defines additional pod volumes available
  2030. to the runtime container.
  2031. items:
  2032. description: Volume represents a named volume in a pod that
  2033. may be accessed by any container in the pod.
  2034. properties:
  2035. awsElasticBlockStore:
  2036. description: |-
  2037. awsElasticBlockStore represents an AWS Disk resource that is attached to a
  2038. kubelet's host machine and then exposed to the pod.
  2039. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
  2040. awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
  2041. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  2042. properties:
  2043. fsType:
  2044. description: |-
  2045. fsType is the filesystem type of the volume that you want to mount.
  2046. Tip: Ensure that the filesystem type is supported by the host operating system.
  2047. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2048. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  2049. type: string
  2050. partition:
  2051. description: |-
  2052. partition is the partition in the volume that you want to mount.
  2053. If omitted, the default is to mount by volume name.
  2054. Examples: For volume /dev/sda1, you specify the partition as "1".
  2055. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  2056. format: int32
  2057. type: integer
  2058. readOnly:
  2059. description: |-
  2060. readOnly value true will force the readOnly setting in VolumeMounts.
  2061. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  2062. type: boolean
  2063. volumeID:
  2064. description: |-
  2065. volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
  2066. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  2067. type: string
  2068. required:
  2069. - volumeID
  2070. type: object
  2071. azureDisk:
  2072. description: |-
  2073. azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
  2074. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
  2075. are redirected to the disk.csi.azure.com CSI driver.
  2076. properties:
  2077. cachingMode:
  2078. description: 'cachingMode is the Host Caching mode:
  2079. None, Read Only, Read Write.'
  2080. type: string
  2081. diskName:
  2082. description: diskName is the Name of the data disk
  2083. in the blob storage
  2084. type: string
  2085. diskURI:
  2086. description: diskURI is the URI of data disk in
  2087. the blob storage
  2088. type: string
  2089. fsType:
  2090. default: ext4
  2091. description: |-
  2092. fsType is Filesystem type to mount.
  2093. Must be a filesystem type supported by the host operating system.
  2094. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2095. type: string
  2096. kind:
  2097. description: 'kind expected values are Shared: multiple
  2098. blob disks per storage account Dedicated: single
  2099. blob disk per storage account Managed: azure
  2100. managed data disk (only in managed availability
  2101. set). defaults to shared'
  2102. type: string
  2103. readOnly:
  2104. default: false
  2105. description: |-
  2106. readOnly Defaults to false (read/write). ReadOnly here will force
  2107. the ReadOnly setting in VolumeMounts.
  2108. type: boolean
  2109. required:
  2110. - diskName
  2111. - diskURI
  2112. type: object
  2113. azureFile:
  2114. description: |-
  2115. azureFile represents an Azure File Service mount on the host and bind mount to the pod.
  2116. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
  2117. are redirected to the file.csi.azure.com CSI driver.
  2118. properties:
  2119. readOnly:
  2120. description: |-
  2121. readOnly defaults to false (read/write). ReadOnly here will force
  2122. the ReadOnly setting in VolumeMounts.
  2123. type: boolean
  2124. secretName:
  2125. description: secretName is the name of secret that
  2126. contains Azure Storage Account Name and Key
  2127. type: string
  2128. shareName:
  2129. description: shareName is the azure share Name
  2130. type: string
  2131. required:
  2132. - secretName
  2133. - shareName
  2134. type: object
  2135. cephfs:
  2136. description: |-
  2137. cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
  2138. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
  2139. properties:
  2140. monitors:
  2141. description: |-
  2142. monitors is Required: Monitors is a collection of Ceph monitors
  2143. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  2144. items:
  2145. type: string
  2146. type: array
  2147. x-kubernetes-list-type: atomic
  2148. path:
  2149. description: 'path is Optional: Used as the mounted
  2150. root, rather than the full Ceph tree, default
  2151. is /'
  2152. type: string
  2153. readOnly:
  2154. description: |-
  2155. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  2156. the ReadOnly setting in VolumeMounts.
  2157. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  2158. type: boolean
  2159. secretFile:
  2160. description: |-
  2161. secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
  2162. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  2163. type: string
  2164. secretRef:
  2165. description: |-
  2166. secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
  2167. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  2168. properties:
  2169. name:
  2170. default: ""
  2171. description: |-
  2172. Name of the referent.
  2173. This field is effectively required, but due to backwards compatibility is
  2174. allowed to be empty. Instances of this type with an empty value here are
  2175. almost certainly wrong.
  2176. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2177. type: string
  2178. type: object
  2179. x-kubernetes-map-type: atomic
  2180. user:
  2181. description: |-
  2182. user is optional: User is the rados user name, default is admin
  2183. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  2184. type: string
  2185. required:
  2186. - monitors
  2187. type: object
  2188. cinder:
  2189. description: |-
  2190. cinder represents a cinder volume attached and mounted on kubelets host machine.
  2191. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
  2192. are redirected to the cinder.csi.openstack.org CSI driver.
  2193. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  2194. properties:
  2195. fsType:
  2196. description: |-
  2197. fsType is the filesystem type to mount.
  2198. Must be a filesystem type supported by the host operating system.
  2199. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2200. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  2201. type: string
  2202. readOnly:
  2203. description: |-
  2204. readOnly defaults to false (read/write). ReadOnly here will force
  2205. the ReadOnly setting in VolumeMounts.
  2206. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  2207. type: boolean
  2208. secretRef:
  2209. description: |-
  2210. secretRef is optional: points to a secret object containing parameters used to connect
  2211. to OpenStack.
  2212. properties:
  2213. name:
  2214. default: ""
  2215. description: |-
  2216. Name of the referent.
  2217. This field is effectively required, but due to backwards compatibility is
  2218. allowed to be empty. Instances of this type with an empty value here are
  2219. almost certainly wrong.
  2220. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2221. type: string
  2222. type: object
  2223. x-kubernetes-map-type: atomic
  2224. volumeID:
  2225. description: |-
  2226. volumeID used to identify the volume in cinder.
  2227. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  2228. type: string
  2229. required:
  2230. - volumeID
  2231. type: object
  2232. configMap:
  2233. description: configMap represents a configMap that should
  2234. populate this volume
  2235. properties:
  2236. defaultMode:
  2237. description: |-
  2238. defaultMode is optional: mode bits used to set permissions on created files by default.
  2239. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  2240. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2241. Defaults to 0644.
  2242. Directories within the path are not affected by this setting.
  2243. This might be in conflict with other options that affect the file
  2244. mode, like fsGroup, and the result can be other mode bits set.
  2245. format: int32
  2246. type: integer
  2247. items:
  2248. description: |-
  2249. items if unspecified, each key-value pair in the Data field of the referenced
  2250. ConfigMap will be projected into the volume as a file whose name is the
  2251. key and content is the value. If specified, the listed keys will be
  2252. projected into the specified paths, and unlisted keys will not be
  2253. present. If a key is specified which is not present in the ConfigMap,
  2254. the volume setup will error unless it is marked optional. Paths must be
  2255. relative and may not contain the '..' path or start with '..'.
  2256. items:
  2257. description: Maps a string key to a path within
  2258. a volume.
  2259. properties:
  2260. key:
  2261. description: key is the key to project.
  2262. type: string
  2263. mode:
  2264. description: |-
  2265. mode is Optional: mode bits used to set permissions on this file.
  2266. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  2267. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2268. If not specified, the volume defaultMode will be used.
  2269. This might be in conflict with other options that affect the file
  2270. mode, like fsGroup, and the result can be other mode bits set.
  2271. format: int32
  2272. type: integer
  2273. path:
  2274. description: |-
  2275. path is the relative path of the file to map the key to.
  2276. May not be an absolute path.
  2277. May not contain the path element '..'.
  2278. May not start with the string '..'.
  2279. type: string
  2280. required:
  2281. - key
  2282. - path
  2283. type: object
  2284. type: array
  2285. x-kubernetes-list-type: atomic
  2286. name:
  2287. default: ""
  2288. description: |-
  2289. Name of the referent.
  2290. This field is effectively required, but due to backwards compatibility is
  2291. allowed to be empty. Instances of this type with an empty value here are
  2292. almost certainly wrong.
  2293. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2294. type: string
  2295. optional:
  2296. description: optional specify whether the ConfigMap
  2297. or its keys must be defined
  2298. type: boolean
  2299. type: object
  2300. x-kubernetes-map-type: atomic
  2301. csi:
  2302. description: csi (Container Storage Interface) represents
  2303. ephemeral storage that is handled by certain external
  2304. CSI drivers.
  2305. properties:
  2306. driver:
  2307. description: |-
  2308. driver is the name of the CSI driver that handles this volume.
  2309. Consult with your admin for the correct name as registered in the cluster.
  2310. type: string
  2311. fsType:
  2312. description: |-
  2313. fsType to mount. Ex. "ext4", "xfs", "ntfs".
  2314. If not provided, the empty value is passed to the associated CSI driver
  2315. which will determine the default filesystem to apply.
  2316. type: string
  2317. nodePublishSecretRef:
  2318. description: |-
  2319. nodePublishSecretRef is a reference to the secret object containing
  2320. sensitive information to pass to the CSI driver to complete the CSI
  2321. NodePublishVolume and NodeUnpublishVolume calls.
  2322. This field is optional, and may be empty if no secret is required. If the
  2323. secret object contains more than one secret, all secret references are passed.
  2324. properties:
  2325. name:
  2326. default: ""
  2327. description: |-
  2328. Name of the referent.
  2329. This field is effectively required, but due to backwards compatibility is
  2330. allowed to be empty. Instances of this type with an empty value here are
  2331. almost certainly wrong.
  2332. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2333. type: string
  2334. type: object
  2335. x-kubernetes-map-type: atomic
  2336. readOnly:
  2337. description: |-
  2338. readOnly specifies a read-only configuration for the volume.
  2339. Defaults to false (read/write).
  2340. type: boolean
  2341. volumeAttributes:
  2342. additionalProperties:
  2343. type: string
  2344. description: |-
  2345. volumeAttributes stores driver-specific properties that are passed to the CSI
  2346. driver. Consult your driver's documentation for supported values.
  2347. type: object
  2348. required:
  2349. - driver
  2350. type: object
  2351. downwardAPI:
  2352. description: downwardAPI represents downward API about
  2353. the pod that should populate this volume
  2354. properties:
  2355. defaultMode:
  2356. description: |-
  2357. Optional: mode bits to use on created files by default. Must be a
  2358. Optional: mode bits used to set permissions on created files by default.
  2359. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  2360. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2361. Defaults to 0644.
  2362. Directories within the path are not affected by this setting.
  2363. This might be in conflict with other options that affect the file
  2364. mode, like fsGroup, and the result can be other mode bits set.
  2365. format: int32
  2366. type: integer
  2367. items:
  2368. description: Items is a list of downward API volume
  2369. file
  2370. items:
  2371. description: DownwardAPIVolumeFile represents
  2372. information to create the file containing the
  2373. pod field
  2374. properties:
  2375. fieldRef:
  2376. description: 'Required: Selects a field of
  2377. the pod: only annotations, labels, name,
  2378. namespace and uid are supported.'
  2379. properties:
  2380. apiVersion:
  2381. description: Version of the schema the
  2382. FieldPath is written in terms of, defaults
  2383. to "v1".
  2384. type: string
  2385. fieldPath:
  2386. description: Path of the field to select
  2387. in the specified API version.
  2388. type: string
  2389. required:
  2390. - fieldPath
  2391. type: object
  2392. x-kubernetes-map-type: atomic
  2393. mode:
  2394. description: |-
  2395. Optional: mode bits used to set permissions on this file, must be an octal value
  2396. between 0000 and 0777 or a decimal value between 0 and 511.
  2397. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2398. If not specified, the volume defaultMode will be used.
  2399. This might be in conflict with other options that affect the file
  2400. mode, like fsGroup, and the result can be other mode bits set.
  2401. format: int32
  2402. type: integer
  2403. path:
  2404. description: 'Required: Path is the relative
  2405. path name of the file to be created. Must
  2406. not be absolute or contain the ''..'' path.
  2407. Must be utf-8 encoded. The first item of
  2408. the relative path must not start with ''..'''
  2409. type: string
  2410. resourceFieldRef:
  2411. description: |-
  2412. Selects a resource of the container: only resources limits and requests
  2413. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  2414. properties:
  2415. containerName:
  2416. description: 'Container name: required
  2417. for volumes, optional for env vars'
  2418. type: string
  2419. divisor:
  2420. anyOf:
  2421. - type: integer
  2422. - type: string
  2423. description: Specifies the output format
  2424. of the exposed resources, defaults to
  2425. "1"
  2426. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2427. x-kubernetes-int-or-string: true
  2428. resource:
  2429. description: 'Required: resource to select'
  2430. type: string
  2431. required:
  2432. - resource
  2433. type: object
  2434. x-kubernetes-map-type: atomic
  2435. required:
  2436. - path
  2437. type: object
  2438. type: array
  2439. x-kubernetes-list-type: atomic
  2440. type: object
  2441. emptyDir:
  2442. description: |-
  2443. emptyDir represents a temporary directory that shares a pod's lifetime.
  2444. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  2445. properties:
  2446. medium:
  2447. description: |-
  2448. medium represents what type of storage medium should back this directory.
  2449. The default is "" which means to use the node's default medium.
  2450. Must be an empty string (default) or Memory.
  2451. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  2452. type: string
  2453. sizeLimit:
  2454. anyOf:
  2455. - type: integer
  2456. - type: string
  2457. description: |-
  2458. sizeLimit is the total amount of local storage required for this EmptyDir volume.
  2459. The size limit is also applicable for memory medium.
  2460. The maximum usage on memory medium EmptyDir would be the minimum value between
  2461. the SizeLimit specified here and the sum of memory limits of all containers in a pod.
  2462. The default is nil which means that the limit is undefined.
  2463. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  2464. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2465. x-kubernetes-int-or-string: true
  2466. type: object
  2467. ephemeral:
  2468. description: |-
  2469. ephemeral represents a volume that is handled by a cluster storage driver.
  2470. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
  2471. and deleted when the pod is removed.
  2472. Use this if:
  2473. a) the volume is only needed while the pod runs,
  2474. b) features of normal volumes like restoring from snapshot or capacity
  2475. tracking are needed,
  2476. c) the storage driver is specified through a storage class, and
  2477. d) the storage driver supports dynamic volume provisioning through
  2478. a PersistentVolumeClaim (see EphemeralVolumeSource for more
  2479. information on the connection between this volume type
  2480. and PersistentVolumeClaim).
  2481. Use PersistentVolumeClaim or one of the vendor-specific
  2482. APIs for volumes that persist for longer than the lifecycle
  2483. of an individual pod.
  2484. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
  2485. be used that way - see the documentation of the driver for
  2486. more information.
  2487. A pod can use both types of ephemeral volumes and
  2488. persistent volumes at the same time.
  2489. properties:
  2490. volumeClaimTemplate:
  2491. description: |-
  2492. Will be used to create a stand-alone PVC to provision the volume.
  2493. The pod in which this EphemeralVolumeSource is embedded will be the
  2494. owner of the PVC, i.e. the PVC will be deleted together with the
  2495. pod. The name of the PVC will be `<pod name>-<volume name>` where
  2496. `<volume name>` is the name from the `PodSpec.Volumes` array
  2497. entry. Pod validation will reject the pod if the concatenated name
  2498. is not valid for a PVC (for example, too long).
  2499. An existing PVC with that name that is not owned by the pod
  2500. will *not* be used for the pod to avoid using an unrelated
  2501. volume by mistake. Starting the pod is then blocked until
  2502. the unrelated PVC is removed. If such a pre-created PVC is
  2503. meant to be used by the pod, the PVC has to updated with an
  2504. owner reference to the pod once the pod exists. Normally
  2505. this should not be necessary, but it may be useful when
  2506. manually reconstructing a broken cluster.
  2507. This field is read-only and no changes will be made by Kubernetes
  2508. to the PVC after it has been created.
  2509. Required, must not be nil.
  2510. properties:
  2511. metadata:
  2512. description: |-
  2513. May contain labels and annotations that will be copied into the PVC
  2514. when creating it. No other fields are allowed and will be rejected during
  2515. validation.
  2516. type: object
  2517. spec:
  2518. description: |-
  2519. The specification for the PersistentVolumeClaim. The entire content is
  2520. copied unchanged into the PVC that gets created from this
  2521. template. The same fields as in a PersistentVolumeClaim
  2522. are also valid here.
  2523. properties:
  2524. accessModes:
  2525. description: |-
  2526. accessModes contains the desired access modes the volume should have.
  2527. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
  2528. items:
  2529. type: string
  2530. type: array
  2531. x-kubernetes-list-type: atomic
  2532. dataSource:
  2533. description: |-
  2534. dataSource field can be used to specify either:
  2535. * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
  2536. * An existing PVC (PersistentVolumeClaim)
  2537. If the provisioner or an external controller can support the specified data source,
  2538. it will create a new volume based on the contents of the specified data source.
  2539. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
  2540. and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
  2541. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
  2542. properties:
  2543. apiGroup:
  2544. description: |-
  2545. APIGroup is the group for the resource being referenced.
  2546. If APIGroup is not specified, the specified Kind must be in the core API group.
  2547. For any other third-party types, APIGroup is required.
  2548. type: string
  2549. kind:
  2550. description: Kind is the type of resource
  2551. being referenced
  2552. type: string
  2553. name:
  2554. description: Name is the name of resource
  2555. being referenced
  2556. type: string
  2557. required:
  2558. - kind
  2559. - name
  2560. type: object
  2561. x-kubernetes-map-type: atomic
  2562. dataSourceRef:
  2563. description: |-
  2564. dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
  2565. volume is desired. This may be any object from a non-empty API group (non
  2566. core object) or a PersistentVolumeClaim object.
  2567. When this field is specified, volume binding will only succeed if the type of
  2568. the specified object matches some installed volume populator or dynamic
  2569. provisioner.
  2570. This field will replace the functionality of the dataSource field and as such
  2571. if both fields are non-empty, they must have the same value. For backwards
  2572. compatibility, when namespace isn't specified in dataSourceRef,
  2573. both fields (dataSource and dataSourceRef) will be set to the same
  2574. value automatically if one of them is empty and the other is non-empty.
  2575. When namespace is specified in dataSourceRef,
  2576. dataSource isn't set to the same value and must be empty.
  2577. There are three important differences between dataSource and dataSourceRef:
  2578. * While dataSource only allows two specific types of objects, dataSourceRef
  2579. allows any non-core object, as well as PersistentVolumeClaim objects.
  2580. * While dataSource ignores disallowed values (dropping them), dataSourceRef
  2581. preserves all values, and generates an error if a disallowed value is
  2582. specified.
  2583. * While dataSource only allows local objects, dataSourceRef allows objects
  2584. in any namespaces.
  2585. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
  2586. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  2587. properties:
  2588. apiGroup:
  2589. description: |-
  2590. APIGroup is the group for the resource being referenced.
  2591. If APIGroup is not specified, the specified Kind must be in the core API group.
  2592. For any other third-party types, APIGroup is required.
  2593. type: string
  2594. kind:
  2595. description: Kind is the type of resource
  2596. being referenced
  2597. type: string
  2598. name:
  2599. description: Name is the name of resource
  2600. being referenced
  2601. type: string
  2602. namespace:
  2603. description: |-
  2604. Namespace is the namespace of resource being referenced
  2605. Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
  2606. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  2607. type: string
  2608. required:
  2609. - kind
  2610. - name
  2611. type: object
  2612. resources:
  2613. description: |-
  2614. resources represents the minimum resources the volume should have.
  2615. Users are allowed to specify resource requirements
  2616. that are lower than previous value but must still be higher than capacity recorded in the
  2617. status field of the claim.
  2618. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
  2619. properties:
  2620. limits:
  2621. additionalProperties:
  2622. anyOf:
  2623. - type: integer
  2624. - type: string
  2625. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2626. x-kubernetes-int-or-string: true
  2627. description: |-
  2628. Limits describes the maximum amount of compute resources allowed.
  2629. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  2630. type: object
  2631. requests:
  2632. additionalProperties:
  2633. anyOf:
  2634. - type: integer
  2635. - type: string
  2636. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2637. x-kubernetes-int-or-string: true
  2638. description: |-
  2639. Requests describes the minimum amount of compute resources required.
  2640. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  2641. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  2642. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  2643. type: object
  2644. type: object
  2645. selector:
  2646. description: selector is a label query over
  2647. volumes to consider for binding.
  2648. properties:
  2649. matchExpressions:
  2650. description: matchExpressions is a list
  2651. of label selector requirements. The
  2652. requirements are ANDed.
  2653. items:
  2654. description: |-
  2655. A label selector requirement is a selector that contains values, a key, and an operator that
  2656. relates the key and values.
  2657. properties:
  2658. key:
  2659. description: key is the label
  2660. key that the selector applies
  2661. to.
  2662. type: string
  2663. operator:
  2664. description: |-
  2665. operator represents a key's relationship to a set of values.
  2666. Valid operators are In, NotIn, Exists and DoesNotExist.
  2667. type: string
  2668. values:
  2669. description: |-
  2670. values is an array of string values. If the operator is In or NotIn,
  2671. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  2672. the values array must be empty. This array is replaced during a strategic
  2673. merge patch.
  2674. items:
  2675. type: string
  2676. type: array
  2677. x-kubernetes-list-type: atomic
  2678. required:
  2679. - key
  2680. - operator
  2681. type: object
  2682. type: array
  2683. x-kubernetes-list-type: atomic
  2684. matchLabels:
  2685. additionalProperties:
  2686. type: string
  2687. description: |-
  2688. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  2689. map is equivalent to an element of matchExpressions, whose key field is "key", the
  2690. operator is "In", and the values array contains only "value". The requirements are ANDed.
  2691. type: object
  2692. type: object
  2693. x-kubernetes-map-type: atomic
  2694. storageClassName:
  2695. description: |-
  2696. storageClassName is the name of the StorageClass required by the claim.
  2697. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
  2698. type: string
  2699. volumeAttributesClassName:
  2700. description: |-
  2701. volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
  2702. If specified, the CSI driver will create or update the volume with the attributes defined
  2703. in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
  2704. it can be changed after the claim is created. An empty string or nil value indicates that no
  2705. VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state,
  2706. this field can be reset to its previous value (including nil) to cancel the modification.
  2707. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
  2708. set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
  2709. exists.
  2710. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
  2711. type: string
  2712. volumeMode:
  2713. description: |-
  2714. volumeMode defines what type of volume is required by the claim.
  2715. Value of Filesystem is implied when not included in claim spec.
  2716. type: string
  2717. volumeName:
  2718. description: volumeName is the binding reference
  2719. to the PersistentVolume backing this claim.
  2720. type: string
  2721. type: object
  2722. required:
  2723. - spec
  2724. type: object
  2725. type: object
  2726. fc:
  2727. description: fc represents a Fibre Channel resource
  2728. that is attached to a kubelet's host machine and then
  2729. exposed to the pod.
  2730. properties:
  2731. fsType:
  2732. description: |-
  2733. fsType is the filesystem type to mount.
  2734. Must be a filesystem type supported by the host operating system.
  2735. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2736. type: string
  2737. lun:
  2738. description: 'lun is Optional: FC target lun number'
  2739. format: int32
  2740. type: integer
  2741. readOnly:
  2742. description: |-
  2743. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  2744. the ReadOnly setting in VolumeMounts.
  2745. type: boolean
  2746. targetWWNs:
  2747. description: 'targetWWNs is Optional: FC target
  2748. worldwide names (WWNs)'
  2749. items:
  2750. type: string
  2751. type: array
  2752. x-kubernetes-list-type: atomic
  2753. wwids:
  2754. description: |-
  2755. wwids Optional: FC volume world wide identifiers (wwids)
  2756. Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
  2757. items:
  2758. type: string
  2759. type: array
  2760. x-kubernetes-list-type: atomic
  2761. type: object
  2762. flexVolume:
  2763. description: |-
  2764. flexVolume represents a generic volume resource that is
  2765. provisioned/attached using an exec based plugin.
  2766. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
  2767. properties:
  2768. driver:
  2769. description: driver is the name of the driver to
  2770. use for this volume.
  2771. type: string
  2772. fsType:
  2773. description: |-
  2774. fsType is the filesystem type to mount.
  2775. Must be a filesystem type supported by the host operating system.
  2776. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
  2777. type: string
  2778. options:
  2779. additionalProperties:
  2780. type: string
  2781. description: 'options is Optional: this field holds
  2782. extra command options if any.'
  2783. type: object
  2784. readOnly:
  2785. description: |-
  2786. readOnly is Optional: defaults to false (read/write). ReadOnly here will force
  2787. the ReadOnly setting in VolumeMounts.
  2788. type: boolean
  2789. secretRef:
  2790. description: |-
  2791. secretRef is Optional: secretRef is reference to the secret object containing
  2792. sensitive information to pass to the plugin scripts. This may be
  2793. empty if no secret object is specified. If the secret object
  2794. contains more than one secret, all secrets are passed to the plugin
  2795. scripts.
  2796. properties:
  2797. name:
  2798. default: ""
  2799. description: |-
  2800. Name of the referent.
  2801. This field is effectively required, but due to backwards compatibility is
  2802. allowed to be empty. Instances of this type with an empty value here are
  2803. almost certainly wrong.
  2804. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2805. type: string
  2806. type: object
  2807. x-kubernetes-map-type: atomic
  2808. required:
  2809. - driver
  2810. type: object
  2811. flocker:
  2812. description: |-
  2813. flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.
  2814. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
  2815. properties:
  2816. datasetName:
  2817. description: |-
  2818. datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
  2819. should be considered as deprecated
  2820. type: string
  2821. datasetUUID:
  2822. description: datasetUUID is the UUID of the dataset.
  2823. This is unique identifier of a Flocker dataset
  2824. type: string
  2825. type: object
  2826. gcePersistentDisk:
  2827. description: |-
  2828. gcePersistentDisk represents a GCE Disk resource that is attached to a
  2829. kubelet's host machine and then exposed to the pod.
  2830. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
  2831. gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
  2832. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2833. properties:
  2834. fsType:
  2835. description: |-
  2836. fsType is filesystem type of the volume that you want to mount.
  2837. Tip: Ensure that the filesystem type is supported by the host operating system.
  2838. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2839. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2840. type: string
  2841. partition:
  2842. description: |-
  2843. partition is the partition in the volume that you want to mount.
  2844. If omitted, the default is to mount by volume name.
  2845. Examples: For volume /dev/sda1, you specify the partition as "1".
  2846. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  2847. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2848. format: int32
  2849. type: integer
  2850. pdName:
  2851. description: |-
  2852. pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
  2853. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2854. type: string
  2855. readOnly:
  2856. description: |-
  2857. readOnly here will force the ReadOnly setting in VolumeMounts.
  2858. Defaults to false.
  2859. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2860. type: boolean
  2861. required:
  2862. - pdName
  2863. type: object
  2864. gitRepo:
  2865. description: |-
  2866. gitRepo represents a git repository at a particular revision.
  2867. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
  2868. EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
  2869. into the Pod's container.
  2870. properties:
  2871. directory:
  2872. description: |-
  2873. directory is the target directory name.
  2874. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
  2875. git repository. Otherwise, if specified, the volume will contain the git repository in
  2876. the subdirectory with the given name.
  2877. type: string
  2878. repository:
  2879. description: repository is the URL
  2880. type: string
  2881. revision:
  2882. description: revision is the commit hash for the
  2883. specified revision.
  2884. type: string
  2885. required:
  2886. - repository
  2887. type: object
  2888. glusterfs:
  2889. description: |-
  2890. glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
  2891. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
  2892. properties:
  2893. endpoints:
  2894. description: endpoints is the endpoint name that
  2895. details Glusterfs topology.
  2896. type: string
  2897. path:
  2898. description: |-
  2899. path is the Glusterfs volume path.
  2900. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  2901. type: string
  2902. readOnly:
  2903. description: |-
  2904. readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
  2905. Defaults to false.
  2906. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  2907. type: boolean
  2908. required:
  2909. - endpoints
  2910. - path
  2911. type: object
  2912. hostPath:
  2913. description: |-
  2914. hostPath represents a pre-existing file or directory on the host
  2915. machine that is directly exposed to the container. This is generally
  2916. used for system agents or other privileged things that are allowed
  2917. to see the host machine. Most containers will NOT need this.
  2918. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  2919. properties:
  2920. path:
  2921. description: |-
  2922. path of the directory on the host.
  2923. If the path is a symlink, it will follow the link to the real path.
  2924. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  2925. type: string
  2926. type:
  2927. description: |-
  2928. type for HostPath Volume
  2929. Defaults to ""
  2930. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  2931. type: string
  2932. required:
  2933. - path
  2934. type: object
  2935. image:
  2936. description: |-
  2937. image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
  2938. The volume is resolved at pod startup depending on which PullPolicy value is provided:
  2939. - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
  2940. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
  2941. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
  2942. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
  2943. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
  2944. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
  2945. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
  2946. The volume will be mounted read-only (ro) and non-executable files (noexec).
  2947. Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
  2948. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
  2949. properties:
  2950. pullPolicy:
  2951. description: |-
  2952. Policy for pulling OCI objects. Possible values are:
  2953. Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
  2954. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
  2955. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
  2956. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
  2957. type: string
  2958. reference:
  2959. description: |-
  2960. Required: Image or artifact reference to be used.
  2961. Behaves in the same way as pod.spec.containers[*].image.
  2962. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.
  2963. More info: https://kubernetes.io/docs/concepts/containers/images
  2964. This field is optional to allow higher level config management to default or override
  2965. container images in workload controllers like Deployments and StatefulSets.
  2966. type: string
  2967. type: object
  2968. iscsi:
  2969. description: |-
  2970. iscsi represents an ISCSI Disk resource that is attached to a
  2971. kubelet's host machine and then exposed to the pod.
  2972. More info: https://kubernetes.io/docs/concepts/storage/volumes/#iscsi
  2973. properties:
  2974. chapAuthDiscovery:
  2975. description: chapAuthDiscovery defines whether support
  2976. iSCSI Discovery CHAP authentication
  2977. type: boolean
  2978. chapAuthSession:
  2979. description: chapAuthSession defines whether support
  2980. iSCSI Session CHAP authentication
  2981. type: boolean
  2982. fsType:
  2983. description: |-
  2984. fsType is the filesystem type of the volume that you want to mount.
  2985. Tip: Ensure that the filesystem type is supported by the host operating system.
  2986. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2987. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
  2988. type: string
  2989. initiatorName:
  2990. description: |-
  2991. initiatorName is the custom iSCSI Initiator Name.
  2992. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
  2993. <target portal>:<volume name> will be created for the connection.
  2994. type: string
  2995. iqn:
  2996. description: iqn is the target iSCSI Qualified Name.
  2997. type: string
  2998. iscsiInterface:
  2999. default: default
  3000. description: |-
  3001. iscsiInterface is the interface Name that uses an iSCSI transport.
  3002. Defaults to 'default' (tcp).
  3003. type: string
  3004. lun:
  3005. description: lun represents iSCSI Target Lun number.
  3006. format: int32
  3007. type: integer
  3008. portals:
  3009. description: |-
  3010. portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
  3011. is other than default (typically TCP ports 860 and 3260).
  3012. items:
  3013. type: string
  3014. type: array
  3015. x-kubernetes-list-type: atomic
  3016. readOnly:
  3017. description: |-
  3018. readOnly here will force the ReadOnly setting in VolumeMounts.
  3019. Defaults to false.
  3020. type: boolean
  3021. secretRef:
  3022. description: secretRef is the CHAP Secret for iSCSI
  3023. target and initiator authentication
  3024. properties:
  3025. name:
  3026. default: ""
  3027. description: |-
  3028. Name of the referent.
  3029. This field is effectively required, but due to backwards compatibility is
  3030. allowed to be empty. Instances of this type with an empty value here are
  3031. almost certainly wrong.
  3032. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3033. type: string
  3034. type: object
  3035. x-kubernetes-map-type: atomic
  3036. targetPortal:
  3037. description: |-
  3038. targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
  3039. is other than default (typically TCP ports 860 and 3260).
  3040. type: string
  3041. required:
  3042. - iqn
  3043. - lun
  3044. - targetPortal
  3045. type: object
  3046. name:
  3047. description: |-
  3048. name of the volume.
  3049. Must be a DNS_LABEL and unique within the pod.
  3050. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3051. type: string
  3052. nfs:
  3053. description: |-
  3054. nfs represents an NFS mount on the host that shares a pod's lifetime
  3055. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  3056. properties:
  3057. path:
  3058. description: |-
  3059. path that is exported by the NFS server.
  3060. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  3061. type: string
  3062. readOnly:
  3063. description: |-
  3064. readOnly here will force the NFS export to be mounted with read-only permissions.
  3065. Defaults to false.
  3066. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  3067. type: boolean
  3068. server:
  3069. description: |-
  3070. server is the hostname or IP address of the NFS server.
  3071. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  3072. type: string
  3073. required:
  3074. - path
  3075. - server
  3076. type: object
  3077. persistentVolumeClaim:
  3078. description: |-
  3079. persistentVolumeClaimVolumeSource represents a reference to a
  3080. PersistentVolumeClaim in the same namespace.
  3081. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  3082. properties:
  3083. claimName:
  3084. description: |-
  3085. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
  3086. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  3087. type: string
  3088. readOnly:
  3089. description: |-
  3090. readOnly Will force the ReadOnly setting in VolumeMounts.
  3091. Default false.
  3092. type: boolean
  3093. required:
  3094. - claimName
  3095. type: object
  3096. photonPersistentDisk:
  3097. description: |-
  3098. photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
  3099. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
  3100. properties:
  3101. fsType:
  3102. description: |-
  3103. fsType is the filesystem type to mount.
  3104. Must be a filesystem type supported by the host operating system.
  3105. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  3106. type: string
  3107. pdID:
  3108. description: pdID is the ID that identifies Photon
  3109. Controller persistent disk
  3110. type: string
  3111. required:
  3112. - pdID
  3113. type: object
  3114. portworxVolume:
  3115. description: |-
  3116. portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
  3117. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
  3118. are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
  3119. is on.
  3120. properties:
  3121. fsType:
  3122. description: |-
  3123. fSType represents the filesystem type to mount
  3124. Must be a filesystem type supported by the host operating system.
  3125. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
  3126. type: string
  3127. readOnly:
  3128. description: |-
  3129. readOnly defaults to false (read/write). ReadOnly here will force
  3130. the ReadOnly setting in VolumeMounts.
  3131. type: boolean
  3132. volumeID:
  3133. description: volumeID uniquely identifies a Portworx
  3134. volume
  3135. type: string
  3136. required:
  3137. - volumeID
  3138. type: object
  3139. projected:
  3140. description: projected items for all in one resources
  3141. secrets, configmaps, and downward API
  3142. properties:
  3143. defaultMode:
  3144. description: |-
  3145. defaultMode are the mode bits used to set permissions on created files by default.
  3146. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3147. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3148. Directories within the path are not affected by this setting.
  3149. This might be in conflict with other options that affect the file
  3150. mode, like fsGroup, and the result can be other mode bits set.
  3151. format: int32
  3152. type: integer
  3153. sources:
  3154. description: |-
  3155. sources is the list of volume projections. Each entry in this list
  3156. handles one source.
  3157. items:
  3158. description: |-
  3159. Projection that may be projected along with other supported volume types.
  3160. Exactly one of these fields must be set.
  3161. properties:
  3162. clusterTrustBundle:
  3163. description: |-
  3164. ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
  3165. of ClusterTrustBundle objects in an auto-updating file.
  3166. Alpha, gated by the ClusterTrustBundleProjection feature gate.
  3167. ClusterTrustBundle objects can either be selected by name, or by the
  3168. combination of signer name and a label selector.
  3169. Kubelet performs aggressive normalization of the PEM contents written
  3170. into the pod filesystem. Esoteric PEM features such as inter-block
  3171. comments and block headers are stripped. Certificates are deduplicated.
  3172. The ordering of certificates within the file is arbitrary, and Kubelet
  3173. may change the order over time.
  3174. properties:
  3175. labelSelector:
  3176. description: |-
  3177. Select all ClusterTrustBundles that match this label selector. Only has
  3178. effect if signerName is set. Mutually-exclusive with name. If unset,
  3179. interpreted as "match nothing". If set but empty, interpreted as "match
  3180. everything".
  3181. properties:
  3182. matchExpressions:
  3183. description: matchExpressions is a
  3184. list of label selector requirements.
  3185. The requirements are ANDed.
  3186. items:
  3187. description: |-
  3188. A label selector requirement is a selector that contains values, a key, and an operator that
  3189. relates the key and values.
  3190. properties:
  3191. key:
  3192. description: key is the label
  3193. key that the selector applies
  3194. to.
  3195. type: string
  3196. operator:
  3197. description: |-
  3198. operator represents a key's relationship to a set of values.
  3199. Valid operators are In, NotIn, Exists and DoesNotExist.
  3200. type: string
  3201. values:
  3202. description: |-
  3203. values is an array of string values. If the operator is In or NotIn,
  3204. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3205. the values array must be empty. This array is replaced during a strategic
  3206. merge patch.
  3207. items:
  3208. type: string
  3209. type: array
  3210. x-kubernetes-list-type: atomic
  3211. required:
  3212. - key
  3213. - operator
  3214. type: object
  3215. type: array
  3216. x-kubernetes-list-type: atomic
  3217. matchLabels:
  3218. additionalProperties:
  3219. type: string
  3220. description: |-
  3221. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  3222. map is equivalent to an element of matchExpressions, whose key field is "key", the
  3223. operator is "In", and the values array contains only "value". The requirements are ANDed.
  3224. type: object
  3225. type: object
  3226. x-kubernetes-map-type: atomic
  3227. name:
  3228. description: |-
  3229. Select a single ClusterTrustBundle by object name. Mutually-exclusive
  3230. with signerName and labelSelector.
  3231. type: string
  3232. optional:
  3233. description: |-
  3234. If true, don't block pod startup if the referenced ClusterTrustBundle(s)
  3235. aren't available. If using name, then the named ClusterTrustBundle is
  3236. allowed not to exist. If using signerName, then the combination of
  3237. signerName and labelSelector is allowed to match zero
  3238. ClusterTrustBundles.
  3239. type: boolean
  3240. path:
  3241. description: Relative path from the volume
  3242. root to write the bundle.
  3243. type: string
  3244. signerName:
  3245. description: |-
  3246. Select all ClusterTrustBundles that match this signer name.
  3247. Mutually-exclusive with name. The contents of all selected
  3248. ClusterTrustBundles will be unified and deduplicated.
  3249. type: string
  3250. required:
  3251. - path
  3252. type: object
  3253. configMap:
  3254. description: configMap information about the
  3255. configMap data to project
  3256. properties:
  3257. items:
  3258. description: |-
  3259. items if unspecified, each key-value pair in the Data field of the referenced
  3260. ConfigMap will be projected into the volume as a file whose name is the
  3261. key and content is the value. If specified, the listed keys will be
  3262. projected into the specified paths, and unlisted keys will not be
  3263. present. If a key is specified which is not present in the ConfigMap,
  3264. the volume setup will error unless it is marked optional. Paths must be
  3265. relative and may not contain the '..' path or start with '..'.
  3266. items:
  3267. description: Maps a string key to a
  3268. path within a volume.
  3269. properties:
  3270. key:
  3271. description: key is the key to project.
  3272. type: string
  3273. mode:
  3274. description: |-
  3275. mode is Optional: mode bits used to set permissions on this file.
  3276. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3277. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3278. If not specified, the volume defaultMode will be used.
  3279. This might be in conflict with other options that affect the file
  3280. mode, like fsGroup, and the result can be other mode bits set.
  3281. format: int32
  3282. type: integer
  3283. path:
  3284. description: |-
  3285. path is the relative path of the file to map the key to.
  3286. May not be an absolute path.
  3287. May not contain the path element '..'.
  3288. May not start with the string '..'.
  3289. type: string
  3290. required:
  3291. - key
  3292. - path
  3293. type: object
  3294. type: array
  3295. x-kubernetes-list-type: atomic
  3296. name:
  3297. default: ""
  3298. description: |-
  3299. Name of the referent.
  3300. This field is effectively required, but due to backwards compatibility is
  3301. allowed to be empty. Instances of this type with an empty value here are
  3302. almost certainly wrong.
  3303. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3304. type: string
  3305. optional:
  3306. description: optional specify whether
  3307. the ConfigMap or its keys must be defined
  3308. type: boolean
  3309. type: object
  3310. x-kubernetes-map-type: atomic
  3311. downwardAPI:
  3312. description: downwardAPI information about
  3313. the downwardAPI data to project
  3314. properties:
  3315. items:
  3316. description: Items is a list of DownwardAPIVolume
  3317. file
  3318. items:
  3319. description: DownwardAPIVolumeFile represents
  3320. information to create the file containing
  3321. the pod field
  3322. properties:
  3323. fieldRef:
  3324. description: 'Required: Selects
  3325. a field of the pod: only annotations,
  3326. labels, name, namespace and uid
  3327. are supported.'
  3328. properties:
  3329. apiVersion:
  3330. description: Version of the
  3331. schema the FieldPath is written
  3332. in terms of, defaults to "v1".
  3333. type: string
  3334. fieldPath:
  3335. description: Path of the field
  3336. to select in the specified
  3337. API version.
  3338. type: string
  3339. required:
  3340. - fieldPath
  3341. type: object
  3342. x-kubernetes-map-type: atomic
  3343. mode:
  3344. description: |-
  3345. Optional: mode bits used to set permissions on this file, must be an octal value
  3346. between 0000 and 0777 or a decimal value between 0 and 511.
  3347. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3348. If not specified, the volume defaultMode will be used.
  3349. This might be in conflict with other options that affect the file
  3350. mode, like fsGroup, and the result can be other mode bits set.
  3351. format: int32
  3352. type: integer
  3353. path:
  3354. description: 'Required: Path is the
  3355. relative path name of the file
  3356. to be created. Must not be absolute
  3357. or contain the ''..'' path. Must
  3358. be utf-8 encoded. The first item
  3359. of the relative path must not
  3360. start with ''..'''
  3361. type: string
  3362. resourceFieldRef:
  3363. description: |-
  3364. Selects a resource of the container: only resources limits and requests
  3365. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  3366. properties:
  3367. containerName:
  3368. description: 'Container name:
  3369. required for volumes, optional
  3370. for env vars'
  3371. type: string
  3372. divisor:
  3373. anyOf:
  3374. - type: integer
  3375. - type: string
  3376. description: Specifies the output
  3377. format of the exposed resources,
  3378. defaults to "1"
  3379. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  3380. x-kubernetes-int-or-string: true
  3381. resource:
  3382. description: 'Required: resource
  3383. to select'
  3384. type: string
  3385. required:
  3386. - resource
  3387. type: object
  3388. x-kubernetes-map-type: atomic
  3389. required:
  3390. - path
  3391. type: object
  3392. type: array
  3393. x-kubernetes-list-type: atomic
  3394. type: object
  3395. podCertificate:
  3396. description: |-
  3397. Projects an auto-rotating credential bundle (private key and certificate
  3398. chain) that the pod can use either as a TLS client or server.
  3399. Kubelet generates a private key and uses it to send a
  3400. PodCertificateRequest to the named signer. Once the signer approves the
  3401. request and issues a certificate chain, Kubelet writes the key and
  3402. certificate chain to the pod filesystem. The pod does not start until
  3403. certificates have been issued for each podCertificate projected volume
  3404. source in its spec.
  3405. Kubelet will begin trying to rotate the certificate at the time indicated
  3406. by the signer using the PodCertificateRequest.Status.BeginRefreshAt
  3407. timestamp.
  3408. Kubelet can write a single file, indicated by the credentialBundlePath
  3409. field, or separate files, indicated by the keyPath and
  3410. certificateChainPath fields.
  3411. The credential bundle is a single file in PEM format. The first PEM
  3412. entry is the private key (in PKCS#8 format), and the remaining PEM
  3413. entries are the certificate chain issued by the signer (typically,
  3414. signers will return their certificate chain in leaf-to-root order).
  3415. Prefer using the credential bundle format, since your application code
  3416. can read it atomically. If you use keyPath and certificateChainPath,
  3417. your application must make two separate file reads. If these coincide
  3418. with a certificate rotation, it is possible that the private key and leaf
  3419. certificate you read may not correspond to each other. Your application
  3420. will need to check for this condition, and re-read until they are
  3421. consistent.
  3422. The named signer controls chooses the format of the certificate it
  3423. issues; consult the signer implementation's documentation to learn how to
  3424. use the certificates it issues.
  3425. properties:
  3426. certificateChainPath:
  3427. description: |-
  3428. Write the certificate chain at this path in the projected volume.
  3429. Most applications should use credentialBundlePath. When using keyPath
  3430. and certificateChainPath, your application needs to check that the key
  3431. and leaf certificate are consistent, because it is possible to read the
  3432. files mid-rotation.
  3433. type: string
  3434. credentialBundlePath:
  3435. description: |-
  3436. Write the credential bundle at this path in the projected volume.
  3437. The credential bundle is a single file that contains multiple PEM blocks.
  3438. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private
  3439. key.
  3440. The remaining blocks are CERTIFICATE blocks, containing the issued
  3441. certificate chain from the signer (leaf and any intermediates).
  3442. Using credentialBundlePath lets your Pod's application code make a single
  3443. atomic read that retrieves a consistent key and certificate chain. If you
  3444. project them to separate files, your application code will need to
  3445. additionally check that the leaf certificate was issued to the key.
  3446. type: string
  3447. keyPath:
  3448. description: |-
  3449. Write the key at this path in the projected volume.
  3450. Most applications should use credentialBundlePath. When using keyPath
  3451. and certificateChainPath, your application needs to check that the key
  3452. and leaf certificate are consistent, because it is possible to read the
  3453. files mid-rotation.
  3454. type: string
  3455. keyType:
  3456. description: |-
  3457. The type of keypair Kubelet will generate for the pod.
  3458. Valid values are "RSA3072", "RSA4096", "ECDSAP256", "ECDSAP384",
  3459. "ECDSAP521", and "ED25519".
  3460. type: string
  3461. maxExpirationSeconds:
  3462. description: |-
  3463. maxExpirationSeconds is the maximum lifetime permitted for the
  3464. certificate.
  3465. Kubelet copies this value verbatim into the PodCertificateRequests it
  3466. generates for this projection.
  3467. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver
  3468. will reject values shorter than 3600 (1 hour). The maximum allowable
  3469. value is 7862400 (91 days).
  3470. The signer implementation is then free to issue a certificate with any
  3471. lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600
  3472. seconds (1 hour). This constraint is enforced by kube-apiserver.
  3473. `kubernetes.io` signers will never issue certificates with a lifetime
  3474. longer than 24 hours.
  3475. format: int32
  3476. type: integer
  3477. signerName:
  3478. description: Kubelet's generated CSRs
  3479. will be addressed to this signer.
  3480. type: string
  3481. userAnnotations:
  3482. additionalProperties:
  3483. type: string
  3484. description: |-
  3485. userAnnotations allow pod authors to pass additional information to
  3486. the signer implementation. Kubernetes does not restrict or validate this
  3487. metadata in any way.
  3488. These values are copied verbatim into the `spec.unverifiedUserAnnotations` field of
  3489. the PodCertificateRequest objects that Kubelet creates.
  3490. Entries are subject to the same validation as object metadata annotations,
  3491. with the addition that all keys must be domain-prefixed. No restrictions
  3492. are placed on values, except an overall size limitation on the entire field.
  3493. Signers should document the keys and values they support. Signers should
  3494. deny requests that contain keys they do not recognize.
  3495. type: object
  3496. required:
  3497. - keyType
  3498. - signerName
  3499. type: object
  3500. secret:
  3501. description: secret information about the
  3502. secret data to project
  3503. properties:
  3504. items:
  3505. description: |-
  3506. items if unspecified, each key-value pair in the Data field of the referenced
  3507. Secret will be projected into the volume as a file whose name is the
  3508. key and content is the value. If specified, the listed keys will be
  3509. projected into the specified paths, and unlisted keys will not be
  3510. present. If a key is specified which is not present in the Secret,
  3511. the volume setup will error unless it is marked optional. Paths must be
  3512. relative and may not contain the '..' path or start with '..'.
  3513. items:
  3514. description: Maps a string key to a
  3515. path within a volume.
  3516. properties:
  3517. key:
  3518. description: key is the key to project.
  3519. type: string
  3520. mode:
  3521. description: |-
  3522. mode is Optional: mode bits used to set permissions on this file.
  3523. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3524. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3525. If not specified, the volume defaultMode will be used.
  3526. This might be in conflict with other options that affect the file
  3527. mode, like fsGroup, and the result can be other mode bits set.
  3528. format: int32
  3529. type: integer
  3530. path:
  3531. description: |-
  3532. path is the relative path of the file to map the key to.
  3533. May not be an absolute path.
  3534. May not contain the path element '..'.
  3535. May not start with the string '..'.
  3536. type: string
  3537. required:
  3538. - key
  3539. - path
  3540. type: object
  3541. type: array
  3542. x-kubernetes-list-type: atomic
  3543. name:
  3544. default: ""
  3545. description: |-
  3546. Name of the referent.
  3547. This field is effectively required, but due to backwards compatibility is
  3548. allowed to be empty. Instances of this type with an empty value here are
  3549. almost certainly wrong.
  3550. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3551. type: string
  3552. optional:
  3553. description: optional field specify whether
  3554. the Secret or its key must be defined
  3555. type: boolean
  3556. type: object
  3557. x-kubernetes-map-type: atomic
  3558. serviceAccountToken:
  3559. description: serviceAccountToken is information
  3560. about the serviceAccountToken data to project
  3561. properties:
  3562. audience:
  3563. description: |-
  3564. audience is the intended audience of the token. A recipient of a token
  3565. must identify itself with an identifier specified in the audience of the
  3566. token, and otherwise should reject the token. The audience defaults to the
  3567. identifier of the apiserver.
  3568. type: string
  3569. expirationSeconds:
  3570. description: |-
  3571. expirationSeconds is the requested duration of validity of the service
  3572. account token. As the token approaches expiration, the kubelet volume
  3573. plugin will proactively rotate the service account token. The kubelet will
  3574. start trying to rotate the token if the token is older than 80 percent of
  3575. its time to live or if the token is older than 24 hours.Defaults to 1 hour
  3576. and must be at least 10 minutes.
  3577. format: int64
  3578. type: integer
  3579. path:
  3580. description: |-
  3581. path is the path relative to the mount point of the file to project the
  3582. token into.
  3583. type: string
  3584. required:
  3585. - path
  3586. type: object
  3587. type: object
  3588. type: array
  3589. x-kubernetes-list-type: atomic
  3590. type: object
  3591. quobyte:
  3592. description: |-
  3593. quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
  3594. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
  3595. properties:
  3596. group:
  3597. description: |-
  3598. group to map volume access to
  3599. Default is no group
  3600. type: string
  3601. readOnly:
  3602. description: |-
  3603. readOnly here will force the Quobyte volume to be mounted with read-only permissions.
  3604. Defaults to false.
  3605. type: boolean
  3606. registry:
  3607. description: |-
  3608. registry represents a single or multiple Quobyte Registry services
  3609. specified as a string as host:port pair (multiple entries are separated with commas)
  3610. which acts as the central registry for volumes
  3611. type: string
  3612. tenant:
  3613. description: |-
  3614. tenant owning the given Quobyte volume in the Backend
  3615. Used with dynamically provisioned Quobyte volumes, value is set by the plugin
  3616. type: string
  3617. user:
  3618. description: |-
  3619. user to map volume access to
  3620. Defaults to serivceaccount user
  3621. type: string
  3622. volume:
  3623. description: volume is a string that references
  3624. an already created Quobyte volume by name.
  3625. type: string
  3626. required:
  3627. - registry
  3628. - volume
  3629. type: object
  3630. rbd:
  3631. description: |-
  3632. rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
  3633. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
  3634. properties:
  3635. fsType:
  3636. description: |-
  3637. fsType is the filesystem type of the volume that you want to mount.
  3638. Tip: Ensure that the filesystem type is supported by the host operating system.
  3639. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  3640. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
  3641. type: string
  3642. image:
  3643. description: |-
  3644. image is the rados image name.
  3645. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3646. type: string
  3647. keyring:
  3648. default: /etc/ceph/keyring
  3649. description: |-
  3650. keyring is the path to key ring for RBDUser.
  3651. Default is /etc/ceph/keyring.
  3652. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3653. type: string
  3654. monitors:
  3655. description: |-
  3656. monitors is a collection of Ceph monitors.
  3657. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3658. items:
  3659. type: string
  3660. type: array
  3661. x-kubernetes-list-type: atomic
  3662. pool:
  3663. default: rbd
  3664. description: |-
  3665. pool is the rados pool name.
  3666. Default is rbd.
  3667. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3668. type: string
  3669. readOnly:
  3670. description: |-
  3671. readOnly here will force the ReadOnly setting in VolumeMounts.
  3672. Defaults to false.
  3673. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3674. type: boolean
  3675. secretRef:
  3676. description: |-
  3677. secretRef is name of the authentication secret for RBDUser. If provided
  3678. overrides keyring.
  3679. Default is nil.
  3680. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3681. properties:
  3682. name:
  3683. default: ""
  3684. description: |-
  3685. Name of the referent.
  3686. This field is effectively required, but due to backwards compatibility is
  3687. allowed to be empty. Instances of this type with an empty value here are
  3688. almost certainly wrong.
  3689. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3690. type: string
  3691. type: object
  3692. x-kubernetes-map-type: atomic
  3693. user:
  3694. default: admin
  3695. description: |-
  3696. user is the rados user name.
  3697. Default is admin.
  3698. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3699. type: string
  3700. required:
  3701. - image
  3702. - monitors
  3703. type: object
  3704. scaleIO:
  3705. description: |-
  3706. scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
  3707. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
  3708. properties:
  3709. fsType:
  3710. default: xfs
  3711. description: |-
  3712. fsType is the filesystem type to mount.
  3713. Must be a filesystem type supported by the host operating system.
  3714. Ex. "ext4", "xfs", "ntfs".
  3715. Default is "xfs".
  3716. type: string
  3717. gateway:
  3718. description: gateway is the host address of the
  3719. ScaleIO API Gateway.
  3720. type: string
  3721. protectionDomain:
  3722. description: protectionDomain is the name of the
  3723. ScaleIO Protection Domain for the configured storage.
  3724. type: string
  3725. readOnly:
  3726. description: |-
  3727. readOnly Defaults to false (read/write). ReadOnly here will force
  3728. the ReadOnly setting in VolumeMounts.
  3729. type: boolean
  3730. secretRef:
  3731. description: |-
  3732. secretRef references to the secret for ScaleIO user and other
  3733. sensitive information. If this is not provided, Login operation will fail.
  3734. properties:
  3735. name:
  3736. default: ""
  3737. description: |-
  3738. Name of the referent.
  3739. This field is effectively required, but due to backwards compatibility is
  3740. allowed to be empty. Instances of this type with an empty value here are
  3741. almost certainly wrong.
  3742. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3743. type: string
  3744. type: object
  3745. x-kubernetes-map-type: atomic
  3746. sslEnabled:
  3747. description: sslEnabled Flag enable/disable SSL
  3748. communication with Gateway, default false
  3749. type: boolean
  3750. storageMode:
  3751. default: ThinProvisioned
  3752. description: |-
  3753. storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
  3754. Default is ThinProvisioned.
  3755. type: string
  3756. storagePool:
  3757. description: storagePool is the ScaleIO Storage
  3758. Pool associated with the protection domain.
  3759. type: string
  3760. system:
  3761. description: system is the name of the storage system
  3762. as configured in ScaleIO.
  3763. type: string
  3764. volumeName:
  3765. description: |-
  3766. volumeName is the name of a volume already created in the ScaleIO system
  3767. that is associated with this volume source.
  3768. type: string
  3769. required:
  3770. - gateway
  3771. - secretRef
  3772. - system
  3773. type: object
  3774. secret:
  3775. description: |-
  3776. secret represents a secret that should populate this volume.
  3777. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  3778. properties:
  3779. defaultMode:
  3780. description: |-
  3781. defaultMode is Optional: mode bits used to set permissions on created files by default.
  3782. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3783. YAML accepts both octal and decimal values, JSON requires decimal values
  3784. for mode bits. Defaults to 0644.
  3785. Directories within the path are not affected by this setting.
  3786. This might be in conflict with other options that affect the file
  3787. mode, like fsGroup, and the result can be other mode bits set.
  3788. format: int32
  3789. type: integer
  3790. items:
  3791. description: |-
  3792. items If unspecified, each key-value pair in the Data field of the referenced
  3793. Secret will be projected into the volume as a file whose name is the
  3794. key and content is the value. If specified, the listed keys will be
  3795. projected into the specified paths, and unlisted keys will not be
  3796. present. If a key is specified which is not present in the Secret,
  3797. the volume setup will error unless it is marked optional. Paths must be
  3798. relative and may not contain the '..' path or start with '..'.
  3799. items:
  3800. description: Maps a string key to a path within
  3801. a volume.
  3802. properties:
  3803. key:
  3804. description: key is the key to project.
  3805. type: string
  3806. mode:
  3807. description: |-
  3808. mode is Optional: mode bits used to set permissions on this file.
  3809. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3810. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3811. If not specified, the volume defaultMode will be used.
  3812. This might be in conflict with other options that affect the file
  3813. mode, like fsGroup, and the result can be other mode bits set.
  3814. format: int32
  3815. type: integer
  3816. path:
  3817. description: |-
  3818. path is the relative path of the file to map the key to.
  3819. May not be an absolute path.
  3820. May not contain the path element '..'.
  3821. May not start with the string '..'.
  3822. type: string
  3823. required:
  3824. - key
  3825. - path
  3826. type: object
  3827. type: array
  3828. x-kubernetes-list-type: atomic
  3829. optional:
  3830. description: optional field specify whether the
  3831. Secret or its keys must be defined
  3832. type: boolean
  3833. secretName:
  3834. description: |-
  3835. secretName is the name of the secret in the pod's namespace to use.
  3836. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  3837. type: string
  3838. type: object
  3839. storageos:
  3840. description: |-
  3841. storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
  3842. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
  3843. properties:
  3844. fsType:
  3845. description: |-
  3846. fsType is the filesystem type to mount.
  3847. Must be a filesystem type supported by the host operating system.
  3848. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  3849. type: string
  3850. readOnly:
  3851. description: |-
  3852. readOnly defaults to false (read/write). ReadOnly here will force
  3853. the ReadOnly setting in VolumeMounts.
  3854. type: boolean
  3855. secretRef:
  3856. description: |-
  3857. secretRef specifies the secret to use for obtaining the StorageOS API
  3858. credentials. If not specified, default values will be attempted.
  3859. properties:
  3860. name:
  3861. default: ""
  3862. description: |-
  3863. Name of the referent.
  3864. This field is effectively required, but due to backwards compatibility is
  3865. allowed to be empty. Instances of this type with an empty value here are
  3866. almost certainly wrong.
  3867. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3868. type: string
  3869. type: object
  3870. x-kubernetes-map-type: atomic
  3871. volumeName:
  3872. description: |-
  3873. volumeName is the human-readable name of the StorageOS volume. Volume
  3874. names are only unique within a namespace.
  3875. type: string
  3876. volumeNamespace:
  3877. description: |-
  3878. volumeNamespace specifies the scope of the volume within StorageOS. If no
  3879. namespace is specified then the Pod's namespace will be used. This allows the
  3880. Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
  3881. Set VolumeName to any name to override the default behaviour.
  3882. Set to "default" if you are not using namespaces within StorageOS.
  3883. Namespaces that do not pre-exist within StorageOS will be created.
  3884. type: string
  3885. type: object
  3886. vsphereVolume:
  3887. description: |-
  3888. vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
  3889. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
  3890. are redirected to the csi.vsphere.vmware.com CSI driver.
  3891. properties:
  3892. fsType:
  3893. description: |-
  3894. fsType is filesystem type to mount.
  3895. Must be a filesystem type supported by the host operating system.
  3896. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  3897. type: string
  3898. storagePolicyID:
  3899. description: storagePolicyID is the storage Policy
  3900. Based Management (SPBM) profile ID associated
  3901. with the StoragePolicyName.
  3902. type: string
  3903. storagePolicyName:
  3904. description: storagePolicyName is the storage Policy
  3905. Based Management (SPBM) profile name.
  3906. type: string
  3907. volumePath:
  3908. description: volumePath is the path that identifies
  3909. vSphere volume vmdk
  3910. type: string
  3911. required:
  3912. - volumePath
  3913. type: object
  3914. required:
  3915. - name
  3916. type: object
  3917. type: array
  3918. type: object
  3919. required:
  3920. - name
  3921. type: object
  3922. tools:
  3923. description: |-
  3924. tools are the MCP tool servers bound to this agent.
  3925. Each entry references an ExternalTool or ManagedTool in the same namespace.
  3926. items:
  3927. description: ObjectReference contains enough information to let
  3928. you inspect or modify the referred object.
  3929. properties:
  3930. apiVersion:
  3931. description: API version of the referent.
  3932. type: string
  3933. fieldPath:
  3934. description: |-
  3935. If referring to a piece of an object instead of an entire object, this string
  3936. should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
  3937. For example, if the object reference is to a container within a pod, this would take on a value like:
  3938. "spec.containers{name}" (where "name" refers to the name of the container that triggered
  3939. the event) or if no container name is specified "spec.containers[2]" (container with
  3940. index 2 in this pod). This syntax is chosen only to have some well-defined way of
  3941. referencing a part of an object.
  3942. type: string
  3943. kind:
  3944. description: |-
  3945. Kind of the referent.
  3946. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  3947. type: string
  3948. name:
  3949. description: |-
  3950. Name of the referent.
  3951. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3952. type: string
  3953. namespace:
  3954. description: |-
  3955. Namespace of the referent.
  3956. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
  3957. type: string
  3958. resourceVersion:
  3959. description: |-
  3960. Specific resourceVersion to which this reference is made, if any.
  3961. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
  3962. type: string
  3963. uid:
  3964. description: |-
  3965. UID of the referent.
  3966. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
  3967. type: string
  3968. type: object
  3969. x-kubernetes-map-type: atomic
  3970. type: array
  3971. required:
  3972. - model
  3973. type: object
  3974. status:
  3975. description: status defines the observed state of Agent
  3976. properties:
  3977. conditions:
  3978. description: |-
  3979. conditions represent the current state of the Agent resource.
  3980. Each condition has a unique type and reflects the status of a specific aspect of the resource.
  3981. Standard condition types include:
  3982. - "Available": the resource is fully functional
  3983. - "Progressing": the resource is being created or updated
  3984. - "Degraded": the resource failed to reach or maintain its desired state
  3985. The status of each condition is one of True, False, or Unknown.
  3986. items:
  3987. description: Condition contains details for one aspect of the current
  3988. state of this API Resource.
  3989. properties:
  3990. lastTransitionTime:
  3991. description: |-
  3992. lastTransitionTime is the last time the condition transitioned from one status to another.
  3993. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
  3994. format: date-time
  3995. type: string
  3996. message:
  3997. description: |-
  3998. message is a human readable message indicating details about the transition.
  3999. This may be an empty string.
  4000. maxLength: 32768
  4001. type: string
  4002. observedGeneration:
  4003. description: |-
  4004. observedGeneration represents the .metadata.generation that the condition was set based upon.
  4005. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
  4006. with respect to the current state of the instance.
  4007. format: int64
  4008. minimum: 0
  4009. type: integer
  4010. reason:
  4011. description: |-
  4012. reason contains a programmatic identifier indicating the reason for the condition's last transition.
  4013. Producers of specific condition types may define expected values and meanings for this field,
  4014. and whether the values are considered a guaranteed API.
  4015. The value should be a CamelCase string.
  4016. This field may not be empty.
  4017. maxLength: 1024
  4018. minLength: 1
  4019. pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
  4020. type: string
  4021. status:
  4022. description: status of the condition, one of True, False, Unknown.
  4023. enum:
  4024. - "True"
  4025. - "False"
  4026. - Unknown
  4027. type: string
  4028. type:
  4029. description: type of condition in CamelCase or in foo.example.com/CamelCase.
  4030. maxLength: 316
  4031. pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
  4032. type: string
  4033. required:
  4034. - lastTransitionTime
  4035. - message
  4036. - reason
  4037. - status
  4038. - type
  4039. type: object
  4040. type: array
  4041. x-kubernetes-list-map-keys:
  4042. - type
  4043. x-kubernetes-list-type: map
  4044. endpoint:
  4045. description: endpoint is the URL where the tool can be accessed for
  4046. agent requests.
  4047. type: string
  4048. observedGeneration:
  4049. description: observedGeneration is the .metadata.generation last reconciled.
  4050. format: int64
  4051. type: integer
  4052. type: object
  4053. required:
  4054. - spec
  4055. type: object
  4056. served: true
  4057. storage: true
  4058. subresources:
  4059. status: {}