locostack.com_components.yaml 254 KB

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