0prometheus-operator-0prometheusCustomResourceDefinition.yaml 185 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169
  1. apiVersion: apiextensions.k8s.io/v1beta1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. creationTimestamp: null
  5. name: prometheuses.monitoring.coreos.com
  6. spec:
  7. group: monitoring.coreos.com
  8. names:
  9. kind: Prometheus
  10. plural: prometheuses
  11. scope: Namespaced
  12. validation:
  13. openAPIV3Schema:
  14. properties:
  15. apiVersion:
  16. description: 'APIVersion defines the versioned schema of this representation
  17. of an object. Servers should convert recognized schemas to the latest
  18. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  19. type: string
  20. kind:
  21. description: 'Kind is a string value representing the REST resource this
  22. object represents. Servers may infer this from the endpoint the client
  23. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  24. type: string
  25. spec:
  26. description: 'PrometheusSpec is a specification of the desired behavior
  27. of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  28. properties:
  29. additionalAlertManagerConfigs:
  30. description: SecretKeySelector selects a key of a Secret.
  31. properties:
  32. key:
  33. description: The key of the secret to select from. Must be a valid
  34. secret key.
  35. type: string
  36. name:
  37. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  38. type: string
  39. optional:
  40. description: Specify whether the Secret or it's key must be defined
  41. type: boolean
  42. required:
  43. - key
  44. additionalAlertRelabelConfigs:
  45. description: SecretKeySelector selects a key of a Secret.
  46. properties:
  47. key:
  48. description: The key of the secret to select from. Must be a valid
  49. secret key.
  50. type: string
  51. name:
  52. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  53. type: string
  54. optional:
  55. description: Specify whether the Secret or it's key must be defined
  56. type: boolean
  57. required:
  58. - key
  59. additionalScrapeConfigs:
  60. description: SecretKeySelector selects a key of a Secret.
  61. properties:
  62. key:
  63. description: The key of the secret to select from. Must be a valid
  64. secret key.
  65. type: string
  66. name:
  67. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  68. type: string
  69. optional:
  70. description: Specify whether the Secret or it's key must be defined
  71. type: boolean
  72. required:
  73. - key
  74. affinity:
  75. description: Affinity is a group of affinity scheduling rules.
  76. properties:
  77. nodeAffinity:
  78. description: Node affinity is a group of node affinity scheduling
  79. rules.
  80. properties:
  81. preferredDuringSchedulingIgnoredDuringExecution:
  82. description: The scheduler will prefer to schedule pods to nodes
  83. that satisfy the affinity expressions specified by this field,
  84. but it may choose a node that violates one or more of the
  85. expressions. The node that is most preferred is the one with
  86. the greatest sum of weights, i.e. for each node that meets
  87. all of the scheduling requirements (resource request, requiredDuringScheduling
  88. affinity expressions, etc.), compute a sum by iterating through
  89. the elements of this field and adding "weight" to the sum
  90. if the node matches the corresponding matchExpressions; the
  91. node(s) with the highest sum are the most preferred.
  92. items:
  93. description: An empty preferred scheduling term matches all
  94. objects with implicit weight 0 (i.e. it's a no-op). A null
  95. preferred scheduling term matches no objects (i.e. is also
  96. a no-op).
  97. properties:
  98. preference:
  99. description: A null or empty node selector term matches
  100. no objects. The requirements of them are ANDed. The
  101. TopologySelectorTerm type implements a subset of the
  102. NodeSelectorTerm.
  103. properties:
  104. matchExpressions:
  105. description: A list of node selector requirements
  106. by node's labels.
  107. items:
  108. description: A node selector requirement is a selector
  109. that contains values, a key, and an operator that
  110. relates the key and values.
  111. properties:
  112. key:
  113. description: The label key that the selector
  114. applies to.
  115. type: string
  116. operator:
  117. description: Represents a key's relationship
  118. to a set of values. Valid operators are In,
  119. NotIn, Exists, DoesNotExist. Gt, and Lt.
  120. type: string
  121. values:
  122. description: An array of string values. If the
  123. operator is In or NotIn, the values array
  124. must be non-empty. If the operator is Exists
  125. or DoesNotExist, the values array must be
  126. empty. If the operator is Gt or Lt, the values
  127. array must have a single element, which will
  128. be interpreted as an integer. This array is
  129. replaced during a strategic merge patch.
  130. items:
  131. type: string
  132. type: array
  133. required:
  134. - key
  135. - operator
  136. type: array
  137. matchFields:
  138. description: A list of node selector requirements
  139. by node's fields.
  140. items:
  141. description: A node selector requirement is a selector
  142. that contains values, a key, and an operator that
  143. relates the key and values.
  144. properties:
  145. key:
  146. description: The label key that the selector
  147. applies to.
  148. type: string
  149. operator:
  150. description: Represents a key's relationship
  151. to a set of values. Valid operators are In,
  152. NotIn, Exists, DoesNotExist. Gt, and Lt.
  153. type: string
  154. values:
  155. description: An array of string values. If the
  156. operator is In or NotIn, the values array
  157. must be non-empty. If the operator is Exists
  158. or DoesNotExist, the values array must be
  159. empty. If the operator is Gt or Lt, the values
  160. array must have a single element, which will
  161. be interpreted as an integer. This array is
  162. replaced during a strategic merge patch.
  163. items:
  164. type: string
  165. type: array
  166. required:
  167. - key
  168. - operator
  169. type: array
  170. weight:
  171. description: Weight associated with matching the corresponding
  172. nodeSelectorTerm, in the range 1-100.
  173. format: int32
  174. type: integer
  175. required:
  176. - weight
  177. - preference
  178. type: array
  179. requiredDuringSchedulingIgnoredDuringExecution:
  180. description: A node selector represents the union of the results
  181. of one or more label queries over a set of nodes; that is,
  182. it represents the OR of the selectors represented by the node
  183. selector terms.
  184. properties:
  185. nodeSelectorTerms:
  186. description: Required. A list of node selector terms. The
  187. terms are ORed.
  188. items:
  189. description: A null or empty node selector term matches
  190. no objects. The requirements of them are ANDed. The
  191. TopologySelectorTerm type implements a subset of the
  192. NodeSelectorTerm.
  193. properties:
  194. matchExpressions:
  195. description: A list of node selector requirements
  196. by node's labels.
  197. items:
  198. description: A node selector requirement is a selector
  199. that contains values, a key, and an operator that
  200. relates the key and values.
  201. properties:
  202. key:
  203. description: The label key that the selector
  204. applies to.
  205. type: string
  206. operator:
  207. description: Represents a key's relationship
  208. to a set of values. Valid operators are In,
  209. NotIn, Exists, DoesNotExist. Gt, and Lt.
  210. type: string
  211. values:
  212. description: An array of string values. If the
  213. operator is In or NotIn, the values array
  214. must be non-empty. If the operator is Exists
  215. or DoesNotExist, the values array must be
  216. empty. If the operator is Gt or Lt, the values
  217. array must have a single element, which will
  218. be interpreted as an integer. This array is
  219. replaced during a strategic merge patch.
  220. items:
  221. type: string
  222. type: array
  223. required:
  224. - key
  225. - operator
  226. type: array
  227. matchFields:
  228. description: A list of node selector requirements
  229. by node's fields.
  230. items:
  231. description: A node selector requirement is a selector
  232. that contains values, a key, and an operator that
  233. relates the key and values.
  234. properties:
  235. key:
  236. description: The label key that the selector
  237. applies to.
  238. type: string
  239. operator:
  240. description: Represents a key's relationship
  241. to a set of values. Valid operators are In,
  242. NotIn, Exists, DoesNotExist. Gt, and Lt.
  243. type: string
  244. values:
  245. description: An array of string values. If the
  246. operator is In or NotIn, the values array
  247. must be non-empty. If the operator is Exists
  248. or DoesNotExist, the values array must be
  249. empty. If the operator is Gt or Lt, the values
  250. array must have a single element, which will
  251. be interpreted as an integer. This array is
  252. replaced during a strategic merge patch.
  253. items:
  254. type: string
  255. type: array
  256. required:
  257. - key
  258. - operator
  259. type: array
  260. type: array
  261. required:
  262. - nodeSelectorTerms
  263. podAffinity:
  264. description: Pod affinity is a group of inter pod affinity scheduling
  265. rules.
  266. properties:
  267. preferredDuringSchedulingIgnoredDuringExecution:
  268. description: The scheduler will prefer to schedule pods to nodes
  269. that satisfy the affinity expressions specified by this field,
  270. but it may choose a node that violates one or more of the
  271. expressions. The node that is most preferred is the one with
  272. the greatest sum of weights, i.e. for each node that meets
  273. all of the scheduling requirements (resource request, requiredDuringScheduling
  274. affinity expressions, etc.), compute a sum by iterating through
  275. the elements of this field and adding "weight" to the sum
  276. if the node has pods which matches the corresponding podAffinityTerm;
  277. the node(s) with the highest sum are the most preferred.
  278. items:
  279. description: The weights of all of the matched WeightedPodAffinityTerm
  280. fields are added per-node to find the most preferred node(s)
  281. properties:
  282. podAffinityTerm:
  283. description: Defines a set of pods (namely those matching
  284. the labelSelector relative to the given namespace(s))
  285. that this pod should be co-located (affinity) or not
  286. co-located (anti-affinity) with, where co-located is
  287. defined as running on a node whose value of the label
  288. with key <topologyKey> matches that of any node on which
  289. a pod of the set of pods is running
  290. properties:
  291. labelSelector:
  292. description: A label selector is a label query over
  293. a set of resources. The result of matchLabels and
  294. matchExpressions are ANDed. An empty label selector
  295. matches all objects. A null label selector matches
  296. no objects.
  297. properties:
  298. matchExpressions:
  299. description: matchExpressions is a list of label
  300. selector requirements. The requirements are
  301. ANDed.
  302. items:
  303. description: A label selector requirement is
  304. a selector that contains values, a key, and
  305. an operator that relates the key and values.
  306. properties:
  307. key:
  308. description: key is the label key that the
  309. selector applies to.
  310. type: string
  311. operator:
  312. description: operator represents a key's
  313. relationship to a set of values. Valid
  314. operators are In, NotIn, Exists and DoesNotExist.
  315. type: string
  316. values:
  317. description: values is an array of string
  318. values. If the operator is In or NotIn,
  319. the values array must be non-empty. If
  320. the operator is Exists or DoesNotExist,
  321. the values array must be empty. This array
  322. is replaced during a strategic merge patch.
  323. items:
  324. type: string
  325. type: array
  326. required:
  327. - key
  328. - operator
  329. type: array
  330. matchLabels:
  331. description: matchLabels is a map of {key,value}
  332. pairs. A single {key,value} in the matchLabels
  333. map is equivalent to an element of matchExpressions,
  334. whose key field is "key", the operator is "In",
  335. and the values array contains only "value".
  336. The requirements are ANDed.
  337. type: object
  338. namespaces:
  339. description: namespaces specifies which namespaces
  340. the labelSelector applies to (matches against);
  341. null or empty list means "this pod's namespace"
  342. items:
  343. type: string
  344. type: array
  345. topologyKey:
  346. description: This pod should be co-located (affinity)
  347. or not co-located (anti-affinity) with the pods
  348. matching the labelSelector in the specified namespaces,
  349. where co-located is defined as running on a node
  350. whose value of the label with key topologyKey matches
  351. that of any node on which any of the selected pods
  352. is running. Empty topologyKey is not allowed.
  353. type: string
  354. required:
  355. - topologyKey
  356. weight:
  357. description: weight associated with matching the corresponding
  358. podAffinityTerm, in the range 1-100.
  359. format: int32
  360. type: integer
  361. required:
  362. - weight
  363. - podAffinityTerm
  364. type: array
  365. requiredDuringSchedulingIgnoredDuringExecution:
  366. description: If the affinity requirements specified by this
  367. field are not met at scheduling time, the pod will not be
  368. scheduled onto the node. If the affinity requirements specified
  369. by this field cease to be met at some point during pod execution
  370. (e.g. due to a pod label update), the system may or may not
  371. try to eventually evict the pod from its node. When there
  372. are multiple elements, the lists of nodes corresponding to
  373. each podAffinityTerm are intersected, i.e. all terms must
  374. be satisfied.
  375. items:
  376. description: Defines a set of pods (namely those matching
  377. the labelSelector relative to the given namespace(s)) that
  378. this pod should be co-located (affinity) or not co-located
  379. (anti-affinity) with, where co-located is defined as running
  380. on a node whose value of the label with key <topologyKey>
  381. matches that of any node on which a pod of the set of pods
  382. is running
  383. properties:
  384. labelSelector:
  385. description: A label selector is a label query over a
  386. set of resources. The result of matchLabels and matchExpressions
  387. are ANDed. An empty label selector matches all objects.
  388. A null label selector matches no objects.
  389. properties:
  390. matchExpressions:
  391. description: matchExpressions is a list of label selector
  392. requirements. The requirements are ANDed.
  393. items:
  394. description: A label selector requirement is a selector
  395. that contains values, a key, and an operator that
  396. relates the key and values.
  397. properties:
  398. key:
  399. description: key is the label key that the selector
  400. applies to.
  401. type: string
  402. operator:
  403. description: operator represents a key's relationship
  404. to a set of values. Valid operators are In,
  405. NotIn, Exists and DoesNotExist.
  406. type: string
  407. values:
  408. description: values is an array of string values.
  409. If the operator is In or NotIn, the values
  410. array must be non-empty. If the operator is
  411. Exists or DoesNotExist, the values array must
  412. be empty. This array is replaced during a
  413. strategic merge patch.
  414. items:
  415. type: string
  416. type: array
  417. required:
  418. - key
  419. - operator
  420. type: array
  421. matchLabels:
  422. description: matchLabels is a map of {key,value} pairs.
  423. A single {key,value} in the matchLabels map is equivalent
  424. to an element of matchExpressions, whose key field
  425. is "key", the operator is "In", and the values array
  426. contains only "value". The requirements are ANDed.
  427. type: object
  428. namespaces:
  429. description: namespaces specifies which namespaces the
  430. labelSelector applies to (matches against); null or
  431. empty list means "this pod's namespace"
  432. items:
  433. type: string
  434. type: array
  435. topologyKey:
  436. description: This pod should be co-located (affinity)
  437. or not co-located (anti-affinity) with the pods matching
  438. the labelSelector in the specified namespaces, where
  439. co-located is defined as running on a node whose value
  440. of the label with key topologyKey matches that of any
  441. node on which any of the selected pods is running. Empty
  442. topologyKey is not allowed.
  443. type: string
  444. required:
  445. - topologyKey
  446. type: array
  447. podAntiAffinity:
  448. description: Pod anti affinity is a group of inter pod anti affinity
  449. scheduling rules.
  450. properties:
  451. preferredDuringSchedulingIgnoredDuringExecution:
  452. description: The scheduler will prefer to schedule pods to nodes
  453. that satisfy the anti-affinity expressions specified by this
  454. field, but it may choose a node that violates one or more
  455. of the expressions. The node that is most preferred is the
  456. one with the greatest sum of weights, i.e. for each node that
  457. meets all of the scheduling requirements (resource request,
  458. requiredDuringScheduling anti-affinity expressions, etc.),
  459. compute a sum by iterating through the elements of this field
  460. and adding "weight" to the sum if the node has pods which
  461. matches the corresponding podAffinityTerm; the node(s) with
  462. the highest sum are the most preferred.
  463. items:
  464. description: The weights of all of the matched WeightedPodAffinityTerm
  465. fields are added per-node to find the most preferred node(s)
  466. properties:
  467. podAffinityTerm:
  468. description: Defines a set of pods (namely those matching
  469. the labelSelector relative to the given namespace(s))
  470. that this pod should be co-located (affinity) or not
  471. co-located (anti-affinity) with, where co-located is
  472. defined as running on a node whose value of the label
  473. with key <topologyKey> matches that of any node on which
  474. a pod of the set of pods is running
  475. properties:
  476. labelSelector:
  477. description: A label selector is a label query over
  478. a set of resources. The result of matchLabels and
  479. matchExpressions are ANDed. An empty label selector
  480. matches all objects. A null label selector matches
  481. no objects.
  482. properties:
  483. matchExpressions:
  484. description: matchExpressions is a list of label
  485. selector requirements. The requirements are
  486. ANDed.
  487. items:
  488. description: A label selector requirement is
  489. a selector that contains values, a key, and
  490. an operator that relates the key and values.
  491. properties:
  492. key:
  493. description: key is the label key that the
  494. selector applies to.
  495. type: string
  496. operator:
  497. description: operator represents a key's
  498. relationship to a set of values. Valid
  499. operators are In, NotIn, Exists and DoesNotExist.
  500. type: string
  501. values:
  502. description: values is an array of string
  503. values. If the operator is In or NotIn,
  504. the values array must be non-empty. If
  505. the operator is Exists or DoesNotExist,
  506. the values array must be empty. This array
  507. is replaced during a strategic merge patch.
  508. items:
  509. type: string
  510. type: array
  511. required:
  512. - key
  513. - operator
  514. type: array
  515. matchLabels:
  516. description: matchLabels is a map of {key,value}
  517. pairs. A single {key,value} in the matchLabels
  518. map is equivalent to an element of matchExpressions,
  519. whose key field is "key", the operator is "In",
  520. and the values array contains only "value".
  521. The requirements are ANDed.
  522. type: object
  523. namespaces:
  524. description: namespaces specifies which namespaces
  525. the labelSelector applies to (matches against);
  526. null or empty list means "this pod's namespace"
  527. items:
  528. type: string
  529. type: array
  530. topologyKey:
  531. description: This pod should be co-located (affinity)
  532. or not co-located (anti-affinity) with the pods
  533. matching the labelSelector in the specified namespaces,
  534. where co-located is defined as running on a node
  535. whose value of the label with key topologyKey matches
  536. that of any node on which any of the selected pods
  537. is running. Empty topologyKey is not allowed.
  538. type: string
  539. required:
  540. - topologyKey
  541. weight:
  542. description: weight associated with matching the corresponding
  543. podAffinityTerm, in the range 1-100.
  544. format: int32
  545. type: integer
  546. required:
  547. - weight
  548. - podAffinityTerm
  549. type: array
  550. requiredDuringSchedulingIgnoredDuringExecution:
  551. description: If the anti-affinity requirements specified by
  552. this field are not met at scheduling time, the pod will not
  553. be scheduled onto the node. If the anti-affinity requirements
  554. specified by this field cease to be met at some point during
  555. pod execution (e.g. due to a pod label update), the system
  556. may or may not try to eventually evict the pod from its node.
  557. When there are multiple elements, the lists of nodes corresponding
  558. to each podAffinityTerm are intersected, i.e. all terms must
  559. be satisfied.
  560. items:
  561. description: Defines a set of pods (namely those matching
  562. the labelSelector relative to the given namespace(s)) that
  563. this pod should be co-located (affinity) or not co-located
  564. (anti-affinity) with, where co-located is defined as running
  565. on a node whose value of the label with key <topologyKey>
  566. matches that of any node on which a pod of the set of pods
  567. is running
  568. properties:
  569. labelSelector:
  570. description: A label selector is a label query over a
  571. set of resources. The result of matchLabels and matchExpressions
  572. are ANDed. An empty label selector matches all objects.
  573. A null label selector matches no objects.
  574. properties:
  575. matchExpressions:
  576. description: matchExpressions is a list of label selector
  577. requirements. The requirements are ANDed.
  578. items:
  579. description: A label selector requirement is a selector
  580. that contains values, a key, and an operator that
  581. relates the key and values.
  582. properties:
  583. key:
  584. description: key is the label key that the selector
  585. applies to.
  586. type: string
  587. operator:
  588. description: operator represents a key's relationship
  589. to a set of values. Valid operators are In,
  590. NotIn, Exists and DoesNotExist.
  591. type: string
  592. values:
  593. description: values is an array of string values.
  594. If the operator is In or NotIn, the values
  595. array must be non-empty. If the operator is
  596. Exists or DoesNotExist, the values array must
  597. be empty. This array is replaced during a
  598. strategic merge patch.
  599. items:
  600. type: string
  601. type: array
  602. required:
  603. - key
  604. - operator
  605. type: array
  606. matchLabels:
  607. description: matchLabels is a map of {key,value} pairs.
  608. A single {key,value} in the matchLabels map is equivalent
  609. to an element of matchExpressions, whose key field
  610. is "key", the operator is "In", and the values array
  611. contains only "value". The requirements are ANDed.
  612. type: object
  613. namespaces:
  614. description: namespaces specifies which namespaces the
  615. labelSelector applies to (matches against); null or
  616. empty list means "this pod's namespace"
  617. items:
  618. type: string
  619. type: array
  620. topologyKey:
  621. description: This pod should be co-located (affinity)
  622. or not co-located (anti-affinity) with the pods matching
  623. the labelSelector in the specified namespaces, where
  624. co-located is defined as running on a node whose value
  625. of the label with key topologyKey matches that of any
  626. node on which any of the selected pods is running. Empty
  627. topologyKey is not allowed.
  628. type: string
  629. required:
  630. - topologyKey
  631. type: array
  632. alerting:
  633. description: AlertingSpec defines parameters for alerting configuration
  634. of Prometheus servers.
  635. properties:
  636. alertmanagers:
  637. description: AlertmanagerEndpoints Prometheus should fire alerts
  638. against.
  639. items:
  640. description: AlertmanagerEndpoints defines a selection of a single
  641. Endpoints object containing alertmanager IPs to fire alerts
  642. against.
  643. properties:
  644. bearerTokenFile:
  645. description: BearerTokenFile to read from filesystem to use
  646. when authenticating to Alertmanager.
  647. type: string
  648. name:
  649. description: Name of Endpoints object in Namespace.
  650. type: string
  651. namespace:
  652. description: Namespace of Endpoints object.
  653. type: string
  654. pathPrefix:
  655. description: Prefix for the HTTP path alerts are pushed to.
  656. type: string
  657. port:
  658. anyOf:
  659. - type: string
  660. - type: integer
  661. scheme:
  662. description: Scheme to use when firing alerts.
  663. type: string
  664. tlsConfig:
  665. description: TLSConfig specifies TLS configuration parameters.
  666. properties:
  667. caFile:
  668. description: The CA cert to use for the targets.
  669. type: string
  670. certFile:
  671. description: The client cert file for the targets.
  672. type: string
  673. insecureSkipVerify:
  674. description: Disable target certificate validation.
  675. type: boolean
  676. keyFile:
  677. description: The client key file for the targets.
  678. type: string
  679. serverName:
  680. description: Used to verify the hostname for the targets.
  681. type: string
  682. required:
  683. - namespace
  684. - name
  685. - port
  686. type: array
  687. required:
  688. - alertmanagers
  689. apiserverConfig:
  690. description: 'APIServerConfig defines a host and auth methods to access
  691. apiserver. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config'
  692. properties:
  693. basicAuth:
  694. description: 'BasicAuth allow an endpoint to authenticate over basic
  695. authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  696. properties:
  697. password:
  698. description: SecretKeySelector selects a key of a Secret.
  699. properties:
  700. key:
  701. description: The key of the secret to select from. Must
  702. be a valid secret key.
  703. type: string
  704. name:
  705. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  706. type: string
  707. optional:
  708. description: Specify whether the Secret or it's key must
  709. be defined
  710. type: boolean
  711. required:
  712. - key
  713. username:
  714. description: SecretKeySelector selects a key of a Secret.
  715. properties:
  716. key:
  717. description: The key of the secret to select from. Must
  718. be a valid secret key.
  719. type: string
  720. name:
  721. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  722. type: string
  723. optional:
  724. description: Specify whether the Secret or it's key must
  725. be defined
  726. type: boolean
  727. required:
  728. - key
  729. bearerToken:
  730. description: Bearer token for accessing apiserver.
  731. type: string
  732. bearerTokenFile:
  733. description: File to read bearer token for accessing apiserver.
  734. type: string
  735. host:
  736. description: Host of apiserver. A valid string consisting of a hostname
  737. or IP followed by an optional port number
  738. type: string
  739. tlsConfig:
  740. description: TLSConfig specifies TLS configuration parameters.
  741. properties:
  742. caFile:
  743. description: The CA cert to use for the targets.
  744. type: string
  745. certFile:
  746. description: The client cert file for the targets.
  747. type: string
  748. insecureSkipVerify:
  749. description: Disable target certificate validation.
  750. type: boolean
  751. keyFile:
  752. description: The client key file for the targets.
  753. type: string
  754. serverName:
  755. description: Used to verify the hostname for the targets.
  756. type: string
  757. required:
  758. - host
  759. baseImage:
  760. description: Base image to use for a Prometheus deployment.
  761. type: string
  762. configMaps:
  763. description: ConfigMaps is a list of ConfigMaps in the same namespace
  764. as the Prometheus object, which shall be mounted into the Prometheus
  765. Pods. The ConfigMaps are mounted into /etc/prometheus/configmaps/<configmap-name>.
  766. items:
  767. type: string
  768. type: array
  769. containers:
  770. description: Containers allows injecting additional containers. This
  771. is meant to allow adding an authentication proxy to a Prometheus pod.
  772. items:
  773. description: A single application container that you want to run within
  774. a pod.
  775. properties:
  776. args:
  777. description: 'Arguments to the entrypoint. The docker image''s
  778. CMD is used if this is not provided. Variable references $(VAR_NAME)
  779. are expanded using the container''s environment. If a variable
  780. cannot be resolved, the reference in the input string will be
  781. unchanged. The $(VAR_NAME) syntax can be escaped with a double
  782. $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
  783. regardless of whether the variable exists or not. Cannot be
  784. updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
  785. items:
  786. type: string
  787. type: array
  788. command:
  789. description: 'Entrypoint array. Not executed within a shell. The
  790. docker image''s ENTRYPOINT is used if this is not provided.
  791. Variable references $(VAR_NAME) are expanded using the container''s
  792. environment. If a variable cannot be resolved, the reference
  793. in the input string will be unchanged. The $(VAR_NAME) syntax
  794. can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
  795. will never be expanded, regardless of whether the variable exists
  796. or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
  797. items:
  798. type: string
  799. type: array
  800. env:
  801. description: List of environment variables to set in the container.
  802. Cannot be updated.
  803. items:
  804. description: EnvVar represents an environment variable present
  805. in a Container.
  806. properties:
  807. name:
  808. description: Name of the environment variable. Must be a
  809. C_IDENTIFIER.
  810. type: string
  811. value:
  812. description: 'Variable references $(VAR_NAME) are expanded
  813. using the previous defined environment variables in the
  814. container and any service environment variables. If a
  815. variable cannot be resolved, the reference in the input
  816. string will be unchanged. The $(VAR_NAME) syntax can be
  817. escaped with a double $$, ie: $$(VAR_NAME). Escaped references
  818. will never be expanded, regardless of whether the variable
  819. exists or not. Defaults to "".'
  820. type: string
  821. valueFrom:
  822. description: EnvVarSource represents a source for the value
  823. of an EnvVar.
  824. properties:
  825. configMapKeyRef:
  826. description: Selects a key from a ConfigMap.
  827. properties:
  828. key:
  829. description: The key to select.
  830. type: string
  831. name:
  832. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  833. type: string
  834. optional:
  835. description: Specify whether the ConfigMap or it's
  836. key must be defined
  837. type: boolean
  838. required:
  839. - key
  840. fieldRef:
  841. description: ObjectFieldSelector selects an APIVersioned
  842. field of an object.
  843. properties:
  844. apiVersion:
  845. description: Version of the schema the FieldPath
  846. is written in terms of, defaults to "v1".
  847. type: string
  848. fieldPath:
  849. description: Path of the field to select in the
  850. specified API version.
  851. type: string
  852. required:
  853. - fieldPath
  854. resourceFieldRef:
  855. description: ResourceFieldSelector represents container
  856. resources (cpu, memory) and their output format
  857. properties:
  858. containerName:
  859. description: 'Container name: required for volumes,
  860. optional for env vars'
  861. type: string
  862. divisor: {}
  863. resource:
  864. description: 'Required: resource to select'
  865. type: string
  866. required:
  867. - resource
  868. secretKeyRef:
  869. description: SecretKeySelector selects a key of a Secret.
  870. properties:
  871. key:
  872. description: The key of the secret to select from. Must
  873. be a valid secret key.
  874. type: string
  875. name:
  876. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  877. type: string
  878. optional:
  879. description: Specify whether the Secret or it's
  880. key must be defined
  881. type: boolean
  882. required:
  883. - key
  884. required:
  885. - name
  886. type: array
  887. envFrom:
  888. description: List of sources to populate environment variables
  889. in the container. The keys defined within a source must be a
  890. C_IDENTIFIER. All invalid keys will be reported as an event
  891. when the container is starting. When a key exists in multiple
  892. sources, the value associated with the last source will take
  893. precedence. Values defined by an Env with a duplicate key will
  894. take precedence. Cannot be updated.
  895. items:
  896. description: EnvFromSource represents the source of a set of
  897. ConfigMaps
  898. properties:
  899. configMapRef:
  900. description: |-
  901. ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
  902. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
  903. properties:
  904. name:
  905. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  906. type: string
  907. optional:
  908. description: Specify whether the ConfigMap must be defined
  909. type: boolean
  910. prefix:
  911. description: An optional identifier to prepend to each key
  912. in the ConfigMap. Must be a C_IDENTIFIER.
  913. type: string
  914. secretRef:
  915. description: |-
  916. SecretEnvSource selects a Secret to populate the environment variables with.
  917. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
  918. properties:
  919. name:
  920. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  921. type: string
  922. optional:
  923. description: Specify whether the Secret must be defined
  924. type: boolean
  925. type: array
  926. image:
  927. description: 'Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
  928. This field is optional to allow higher level config management
  929. to default or override container images in workload controllers
  930. like Deployments and StatefulSets.'
  931. type: string
  932. imagePullPolicy:
  933. description: 'Image pull policy. One of Always, Never, IfNotPresent.
  934. Defaults to Always if :latest tag is specified, or IfNotPresent
  935. otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images'
  936. type: string
  937. lifecycle:
  938. description: Lifecycle describes actions that the management system
  939. should take in response to container lifecycle events. For the
  940. PostStart and PreStop lifecycle handlers, management of the
  941. container blocks until the action is complete, unless the container
  942. process fails, in which case the handler is aborted.
  943. properties:
  944. postStart:
  945. description: Handler defines a specific action that should
  946. be taken
  947. properties:
  948. exec:
  949. description: ExecAction describes a "run in container"
  950. action.
  951. properties:
  952. command:
  953. description: Command is the command line to execute
  954. inside the container, the working directory for
  955. the command is root ('/') in the container's filesystem.
  956. The command is simply exec'd, it is not run inside
  957. a shell, so traditional shell instructions ('|',
  958. etc) won't work. To use a shell, you need to explicitly
  959. call out to that shell. Exit status of 0 is treated
  960. as live/healthy and non-zero is unhealthy.
  961. items:
  962. type: string
  963. type: array
  964. httpGet:
  965. description: HTTPGetAction describes an action based on
  966. HTTP Get requests.
  967. properties:
  968. host:
  969. description: Host name to connect to, defaults to
  970. the pod IP. You probably want to set "Host" in httpHeaders
  971. instead.
  972. type: string
  973. httpHeaders:
  974. description: Custom headers to set in the request.
  975. HTTP allows repeated headers.
  976. items:
  977. description: HTTPHeader describes a custom header
  978. to be used in HTTP probes
  979. properties:
  980. name:
  981. description: The header field name
  982. type: string
  983. value:
  984. description: The header field value
  985. type: string
  986. required:
  987. - name
  988. - value
  989. type: array
  990. path:
  991. description: Path to access on the HTTP server.
  992. type: string
  993. port:
  994. anyOf:
  995. - type: string
  996. - type: integer
  997. scheme:
  998. description: Scheme to use for connecting to the host.
  999. Defaults to HTTP.
  1000. type: string
  1001. required:
  1002. - port
  1003. tcpSocket:
  1004. description: TCPSocketAction describes an action based
  1005. on opening a socket
  1006. properties:
  1007. host:
  1008. description: 'Optional: Host name to connect to, defaults
  1009. to the pod IP.'
  1010. type: string
  1011. port:
  1012. anyOf:
  1013. - type: string
  1014. - type: integer
  1015. required:
  1016. - port
  1017. preStop:
  1018. description: Handler defines a specific action that should
  1019. be taken
  1020. properties:
  1021. exec:
  1022. description: ExecAction describes a "run in container"
  1023. action.
  1024. properties:
  1025. command:
  1026. description: Command is the command line to execute
  1027. inside the container, the working directory for
  1028. the command is root ('/') in the container's filesystem.
  1029. The command is simply exec'd, it is not run inside
  1030. a shell, so traditional shell instructions ('|',
  1031. etc) won't work. To use a shell, you need to explicitly
  1032. call out to that shell. Exit status of 0 is treated
  1033. as live/healthy and non-zero is unhealthy.
  1034. items:
  1035. type: string
  1036. type: array
  1037. httpGet:
  1038. description: HTTPGetAction describes an action based on
  1039. HTTP Get requests.
  1040. properties:
  1041. host:
  1042. description: Host name to connect to, defaults to
  1043. the pod IP. You probably want to set "Host" in httpHeaders
  1044. instead.
  1045. type: string
  1046. httpHeaders:
  1047. description: Custom headers to set in the request.
  1048. HTTP allows repeated headers.
  1049. items:
  1050. description: HTTPHeader describes a custom header
  1051. to be used in HTTP probes
  1052. properties:
  1053. name:
  1054. description: The header field name
  1055. type: string
  1056. value:
  1057. description: The header field value
  1058. type: string
  1059. required:
  1060. - name
  1061. - value
  1062. type: array
  1063. path:
  1064. description: Path to access on the HTTP server.
  1065. type: string
  1066. port:
  1067. anyOf:
  1068. - type: string
  1069. - type: integer
  1070. scheme:
  1071. description: Scheme to use for connecting to the host.
  1072. Defaults to HTTP.
  1073. type: string
  1074. required:
  1075. - port
  1076. tcpSocket:
  1077. description: TCPSocketAction describes an action based
  1078. on opening a socket
  1079. properties:
  1080. host:
  1081. description: 'Optional: Host name to connect to, defaults
  1082. to the pod IP.'
  1083. type: string
  1084. port:
  1085. anyOf:
  1086. - type: string
  1087. - type: integer
  1088. required:
  1089. - port
  1090. livenessProbe:
  1091. description: Probe describes a health check to be performed against
  1092. a container to determine whether it is alive or ready to receive
  1093. traffic.
  1094. properties:
  1095. exec:
  1096. description: ExecAction describes a "run in container" action.
  1097. properties:
  1098. command:
  1099. description: Command is the command line to execute inside
  1100. the container, the working directory for the command is
  1101. root ('/') in the container's filesystem. The command
  1102. is simply exec'd, it is not run inside a shell, so traditional
  1103. shell instructions ('|', etc) won't work. To use a shell,
  1104. you need to explicitly call out to that shell. Exit
  1105. status of 0 is treated as live/healthy and non-zero
  1106. is unhealthy.
  1107. items:
  1108. type: string
  1109. type: array
  1110. failureThreshold:
  1111. description: Minimum consecutive failures for the probe to
  1112. be considered failed after having succeeded. Defaults to
  1113. 3. Minimum value is 1.
  1114. format: int32
  1115. type: integer
  1116. httpGet:
  1117. description: HTTPGetAction describes an action based on HTTP
  1118. Get requests.
  1119. properties:
  1120. host:
  1121. description: Host name to connect to, defaults to the
  1122. pod IP. You probably want to set "Host" in httpHeaders
  1123. instead.
  1124. type: string
  1125. httpHeaders:
  1126. description: Custom headers to set in the request. HTTP
  1127. allows repeated headers.
  1128. items:
  1129. description: HTTPHeader describes a custom header to
  1130. be used in HTTP probes
  1131. properties:
  1132. name:
  1133. description: The header field name
  1134. type: string
  1135. value:
  1136. description: The header field value
  1137. type: string
  1138. required:
  1139. - name
  1140. - value
  1141. type: array
  1142. path:
  1143. description: Path to access on the HTTP server.
  1144. type: string
  1145. port:
  1146. anyOf:
  1147. - type: string
  1148. - type: integer
  1149. scheme:
  1150. description: Scheme to use for connecting to the host.
  1151. Defaults to HTTP.
  1152. type: string
  1153. required:
  1154. - port
  1155. initialDelaySeconds:
  1156. description: 'Number of seconds after the container has started
  1157. before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1158. format: int32
  1159. type: integer
  1160. periodSeconds:
  1161. description: How often (in seconds) to perform the probe.
  1162. Default to 10 seconds. Minimum value is 1.
  1163. format: int32
  1164. type: integer
  1165. successThreshold:
  1166. description: Minimum consecutive successes for the probe to
  1167. be considered successful after having failed. Defaults to
  1168. 1. Must be 1 for liveness. Minimum value is 1.
  1169. format: int32
  1170. type: integer
  1171. tcpSocket:
  1172. description: TCPSocketAction describes an action based on
  1173. opening a socket
  1174. properties:
  1175. host:
  1176. description: 'Optional: Host name to connect to, defaults
  1177. to the pod IP.'
  1178. type: string
  1179. port:
  1180. anyOf:
  1181. - type: string
  1182. - type: integer
  1183. required:
  1184. - port
  1185. timeoutSeconds:
  1186. description: 'Number of seconds after which the probe times
  1187. out. Defaults to 1 second. Minimum value is 1. More info:
  1188. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1189. format: int32
  1190. type: integer
  1191. name:
  1192. description: Name of the container specified as a DNS_LABEL. Each
  1193. container in a pod must have a unique name (DNS_LABEL). Cannot
  1194. be updated.
  1195. type: string
  1196. ports:
  1197. description: List of ports to expose from the container. Exposing
  1198. a port here gives the system additional information about the
  1199. network connections a container uses, but is primarily informational.
  1200. Not specifying a port here DOES NOT prevent that port from being
  1201. exposed. Any port which is listening on the default "0.0.0.0"
  1202. address inside a container will be accessible from the network.
  1203. Cannot be updated.
  1204. items:
  1205. description: ContainerPort represents a network port in a single
  1206. container.
  1207. properties:
  1208. containerPort:
  1209. description: Number of port to expose on the pod's IP address.
  1210. This must be a valid port number, 0 < x < 65536.
  1211. format: int32
  1212. type: integer
  1213. hostIP:
  1214. description: What host IP to bind the external port to.
  1215. type: string
  1216. hostPort:
  1217. description: Number of port to expose on the host. If specified,
  1218. this must be a valid port number, 0 < x < 65536. If HostNetwork
  1219. is specified, this must match ContainerPort. Most containers
  1220. do not need this.
  1221. format: int32
  1222. type: integer
  1223. name:
  1224. description: If specified, this must be an IANA_SVC_NAME
  1225. and unique within the pod. Each named port in a pod must
  1226. have a unique name. Name for the port that can be referred
  1227. to by services.
  1228. type: string
  1229. protocol:
  1230. description: Protocol for port. Must be UDP, TCP, or SCTP.
  1231. Defaults to "TCP".
  1232. type: string
  1233. required:
  1234. - containerPort
  1235. type: array
  1236. readinessProbe:
  1237. description: Probe describes a health check to be performed against
  1238. a container to determine whether it is alive or ready to receive
  1239. traffic.
  1240. properties:
  1241. exec:
  1242. description: ExecAction describes a "run in container" action.
  1243. properties:
  1244. command:
  1245. description: Command is the command line to execute inside
  1246. the container, the working directory for the command is
  1247. root ('/') in the container's filesystem. The command
  1248. is simply exec'd, it is not run inside a shell, so traditional
  1249. shell instructions ('|', etc) won't work. To use a shell,
  1250. you need to explicitly call out to that shell. Exit
  1251. status of 0 is treated as live/healthy and non-zero
  1252. is unhealthy.
  1253. items:
  1254. type: string
  1255. type: array
  1256. failureThreshold:
  1257. description: Minimum consecutive failures for the probe to
  1258. be considered failed after having succeeded. Defaults to
  1259. 3. Minimum value is 1.
  1260. format: int32
  1261. type: integer
  1262. httpGet:
  1263. description: HTTPGetAction describes an action based on HTTP
  1264. Get requests.
  1265. properties:
  1266. host:
  1267. description: Host name to connect to, defaults to the
  1268. pod IP. You probably want to set "Host" in httpHeaders
  1269. instead.
  1270. type: string
  1271. httpHeaders:
  1272. description: Custom headers to set in the request. HTTP
  1273. allows repeated headers.
  1274. items:
  1275. description: HTTPHeader describes a custom header to
  1276. be used in HTTP probes
  1277. properties:
  1278. name:
  1279. description: The header field name
  1280. type: string
  1281. value:
  1282. description: The header field value
  1283. type: string
  1284. required:
  1285. - name
  1286. - value
  1287. type: array
  1288. path:
  1289. description: Path to access on the HTTP server.
  1290. type: string
  1291. port:
  1292. anyOf:
  1293. - type: string
  1294. - type: integer
  1295. scheme:
  1296. description: Scheme to use for connecting to the host.
  1297. Defaults to HTTP.
  1298. type: string
  1299. required:
  1300. - port
  1301. initialDelaySeconds:
  1302. description: 'Number of seconds after the container has started
  1303. before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1304. format: int32
  1305. type: integer
  1306. periodSeconds:
  1307. description: How often (in seconds) to perform the probe.
  1308. Default to 10 seconds. Minimum value is 1.
  1309. format: int32
  1310. type: integer
  1311. successThreshold:
  1312. description: Minimum consecutive successes for the probe to
  1313. be considered successful after having failed. Defaults to
  1314. 1. Must be 1 for liveness. Minimum value is 1.
  1315. format: int32
  1316. type: integer
  1317. tcpSocket:
  1318. description: TCPSocketAction describes an action based on
  1319. opening a socket
  1320. properties:
  1321. host:
  1322. description: 'Optional: Host name to connect to, defaults
  1323. to the pod IP.'
  1324. type: string
  1325. port:
  1326. anyOf:
  1327. - type: string
  1328. - type: integer
  1329. required:
  1330. - port
  1331. timeoutSeconds:
  1332. description: 'Number of seconds after which the probe times
  1333. out. Defaults to 1 second. Minimum value is 1. More info:
  1334. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1335. format: int32
  1336. type: integer
  1337. resources:
  1338. description: ResourceRequirements describes the compute resource
  1339. requirements.
  1340. properties:
  1341. limits:
  1342. description: 'Limits describes the maximum amount of compute
  1343. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1344. type: object
  1345. requests:
  1346. description: 'Requests describes the minimum amount of compute
  1347. resources required. If Requests is omitted for a container,
  1348. it defaults to Limits if that is explicitly specified, otherwise
  1349. to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1350. type: object
  1351. securityContext:
  1352. description: SecurityContext holds security configuration that
  1353. will be applied to a container. Some fields are present in both
  1354. SecurityContext and PodSecurityContext. When both are set,
  1355. the values in SecurityContext take precedence.
  1356. properties:
  1357. allowPrivilegeEscalation:
  1358. description: 'AllowPrivilegeEscalation controls whether a
  1359. process can gain more privileges than its parent process.
  1360. This bool directly controls if the no_new_privs flag will
  1361. be set on the container process. AllowPrivilegeEscalation
  1362. is true always when the container is: 1) run as Privileged
  1363. 2) has CAP_SYS_ADMIN'
  1364. type: boolean
  1365. capabilities:
  1366. description: Adds and removes POSIX capabilities from running
  1367. containers.
  1368. properties:
  1369. add:
  1370. description: Added capabilities
  1371. items:
  1372. type: string
  1373. type: array
  1374. drop:
  1375. description: Removed capabilities
  1376. items:
  1377. type: string
  1378. type: array
  1379. privileged:
  1380. description: Run container in privileged mode. Processes in
  1381. privileged containers are essentially equivalent to root
  1382. on the host. Defaults to false.
  1383. type: boolean
  1384. procMount:
  1385. description: procMount denotes the type of proc mount to use
  1386. for the containers. The default is DefaultProcMount which
  1387. uses the container runtime defaults for readonly paths and
  1388. masked paths. This requires the ProcMountType feature flag
  1389. to be enabled.
  1390. type: string
  1391. readOnlyRootFilesystem:
  1392. description: Whether this container has a read-only root filesystem.
  1393. Default is false.
  1394. type: boolean
  1395. runAsGroup:
  1396. description: The GID to run the entrypoint of the container
  1397. process. Uses runtime default if unset. May also be set
  1398. in PodSecurityContext. If set in both SecurityContext and
  1399. PodSecurityContext, the value specified in SecurityContext
  1400. takes precedence.
  1401. format: int64
  1402. type: integer
  1403. runAsNonRoot:
  1404. description: Indicates that the container must run as a non-root
  1405. user. If true, the Kubelet will validate the image at runtime
  1406. to ensure that it does not run as UID 0 (root) and fail
  1407. to start the container if it does. If unset or false, no
  1408. such validation will be performed. May also be set in PodSecurityContext. If
  1409. set in both SecurityContext and PodSecurityContext, the
  1410. value specified in SecurityContext takes precedence.
  1411. type: boolean
  1412. runAsUser:
  1413. description: The UID to run the entrypoint of the container
  1414. process. Defaults to user specified in image metadata if
  1415. unspecified. May also be set in PodSecurityContext. If
  1416. set in both SecurityContext and PodSecurityContext, the
  1417. value specified in SecurityContext takes precedence.
  1418. format: int64
  1419. type: integer
  1420. seLinuxOptions:
  1421. description: SELinuxOptions are the labels to be applied to
  1422. the container
  1423. properties:
  1424. level:
  1425. description: Level is SELinux level label that applies
  1426. to the container.
  1427. type: string
  1428. role:
  1429. description: Role is a SELinux role label that applies
  1430. to the container.
  1431. type: string
  1432. type:
  1433. description: Type is a SELinux type label that applies
  1434. to the container.
  1435. type: string
  1436. user:
  1437. description: User is a SELinux user label that applies
  1438. to the container.
  1439. type: string
  1440. stdin:
  1441. description: Whether this container should allocate a buffer for
  1442. stdin in the container runtime. If this is not set, reads from
  1443. stdin in the container will always result in EOF. Default is
  1444. false.
  1445. type: boolean
  1446. stdinOnce:
  1447. description: Whether the container runtime should close the stdin
  1448. channel after it has been opened by a single attach. When stdin
  1449. is true the stdin stream will remain open across multiple attach
  1450. sessions. If stdinOnce is set to true, stdin is opened on container
  1451. start, is empty until the first client attaches to stdin, and
  1452. then remains open and accepts data until the client disconnects,
  1453. at which time stdin is closed and remains closed until the container
  1454. is restarted. If this flag is false, a container processes that
  1455. reads from stdin will never receive an EOF. Default is false
  1456. type: boolean
  1457. terminationMessagePath:
  1458. description: 'Optional: Path at which the file to which the container''s
  1459. termination message will be written is mounted into the container''s
  1460. filesystem. Message written is intended to be brief final status,
  1461. such as an assertion failure message. Will be truncated by the
  1462. node if greater than 4096 bytes. The total message length across
  1463. all containers will be limited to 12kb. Defaults to /dev/termination-log.
  1464. Cannot be updated.'
  1465. type: string
  1466. terminationMessagePolicy:
  1467. description: Indicate how the termination message should be populated.
  1468. File will use the contents of terminationMessagePath to populate
  1469. the container status message on both success and failure. FallbackToLogsOnError
  1470. will use the last chunk of container log output if the termination
  1471. message file is empty and the container exited with an error.
  1472. The log output is limited to 2048 bytes or 80 lines, whichever
  1473. is smaller. Defaults to File. Cannot be updated.
  1474. type: string
  1475. tty:
  1476. description: Whether this container should allocate a TTY for
  1477. itself, also requires 'stdin' to be true. Default is false.
  1478. type: boolean
  1479. volumeDevices:
  1480. description: volumeDevices is the list of block devices to be
  1481. used by the container. This is an alpha feature and may change
  1482. in the future.
  1483. items:
  1484. description: volumeDevice describes a mapping of a raw block
  1485. device within a container.
  1486. properties:
  1487. devicePath:
  1488. description: devicePath is the path inside of the container
  1489. that the device will be mapped to.
  1490. type: string
  1491. name:
  1492. description: name must match the name of a persistentVolumeClaim
  1493. in the pod
  1494. type: string
  1495. required:
  1496. - name
  1497. - devicePath
  1498. type: array
  1499. volumeMounts:
  1500. description: Pod volumes to mount into the container's filesystem.
  1501. Cannot be updated.
  1502. items:
  1503. description: VolumeMount describes a mounting of a Volume within
  1504. a container.
  1505. properties:
  1506. mountPath:
  1507. description: Path within the container at which the volume
  1508. should be mounted. Must not contain ':'.
  1509. type: string
  1510. mountPropagation:
  1511. description: mountPropagation determines how mounts are
  1512. propagated from the host to container and the other way
  1513. around. When not set, MountPropagationNone is used. This
  1514. field is beta in 1.10.
  1515. type: string
  1516. name:
  1517. description: This must match the Name of a Volume.
  1518. type: string
  1519. readOnly:
  1520. description: Mounted read-only if true, read-write otherwise
  1521. (false or unspecified). Defaults to false.
  1522. type: boolean
  1523. subPath:
  1524. description: Path within the volume from which the container's
  1525. volume should be mounted. Defaults to "" (volume's root).
  1526. type: string
  1527. required:
  1528. - name
  1529. - mountPath
  1530. type: array
  1531. workingDir:
  1532. description: Container's working directory. If not specified,
  1533. the container runtime's default will be used, which might be
  1534. configured in the container image. Cannot be updated.
  1535. type: string
  1536. required:
  1537. - name
  1538. type: array
  1539. evaluationInterval:
  1540. description: Interval between consecutive evaluations.
  1541. type: string
  1542. externalLabels:
  1543. description: The labels to add to any time series or alerts when communicating
  1544. with external systems (federation, remote storage, Alertmanager).
  1545. type: object
  1546. externalUrl:
  1547. description: The external URL the Prometheus instances will be available
  1548. under. This is necessary to generate correct URLs. This is necessary
  1549. if Prometheus is not served from root of a DNS name.
  1550. type: string
  1551. imagePullSecrets:
  1552. description: An optional list of references to secrets in the same namespace
  1553. to use for pulling prometheus and alertmanager images from registries
  1554. see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
  1555. items:
  1556. description: LocalObjectReference contains enough information to let
  1557. you locate the referenced object inside the same namespace.
  1558. properties:
  1559. name:
  1560. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1561. type: string
  1562. type: array
  1563. listenLocal:
  1564. description: ListenLocal makes the Prometheus server listen on loopback,
  1565. so that it does not bind against the Pod IP.
  1566. type: boolean
  1567. logLevel:
  1568. description: Log level for Prometheus to be configured with.
  1569. type: string
  1570. nodeSelector:
  1571. description: Define which Nodes the Pods are scheduled on.
  1572. type: object
  1573. paused:
  1574. description: When a Prometheus deployment is paused, no actions except
  1575. for deletion will be performed on the underlying objects.
  1576. type: boolean
  1577. podMetadata:
  1578. description: ObjectMeta is metadata that all persisted resources must
  1579. have, which includes all objects users must create.
  1580. properties:
  1581. annotations:
  1582. description: 'Annotations is an unstructured key value map stored
  1583. with a resource that may be set by external tools to store and
  1584. retrieve arbitrary metadata. They are not queryable and should
  1585. be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
  1586. type: object
  1587. clusterName:
  1588. description: The name of the cluster which the object belongs to.
  1589. This is used to distinguish resources with same name and namespace
  1590. in different clusters. This field is not set anywhere right now
  1591. and apiserver is going to ignore it if set in create or update
  1592. request.
  1593. type: string
  1594. creationTimestamp:
  1595. description: Time is a wrapper around time.Time which supports correct
  1596. marshaling to YAML and JSON. Wrappers are provided for many of
  1597. the factory methods that the time package offers.
  1598. format: date-time
  1599. type: string
  1600. deletionGracePeriodSeconds:
  1601. description: Number of seconds allowed for this object to gracefully
  1602. terminate before it will be removed from the system. Only set
  1603. when deletionTimestamp is also set. May only be shortened. Read-only.
  1604. format: int64
  1605. type: integer
  1606. deletionTimestamp:
  1607. description: Time is a wrapper around time.Time which supports correct
  1608. marshaling to YAML and JSON. Wrappers are provided for many of
  1609. the factory methods that the time package offers.
  1610. format: date-time
  1611. type: string
  1612. finalizers:
  1613. description: Must be empty before the object is deleted from the
  1614. registry. Each entry is an identifier for the responsible component
  1615. that will remove the entry from the list. If the deletionTimestamp
  1616. of the object is non-nil, entries in this list can only be removed.
  1617. items:
  1618. type: string
  1619. type: array
  1620. generateName:
  1621. description: |-
  1622. GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
  1623. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).
  1624. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  1625. type: string
  1626. generation:
  1627. description: A sequence number representing a specific generation
  1628. of the desired state. Populated by the system. Read-only.
  1629. format: int64
  1630. type: integer
  1631. initializers:
  1632. description: Initializers tracks the progress of initialization.
  1633. properties:
  1634. pending:
  1635. description: Pending is a list of initializers that must execute
  1636. in order before this object is visible. When the last pending
  1637. initializer is removed, and no failing result is set, the
  1638. initializers struct will be set to nil and the object is considered
  1639. as initialized and visible to all clients.
  1640. items:
  1641. description: Initializer is information about an initializer
  1642. that has not yet completed.
  1643. properties:
  1644. name:
  1645. description: name of the process that is responsible for
  1646. initializing this object.
  1647. type: string
  1648. required:
  1649. - name
  1650. type: array
  1651. result:
  1652. description: Status is a return value for calls that don't return
  1653. other objects.
  1654. properties:
  1655. apiVersion:
  1656. description: 'APIVersion defines the versioned schema of
  1657. this representation of an object. Servers should convert
  1658. recognized schemas to the latest internal value, and may
  1659. reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  1660. type: string
  1661. code:
  1662. description: Suggested HTTP return code for this status,
  1663. 0 if not set.
  1664. format: int32
  1665. type: integer
  1666. details:
  1667. description: StatusDetails is a set of additional properties
  1668. that MAY be set by the server to provide additional information
  1669. about a response. The Reason field of a Status object
  1670. defines what attributes will be set. Clients must ignore
  1671. fields that do not match the defined type of each attribute,
  1672. and should assume that any attribute may be empty, invalid,
  1673. or under defined.
  1674. properties:
  1675. causes:
  1676. description: The Causes array includes more details
  1677. associated with the StatusReason failure. Not all
  1678. StatusReasons may provide detailed causes.
  1679. items:
  1680. description: StatusCause provides more information
  1681. about an api.Status failure, including cases when
  1682. multiple errors are encountered.
  1683. properties:
  1684. field:
  1685. description: |-
  1686. The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
  1687. Examples:
  1688. "name" - the field "name" on the current resource
  1689. "items[0].name" - the field "name" on the first array entry in "items"
  1690. type: string
  1691. message:
  1692. description: A human-readable description of the
  1693. cause of the error. This field may be presented
  1694. as-is to a reader.
  1695. type: string
  1696. reason:
  1697. description: A machine-readable description of
  1698. the cause of the error. If this value is empty
  1699. there is no information available.
  1700. type: string
  1701. type: array
  1702. group:
  1703. description: The group attribute of the resource associated
  1704. with the status StatusReason.
  1705. type: string
  1706. kind:
  1707. description: 'The kind attribute of the resource associated
  1708. with the status StatusReason. On some operations may
  1709. differ from the requested resource Kind. More info:
  1710. https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1711. type: string
  1712. name:
  1713. description: The name attribute of the resource associated
  1714. with the status StatusReason (when there is a single
  1715. name which can be described).
  1716. type: string
  1717. retryAfterSeconds:
  1718. description: If specified, the time in seconds before
  1719. the operation should be retried. Some errors may indicate
  1720. the client must take an alternate action - for those
  1721. errors this field may indicate how long to wait before
  1722. taking the alternate action.
  1723. format: int32
  1724. type: integer
  1725. uid:
  1726. description: 'UID of the resource. (when there is a
  1727. single resource which can be described). More info:
  1728. http://kubernetes.io/docs/user-guide/identifiers#uids'
  1729. type: string
  1730. kind:
  1731. description: 'Kind is a string value representing the REST
  1732. resource this object represents. Servers may infer this
  1733. from the endpoint the client submits requests to. Cannot
  1734. be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1735. type: string
  1736. message:
  1737. description: A human-readable description of the status
  1738. of this operation.
  1739. type: string
  1740. metadata:
  1741. description: ListMeta describes metadata that synthetic
  1742. resources must have, including lists and various status
  1743. objects. A resource may have only one of {ObjectMeta,
  1744. ListMeta}.
  1745. properties:
  1746. continue:
  1747. description: continue may be set if the user set a limit
  1748. on the number of items returned, and indicates that
  1749. the server has more data available. The value is opaque
  1750. and may be used to issue another request to the endpoint
  1751. that served this list to retrieve the next set of
  1752. available objects. Continuing a consistent list may
  1753. not be possible if the server configuration has changed
  1754. or more than a few minutes have passed. The resourceVersion
  1755. field returned when using this continue value will
  1756. be identical to the value in the first response, unless
  1757. you have received this token from an error message.
  1758. type: string
  1759. resourceVersion:
  1760. description: 'String that identifies the server''s internal
  1761. version of this object that can be used by clients
  1762. to determine when objects have changed. Value must
  1763. be treated as opaque by clients and passed unmodified
  1764. back to the server. Populated by the system. Read-only.
  1765. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  1766. type: string
  1767. selfLink:
  1768. description: selfLink is a URL representing this object.
  1769. Populated by the system. Read-only.
  1770. type: string
  1771. reason:
  1772. description: A machine-readable description of why this
  1773. operation is in the "Failure" status. If this value is
  1774. empty there is no information available. A Reason clarifies
  1775. an HTTP status code but does not override it.
  1776. type: string
  1777. status:
  1778. description: 'Status of the operation. One of: "Success"
  1779. or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  1780. type: string
  1781. required:
  1782. - pending
  1783. labels:
  1784. description: 'Map of string keys and values that can be used to
  1785. organize and categorize (scope and select) objects. May match
  1786. selectors of replication controllers and services. More info:
  1787. http://kubernetes.io/docs/user-guide/labels'
  1788. type: object
  1789. name:
  1790. description: 'Name must be unique within a namespace. Is required
  1791. when creating resources, although some resources may allow a client
  1792. to request the generation of an appropriate name automatically.
  1793. Name is primarily intended for creation idempotence and configuration
  1794. definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  1795. type: string
  1796. namespace:
  1797. description: |-
  1798. Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
  1799. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  1800. type: string
  1801. ownerReferences:
  1802. description: List of objects depended by this object. If ALL objects
  1803. in the list have been deleted, this object will be garbage collected.
  1804. If this object is managed by a controller, then an entry in this
  1805. list will point to this controller, with the controller field
  1806. set to true. There cannot be more than one managing controller.
  1807. items:
  1808. description: OwnerReference contains enough information to let
  1809. you identify an owning object. Currently, an owning object must
  1810. be in the same namespace, so there is no namespace field.
  1811. properties:
  1812. apiVersion:
  1813. description: API version of the referent.
  1814. type: string
  1815. blockOwnerDeletion:
  1816. description: If true, AND if the owner has the "foregroundDeletion"
  1817. finalizer, then the owner cannot be deleted from the key-value
  1818. store until this reference is removed. Defaults to false.
  1819. To set this field, a user needs "delete" permission of the
  1820. owner, otherwise 422 (Unprocessable Entity) will be returned.
  1821. type: boolean
  1822. controller:
  1823. description: If true, this reference points to the managing
  1824. controller.
  1825. type: boolean
  1826. kind:
  1827. description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1828. type: string
  1829. name:
  1830. description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  1831. type: string
  1832. uid:
  1833. description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  1834. type: string
  1835. required:
  1836. - apiVersion
  1837. - kind
  1838. - name
  1839. - uid
  1840. type: array
  1841. resourceVersion:
  1842. description: |-
  1843. An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.
  1844. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
  1845. type: string
  1846. selfLink:
  1847. description: SelfLink is a URL representing this object. Populated
  1848. by the system. Read-only.
  1849. type: string
  1850. uid:
  1851. description: |-
  1852. UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
  1853. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  1854. type: string
  1855. priorityClassName:
  1856. description: Priority class assigned to the Pods
  1857. type: string
  1858. remoteRead:
  1859. description: If specified, the remote_read spec. This is an experimental
  1860. feature, it may change in any upcoming release in a breaking way.
  1861. items:
  1862. description: RemoteReadSpec defines the remote_read configuration
  1863. for prometheus.
  1864. properties:
  1865. basicAuth:
  1866. description: 'BasicAuth allow an endpoint to authenticate over
  1867. basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  1868. properties:
  1869. password:
  1870. description: SecretKeySelector selects a key of a Secret.
  1871. properties:
  1872. key:
  1873. description: The key of the secret to select from. Must
  1874. be a valid secret key.
  1875. type: string
  1876. name:
  1877. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1878. type: string
  1879. optional:
  1880. description: Specify whether the Secret or it's key must
  1881. be defined
  1882. type: boolean
  1883. required:
  1884. - key
  1885. username:
  1886. description: SecretKeySelector selects a key of a Secret.
  1887. properties:
  1888. key:
  1889. description: The key of the secret to select from. Must
  1890. be a valid secret key.
  1891. type: string
  1892. name:
  1893. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1894. type: string
  1895. optional:
  1896. description: Specify whether the Secret or it's key must
  1897. be defined
  1898. type: boolean
  1899. required:
  1900. - key
  1901. bearerToken:
  1902. description: bearer token for remote read.
  1903. type: string
  1904. bearerTokenFile:
  1905. description: File to read bearer token for remote read.
  1906. type: string
  1907. proxyUrl:
  1908. description: Optional ProxyURL
  1909. type: string
  1910. readRecent:
  1911. description: Whether reads should be made for queries for time
  1912. ranges that the local storage should have complete data for.
  1913. type: boolean
  1914. remoteTimeout:
  1915. description: Timeout for requests to the remote read endpoint.
  1916. type: string
  1917. requiredMatchers:
  1918. description: An optional list of equality matchers which have
  1919. to be present in a selector to query the remote read endpoint.
  1920. type: object
  1921. tlsConfig:
  1922. description: TLSConfig specifies TLS configuration parameters.
  1923. properties:
  1924. caFile:
  1925. description: The CA cert to use for the targets.
  1926. type: string
  1927. certFile:
  1928. description: The client cert file for the targets.
  1929. type: string
  1930. insecureSkipVerify:
  1931. description: Disable target certificate validation.
  1932. type: boolean
  1933. keyFile:
  1934. description: The client key file for the targets.
  1935. type: string
  1936. serverName:
  1937. description: Used to verify the hostname for the targets.
  1938. type: string
  1939. url:
  1940. description: The URL of the endpoint to send samples to.
  1941. type: string
  1942. required:
  1943. - url
  1944. type: array
  1945. remoteWrite:
  1946. description: If specified, the remote_write spec. This is an experimental
  1947. feature, it may change in any upcoming release in a breaking way.
  1948. items:
  1949. description: RemoteWriteSpec defines the remote_write configuration
  1950. for prometheus.
  1951. properties:
  1952. basicAuth:
  1953. description: 'BasicAuth allow an endpoint to authenticate over
  1954. basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  1955. properties:
  1956. password:
  1957. description: SecretKeySelector selects a key of a Secret.
  1958. properties:
  1959. key:
  1960. description: The key of the secret to select from. Must
  1961. be a valid secret key.
  1962. type: string
  1963. name:
  1964. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1965. type: string
  1966. optional:
  1967. description: Specify whether the Secret or it's key must
  1968. be defined
  1969. type: boolean
  1970. required:
  1971. - key
  1972. username:
  1973. description: SecretKeySelector selects a key of a Secret.
  1974. properties:
  1975. key:
  1976. description: The key of the secret to select from. Must
  1977. be a valid secret key.
  1978. type: string
  1979. name:
  1980. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1981. type: string
  1982. optional:
  1983. description: Specify whether the Secret or it's key must
  1984. be defined
  1985. type: boolean
  1986. required:
  1987. - key
  1988. bearerToken:
  1989. description: File to read bearer token for remote write.
  1990. type: string
  1991. bearerTokenFile:
  1992. description: File to read bearer token for remote write.
  1993. type: string
  1994. proxyUrl:
  1995. description: Optional ProxyURL
  1996. type: string
  1997. queueConfig:
  1998. description: QueueConfig allows the tuning of remote_write queue_config
  1999. parameters. This object is referenced in the RemoteWriteSpec
  2000. object.
  2001. properties:
  2002. batchSendDeadline:
  2003. description: BatchSendDeadline is the maximum time a sample
  2004. will wait in buffer.
  2005. type: string
  2006. capacity:
  2007. description: Capacity is the number of samples to buffer per
  2008. shard before we start dropping them.
  2009. format: int32
  2010. type: integer
  2011. maxBackoff:
  2012. description: MaxBackoff is the maximum retry delay.
  2013. type: string
  2014. maxRetries:
  2015. description: MaxRetries is the maximum number of times to
  2016. retry a batch on recoverable errors.
  2017. format: int32
  2018. type: integer
  2019. maxSamplesPerSend:
  2020. description: MaxSamplesPerSend is the maximum number of samples
  2021. per send.
  2022. format: int32
  2023. type: integer
  2024. maxShards:
  2025. description: MaxShards is the maximum number of shards, i.e.
  2026. amount of concurrency.
  2027. format: int32
  2028. type: integer
  2029. minBackoff:
  2030. description: MinBackoff is the initial retry delay. Gets doubled
  2031. for every retry.
  2032. type: string
  2033. remoteTimeout:
  2034. description: Timeout for requests to the remote write endpoint.
  2035. type: string
  2036. tlsConfig:
  2037. description: TLSConfig specifies TLS configuration parameters.
  2038. properties:
  2039. caFile:
  2040. description: The CA cert to use for the targets.
  2041. type: string
  2042. certFile:
  2043. description: The client cert file for the targets.
  2044. type: string
  2045. insecureSkipVerify:
  2046. description: Disable target certificate validation.
  2047. type: boolean
  2048. keyFile:
  2049. description: The client key file for the targets.
  2050. type: string
  2051. serverName:
  2052. description: Used to verify the hostname for the targets.
  2053. type: string
  2054. url:
  2055. description: The URL of the endpoint to send samples to.
  2056. type: string
  2057. writeRelabelConfigs:
  2058. description: The list of remote write relabel configurations.
  2059. items:
  2060. description: 'RelabelConfig allows dynamic rewriting of the
  2061. label set, being applied to samples before ingestion. It defines
  2062. `<metric_relabel_configs>`-section of Prometheus configuration.
  2063. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
  2064. properties:
  2065. action:
  2066. description: Action to perform based on regex matching.
  2067. Default is 'replace'
  2068. type: string
  2069. modulus:
  2070. description: Modulus to take of the hash of the source label
  2071. values.
  2072. format: int64
  2073. type: integer
  2074. regex:
  2075. description: Regular expression against which the extracted
  2076. value is matched. defailt is '(.*)'
  2077. type: string
  2078. replacement:
  2079. description: Replacement value against which a regex replace
  2080. is performed if the regular expression matches. Regex
  2081. capture groups are available. Default is '$1'
  2082. type: string
  2083. separator:
  2084. description: Separator placed between concatenated source
  2085. label values. default is ';'.
  2086. type: string
  2087. sourceLabels:
  2088. description: The source labels select values from existing
  2089. labels. Their content is concatenated using the configured
  2090. separator and matched against the configured regular expression
  2091. for the replace, keep, and drop actions.
  2092. items:
  2093. type: string
  2094. type: array
  2095. targetLabel:
  2096. description: Label to which the resulting value is written
  2097. in a replace action. It is mandatory for replace actions.
  2098. Regex capture groups are available.
  2099. type: string
  2100. type: array
  2101. required:
  2102. - url
  2103. type: array
  2104. replicas:
  2105. description: Number of instances to deploy for a Prometheus deployment.
  2106. format: int32
  2107. type: integer
  2108. resources:
  2109. description: ResourceRequirements describes the compute resource requirements.
  2110. properties:
  2111. limits:
  2112. description: 'Limits describes the maximum amount of compute resources
  2113. allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2114. type: object
  2115. requests:
  2116. description: 'Requests describes the minimum amount of compute resources
  2117. required. If Requests is omitted for a container, it defaults
  2118. to Limits if that is explicitly specified, otherwise to an implementation-defined
  2119. value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2120. type: object
  2121. retention:
  2122. description: Time duration Prometheus shall retain data for. Default
  2123. is '24h', and must match the regular expression `[0-9]+(ms|s|m|h|d|w|y)`
  2124. (milliseconds seconds minutes hours days weeks years).
  2125. type: string
  2126. routePrefix:
  2127. description: The route prefix Prometheus registers HTTP handlers for.
  2128. This is useful, if using ExternalURL and a proxy is rewriting HTTP
  2129. routes of a request, and the actual ExternalURL is still true, but
  2130. the server serves requests under a different route prefix. For example
  2131. for use with `kubectl proxy`.
  2132. type: string
  2133. ruleNamespaceSelector:
  2134. description: A label selector is a label query over a set of resources.
  2135. The result of matchLabels and matchExpressions are ANDed. An empty
  2136. label selector matches all objects. A null label selector matches
  2137. no objects.
  2138. properties:
  2139. matchExpressions:
  2140. description: matchExpressions is a list of label selector requirements.
  2141. The requirements are ANDed.
  2142. items:
  2143. description: A label selector requirement is a selector that contains
  2144. values, a key, and an operator that relates the key and values.
  2145. properties:
  2146. key:
  2147. description: key is the label key that the selector applies
  2148. to.
  2149. type: string
  2150. operator:
  2151. description: operator represents a key's relationship to a
  2152. set of values. Valid operators are In, NotIn, Exists and
  2153. DoesNotExist.
  2154. type: string
  2155. values:
  2156. description: values is an array of string values. If the operator
  2157. is In or NotIn, the values array must be non-empty. If the
  2158. operator is Exists or DoesNotExist, the values array must
  2159. be empty. This array is replaced during a strategic merge
  2160. patch.
  2161. items:
  2162. type: string
  2163. type: array
  2164. required:
  2165. - key
  2166. - operator
  2167. type: array
  2168. matchLabels:
  2169. description: matchLabels is a map of {key,value} pairs. A single
  2170. {key,value} in the matchLabels map is equivalent to an element
  2171. of matchExpressions, whose key field is "key", the operator is
  2172. "In", and the values array contains only "value". The requirements
  2173. are ANDed.
  2174. type: object
  2175. ruleSelector:
  2176. description: A label selector is a label query over a set of resources.
  2177. The result of matchLabels and matchExpressions are ANDed. An empty
  2178. label selector matches all objects. A null label selector matches
  2179. no objects.
  2180. properties:
  2181. matchExpressions:
  2182. description: matchExpressions is a list of label selector requirements.
  2183. The requirements are ANDed.
  2184. items:
  2185. description: A label selector requirement is a selector that contains
  2186. values, a key, and an operator that relates the key and values.
  2187. properties:
  2188. key:
  2189. description: key is the label key that the selector applies
  2190. to.
  2191. type: string
  2192. operator:
  2193. description: operator represents a key's relationship to a
  2194. set of values. Valid operators are In, NotIn, Exists and
  2195. DoesNotExist.
  2196. type: string
  2197. values:
  2198. description: values is an array of string values. If the operator
  2199. is In or NotIn, the values array must be non-empty. If the
  2200. operator is Exists or DoesNotExist, the values array must
  2201. be empty. This array is replaced during a strategic merge
  2202. patch.
  2203. items:
  2204. type: string
  2205. type: array
  2206. required:
  2207. - key
  2208. - operator
  2209. type: array
  2210. matchLabels:
  2211. description: matchLabels is a map of {key,value} pairs. A single
  2212. {key,value} in the matchLabels map is equivalent to an element
  2213. of matchExpressions, whose key field is "key", the operator is
  2214. "In", and the values array contains only "value". The requirements
  2215. are ANDed.
  2216. type: object
  2217. scrapeInterval:
  2218. description: Interval between consecutive scrapes.
  2219. type: string
  2220. secrets:
  2221. description: Secrets is a list of Secrets in the same namespace as the
  2222. Prometheus object, which shall be mounted into the Prometheus Pods.
  2223. The Secrets are mounted into /etc/prometheus/secrets/<secret-name>.
  2224. items:
  2225. type: string
  2226. type: array
  2227. securityContext:
  2228. description: PodSecurityContext holds pod-level security attributes
  2229. and common container settings. Some fields are also present in container.securityContext. Field
  2230. values of container.securityContext take precedence over field values
  2231. of PodSecurityContext.
  2232. properties:
  2233. fsGroup:
  2234. description: |-
  2235. A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
  2236. 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----
  2237. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  2238. format: int64
  2239. type: integer
  2240. runAsGroup:
  2241. description: The GID to run the entrypoint of the container process.
  2242. Uses runtime default if unset. May also be set in SecurityContext. If
  2243. set in both SecurityContext and PodSecurityContext, the value
  2244. specified in SecurityContext takes precedence for that container.
  2245. format: int64
  2246. type: integer
  2247. runAsNonRoot:
  2248. description: Indicates that the container must run as a non-root
  2249. user. If true, the Kubelet will validate the image at runtime
  2250. to ensure that it does not run as UID 0 (root) and fail to start
  2251. the container if it does. If unset or false, no such validation
  2252. will be performed. May also be set in SecurityContext. If set
  2253. in both SecurityContext and PodSecurityContext, the value specified
  2254. in SecurityContext takes precedence.
  2255. type: boolean
  2256. runAsUser:
  2257. description: The UID to run the entrypoint of the container process.
  2258. Defaults to user specified in image metadata if unspecified. May
  2259. also be set in SecurityContext. If set in both SecurityContext
  2260. and PodSecurityContext, the value specified in SecurityContext
  2261. takes precedence for that container.
  2262. format: int64
  2263. type: integer
  2264. seLinuxOptions:
  2265. description: SELinuxOptions are the labels to be applied to the
  2266. container
  2267. properties:
  2268. level:
  2269. description: Level is SELinux level label that applies to the
  2270. container.
  2271. type: string
  2272. role:
  2273. description: Role is a SELinux role label that applies to the
  2274. container.
  2275. type: string
  2276. type:
  2277. description: Type is a SELinux type label that applies to the
  2278. container.
  2279. type: string
  2280. user:
  2281. description: User is a SELinux user label that applies to the
  2282. container.
  2283. type: string
  2284. supplementalGroups:
  2285. description: A list of groups applied to the first process run in
  2286. each container, in addition to the container's primary GID. If
  2287. unspecified, no groups will be added to any container.
  2288. items:
  2289. format: int64
  2290. type: integer
  2291. type: array
  2292. sysctls:
  2293. description: Sysctls hold a list of namespaced sysctls used for
  2294. the pod. Pods with unsupported sysctls (by the container runtime)
  2295. might fail to launch.
  2296. items:
  2297. description: Sysctl defines a kernel parameter to be set
  2298. properties:
  2299. name:
  2300. description: Name of a property to set
  2301. type: string
  2302. value:
  2303. description: Value of a property to set
  2304. type: string
  2305. required:
  2306. - name
  2307. - value
  2308. type: array
  2309. serviceAccountName:
  2310. description: ServiceAccountName is the name of the ServiceAccount to
  2311. use to run the Prometheus Pods.
  2312. type: string
  2313. serviceMonitorNamespaceSelector:
  2314. description: A label selector is a label query over a set of resources.
  2315. The result of matchLabels and matchExpressions are ANDed. An empty
  2316. label selector matches all objects. A null label selector matches
  2317. no objects.
  2318. properties:
  2319. matchExpressions:
  2320. description: matchExpressions is a list of label selector requirements.
  2321. The requirements are ANDed.
  2322. items:
  2323. description: A label selector requirement is a selector that contains
  2324. values, a key, and an operator that relates the key and values.
  2325. properties:
  2326. key:
  2327. description: key is the label key that the selector applies
  2328. to.
  2329. type: string
  2330. operator:
  2331. description: operator represents a key's relationship to a
  2332. set of values. Valid operators are In, NotIn, Exists and
  2333. DoesNotExist.
  2334. type: string
  2335. values:
  2336. description: values is an array of string values. If the operator
  2337. is In or NotIn, the values array must be non-empty. If the
  2338. operator is Exists or DoesNotExist, the values array must
  2339. be empty. This array is replaced during a strategic merge
  2340. patch.
  2341. items:
  2342. type: string
  2343. type: array
  2344. required:
  2345. - key
  2346. - operator
  2347. type: array
  2348. matchLabels:
  2349. description: matchLabels is a map of {key,value} pairs. A single
  2350. {key,value} in the matchLabels map is equivalent to an element
  2351. of matchExpressions, whose key field is "key", the operator is
  2352. "In", and the values array contains only "value". The requirements
  2353. are ANDed.
  2354. type: object
  2355. serviceMonitorSelector:
  2356. description: A label selector is a label query over a set of resources.
  2357. The result of matchLabels and matchExpressions are ANDed. An empty
  2358. label selector matches all objects. A null label selector matches
  2359. no objects.
  2360. properties:
  2361. matchExpressions:
  2362. description: matchExpressions is a list of label selector requirements.
  2363. The requirements are ANDed.
  2364. items:
  2365. description: A label selector requirement is a selector that contains
  2366. values, a key, and an operator that relates the key and values.
  2367. properties:
  2368. key:
  2369. description: key is the label key that the selector applies
  2370. to.
  2371. type: string
  2372. operator:
  2373. description: operator represents a key's relationship to a
  2374. set of values. Valid operators are In, NotIn, Exists and
  2375. DoesNotExist.
  2376. type: string
  2377. values:
  2378. description: values is an array of string values. If the operator
  2379. is In or NotIn, the values array must be non-empty. If the
  2380. operator is Exists or DoesNotExist, the values array must
  2381. be empty. This array is replaced during a strategic merge
  2382. patch.
  2383. items:
  2384. type: string
  2385. type: array
  2386. required:
  2387. - key
  2388. - operator
  2389. type: array
  2390. matchLabels:
  2391. description: matchLabels is a map of {key,value} pairs. A single
  2392. {key,value} in the matchLabels map is equivalent to an element
  2393. of matchExpressions, whose key field is "key", the operator is
  2394. "In", and the values array contains only "value". The requirements
  2395. are ANDed.
  2396. type: object
  2397. sha:
  2398. description: SHA of Prometheus container image to be deployed. Defaults
  2399. to the value of `version`. Similar to a tag, but the SHA explicitly
  2400. deploys an immutable container image. Version and Tag are ignored
  2401. if SHA is set.
  2402. type: string
  2403. storage:
  2404. description: StorageSpec defines the configured storage for a group
  2405. Prometheus servers. If neither `emptyDir` nor `volumeClaimTemplate`
  2406. is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
  2407. will be used.
  2408. properties:
  2409. class:
  2410. description: 'Name of the StorageClass to use when requesting storage
  2411. provisioning. More info: https://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses
  2412. (DEPRECATED - instead use `volumeClaimTemplate.spec.storageClassName`)'
  2413. type: string
  2414. emptyDir:
  2415. description: Represents an empty directory for a pod. Empty directory
  2416. volumes support ownership management and SELinux relabeling.
  2417. properties:
  2418. medium:
  2419. description: 'What type of storage medium should back this directory.
  2420. The default is "" which means to use the node''s default medium.
  2421. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
  2422. type: string
  2423. sizeLimit: {}
  2424. resources:
  2425. description: ResourceRequirements describes the compute resource
  2426. requirements.
  2427. properties:
  2428. limits:
  2429. description: 'Limits describes the maximum amount of compute
  2430. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2431. type: object
  2432. requests:
  2433. description: 'Requests describes the minimum amount of compute
  2434. resources required. If Requests is omitted for a container,
  2435. it defaults to Limits if that is explicitly specified, otherwise
  2436. to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2437. type: object
  2438. selector:
  2439. description: A label selector is a label query over a set of resources.
  2440. The result of matchLabels and matchExpressions are ANDed. An empty
  2441. label selector matches all objects. A null label selector matches
  2442. no objects.
  2443. properties:
  2444. matchExpressions:
  2445. description: matchExpressions is a list of label selector requirements.
  2446. The requirements are ANDed.
  2447. items:
  2448. description: A label selector requirement is a selector that
  2449. contains values, a key, and an operator that relates the
  2450. key and values.
  2451. properties:
  2452. key:
  2453. description: key is the label key that the selector applies
  2454. to.
  2455. type: string
  2456. operator:
  2457. description: operator represents a key's relationship
  2458. to a set of values. Valid operators are In, NotIn, Exists
  2459. and DoesNotExist.
  2460. type: string
  2461. values:
  2462. description: values is an array of string values. If the
  2463. operator is In or NotIn, the values array must be non-empty.
  2464. If the operator is Exists or DoesNotExist, the values
  2465. array must be empty. This array is replaced during a
  2466. strategic merge patch.
  2467. items:
  2468. type: string
  2469. type: array
  2470. required:
  2471. - key
  2472. - operator
  2473. type: array
  2474. matchLabels:
  2475. description: matchLabels is a map of {key,value} pairs. A single
  2476. {key,value} in the matchLabels map is equivalent to an element
  2477. of matchExpressions, whose key field is "key", the operator
  2478. is "In", and the values array contains only "value". The requirements
  2479. are ANDed.
  2480. type: object
  2481. volumeClaimTemplate:
  2482. description: PersistentVolumeClaim is a user's request for and claim
  2483. to a persistent volume
  2484. properties:
  2485. apiVersion:
  2486. description: 'APIVersion defines the versioned schema of this
  2487. representation of an object. Servers should convert recognized
  2488. schemas to the latest internal value, and may reject unrecognized
  2489. values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  2490. type: string
  2491. kind:
  2492. description: 'Kind is a string value representing the REST resource
  2493. this object represents. Servers may infer this from the endpoint
  2494. the client submits requests to. Cannot be updated. In CamelCase.
  2495. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2496. type: string
  2497. metadata:
  2498. description: ObjectMeta is metadata that all persisted resources
  2499. must have, which includes all objects users must create.
  2500. properties:
  2501. annotations:
  2502. description: 'Annotations is an unstructured key value map
  2503. stored with a resource that may be set by external tools
  2504. to store and retrieve arbitrary metadata. They are not
  2505. queryable and should be preserved when modifying objects.
  2506. More info: http://kubernetes.io/docs/user-guide/annotations'
  2507. type: object
  2508. clusterName:
  2509. description: The name of the cluster which the object belongs
  2510. to. This is used to distinguish resources with same name
  2511. and namespace in different clusters. This field is not
  2512. set anywhere right now and apiserver is going to ignore
  2513. it if set in create or update request.
  2514. type: string
  2515. creationTimestamp:
  2516. description: Time is a wrapper around time.Time which supports
  2517. correct marshaling to YAML and JSON. Wrappers are provided
  2518. for many of the factory methods that the time package
  2519. offers.
  2520. format: date-time
  2521. type: string
  2522. deletionGracePeriodSeconds:
  2523. description: Number of seconds allowed for this object to
  2524. gracefully terminate before it will be removed from the
  2525. system. Only set when deletionTimestamp is also set. May
  2526. only be shortened. Read-only.
  2527. format: int64
  2528. type: integer
  2529. deletionTimestamp:
  2530. description: Time is a wrapper around time.Time which supports
  2531. correct marshaling to YAML and JSON. Wrappers are provided
  2532. for many of the factory methods that the time package
  2533. offers.
  2534. format: date-time
  2535. type: string
  2536. finalizers:
  2537. description: Must be empty before the object is deleted
  2538. from the registry. Each entry is an identifier for the
  2539. responsible component that will remove the entry from
  2540. the list. If the deletionTimestamp of the object is non-nil,
  2541. entries in this list can only be removed.
  2542. items:
  2543. type: string
  2544. type: array
  2545. generateName:
  2546. description: |-
  2547. GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
  2548. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).
  2549. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  2550. type: string
  2551. generation:
  2552. description: A sequence number representing a specific generation
  2553. of the desired state. Populated by the system. Read-only.
  2554. format: int64
  2555. type: integer
  2556. initializers:
  2557. description: Initializers tracks the progress of initialization.
  2558. properties:
  2559. pending:
  2560. description: Pending is a list of initializers that
  2561. must execute in order before this object is visible.
  2562. When the last pending initializer is removed, and
  2563. no failing result is set, the initializers struct
  2564. will be set to nil and the object is considered as
  2565. initialized and visible to all clients.
  2566. items:
  2567. description: Initializer is information about an initializer
  2568. that has not yet completed.
  2569. properties:
  2570. name:
  2571. description: name of the process that is responsible
  2572. for initializing this object.
  2573. type: string
  2574. required:
  2575. - name
  2576. type: array
  2577. result:
  2578. description: Status is a return value for calls that
  2579. don't return other objects.
  2580. properties:
  2581. apiVersion:
  2582. description: 'APIVersion defines the versioned schema
  2583. of this representation of an object. Servers should
  2584. convert recognized schemas to the latest internal
  2585. value, and may reject unrecognized values. More
  2586. info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  2587. type: string
  2588. code:
  2589. description: Suggested HTTP return code for this
  2590. status, 0 if not set.
  2591. format: int32
  2592. type: integer
  2593. details:
  2594. description: StatusDetails is a set of additional
  2595. properties that MAY be set by the server to provide
  2596. additional information about a response. The Reason
  2597. field of a Status object defines what attributes
  2598. will be set. Clients must ignore fields that do
  2599. not match the defined type of each attribute,
  2600. and should assume that any attribute may be empty,
  2601. invalid, or under defined.
  2602. properties:
  2603. causes:
  2604. description: The Causes array includes more
  2605. details associated with the StatusReason failure.
  2606. Not all StatusReasons may provide detailed
  2607. causes.
  2608. items:
  2609. description: StatusCause provides more information
  2610. about an api.Status failure, including cases
  2611. when multiple errors are encountered.
  2612. properties:
  2613. field:
  2614. description: |-
  2615. The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
  2616. Examples:
  2617. "name" - the field "name" on the current resource
  2618. "items[0].name" - the field "name" on the first array entry in "items"
  2619. type: string
  2620. message:
  2621. description: A human-readable description
  2622. of the cause of the error. This field
  2623. may be presented as-is to a reader.
  2624. type: string
  2625. reason:
  2626. description: A machine-readable description
  2627. of the cause of the error. If this value
  2628. is empty there is no information available.
  2629. type: string
  2630. type: array
  2631. group:
  2632. description: The group attribute of the resource
  2633. associated with the status StatusReason.
  2634. type: string
  2635. kind:
  2636. description: 'The kind attribute of the resource
  2637. associated with the status StatusReason. On
  2638. some operations may differ from the requested
  2639. resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2640. type: string
  2641. name:
  2642. description: The name attribute of the resource
  2643. associated with the status StatusReason (when
  2644. there is a single name which can be described).
  2645. type: string
  2646. retryAfterSeconds:
  2647. description: If specified, the time in seconds
  2648. before the operation should be retried. Some
  2649. errors may indicate the client must take an
  2650. alternate action - for those errors this field
  2651. may indicate how long to wait before taking
  2652. the alternate action.
  2653. format: int32
  2654. type: integer
  2655. uid:
  2656. description: 'UID of the resource. (when there
  2657. is a single resource which can be described).
  2658. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  2659. type: string
  2660. kind:
  2661. description: 'Kind is a string value representing
  2662. the REST resource this object represents. Servers
  2663. may infer this from the endpoint the client submits
  2664. requests to. Cannot be updated. In CamelCase.
  2665. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2666. type: string
  2667. message:
  2668. description: A human-readable description of the
  2669. status of this operation.
  2670. type: string
  2671. metadata:
  2672. description: ListMeta describes metadata that synthetic
  2673. resources must have, including lists and various
  2674. status objects. A resource may have only one of
  2675. {ObjectMeta, ListMeta}.
  2676. properties:
  2677. continue:
  2678. description: continue may be set if the user
  2679. set a limit on the number of items returned,
  2680. and indicates that the server has more data
  2681. available. The value is opaque and may be
  2682. used to issue another request to the endpoint
  2683. that served this list to retrieve the next
  2684. set of available objects. Continuing a consistent
  2685. list may not be possible if the server configuration
  2686. has changed or more than a few minutes have
  2687. passed. The resourceVersion field returned
  2688. when using this continue value will be identical
  2689. to the value in the first response, unless
  2690. you have received this token from an error
  2691. message.
  2692. type: string
  2693. resourceVersion:
  2694. description: 'String that identifies the server''s
  2695. internal version of this object that can be
  2696. used by clients to determine when objects
  2697. have changed. Value must be treated as opaque
  2698. by clients and passed unmodified back to the
  2699. server. Populated by the system. Read-only.
  2700. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  2701. type: string
  2702. selfLink:
  2703. description: selfLink is a URL representing
  2704. this object. Populated by the system. Read-only.
  2705. type: string
  2706. reason:
  2707. description: A machine-readable description of why
  2708. this operation is in the "Failure" status. If
  2709. this value is empty there is no information available.
  2710. A Reason clarifies an HTTP status code but does
  2711. not override it.
  2712. type: string
  2713. status:
  2714. description: 'Status of the operation. One of: "Success"
  2715. or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  2716. type: string
  2717. required:
  2718. - pending
  2719. labels:
  2720. description: 'Map of string keys and values that can be
  2721. used to organize and categorize (scope and select) objects.
  2722. May match selectors of replication controllers and services.
  2723. More info: http://kubernetes.io/docs/user-guide/labels'
  2724. type: object
  2725. name:
  2726. description: 'Name must be unique within a namespace. Is
  2727. required when creating resources, although some resources
  2728. may allow a client to request the generation of an appropriate
  2729. name automatically. Name is primarily intended for creation
  2730. idempotence and configuration definition. Cannot be updated.
  2731. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  2732. type: string
  2733. namespace:
  2734. description: |-
  2735. Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
  2736. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  2737. type: string
  2738. ownerReferences:
  2739. description: List of objects depended by this object. If
  2740. ALL objects in the list have been deleted, this object
  2741. will be garbage collected. If this object is managed by
  2742. a controller, then an entry in this list will point to
  2743. this controller, with the controller field set to true.
  2744. There cannot be more than one managing controller.
  2745. items:
  2746. description: OwnerReference contains enough information
  2747. to let you identify an owning object. Currently, an
  2748. owning object must be in the same namespace, so there
  2749. is no namespace field.
  2750. properties:
  2751. apiVersion:
  2752. description: API version of the referent.
  2753. type: string
  2754. blockOwnerDeletion:
  2755. description: If true, AND if the owner has the "foregroundDeletion"
  2756. finalizer, then the owner cannot be deleted from
  2757. the key-value store until this reference is removed.
  2758. Defaults to false. To set this field, a user needs
  2759. "delete" permission of the owner, otherwise 422
  2760. (Unprocessable Entity) will be returned.
  2761. type: boolean
  2762. controller:
  2763. description: If true, this reference points to the
  2764. managing controller.
  2765. type: boolean
  2766. kind:
  2767. description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2768. type: string
  2769. name:
  2770. description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  2771. type: string
  2772. uid:
  2773. description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  2774. type: string
  2775. required:
  2776. - apiVersion
  2777. - kind
  2778. - name
  2779. - uid
  2780. type: array
  2781. resourceVersion:
  2782. description: |-
  2783. An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.
  2784. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
  2785. type: string
  2786. selfLink:
  2787. description: SelfLink is a URL representing this object.
  2788. Populated by the system. Read-only.
  2789. type: string
  2790. uid:
  2791. description: |-
  2792. UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
  2793. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  2794. type: string
  2795. spec:
  2796. description: PersistentVolumeClaimSpec describes the common
  2797. attributes of storage devices and allows a Source for provider-specific
  2798. attributes
  2799. properties:
  2800. accessModes:
  2801. description: 'AccessModes contains the desired access modes
  2802. the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  2803. items:
  2804. type: string
  2805. type: array
  2806. dataSource:
  2807. description: TypedLocalObjectReference contains enough information
  2808. to let you locate the typed referenced object inside the
  2809. same namespace.
  2810. properties:
  2811. apiGroup:
  2812. description: APIGroup is the group for the resource
  2813. being referenced. If APIGroup is not specified, the
  2814. specified Kind must be in the core API group. For
  2815. any other third-party types, APIGroup is required.
  2816. type: string
  2817. kind:
  2818. description: Kind is the type of resource being referenced
  2819. type: string
  2820. name:
  2821. description: Name is the name of resource being referenced
  2822. type: string
  2823. required:
  2824. - kind
  2825. - name
  2826. resources:
  2827. description: ResourceRequirements describes the compute
  2828. resource requirements.
  2829. properties:
  2830. limits:
  2831. description: 'Limits describes the maximum amount of
  2832. compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2833. type: object
  2834. requests:
  2835. description: 'Requests describes the minimum amount
  2836. of compute resources required. If Requests is omitted
  2837. for a container, it defaults to Limits if that is
  2838. explicitly specified, otherwise to an implementation-defined
  2839. value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2840. type: object
  2841. selector:
  2842. description: A label selector is a label query over a set
  2843. of resources. The result of matchLabels and matchExpressions
  2844. are ANDed. An empty label selector matches all objects.
  2845. A null label selector matches no objects.
  2846. properties:
  2847. matchExpressions:
  2848. description: matchExpressions is a list of label selector
  2849. requirements. The requirements are ANDed.
  2850. items:
  2851. description: A label selector requirement is a selector
  2852. that contains values, a key, and an operator that
  2853. relates the key and values.
  2854. properties:
  2855. key:
  2856. description: key is the label key that the selector
  2857. applies to.
  2858. type: string
  2859. operator:
  2860. description: operator represents a key's relationship
  2861. to a set of values. Valid operators are In,
  2862. NotIn, Exists and DoesNotExist.
  2863. type: string
  2864. values:
  2865. description: values is an array of string values.
  2866. If the operator is In or NotIn, the values array
  2867. must be non-empty. If the operator is Exists
  2868. or DoesNotExist, the values array must be empty.
  2869. This array is replaced during a strategic merge
  2870. patch.
  2871. items:
  2872. type: string
  2873. type: array
  2874. required:
  2875. - key
  2876. - operator
  2877. type: array
  2878. matchLabels:
  2879. description: matchLabels is a map of {key,value} pairs.
  2880. A single {key,value} in the matchLabels map is equivalent
  2881. to an element of matchExpressions, whose key field
  2882. is "key", the operator is "In", and the values array
  2883. contains only "value". The requirements are ANDed.
  2884. type: object
  2885. storageClassName:
  2886. description: 'Name of the StorageClass required by the claim.
  2887. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
  2888. type: string
  2889. volumeMode:
  2890. description: volumeMode defines what type of volume is required
  2891. by the claim. Value of Filesystem is implied when not
  2892. included in claim spec. This is an alpha feature and may
  2893. change in the future.
  2894. type: string
  2895. volumeName:
  2896. description: VolumeName is the binding reference to the
  2897. PersistentVolume backing this claim.
  2898. type: string
  2899. status:
  2900. description: PersistentVolumeClaimStatus is the current status
  2901. of a persistent volume claim.
  2902. properties:
  2903. accessModes:
  2904. description: 'AccessModes contains the actual access modes
  2905. the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  2906. items:
  2907. type: string
  2908. type: array
  2909. capacity:
  2910. description: Represents the actual resources of the underlying
  2911. volume.
  2912. type: object
  2913. conditions:
  2914. description: Current Condition of persistent volume claim.
  2915. If underlying persistent volume is being resized then
  2916. the Condition will be set to 'ResizeStarted'.
  2917. items:
  2918. description: PersistentVolumeClaimCondition contails details
  2919. about state of pvc
  2920. properties:
  2921. lastProbeTime:
  2922. description: Time is a wrapper around time.Time which
  2923. supports correct marshaling to YAML and JSON. Wrappers
  2924. are provided for many of the factory methods that
  2925. the time package offers.
  2926. format: date-time
  2927. type: string
  2928. lastTransitionTime:
  2929. description: Time is a wrapper around time.Time which
  2930. supports correct marshaling to YAML and JSON. Wrappers
  2931. are provided for many of the factory methods that
  2932. the time package offers.
  2933. format: date-time
  2934. type: string
  2935. message:
  2936. description: Human-readable message indicating details
  2937. about last transition.
  2938. type: string
  2939. reason:
  2940. description: Unique, this should be a short, machine
  2941. understandable string that gives the reason for
  2942. condition's last transition. If it reports "ResizeStarted"
  2943. that means the underlying persistent volume is being
  2944. resized.
  2945. type: string
  2946. status:
  2947. type: string
  2948. type:
  2949. type: string
  2950. required:
  2951. - type
  2952. - status
  2953. type: array
  2954. phase:
  2955. description: Phase represents the current phase of PersistentVolumeClaim.
  2956. type: string
  2957. tag:
  2958. description: Tag of Prometheus container image to be deployed. Defaults
  2959. to the value of `version`. Version is ignored if Tag is set.
  2960. type: string
  2961. thanos:
  2962. description: ThanosSpec defines parameters for a Prometheus server within
  2963. a Thanos deployment.
  2964. properties:
  2965. baseImage:
  2966. description: Thanos base image if other than default.
  2967. type: string
  2968. gcs:
  2969. description: ThanosGCSSpec defines parameters for use of Google
  2970. Cloud Storage (GCS) with Thanos.
  2971. properties:
  2972. bucket:
  2973. description: Google Cloud Storage bucket name for stored blocks.
  2974. If empty it won't store any block inside Google Cloud Storage.
  2975. type: string
  2976. credentials:
  2977. description: SecretKeySelector selects a key of a Secret.
  2978. properties:
  2979. key:
  2980. description: The key of the secret to select from. Must
  2981. be a valid secret key.
  2982. type: string
  2983. name:
  2984. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  2985. type: string
  2986. optional:
  2987. description: Specify whether the Secret or it's key must
  2988. be defined
  2989. type: boolean
  2990. required:
  2991. - key
  2992. peers:
  2993. description: Peers is a DNS name for Thanos to discover peers through.
  2994. type: string
  2995. resources:
  2996. description: ResourceRequirements describes the compute resource
  2997. requirements.
  2998. properties:
  2999. limits:
  3000. description: 'Limits describes the maximum amount of compute
  3001. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  3002. type: object
  3003. requests:
  3004. description: 'Requests describes the minimum amount of compute
  3005. resources required. If Requests is omitted for a container,
  3006. it defaults to Limits if that is explicitly specified, otherwise
  3007. to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  3008. type: object
  3009. s3:
  3010. description: ThanosS3Spec defines parameters for of AWS Simple Storage
  3011. Service (S3) with Thanos. (S3 compatible services apply as well)
  3012. properties:
  3013. accessKey:
  3014. description: SecretKeySelector selects a key of a Secret.
  3015. properties:
  3016. key:
  3017. description: The key of the secret to select from. Must
  3018. be a valid secret key.
  3019. type: string
  3020. name:
  3021. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3022. type: string
  3023. optional:
  3024. description: Specify whether the Secret or it's key must
  3025. be defined
  3026. type: boolean
  3027. required:
  3028. - key
  3029. bucket:
  3030. description: S3-Compatible API bucket name for stored blocks.
  3031. type: string
  3032. encryptsse:
  3033. description: Whether to use Server Side Encryption
  3034. type: boolean
  3035. endpoint:
  3036. description: S3-Compatible API endpoint for stored blocks.
  3037. type: string
  3038. insecure:
  3039. description: Whether to use an insecure connection with an S3-Compatible
  3040. API.
  3041. type: boolean
  3042. secretKey:
  3043. description: SecretKeySelector selects a key of a Secret.
  3044. properties:
  3045. key:
  3046. description: The key of the secret to select from. Must
  3047. be a valid secret key.
  3048. type: string
  3049. name:
  3050. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3051. type: string
  3052. optional:
  3053. description: Specify whether the Secret or it's key must
  3054. be defined
  3055. type: boolean
  3056. required:
  3057. - key
  3058. signatureVersion2:
  3059. description: Whether to use S3 Signature Version 2; otherwise
  3060. Signature Version 4 will be used.
  3061. type: boolean
  3062. sha:
  3063. description: SHA of Thanos container image to be deployed. Defaults
  3064. to the value of `version`. Similar to a tag, but the SHA explicitly
  3065. deploys an immutable container image. Version and Tag are ignored
  3066. if SHA is set.
  3067. type: string
  3068. tag:
  3069. description: Tag of Thanos sidecar container image to be deployed.
  3070. Defaults to the value of `version`. Version is ignored if Tag
  3071. is set.
  3072. type: string
  3073. version:
  3074. description: Version describes the version of Thanos to use.
  3075. type: string
  3076. tolerations:
  3077. description: If specified, the pod's tolerations.
  3078. items:
  3079. description: The pod this Toleration is attached to tolerates any
  3080. taint that matches the triple <key,value,effect> using the matching
  3081. operator <operator>.
  3082. properties:
  3083. effect:
  3084. description: Effect indicates the taint effect to match. Empty
  3085. means match all taint effects. When specified, allowed values
  3086. are NoSchedule, PreferNoSchedule and NoExecute.
  3087. type: string
  3088. key:
  3089. description: Key is the taint key that the toleration applies
  3090. to. Empty means match all taint keys. If the key is empty, operator
  3091. must be Exists; this combination means to match all values and
  3092. all keys.
  3093. type: string
  3094. operator:
  3095. description: Operator represents a key's relationship to the value.
  3096. Valid operators are Exists and Equal. Defaults to Equal. Exists
  3097. is equivalent to wildcard for value, so that a pod can tolerate
  3098. all taints of a particular category.
  3099. type: string
  3100. tolerationSeconds:
  3101. description: TolerationSeconds represents the period of time the
  3102. toleration (which must be of effect NoExecute, otherwise this
  3103. field is ignored) tolerates the taint. By default, it is not
  3104. set, which means tolerate the taint forever (do not evict).
  3105. Zero and negative values will be treated as 0 (evict immediately)
  3106. by the system.
  3107. format: int64
  3108. type: integer
  3109. value:
  3110. description: Value is the taint value the toleration matches to.
  3111. If the operator is Exists, the value should be empty, otherwise
  3112. just a regular string.
  3113. type: string
  3114. type: array
  3115. version:
  3116. description: Version of Prometheus to be deployed.
  3117. type: string
  3118. status:
  3119. description: 'PrometheusStatus is the most recent observed status of the
  3120. Prometheus cluster. Read-only. Not included when requesting from the apiserver,
  3121. only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  3122. properties:
  3123. availableReplicas:
  3124. description: Total number of available pods (ready for at least minReadySeconds)
  3125. targeted by this Prometheus deployment.
  3126. format: int32
  3127. type: integer
  3128. paused:
  3129. description: Represents whether any actions on the underlaying managed
  3130. objects are being performed. Only delete actions will be performed.
  3131. type: boolean
  3132. replicas:
  3133. description: Total number of non-terminated pods targeted by this Prometheus
  3134. deployment (their labels match the selector).
  3135. format: int32
  3136. type: integer
  3137. unavailableReplicas:
  3138. description: Total number of unavailable pods targeted by this Prometheus
  3139. deployment.
  3140. format: int32
  3141. type: integer
  3142. updatedReplicas:
  3143. description: Total number of non-terminated pods targeted by this Prometheus
  3144. deployment that have the desired version spec.
  3145. format: int32
  3146. type: integer
  3147. required:
  3148. - paused
  3149. - replicas
  3150. - updatedReplicas
  3151. - availableReplicas
  3152. - unavailableReplicas
  3153. version: v1