locostack.com_agents.yaml 264 KB

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