08-ocs.configmap.yaml 455 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254
  1. ##---
  2. # Source: olm/templates/08-ocs.configmap.yaml
  3. kind: ConfigMap
  4. apiVersion: v1
  5. metadata:
  6. name: ocs
  7. namespace: operator-lifecycle-manager
  8. data:
  9. customResourceDefinitions: |-
  10. - apiVersion: apiextensions.k8s.io/v1beta1
  11. kind: CustomResourceDefinition
  12. metadata:
  13. name: alertmanagers.monitoring.coreos.com
  14. spec:
  15. group: monitoring.coreos.com
  16. names:
  17. kind: Alertmanager
  18. plural: alertmanagers
  19. scope: Namespaced
  20. validation:
  21. openAPIV3Schema:
  22. properties:
  23. spec:
  24. description: 'Specification of the desired behavior of the Alertmanager
  25. cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  26. properties:
  27. affinity:
  28. description: Affinity is a group of affinity scheduling rules.
  29. properties:
  30. nodeAffinity:
  31. description: Node affinity is a group of node affinity scheduling
  32. rules.
  33. properties:
  34. preferredDuringSchedulingIgnoredDuringExecution:
  35. description: The scheduler will prefer to schedule pods to nodes
  36. that satisfy the affinity expressions specified by this field,
  37. but it may choose a node that violates one or more of the
  38. expressions. The node that is most preferred is the one with
  39. the greatest sum of weights, i.e. for each node that meets
  40. all of the scheduling requirements (resource request, requiredDuringScheduling
  41. affinity expressions, etc.), compute a sum by iterating through
  42. the elements of this field and adding "weight" to the sum
  43. if the node matches the corresponding matchExpressions; the
  44. node(s) with the highest sum are the most preferred.
  45. items:
  46. description: An empty preferred scheduling term matches all
  47. objects with implicit weight 0 (i.e. it's a no-op). A null
  48. preferred scheduling term matches no objects (i.e. is also
  49. a no-op).
  50. properties:
  51. preference:
  52. description: A null or empty node selector term matches
  53. no objects. The requirements of them are ANDed. The
  54. TopologySelectorTerm type implements a subset of the
  55. NodeSelectorTerm.
  56. properties:
  57. matchExpressions:
  58. description: A list of node selector requirements
  59. by node's labels.
  60. items:
  61. description: A node selector requirement is a selector
  62. that contains values, a key, and an operator that
  63. relates the key and values.
  64. properties:
  65. key:
  66. description: The label key that the selector
  67. applies to.
  68. type: string
  69. operator:
  70. description: Represents a key's relationship
  71. to a set of values. Valid operators are In,
  72. NotIn, Exists, DoesNotExist. Gt, and Lt.
  73. type: string
  74. values:
  75. description: An array of string values. If the
  76. operator is In or NotIn, the values array
  77. must be non-empty. If the operator is Exists
  78. or DoesNotExist, the values array must be
  79. empty. If the operator is Gt or Lt, the values
  80. array must have a single element, which will
  81. be interpreted as an integer. This array is
  82. replaced during a strategic merge patch.
  83. items:
  84. type: string
  85. type: array
  86. required:
  87. - key
  88. - operator
  89. type: array
  90. matchFields:
  91. description: A list of node selector requirements
  92. by node's fields.
  93. items:
  94. description: A node selector requirement is a selector
  95. that contains values, a key, and an operator that
  96. relates the key and values.
  97. properties:
  98. key:
  99. description: The label key that the selector
  100. applies to.
  101. type: string
  102. operator:
  103. description: Represents a key's relationship
  104. to a set of values. Valid operators are In,
  105. NotIn, Exists, DoesNotExist. Gt, and Lt.
  106. type: string
  107. values:
  108. description: An array of string values. If the
  109. operator is In or NotIn, the values array
  110. must be non-empty. If the operator is Exists
  111. or DoesNotExist, the values array must be
  112. empty. If the operator is Gt or Lt, the values
  113. array must have a single element, which will
  114. be interpreted as an integer. This array is
  115. replaced during a strategic merge patch.
  116. items:
  117. type: string
  118. type: array
  119. required:
  120. - key
  121. - operator
  122. type: array
  123. weight:
  124. description: Weight associated with matching the corresponding
  125. nodeSelectorTerm, in the range 1-100.
  126. format: int32
  127. type: integer
  128. required:
  129. - weight
  130. - preference
  131. type: array
  132. requiredDuringSchedulingIgnoredDuringExecution:
  133. description: A node selector represents the union of the results
  134. of one or more label queries over a set of nodes; that is,
  135. it represents the OR of the selectors represented by the node
  136. selector terms.
  137. properties:
  138. nodeSelectorTerms:
  139. description: Required. A list of node selector terms. The
  140. terms are ORed.
  141. items:
  142. description: A null or empty node selector term matches
  143. no objects. The requirements of them are ANDed. The
  144. TopologySelectorTerm type implements a subset of the
  145. NodeSelectorTerm.
  146. properties:
  147. matchExpressions:
  148. description: A list of node selector requirements
  149. by node's labels.
  150. items:
  151. description: A node selector requirement is a selector
  152. that contains values, a key, and an operator that
  153. relates the key and values.
  154. properties:
  155. key:
  156. description: The label key that the selector
  157. applies to.
  158. type: string
  159. operator:
  160. description: Represents a key's relationship
  161. to a set of values. Valid operators are In,
  162. NotIn, Exists, DoesNotExist. Gt, and Lt.
  163. type: string
  164. values:
  165. description: An array of string values. If the
  166. operator is In or NotIn, the values array
  167. must be non-empty. If the operator is Exists
  168. or DoesNotExist, the values array must be
  169. empty. If the operator is Gt or Lt, the values
  170. array must have a single element, which will
  171. be interpreted as an integer. This array is
  172. replaced during a strategic merge patch.
  173. items:
  174. type: string
  175. type: array
  176. required:
  177. - key
  178. - operator
  179. type: array
  180. matchFields:
  181. description: A list of node selector requirements
  182. by node's fields.
  183. items:
  184. description: A node selector requirement is a selector
  185. that contains values, a key, and an operator that
  186. relates the key and values.
  187. properties:
  188. key:
  189. description: The label key that the selector
  190. applies to.
  191. type: string
  192. operator:
  193. description: Represents a key's relationship
  194. to a set of values. Valid operators are In,
  195. NotIn, Exists, DoesNotExist. Gt, and Lt.
  196. type: string
  197. values:
  198. description: An array of string values. If the
  199. operator is In or NotIn, the values array
  200. must be non-empty. If the operator is Exists
  201. or DoesNotExist, the values array must be
  202. empty. If the operator is Gt or Lt, the values
  203. array must have a single element, which will
  204. be interpreted as an integer. This array is
  205. replaced during a strategic merge patch.
  206. items:
  207. type: string
  208. type: array
  209. required:
  210. - key
  211. - operator
  212. type: array
  213. type: array
  214. required:
  215. - nodeSelectorTerms
  216. podAffinity:
  217. description: Pod affinity is a group of inter pod affinity scheduling
  218. rules.
  219. properties:
  220. preferredDuringSchedulingIgnoredDuringExecution:
  221. description: The scheduler will prefer to schedule pods to nodes
  222. that satisfy the affinity expressions specified by this field,
  223. but it may choose a node that violates one or more of the
  224. expressions. The node that is most preferred is the one with
  225. the greatest sum of weights, i.e. for each node that meets
  226. all of the scheduling requirements (resource request, requiredDuringScheduling
  227. affinity expressions, etc.), compute a sum by iterating through
  228. the elements of this field and adding "weight" to the sum
  229. if the node has pods which matches the corresponding podAffinityTerm;
  230. the node(s) with the highest sum are the most preferred.
  231. items:
  232. description: The weights of all of the matched WeightedPodAffinityTerm
  233. fields are added per-node to find the most preferred node(s)
  234. properties:
  235. podAffinityTerm:
  236. description: Defines a set of pods (namely those matching
  237. the labelSelector relative to the given namespace(s))
  238. that this pod should be co-located (affinity) or not
  239. co-located (anti-affinity) with, where co-located is
  240. defined as running on a node whose value of the label
  241. with key <topologyKey> matches that of any node on which
  242. a pod of the set of pods is running
  243. properties:
  244. labelSelector:
  245. description: A label selector is a label query over
  246. a set of resources. The result of matchLabels and
  247. matchExpressions are ANDed. An empty label selector
  248. matches all objects. A null label selector matches
  249. no objects.
  250. properties:
  251. matchExpressions:
  252. description: matchExpressions is a list of label
  253. selector requirements. The requirements are
  254. ANDed.
  255. items:
  256. description: A label selector requirement is
  257. a selector that contains values, a key, and
  258. an operator that relates the key and values.
  259. properties:
  260. key:
  261. description: key is the label key that the
  262. selector applies to.
  263. type: string
  264. operator:
  265. description: operator represents a key's
  266. relationship to a set of values. Valid
  267. operators are In, NotIn, Exists and DoesNotExist.
  268. type: string
  269. values:
  270. description: values is an array of string
  271. values. If the operator is In or NotIn,
  272. the values array must be non-empty. If
  273. the operator is Exists or DoesNotExist,
  274. the values array must be empty. This array
  275. is replaced during a strategic merge patch.
  276. items:
  277. type: string
  278. type: array
  279. required:
  280. - key
  281. - operator
  282. type: array
  283. matchLabels:
  284. description: matchLabels is a map of {key,value}
  285. pairs. A single {key,value} in the matchLabels
  286. map is equivalent to an element of matchExpressions,
  287. whose key field is "key", the operator is "In",
  288. and the values array contains only "value".
  289. The requirements are ANDed.
  290. type: object
  291. namespaces:
  292. description: namespaces specifies which namespaces
  293. the labelSelector applies to (matches against);
  294. null or empty list means "this pod's namespace"
  295. items:
  296. type: string
  297. type: array
  298. topologyKey:
  299. description: This pod should be co-located (affinity)
  300. or not co-located (anti-affinity) with the pods
  301. matching the labelSelector in the specified namespaces,
  302. where co-located is defined as running on a node
  303. whose value of the label with key topologyKey matches
  304. that of any node on which any of the selected pods
  305. is running. Empty topologyKey is not allowed.
  306. type: string
  307. required:
  308. - topologyKey
  309. weight:
  310. description: weight associated with matching the corresponding
  311. podAffinityTerm, in the range 1-100.
  312. format: int32
  313. type: integer
  314. required:
  315. - weight
  316. - podAffinityTerm
  317. type: array
  318. requiredDuringSchedulingIgnoredDuringExecution:
  319. description: If the affinity requirements specified by this
  320. field are not met at scheduling time, the pod will not be
  321. scheduled onto the node. If the affinity requirements specified
  322. by this field cease to be met at some point during pod execution
  323. (e.g. due to a pod label update), the system may or may not
  324. try to eventually evict the pod from its node. When there
  325. are multiple elements, the lists of nodes corresponding to
  326. each podAffinityTerm are intersected, i.e. all terms must
  327. be satisfied.
  328. items:
  329. description: Defines a set of pods (namely those matching
  330. the labelSelector relative to the given namespace(s)) that
  331. this pod should be co-located (affinity) or not co-located
  332. (anti-affinity) with, where co-located is defined as running
  333. on a node whose value of the label with key <topologyKey>
  334. matches that of any node on which a pod of the set of pods
  335. is running
  336. properties:
  337. labelSelector:
  338. description: A label selector is a label query over a
  339. set of resources. The result of matchLabels and matchExpressions
  340. are ANDed. An empty label selector matches all objects.
  341. A null label selector matches no objects.
  342. properties:
  343. matchExpressions:
  344. description: matchExpressions is a list of label selector
  345. requirements. The requirements are ANDed.
  346. items:
  347. description: A label selector requirement is a selector
  348. that contains values, a key, and an operator that
  349. relates the key and values.
  350. properties:
  351. key:
  352. description: key is the label key that the selector
  353. applies to.
  354. type: string
  355. operator:
  356. description: operator represents a key's relationship
  357. to a set of values. Valid operators are In,
  358. NotIn, Exists and DoesNotExist.
  359. type: string
  360. values:
  361. description: values is an array of string values.
  362. If the operator is In or NotIn, the values
  363. array must be non-empty. If the operator is
  364. Exists or DoesNotExist, the values array must
  365. be empty. This array is replaced during a
  366. strategic merge patch.
  367. items:
  368. type: string
  369. type: array
  370. required:
  371. - key
  372. - operator
  373. type: array
  374. matchLabels:
  375. description: matchLabels is a map of {key,value} pairs.
  376. A single {key,value} in the matchLabels map is equivalent
  377. to an element of matchExpressions, whose key field
  378. is "key", the operator is "In", and the values array
  379. contains only "value". The requirements are ANDed.
  380. type: object
  381. namespaces:
  382. description: namespaces specifies which namespaces the
  383. labelSelector applies to (matches against); null or
  384. empty list means "this pod's namespace"
  385. items:
  386. type: string
  387. type: array
  388. topologyKey:
  389. description: This pod should be co-located (affinity)
  390. or not co-located (anti-affinity) with the pods matching
  391. the labelSelector in the specified namespaces, where
  392. co-located is defined as running on a node whose value
  393. of the label with key topologyKey matches that of any
  394. node on which any of the selected pods is running. Empty
  395. topologyKey is not allowed.
  396. type: string
  397. required:
  398. - topologyKey
  399. type: array
  400. podAntiAffinity:
  401. description: Pod anti affinity is a group of inter pod anti affinity
  402. scheduling rules.
  403. properties:
  404. preferredDuringSchedulingIgnoredDuringExecution:
  405. description: The scheduler will prefer to schedule pods to nodes
  406. that satisfy the anti-affinity expressions specified by this
  407. field, but it may choose a node that violates one or more
  408. of the expressions. The node that is most preferred is the
  409. one with the greatest sum of weights, i.e. for each node that
  410. meets all of the scheduling requirements (resource request,
  411. requiredDuringScheduling anti-affinity expressions, etc.),
  412. compute a sum by iterating through the elements of this field
  413. and adding "weight" to the sum if the node has pods which
  414. matches the corresponding podAffinityTerm; the node(s) with
  415. the highest sum are the most preferred.
  416. items:
  417. description: The weights of all of the matched WeightedPodAffinityTerm
  418. fields are added per-node to find the most preferred node(s)
  419. properties:
  420. podAffinityTerm:
  421. description: Defines a set of pods (namely those matching
  422. the labelSelector relative to the given namespace(s))
  423. that this pod should be co-located (affinity) or not
  424. co-located (anti-affinity) with, where co-located is
  425. defined as running on a node whose value of the label
  426. with key <topologyKey> matches that of any node on which
  427. a pod of the set of pods is running
  428. properties:
  429. labelSelector:
  430. description: A label selector is a label query over
  431. a set of resources. The result of matchLabels and
  432. matchExpressions are ANDed. An empty label selector
  433. matches all objects. A null label selector matches
  434. no objects.
  435. properties:
  436. matchExpressions:
  437. description: matchExpressions is a list of label
  438. selector requirements. The requirements are
  439. ANDed.
  440. items:
  441. description: A label selector requirement is
  442. a selector that contains values, a key, and
  443. an operator that relates the key and values.
  444. properties:
  445. key:
  446. description: key is the label key that the
  447. selector applies to.
  448. type: string
  449. operator:
  450. description: operator represents a key's
  451. relationship to a set of values. Valid
  452. operators are In, NotIn, Exists and DoesNotExist.
  453. type: string
  454. values:
  455. description: values is an array of string
  456. values. If the operator is In or NotIn,
  457. the values array must be non-empty. If
  458. the operator is Exists or DoesNotExist,
  459. the values array must be empty. This array
  460. is replaced during a strategic merge patch.
  461. items:
  462. type: string
  463. type: array
  464. required:
  465. - key
  466. - operator
  467. type: array
  468. matchLabels:
  469. description: matchLabels is a map of {key,value}
  470. pairs. A single {key,value} in the matchLabels
  471. map is equivalent to an element of matchExpressions,
  472. whose key field is "key", the operator is "In",
  473. and the values array contains only "value".
  474. The requirements are ANDed.
  475. type: object
  476. namespaces:
  477. description: namespaces specifies which namespaces
  478. the labelSelector applies to (matches against);
  479. null or empty list means "this pod's namespace"
  480. items:
  481. type: string
  482. type: array
  483. topologyKey:
  484. description: This pod should be co-located (affinity)
  485. or not co-located (anti-affinity) with the pods
  486. matching the labelSelector in the specified namespaces,
  487. where co-located is defined as running on a node
  488. whose value of the label with key topologyKey matches
  489. that of any node on which any of the selected pods
  490. is running. Empty topologyKey is not allowed.
  491. type: string
  492. required:
  493. - topologyKey
  494. weight:
  495. description: weight associated with matching the corresponding
  496. podAffinityTerm, in the range 1-100.
  497. format: int32
  498. type: integer
  499. required:
  500. - weight
  501. - podAffinityTerm
  502. type: array
  503. requiredDuringSchedulingIgnoredDuringExecution:
  504. description: If the anti-affinity requirements specified by
  505. this field are not met at scheduling time, the pod will not
  506. be scheduled onto the node. If the anti-affinity requirements
  507. specified by this field cease to be met at some point during
  508. pod execution (e.g. due to a pod label update), the system
  509. may or may not try to eventually evict the pod from its node.
  510. When there are multiple elements, the lists of nodes corresponding
  511. to each podAffinityTerm are intersected, i.e. all terms must
  512. be satisfied.
  513. items:
  514. description: Defines a set of pods (namely those matching
  515. the labelSelector relative to the given namespace(s)) that
  516. this pod should be co-located (affinity) or not co-located
  517. (anti-affinity) with, where co-located is defined as running
  518. on a node whose value of the label with key <topologyKey>
  519. matches that of any node on which a pod of the set of pods
  520. is running
  521. properties:
  522. labelSelector:
  523. description: A label selector is a label query over a
  524. set of resources. The result of matchLabels and matchExpressions
  525. are ANDed. An empty label selector matches all objects.
  526. A null label selector matches no objects.
  527. properties:
  528. matchExpressions:
  529. description: matchExpressions is a list of label selector
  530. requirements. The requirements are ANDed.
  531. items:
  532. description: A label selector requirement is a selector
  533. that contains values, a key, and an operator that
  534. relates the key and values.
  535. properties:
  536. key:
  537. description: key is the label key that the selector
  538. applies to.
  539. type: string
  540. operator:
  541. description: operator represents a key's relationship
  542. to a set of values. Valid operators are In,
  543. NotIn, Exists and DoesNotExist.
  544. type: string
  545. values:
  546. description: values is an array of string values.
  547. If the operator is In or NotIn, the values
  548. array must be non-empty. If the operator is
  549. Exists or DoesNotExist, the values array must
  550. be empty. This array is replaced during a
  551. strategic merge patch.
  552. items:
  553. type: string
  554. type: array
  555. required:
  556. - key
  557. - operator
  558. type: array
  559. matchLabels:
  560. description: matchLabels is a map of {key,value} pairs.
  561. A single {key,value} in the matchLabels map is equivalent
  562. to an element of matchExpressions, whose key field
  563. is "key", the operator is "In", and the values array
  564. contains only "value". The requirements are ANDed.
  565. type: object
  566. namespaces:
  567. description: namespaces specifies which namespaces the
  568. labelSelector applies to (matches against); null or
  569. empty list means "this pod's namespace"
  570. items:
  571. type: string
  572. type: array
  573. topologyKey:
  574. description: This pod should be co-located (affinity)
  575. or not co-located (anti-affinity) with the pods matching
  576. the labelSelector in the specified namespaces, where
  577. co-located is defined as running on a node whose value
  578. of the label with key topologyKey matches that of any
  579. node on which any of the selected pods is running. Empty
  580. topologyKey is not allowed.
  581. type: string
  582. required:
  583. - topologyKey
  584. type: array
  585. baseImage:
  586. description: Base image that is used to deploy pods, without tag.
  587. type: string
  588. containers:
  589. description: Containers allows injecting additional containers. This
  590. is meant to allow adding an authentication proxy to an Alertmanager
  591. pod.
  592. items:
  593. description: A single application container that you want to run within
  594. a pod.
  595. properties:
  596. args:
  597. description: 'Arguments to the entrypoint. The docker image''s
  598. CMD is used if this is not provided. Variable references $(VAR_NAME)
  599. are expanded using the container''s environment. If a variable
  600. cannot be resolved, the reference in the input string will be
  601. unchanged. The $(VAR_NAME) syntax can be escaped with a double
  602. $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
  603. regardless of whether the variable exists or not. Cannot be
  604. updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
  605. items:
  606. type: string
  607. type: array
  608. command:
  609. description: 'Entrypoint array. Not executed within a shell. The
  610. docker image''s ENTRYPOINT is used if this is not provided.
  611. Variable references $(VAR_NAME) are expanded using the container''s
  612. environment. If a variable cannot be resolved, the reference
  613. in the input string will be unchanged. The $(VAR_NAME) syntax
  614. can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
  615. will never be expanded, regardless of whether the variable exists
  616. 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'
  617. items:
  618. type: string
  619. type: array
  620. env:
  621. description: List of environment variables to set in the container.
  622. Cannot be updated.
  623. items:
  624. description: EnvVar represents an environment variable present
  625. in a Container.
  626. properties:
  627. name:
  628. description: Name of the environment variable. Must be a
  629. C_IDENTIFIER.
  630. type: string
  631. value:
  632. description: 'Variable references $(VAR_NAME) are expanded
  633. using the previous defined environment variables in the
  634. container and any service environment variables. If a
  635. variable cannot be resolved, the reference in the input
  636. string will be unchanged. The $(VAR_NAME) syntax can be
  637. escaped with a double $$, ie: $$(VAR_NAME). Escaped references
  638. will never be expanded, regardless of whether the variable
  639. exists or not. Defaults to "".'
  640. type: string
  641. valueFrom:
  642. description: EnvVarSource represents a source for the value
  643. of an EnvVar.
  644. properties:
  645. configMapKeyRef:
  646. description: Selects a key from a ConfigMap.
  647. properties:
  648. key:
  649. description: The key to select.
  650. type: string
  651. name:
  652. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  653. type: string
  654. optional:
  655. description: Specify whether the ConfigMap or it's
  656. key must be defined
  657. type: boolean
  658. required:
  659. - key
  660. fieldRef:
  661. description: ObjectFieldSelector selects an APIVersioned
  662. field of an object.
  663. properties:
  664. apiVersion:
  665. description: Version of the schema the FieldPath
  666. is written in terms of, defaults to "v1".
  667. type: string
  668. fieldPath:
  669. description: Path of the field to select in the
  670. specified API version.
  671. type: string
  672. required:
  673. - fieldPath
  674. resourceFieldRef:
  675. description: ResourceFieldSelector represents container
  676. resources (cpu, memory) and their output format
  677. properties:
  678. containerName:
  679. description: 'Container name: required for volumes,
  680. optional for env vars'
  681. type: string
  682. divisor: {}
  683. resource:
  684. description: 'Required: resource to select'
  685. type: string
  686. required:
  687. - resource
  688. secretKeyRef:
  689. description: SecretKeySelector selects a key of a Secret.
  690. properties:
  691. key:
  692. description: The key of the secret to select from. Must
  693. be a valid secret key.
  694. type: string
  695. name:
  696. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  697. type: string
  698. optional:
  699. description: Specify whether the Secret or it's
  700. key must be defined
  701. type: boolean
  702. required:
  703. - key
  704. required:
  705. - name
  706. type: array
  707. envFrom:
  708. description: List of sources to populate environment variables
  709. in the container. The keys defined within a source must be a
  710. C_IDENTIFIER. All invalid keys will be reported as an event
  711. when the container is starting. When a key exists in multiple
  712. sources, the value associated with the last source will take
  713. precedence. Values defined by an Env with a duplicate key will
  714. take precedence. Cannot be updated.
  715. items:
  716. description: EnvFromSource represents the source of a set of
  717. ConfigMaps
  718. properties:
  719. configMapRef:
  720. description: |-
  721. ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
  722. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
  723. properties:
  724. name:
  725. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  726. type: string
  727. optional:
  728. description: Specify whether the ConfigMap must be defined
  729. type: boolean
  730. prefix:
  731. description: An optional identifier to prepend to each key
  732. in the ConfigMap. Must be a C_IDENTIFIER.
  733. type: string
  734. secretRef:
  735. description: |-
  736. SecretEnvSource selects a Secret to populate the environment variables with.
  737. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
  738. properties:
  739. name:
  740. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  741. type: string
  742. optional:
  743. description: Specify whether the Secret must be defined
  744. type: boolean
  745. type: array
  746. image:
  747. description: 'Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
  748. This field is optional to allow higher level config management
  749. to default or override container images in workload controllers
  750. like Deployments and StatefulSets.'
  751. type: string
  752. imagePullPolicy:
  753. description: 'Image pull policy. One of Always, Never, IfNotPresent.
  754. Defaults to Always if :latest tag is specified, or IfNotPresent
  755. otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images'
  756. type: string
  757. lifecycle:
  758. description: Lifecycle describes actions that the management system
  759. should take in response to container lifecycle events. For the
  760. PostStart and PreStop lifecycle handlers, management of the
  761. container blocks until the action is complete, unless the container
  762. process fails, in which case the handler is aborted.
  763. properties:
  764. postStart:
  765. description: Handler defines a specific action that should
  766. be taken
  767. properties:
  768. exec:
  769. description: ExecAction describes a "run in container"
  770. action.
  771. properties:
  772. command:
  773. description: Command is the command line to execute
  774. inside the container, the working directory for
  775. the command is root ('/') in the container's filesystem.
  776. The command is simply exec'd, it is not run inside
  777. a shell, so traditional shell instructions ('|',
  778. etc) won't work. To use a shell, you need to explicitly
  779. call out to that shell. Exit status of 0 is treated
  780. as live/healthy and non-zero is unhealthy.
  781. items:
  782. type: string
  783. type: array
  784. httpGet:
  785. description: HTTPGetAction describes an action based on
  786. HTTP Get requests.
  787. properties:
  788. host:
  789. description: Host name to connect to, defaults to
  790. the pod IP. You probably want to set "Host" in httpHeaders
  791. instead.
  792. type: string
  793. httpHeaders:
  794. description: Custom headers to set in the request.
  795. HTTP allows repeated headers.
  796. items:
  797. description: HTTPHeader describes a custom header
  798. to be used in HTTP probes
  799. properties:
  800. name:
  801. description: The header field name
  802. type: string
  803. value:
  804. description: The header field value
  805. type: string
  806. required:
  807. - name
  808. - value
  809. type: array
  810. path:
  811. description: Path to access on the HTTP server.
  812. type: string
  813. port:
  814. anyOf:
  815. - type: string
  816. - type: integer
  817. scheme:
  818. description: Scheme to use for connecting to the host.
  819. Defaults to HTTP.
  820. type: string
  821. required:
  822. - port
  823. tcpSocket:
  824. description: TCPSocketAction describes an action based
  825. on opening a socket
  826. properties:
  827. host:
  828. description: 'Optional: Host name to connect to, defaults
  829. to the pod IP.'
  830. type: string
  831. port:
  832. anyOf:
  833. - type: string
  834. - type: integer
  835. required:
  836. - port
  837. preStop:
  838. description: Handler defines a specific action that should
  839. be taken
  840. properties:
  841. exec:
  842. description: ExecAction describes a "run in container"
  843. action.
  844. properties:
  845. command:
  846. description: Command is the command line to execute
  847. inside the container, the working directory for
  848. the command is root ('/') in the container's filesystem.
  849. The command is simply exec'd, it is not run inside
  850. a shell, so traditional shell instructions ('|',
  851. etc) won't work. To use a shell, you need to explicitly
  852. call out to that shell. Exit status of 0 is treated
  853. as live/healthy and non-zero is unhealthy.
  854. items:
  855. type: string
  856. type: array
  857. httpGet:
  858. description: HTTPGetAction describes an action based on
  859. HTTP Get requests.
  860. properties:
  861. host:
  862. description: Host name to connect to, defaults to
  863. the pod IP. You probably want to set "Host" in httpHeaders
  864. instead.
  865. type: string
  866. httpHeaders:
  867. description: Custom headers to set in the request.
  868. HTTP allows repeated headers.
  869. items:
  870. description: HTTPHeader describes a custom header
  871. to be used in HTTP probes
  872. properties:
  873. name:
  874. description: The header field name
  875. type: string
  876. value:
  877. description: The header field value
  878. type: string
  879. required:
  880. - name
  881. - value
  882. type: array
  883. path:
  884. description: Path to access on the HTTP server.
  885. type: string
  886. port:
  887. anyOf:
  888. - type: string
  889. - type: integer
  890. scheme:
  891. description: Scheme to use for connecting to the host.
  892. Defaults to HTTP.
  893. type: string
  894. required:
  895. - port
  896. tcpSocket:
  897. description: TCPSocketAction describes an action based
  898. on opening a socket
  899. properties:
  900. host:
  901. description: 'Optional: Host name to connect to, defaults
  902. to the pod IP.'
  903. type: string
  904. port:
  905. anyOf:
  906. - type: string
  907. - type: integer
  908. required:
  909. - port
  910. livenessProbe:
  911. description: Probe describes a health check to be performed against
  912. a container to determine whether it is alive or ready to receive
  913. traffic.
  914. properties:
  915. exec:
  916. description: ExecAction describes a "run in container" action.
  917. properties:
  918. command:
  919. description: Command is the command line to execute inside
  920. the container, the working directory for the command is
  921. root ('/') in the container's filesystem. The command
  922. is simply exec'd, it is not run inside a shell, so traditional
  923. shell instructions ('|', etc) won't work. To use a shell,
  924. you need to explicitly call out to that shell. Exit
  925. status of 0 is treated as live/healthy and non-zero
  926. is unhealthy.
  927. items:
  928. type: string
  929. type: array
  930. failureThreshold:
  931. description: Minimum consecutive failures for the probe to
  932. be considered failed after having succeeded. Defaults to
  933. 3. Minimum value is 1.
  934. format: int32
  935. type: integer
  936. httpGet:
  937. description: HTTPGetAction describes an action based on HTTP
  938. Get requests.
  939. properties:
  940. host:
  941. description: Host name to connect to, defaults to the
  942. pod IP. You probably want to set "Host" in httpHeaders
  943. instead.
  944. type: string
  945. httpHeaders:
  946. description: Custom headers to set in the request. HTTP
  947. allows repeated headers.
  948. items:
  949. description: HTTPHeader describes a custom header to
  950. be used in HTTP probes
  951. properties:
  952. name:
  953. description: The header field name
  954. type: string
  955. value:
  956. description: The header field value
  957. type: string
  958. required:
  959. - name
  960. - value
  961. type: array
  962. path:
  963. description: Path to access on the HTTP server.
  964. type: string
  965. port:
  966. anyOf:
  967. - type: string
  968. - type: integer
  969. scheme:
  970. description: Scheme to use for connecting to the host.
  971. Defaults to HTTP.
  972. type: string
  973. required:
  974. - port
  975. initialDelaySeconds:
  976. description: 'Number of seconds after the container has started
  977. before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  978. format: int32
  979. type: integer
  980. periodSeconds:
  981. description: How often (in seconds) to perform the probe.
  982. Default to 10 seconds. Minimum value is 1.
  983. format: int32
  984. type: integer
  985. successThreshold:
  986. description: Minimum consecutive successes for the probe to
  987. be considered successful after having failed. Defaults to
  988. 1. Must be 1 for liveness. Minimum value is 1.
  989. format: int32
  990. type: integer
  991. tcpSocket:
  992. description: TCPSocketAction describes an action based on
  993. opening a socket
  994. properties:
  995. host:
  996. description: 'Optional: Host name to connect to, defaults
  997. to the pod IP.'
  998. type: string
  999. port:
  1000. anyOf:
  1001. - type: string
  1002. - type: integer
  1003. required:
  1004. - port
  1005. timeoutSeconds:
  1006. description: 'Number of seconds after which the probe times
  1007. out. Defaults to 1 second. Minimum value is 1. More info:
  1008. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1009. format: int32
  1010. type: integer
  1011. name:
  1012. description: Name of the container specified as a DNS_LABEL. Each
  1013. container in a pod must have a unique name (DNS_LABEL). Cannot
  1014. be updated.
  1015. type: string
  1016. ports:
  1017. description: List of ports to expose from the container. Exposing
  1018. a port here gives the system additional information about the
  1019. network connections a container uses, but is primarily informational.
  1020. Not specifying a port here DOES NOT prevent that port from being
  1021. exposed. Any port which is listening on the default "0.0.0.0"
  1022. address inside a container will be accessible from the network.
  1023. Cannot be updated.
  1024. items:
  1025. description: ContainerPort represents a network port in a single
  1026. container.
  1027. properties:
  1028. containerPort:
  1029. description: Number of port to expose on the pod's IP address.
  1030. This must be a valid port number, 0 < x < 65536.
  1031. format: int32
  1032. type: integer
  1033. hostIP:
  1034. description: What host IP to bind the external port to.
  1035. type: string
  1036. hostPort:
  1037. description: Number of port to expose on the host. If specified,
  1038. this must be a valid port number, 0 < x < 65536. If HostNetwork
  1039. is specified, this must match ContainerPort. Most containers
  1040. do not need this.
  1041. format: int32
  1042. type: integer
  1043. name:
  1044. description: If specified, this must be an IANA_SVC_NAME
  1045. and unique within the pod. Each named port in a pod must
  1046. have a unique name. Name for the port that can be referred
  1047. to by services.
  1048. type: string
  1049. protocol:
  1050. description: Protocol for port. Must be UDP or TCP. Defaults
  1051. to "TCP".
  1052. type: string
  1053. required:
  1054. - containerPort
  1055. type: array
  1056. readinessProbe:
  1057. description: Probe describes a health check to be performed against
  1058. a container to determine whether it is alive or ready to receive
  1059. traffic.
  1060. properties:
  1061. exec:
  1062. description: ExecAction describes a "run in container" action.
  1063. properties:
  1064. command:
  1065. description: Command is the command line to execute inside
  1066. the container, the working directory for the command is
  1067. root ('/') in the container's filesystem. The command
  1068. is simply exec'd, it is not run inside a shell, so traditional
  1069. shell instructions ('|', etc) won't work. To use a shell,
  1070. you need to explicitly call out to that shell. Exit
  1071. status of 0 is treated as live/healthy and non-zero
  1072. is unhealthy.
  1073. items:
  1074. type: string
  1075. type: array
  1076. failureThreshold:
  1077. description: Minimum consecutive failures for the probe to
  1078. be considered failed after having succeeded. Defaults to
  1079. 3. Minimum value is 1.
  1080. format: int32
  1081. type: integer
  1082. httpGet:
  1083. description: HTTPGetAction describes an action based on HTTP
  1084. Get requests.
  1085. properties:
  1086. host:
  1087. description: Host name to connect to, defaults to the
  1088. pod IP. You probably want to set "Host" in httpHeaders
  1089. instead.
  1090. type: string
  1091. httpHeaders:
  1092. description: Custom headers to set in the request. HTTP
  1093. allows repeated headers.
  1094. items:
  1095. description: HTTPHeader describes a custom header to
  1096. be used in HTTP probes
  1097. properties:
  1098. name:
  1099. description: The header field name
  1100. type: string
  1101. value:
  1102. description: The header field value
  1103. type: string
  1104. required:
  1105. - name
  1106. - value
  1107. type: array
  1108. path:
  1109. description: Path to access on the HTTP server.
  1110. type: string
  1111. port:
  1112. anyOf:
  1113. - type: string
  1114. - type: integer
  1115. scheme:
  1116. description: Scheme to use for connecting to the host.
  1117. Defaults to HTTP.
  1118. type: string
  1119. required:
  1120. - port
  1121. initialDelaySeconds:
  1122. description: 'Number of seconds after the container has started
  1123. before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1124. format: int32
  1125. type: integer
  1126. periodSeconds:
  1127. description: How often (in seconds) to perform the probe.
  1128. Default to 10 seconds. Minimum value is 1.
  1129. format: int32
  1130. type: integer
  1131. successThreshold:
  1132. description: Minimum consecutive successes for the probe to
  1133. be considered successful after having failed. Defaults to
  1134. 1. Must be 1 for liveness. Minimum value is 1.
  1135. format: int32
  1136. type: integer
  1137. tcpSocket:
  1138. description: TCPSocketAction describes an action based on
  1139. opening a socket
  1140. properties:
  1141. host:
  1142. description: 'Optional: Host name to connect to, defaults
  1143. to the pod IP.'
  1144. type: string
  1145. port:
  1146. anyOf:
  1147. - type: string
  1148. - type: integer
  1149. required:
  1150. - port
  1151. timeoutSeconds:
  1152. description: 'Number of seconds after which the probe times
  1153. out. Defaults to 1 second. Minimum value is 1. More info:
  1154. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1155. format: int32
  1156. type: integer
  1157. resources:
  1158. description: ResourceRequirements describes the compute resource
  1159. requirements.
  1160. properties:
  1161. limits:
  1162. description: 'Limits describes the maximum amount of compute
  1163. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1164. type: object
  1165. requests:
  1166. description: 'Requests describes the minimum amount of compute
  1167. resources required. If Requests is omitted for a container,
  1168. it defaults to Limits if that is explicitly specified, otherwise
  1169. to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1170. type: object
  1171. securityContext:
  1172. description: SecurityContext holds security configuration that
  1173. will be applied to a container. Some fields are present in both
  1174. SecurityContext and PodSecurityContext. When both are set,
  1175. the values in SecurityContext take precedence.
  1176. properties:
  1177. allowPrivilegeEscalation:
  1178. description: 'AllowPrivilegeEscalation controls whether a
  1179. process can gain more privileges than its parent process.
  1180. This bool directly controls if the no_new_privs flag will
  1181. be set on the container process. AllowPrivilegeEscalation
  1182. is true always when the container is: 1) run as Privileged
  1183. 2) has CAP_SYS_ADMIN'
  1184. type: boolean
  1185. capabilities:
  1186. description: Adds and removes POSIX capabilities from running
  1187. containers.
  1188. properties:
  1189. add:
  1190. description: Added capabilities
  1191. items:
  1192. type: string
  1193. type: array
  1194. drop:
  1195. description: Removed capabilities
  1196. items:
  1197. type: string
  1198. type: array
  1199. privileged:
  1200. description: Run container in privileged mode. Processes in
  1201. privileged containers are essentially equivalent to root
  1202. on the host. Defaults to false.
  1203. type: boolean
  1204. readOnlyRootFilesystem:
  1205. description: Whether this container has a read-only root filesystem.
  1206. Default is false.
  1207. type: boolean
  1208. runAsGroup:
  1209. description: The GID to run the entrypoint of the container
  1210. process. Uses runtime default if unset. May also be set
  1211. in PodSecurityContext. If set in both SecurityContext and
  1212. PodSecurityContext, the value specified in SecurityContext
  1213. takes precedence.
  1214. format: int64
  1215. type: integer
  1216. runAsNonRoot:
  1217. description: Indicates that the container must run as a non-root
  1218. user. If true, the Kubelet will validate the image at runtime
  1219. to ensure that it does not run as UID 0 (root) and fail
  1220. to start the container if it does. If unset or false, no
  1221. such validation will be performed. May also be set in PodSecurityContext. If
  1222. set in both SecurityContext and PodSecurityContext, the
  1223. value specified in SecurityContext takes precedence.
  1224. type: boolean
  1225. runAsUser:
  1226. description: The UID to run the entrypoint of the container
  1227. process. Defaults to user specified in image metadata if
  1228. unspecified. May also be set in PodSecurityContext. If
  1229. set in both SecurityContext and PodSecurityContext, the
  1230. value specified in SecurityContext takes precedence.
  1231. format: int64
  1232. type: integer
  1233. seLinuxOptions:
  1234. description: SELinuxOptions are the labels to be applied to
  1235. the container
  1236. properties:
  1237. level:
  1238. description: Level is SELinux level label that applies
  1239. to the container.
  1240. type: string
  1241. role:
  1242. description: Role is a SELinux role label that applies
  1243. to the container.
  1244. type: string
  1245. type:
  1246. description: Type is a SELinux type label that applies
  1247. to the container.
  1248. type: string
  1249. user:
  1250. description: User is a SELinux user label that applies
  1251. to the container.
  1252. type: string
  1253. stdin:
  1254. description: Whether this container should allocate a buffer for
  1255. stdin in the container runtime. If this is not set, reads from
  1256. stdin in the container will always result in EOF. Default is
  1257. false.
  1258. type: boolean
  1259. stdinOnce:
  1260. description: Whether the container runtime should close the stdin
  1261. channel after it has been opened by a single attach. When stdin
  1262. is true the stdin stream will remain open across multiple attach
  1263. sessions. If stdinOnce is set to true, stdin is opened on container
  1264. start, is empty until the first client attaches to stdin, and
  1265. then remains open and accepts data until the client disconnects,
  1266. at which time stdin is closed and remains closed until the container
  1267. is restarted. If this flag is false, a container processes that
  1268. reads from stdin will never receive an EOF. Default is false
  1269. type: boolean
  1270. terminationMessagePath:
  1271. description: 'Optional: Path at which the file to which the container''s
  1272. termination message will be written is mounted into the container''s
  1273. filesystem. Message written is intended to be brief final status,
  1274. such as an assertion failure message. Will be truncated by the
  1275. node if greater than 4096 bytes. The total message length across
  1276. all containers will be limited to 12kb. Defaults to /dev/termination-log.
  1277. Cannot be updated.'
  1278. type: string
  1279. terminationMessagePolicy:
  1280. description: Indicate how the termination message should be populated.
  1281. File will use the contents of terminationMessagePath to populate
  1282. the container status message on both success and failure. FallbackToLogsOnError
  1283. will use the last chunk of container log output if the termination
  1284. message file is empty and the container exited with an error.
  1285. The log output is limited to 2048 bytes or 80 lines, whichever
  1286. is smaller. Defaults to File. Cannot be updated.
  1287. type: string
  1288. tty:
  1289. description: Whether this container should allocate a TTY for
  1290. itself, also requires 'stdin' to be true. Default is false.
  1291. type: boolean
  1292. volumeDevices:
  1293. description: volumeDevices is the list of block devices to be
  1294. used by the container. This is an alpha feature and may change
  1295. in the future.
  1296. items:
  1297. description: volumeDevice describes a mapping of a raw block
  1298. device within a container.
  1299. properties:
  1300. devicePath:
  1301. description: devicePath is the path inside of the container
  1302. that the device will be mapped to.
  1303. type: string
  1304. name:
  1305. description: name must match the name of a persistentVolumeClaim
  1306. in the pod
  1307. type: string
  1308. required:
  1309. - name
  1310. - devicePath
  1311. type: array
  1312. volumeMounts:
  1313. description: Pod volumes to mount into the container's filesystem.
  1314. Cannot be updated.
  1315. items:
  1316. description: VolumeMount describes a mounting of a Volume within
  1317. a container.
  1318. properties:
  1319. mountPath:
  1320. description: Path within the container at which the volume
  1321. should be mounted. Must not contain ':'.
  1322. type: string
  1323. mountPropagation:
  1324. description: mountPropagation determines how mounts are
  1325. propagated from the host to container and the other way
  1326. around. When not set, MountPropagationHostToContainer
  1327. is used. This field is beta in 1.10.
  1328. type: string
  1329. name:
  1330. description: This must match the Name of a Volume.
  1331. type: string
  1332. readOnly:
  1333. description: Mounted read-only if true, read-write otherwise
  1334. (false or unspecified). Defaults to false.
  1335. type: boolean
  1336. subPath:
  1337. description: Path within the volume from which the container's
  1338. volume should be mounted. Defaults to "" (volume's root).
  1339. type: string
  1340. required:
  1341. - name
  1342. - mountPath
  1343. type: array
  1344. workingDir:
  1345. description: Container's working directory. If not specified,
  1346. the container runtime's default will be used, which might be
  1347. configured in the container image. Cannot be updated.
  1348. type: string
  1349. required:
  1350. - name
  1351. type: array
  1352. externalUrl:
  1353. description: The external URL the Alertmanager instances will be available
  1354. under. This is necessary to generate correct URLs. This is necessary
  1355. if Alertmanager is not served from root of a DNS name.
  1356. type: string
  1357. imagePullSecrets:
  1358. description: An optional list of references to secrets in the same namespace
  1359. to use for pulling prometheus and alertmanager images from registries
  1360. see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
  1361. items:
  1362. description: LocalObjectReference contains enough information to let
  1363. you locate the referenced object inside the same namespace.
  1364. properties:
  1365. name:
  1366. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1367. type: string
  1368. type: array
  1369. listenLocal:
  1370. description: ListenLocal makes the Alertmanager server listen on loopback,
  1371. so that it does not bind against the Pod IP. Note this is only for
  1372. the Alertmanager UI, not the gossip communication.
  1373. type: boolean
  1374. logLevel:
  1375. description: Log level for Alertmanager to be configured with.
  1376. type: string
  1377. nodeSelector:
  1378. description: Define which Nodes the Pods are scheduled on.
  1379. type: object
  1380. paused:
  1381. description: If set to true all actions on the underlaying managed objects
  1382. are not goint to be performed, except for delete actions.
  1383. type: boolean
  1384. podMetadata:
  1385. description: ObjectMeta is metadata that all persisted resources must
  1386. have, which includes all objects users must create.
  1387. properties:
  1388. annotations:
  1389. description: 'Annotations is an unstructured key value map stored
  1390. with a resource that may be set by external tools to store and
  1391. retrieve arbitrary metadata. They are not queryable and should
  1392. be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
  1393. type: object
  1394. clusterName:
  1395. description: The name of the cluster which the object belongs to.
  1396. This is used to distinguish resources with same name and namespace
  1397. in different clusters. This field is not set anywhere right now
  1398. and apiserver is going to ignore it if set in create or update
  1399. request.
  1400. type: string
  1401. creationTimestamp:
  1402. description: Time is a wrapper around time.Time which supports correct
  1403. marshaling to YAML and JSON. Wrappers are provided for many of
  1404. the factory methods that the time package offers.
  1405. format: date-time
  1406. type: string
  1407. deletionGracePeriodSeconds:
  1408. description: Number of seconds allowed for this object to gracefully
  1409. terminate before it will be removed from the system. Only set
  1410. when deletionTimestamp is also set. May only be shortened. Read-only.
  1411. format: int64
  1412. type: integer
  1413. deletionTimestamp:
  1414. description: Time is a wrapper around time.Time which supports correct
  1415. marshaling to YAML and JSON. Wrappers are provided for many of
  1416. the factory methods that the time package offers.
  1417. format: date-time
  1418. type: string
  1419. finalizers:
  1420. description: Must be empty before the object is deleted from the
  1421. registry. Each entry is an identifier for the responsible component
  1422. that will remove the entry from the list. If the deletionTimestamp
  1423. of the object is non-nil, entries in this list can only be removed.
  1424. items:
  1425. type: string
  1426. type: array
  1427. generateName:
  1428. description: |-
  1429. 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.
  1430. 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).
  1431. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  1432. type: string
  1433. generation:
  1434. description: A sequence number representing a specific generation
  1435. of the desired state. Populated by the system. Read-only.
  1436. format: int64
  1437. type: integer
  1438. initializers:
  1439. description: Initializers tracks the progress of initialization.
  1440. properties:
  1441. pending:
  1442. description: Pending is a list of initializers that must execute
  1443. in order before this object is visible. When the last pending
  1444. initializer is removed, and no failing result is set, the
  1445. initializers struct will be set to nil and the object is considered
  1446. as initialized and visible to all clients.
  1447. items:
  1448. description: Initializer is information about an initializer
  1449. that has not yet completed.
  1450. properties:
  1451. name:
  1452. description: name of the process that is responsible for
  1453. initializing this object.
  1454. type: string
  1455. required:
  1456. - name
  1457. type: array
  1458. result:
  1459. description: Status is a return value for calls that don't return
  1460. other objects.
  1461. properties:
  1462. apiVersion:
  1463. description: 'APIVersion defines the versioned schema of
  1464. this representation of an object. Servers should convert
  1465. recognized schemas to the latest internal value, and may
  1466. reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  1467. type: string
  1468. code:
  1469. description: Suggested HTTP return code for this status,
  1470. 0 if not set.
  1471. format: int32
  1472. type: integer
  1473. details:
  1474. description: StatusDetails is a set of additional properties
  1475. that MAY be set by the server to provide additional information
  1476. about a response. The Reason field of a Status object
  1477. defines what attributes will be set. Clients must ignore
  1478. fields that do not match the defined type of each attribute,
  1479. and should assume that any attribute may be empty, invalid,
  1480. or under defined.
  1481. properties:
  1482. causes:
  1483. description: The Causes array includes more details
  1484. associated with the StatusReason failure. Not all
  1485. StatusReasons may provide detailed causes.
  1486. items:
  1487. description: StatusCause provides more information
  1488. about an api.Status failure, including cases when
  1489. multiple errors are encountered.
  1490. properties:
  1491. field:
  1492. description: |-
  1493. 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.
  1494. Examples:
  1495. "name" - the field "name" on the current resource
  1496. "items[0].name" - the field "name" on the first array entry in "items"
  1497. type: string
  1498. message:
  1499. description: A human-readable description of the
  1500. cause of the error. This field may be presented
  1501. as-is to a reader.
  1502. type: string
  1503. reason:
  1504. description: A machine-readable description of
  1505. the cause of the error. If this value is empty
  1506. there is no information available.
  1507. type: string
  1508. type: array
  1509. group:
  1510. description: The group attribute of the resource associated
  1511. with the status StatusReason.
  1512. type: string
  1513. kind:
  1514. description: 'The kind attribute of the resource associated
  1515. with the status StatusReason. On some operations may
  1516. differ from the requested resource Kind. More info:
  1517. https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1518. type: string
  1519. name:
  1520. description: The name attribute of the resource associated
  1521. with the status StatusReason (when there is a single
  1522. name which can be described).
  1523. type: string
  1524. retryAfterSeconds:
  1525. description: If specified, the time in seconds before
  1526. the operation should be retried. Some errors may indicate
  1527. the client must take an alternate action - for those
  1528. errors this field may indicate how long to wait before
  1529. taking the alternate action.
  1530. format: int32
  1531. type: integer
  1532. uid:
  1533. description: 'UID of the resource. (when there is a
  1534. single resource which can be described). More info:
  1535. http://kubernetes.io/docs/user-guide/identifiers#uids'
  1536. type: string
  1537. kind:
  1538. description: 'Kind is a string value representing the REST
  1539. resource this object represents. Servers may infer this
  1540. from the endpoint the client submits requests to. Cannot
  1541. be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1542. type: string
  1543. message:
  1544. description: A human-readable description of the status
  1545. of this operation.
  1546. type: string
  1547. metadata:
  1548. description: ListMeta describes metadata that synthetic
  1549. resources must have, including lists and various status
  1550. objects. A resource may have only one of {ObjectMeta,
  1551. ListMeta}.
  1552. properties:
  1553. continue:
  1554. description: continue may be set if the user set a limit
  1555. on the number of items returned, and indicates that
  1556. the server has more data available. The value is opaque
  1557. and may be used to issue another request to the endpoint
  1558. that served this list to retrieve the next set of
  1559. available objects. Continuing a list may not be possible
  1560. if the server configuration has changed or more than
  1561. a few minutes have passed. The resourceVersion field
  1562. returned when using this continue value will be identical
  1563. to the value in the first response.
  1564. type: string
  1565. resourceVersion:
  1566. description: 'String that identifies the server''s internal
  1567. version of this object that can be used by clients
  1568. to determine when objects have changed. Value must
  1569. be treated as opaque by clients and passed unmodified
  1570. back to the server. Populated by the system. Read-only.
  1571. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  1572. type: string
  1573. selfLink:
  1574. description: selfLink is a URL representing this object.
  1575. Populated by the system. Read-only.
  1576. type: string
  1577. reason:
  1578. description: A machine-readable description of why this
  1579. operation is in the "Failure" status. If this value is
  1580. empty there is no information available. A Reason clarifies
  1581. an HTTP status code but does not override it.
  1582. type: string
  1583. status:
  1584. description: 'Status of the operation. One of: "Success"
  1585. or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  1586. type: string
  1587. required:
  1588. - pending
  1589. labels:
  1590. description: 'Map of string keys and values that can be used to
  1591. organize and categorize (scope and select) objects. May match
  1592. selectors of replication controllers and services. More info:
  1593. http://kubernetes.io/docs/user-guide/labels'
  1594. type: object
  1595. name:
  1596. description: 'Name must be unique within a namespace. Is required
  1597. when creating resources, although some resources may allow a client
  1598. to request the generation of an appropriate name automatically.
  1599. Name is primarily intended for creation idempotence and configuration
  1600. definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  1601. type: string
  1602. namespace:
  1603. description: |-
  1604. 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.
  1605. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  1606. type: string
  1607. ownerReferences:
  1608. description: List of objects depended by this object. If ALL objects
  1609. in the list have been deleted, this object will be garbage collected.
  1610. If this object is managed by a controller, then an entry in this
  1611. list will point to this controller, with the controller field
  1612. set to true. There cannot be more than one managing controller.
  1613. items:
  1614. description: OwnerReference contains enough information to let
  1615. you identify an owning object. Currently, an owning object must
  1616. be in the same namespace, so there is no namespace field.
  1617. properties:
  1618. apiVersion:
  1619. description: API version of the referent.
  1620. type: string
  1621. blockOwnerDeletion:
  1622. description: If true, AND if the owner has the "foregroundDeletion"
  1623. finalizer, then the owner cannot be deleted from the key-value
  1624. store until this reference is removed. Defaults to false.
  1625. To set this field, a user needs "delete" permission of the
  1626. owner, otherwise 422 (Unprocessable Entity) will be returned.
  1627. type: boolean
  1628. controller:
  1629. description: If true, this reference points to the managing
  1630. controller.
  1631. type: boolean
  1632. kind:
  1633. description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1634. type: string
  1635. name:
  1636. description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  1637. type: string
  1638. uid:
  1639. description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  1640. type: string
  1641. required:
  1642. - apiVersion
  1643. - kind
  1644. - name
  1645. - uid
  1646. type: array
  1647. resourceVersion:
  1648. description: |-
  1649. 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.
  1650. 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
  1651. type: string
  1652. selfLink:
  1653. description: SelfLink is a URL representing this object. Populated
  1654. by the system. Read-only.
  1655. type: string
  1656. uid:
  1657. description: |-
  1658. 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.
  1659. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  1660. type: string
  1661. replicas:
  1662. description: Size is the expected size of the alertmanager cluster.
  1663. The controller will eventually make the size of the running cluster
  1664. equal to the expected size.
  1665. format: int32
  1666. type: integer
  1667. resources:
  1668. description: ResourceRequirements describes the compute resource requirements.
  1669. properties:
  1670. limits:
  1671. description: 'Limits describes the maximum amount of compute resources
  1672. allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1673. type: object
  1674. requests:
  1675. description: 'Requests describes the minimum amount of compute resources
  1676. required. If Requests is omitted for a container, it defaults
  1677. to Limits if that is explicitly specified, otherwise to an implementation-defined
  1678. value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1679. type: object
  1680. routePrefix:
  1681. description: The route prefix Alertmanager registers HTTP handlers for.
  1682. This is useful, if using ExternalURL and a proxy is rewriting HTTP
  1683. routes of a request, and the actual ExternalURL is still true, but
  1684. the server serves requests under a different route prefix. For example
  1685. for use with `kubectl proxy`.
  1686. type: string
  1687. secrets:
  1688. description: Secrets is a list of Secrets in the same namespace as the
  1689. Alertmanager object, which shall be mounted into the Alertmanager
  1690. Pods. The Secrets are mounted into /etc/alertmanager/secrets/<secret-name>.
  1691. items:
  1692. type: string
  1693. type: array
  1694. securityContext:
  1695. description: PodSecurityContext holds pod-level security attributes
  1696. and common container settings. Some fields are also present in container.securityContext. Field
  1697. values of container.securityContext take precedence over field values
  1698. of PodSecurityContext.
  1699. properties:
  1700. fsGroup:
  1701. description: |-
  1702. 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:
  1703. 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----
  1704. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  1705. format: int64
  1706. type: integer
  1707. runAsGroup:
  1708. description: The GID to run the entrypoint of the container process.
  1709. Uses runtime default if unset. May also be set in SecurityContext. If
  1710. set in both SecurityContext and PodSecurityContext, the value
  1711. specified in SecurityContext takes precedence for that container.
  1712. format: int64
  1713. type: integer
  1714. runAsNonRoot:
  1715. description: Indicates that the container must run as a non-root
  1716. user. If true, the Kubelet will validate the image at runtime
  1717. to ensure that it does not run as UID 0 (root) and fail to start
  1718. the container if it does. If unset or false, no such validation
  1719. will be performed. May also be set in SecurityContext. If set
  1720. in both SecurityContext and PodSecurityContext, the value specified
  1721. in SecurityContext takes precedence.
  1722. type: boolean
  1723. runAsUser:
  1724. description: The UID to run the entrypoint of the container process.
  1725. Defaults to user specified in image metadata if unspecified. May
  1726. also be set in SecurityContext. If set in both SecurityContext
  1727. and PodSecurityContext, the value specified in SecurityContext
  1728. takes precedence for that container.
  1729. format: int64
  1730. type: integer
  1731. seLinuxOptions:
  1732. description: SELinuxOptions are the labels to be applied to the
  1733. container
  1734. properties:
  1735. level:
  1736. description: Level is SELinux level label that applies to the
  1737. container.
  1738. type: string
  1739. role:
  1740. description: Role is a SELinux role label that applies to the
  1741. container.
  1742. type: string
  1743. type:
  1744. description: Type is a SELinux type label that applies to the
  1745. container.
  1746. type: string
  1747. user:
  1748. description: User is a SELinux user label that applies to the
  1749. container.
  1750. type: string
  1751. supplementalGroups:
  1752. description: A list of groups applied to the first process run in
  1753. each container, in addition to the container's primary GID. If
  1754. unspecified, no groups will be added to any container.
  1755. items:
  1756. format: int64
  1757. type: integer
  1758. type: array
  1759. sysctls:
  1760. description: Sysctls hold a list of namespaced sysctls used for
  1761. the pod. Pods with unsupported sysctls (by the container runtime)
  1762. might fail to launch.
  1763. items:
  1764. description: Sysctl defines a kernel parameter to be set
  1765. properties:
  1766. name:
  1767. description: Name of a property to set
  1768. type: string
  1769. value:
  1770. description: Value of a property to set
  1771. type: string
  1772. required:
  1773. - name
  1774. - value
  1775. type: array
  1776. serviceAccountName:
  1777. description: ServiceAccountName is the name of the ServiceAccount to
  1778. use to run the Prometheus Pods.
  1779. type: string
  1780. storage:
  1781. description: StorageSpec defines the configured storage for a group
  1782. Prometheus servers.
  1783. properties:
  1784. class:
  1785. description: 'Name of the StorageClass to use when requesting storage
  1786. provisioning. More info: https://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses
  1787. DEPRECATED'
  1788. type: string
  1789. emptyDir:
  1790. description: Represents an empty directory for a pod. Empty directory
  1791. volumes support ownership management and SELinux relabeling.
  1792. properties:
  1793. medium:
  1794. description: 'What type of storage medium should back this directory.
  1795. The default is "" which means to use the node''s default medium.
  1796. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
  1797. type: string
  1798. sizeLimit: {}
  1799. resources:
  1800. description: ResourceRequirements describes the compute resource
  1801. requirements.
  1802. properties:
  1803. limits:
  1804. description: 'Limits describes the maximum amount of compute
  1805. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1806. type: object
  1807. requests:
  1808. description: 'Requests describes the minimum amount of compute
  1809. resources required. If Requests is omitted for a container,
  1810. it defaults to Limits if that is explicitly specified, otherwise
  1811. to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1812. type: object
  1813. selector:
  1814. description: A label selector is a label query over a set of resources.
  1815. The result of matchLabels and matchExpressions are ANDed. An empty
  1816. label selector matches all objects. A null label selector matches
  1817. no objects.
  1818. properties:
  1819. matchExpressions:
  1820. description: matchExpressions is a list of label selector requirements.
  1821. The requirements are ANDed.
  1822. items:
  1823. description: A label selector requirement is a selector that
  1824. contains values, a key, and an operator that relates the
  1825. key and values.
  1826. properties:
  1827. key:
  1828. description: key is the label key that the selector applies
  1829. to.
  1830. type: string
  1831. operator:
  1832. description: operator represents a key's relationship
  1833. to a set of values. Valid operators are In, NotIn, Exists
  1834. and DoesNotExist.
  1835. type: string
  1836. values:
  1837. description: values is an array of string values. If the
  1838. operator is In or NotIn, the values array must be non-empty.
  1839. If the operator is Exists or DoesNotExist, the values
  1840. array must be empty. This array is replaced during a
  1841. strategic merge patch.
  1842. items:
  1843. type: string
  1844. type: array
  1845. required:
  1846. - key
  1847. - operator
  1848. type: array
  1849. matchLabels:
  1850. description: matchLabels is a map of {key,value} pairs. A single
  1851. {key,value} in the matchLabels map is equivalent to an element
  1852. of matchExpressions, whose key field is "key", the operator
  1853. is "In", and the values array contains only "value". The requirements
  1854. are ANDed.
  1855. type: object
  1856. volumeClaimTemplate:
  1857. description: PersistentVolumeClaim is a user's request for and claim
  1858. to a persistent volume
  1859. properties:
  1860. apiVersion:
  1861. description: 'APIVersion defines the versioned schema of this
  1862. representation of an object. Servers should convert recognized
  1863. schemas to the latest internal value, and may reject unrecognized
  1864. values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  1865. type: string
  1866. kind:
  1867. description: 'Kind is a string value representing the REST resource
  1868. this object represents. Servers may infer this from the endpoint
  1869. the client submits requests to. Cannot be updated. In CamelCase.
  1870. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1871. type: string
  1872. metadata:
  1873. description: ObjectMeta is metadata that all persisted resources
  1874. must have, which includes all objects users must create.
  1875. properties:
  1876. annotations:
  1877. description: 'Annotations is an unstructured key value map
  1878. stored with a resource that may be set by external tools
  1879. to store and retrieve arbitrary metadata. They are not
  1880. queryable and should be preserved when modifying objects.
  1881. More info: http://kubernetes.io/docs/user-guide/annotations'
  1882. type: object
  1883. clusterName:
  1884. description: The name of the cluster which the object belongs
  1885. to. This is used to distinguish resources with same name
  1886. and namespace in different clusters. This field is not
  1887. set anywhere right now and apiserver is going to ignore
  1888. it if set in create or update request.
  1889. type: string
  1890. creationTimestamp:
  1891. description: Time is a wrapper around time.Time which supports
  1892. correct marshaling to YAML and JSON. Wrappers are provided
  1893. for many of the factory methods that the time package
  1894. offers.
  1895. format: date-time
  1896. type: string
  1897. deletionGracePeriodSeconds:
  1898. description: Number of seconds allowed for this object to
  1899. gracefully terminate before it will be removed from the
  1900. system. Only set when deletionTimestamp is also set. May
  1901. only be shortened. Read-only.
  1902. format: int64
  1903. type: integer
  1904. deletionTimestamp:
  1905. description: Time is a wrapper around time.Time which supports
  1906. correct marshaling to YAML and JSON. Wrappers are provided
  1907. for many of the factory methods that the time package
  1908. offers.
  1909. format: date-time
  1910. type: string
  1911. finalizers:
  1912. description: Must be empty before the object is deleted
  1913. from the registry. Each entry is an identifier for the
  1914. responsible component that will remove the entry from
  1915. the list. If the deletionTimestamp of the object is non-nil,
  1916. entries in this list can only be removed.
  1917. items:
  1918. type: string
  1919. type: array
  1920. generateName:
  1921. description: |-
  1922. 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.
  1923. 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).
  1924. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  1925. type: string
  1926. generation:
  1927. description: A sequence number representing a specific generation
  1928. of the desired state. Populated by the system. Read-only.
  1929. format: int64
  1930. type: integer
  1931. initializers:
  1932. description: Initializers tracks the progress of initialization.
  1933. properties:
  1934. pending:
  1935. description: Pending is a list of initializers that
  1936. must execute in order before this object is visible.
  1937. When the last pending initializer is removed, and
  1938. no failing result is set, the initializers struct
  1939. will be set to nil and the object is considered as
  1940. initialized and visible to all clients.
  1941. items:
  1942. description: Initializer is information about an initializer
  1943. that has not yet completed.
  1944. properties:
  1945. name:
  1946. description: name of the process that is responsible
  1947. for initializing this object.
  1948. type: string
  1949. required:
  1950. - name
  1951. type: array
  1952. result:
  1953. description: Status is a return value for calls that
  1954. don't return other objects.
  1955. properties:
  1956. apiVersion:
  1957. description: 'APIVersion defines the versioned schema
  1958. of this representation of an object. Servers should
  1959. convert recognized schemas to the latest internal
  1960. value, and may reject unrecognized values. More
  1961. info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  1962. type: string
  1963. code:
  1964. description: Suggested HTTP return code for this
  1965. status, 0 if not set.
  1966. format: int32
  1967. type: integer
  1968. details:
  1969. description: StatusDetails is a set of additional
  1970. properties that MAY be set by the server to provide
  1971. additional information about a response. The Reason
  1972. field of a Status object defines what attributes
  1973. will be set. Clients must ignore fields that do
  1974. not match the defined type of each attribute,
  1975. and should assume that any attribute may be empty,
  1976. invalid, or under defined.
  1977. properties:
  1978. causes:
  1979. description: The Causes array includes more
  1980. details associated with the StatusReason failure.
  1981. Not all StatusReasons may provide detailed
  1982. causes.
  1983. items:
  1984. description: StatusCause provides more information
  1985. about an api.Status failure, including cases
  1986. when multiple errors are encountered.
  1987. properties:
  1988. field:
  1989. description: |-
  1990. 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.
  1991. Examples:
  1992. "name" - the field "name" on the current resource
  1993. "items[0].name" - the field "name" on the first array entry in "items"
  1994. type: string
  1995. message:
  1996. description: A human-readable description
  1997. of the cause of the error. This field
  1998. may be presented as-is to a reader.
  1999. type: string
  2000. reason:
  2001. description: A machine-readable description
  2002. of the cause of the error. If this value
  2003. is empty there is no information available.
  2004. type: string
  2005. type: array
  2006. group:
  2007. description: The group attribute of the resource
  2008. associated with the status StatusReason.
  2009. type: string
  2010. kind:
  2011. description: 'The kind attribute of the resource
  2012. associated with the status StatusReason. On
  2013. some operations may differ from the requested
  2014. resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2015. type: string
  2016. name:
  2017. description: The name attribute of the resource
  2018. associated with the status StatusReason (when
  2019. there is a single name which can be described).
  2020. type: string
  2021. retryAfterSeconds:
  2022. description: If specified, the time in seconds
  2023. before the operation should be retried. Some
  2024. errors may indicate the client must take an
  2025. alternate action - for those errors this field
  2026. may indicate how long to wait before taking
  2027. the alternate action.
  2028. format: int32
  2029. type: integer
  2030. uid:
  2031. description: 'UID of the resource. (when there
  2032. is a single resource which can be described).
  2033. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  2034. type: string
  2035. kind:
  2036. description: 'Kind is a string value representing
  2037. the REST resource this object represents. Servers
  2038. may infer this from the endpoint the client submits
  2039. requests to. Cannot be updated. In CamelCase.
  2040. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2041. type: string
  2042. message:
  2043. description: A human-readable description of the
  2044. status of this operation.
  2045. type: string
  2046. metadata:
  2047. description: ListMeta describes metadata that synthetic
  2048. resources must have, including lists and various
  2049. status objects. A resource may have only one of
  2050. {ObjectMeta, ListMeta}.
  2051. properties:
  2052. continue:
  2053. description: continue may be set if the user
  2054. set a limit on the number of items returned,
  2055. and indicates that the server has more data
  2056. available. The value is opaque and may be
  2057. used to issue another request to the endpoint
  2058. that served this list to retrieve the next
  2059. set of available objects. Continuing a list
  2060. may not be possible if the server configuration
  2061. has changed or more than a few minutes have
  2062. passed. The resourceVersion field returned
  2063. when using this continue value will be identical
  2064. to the value in the first response.
  2065. type: string
  2066. resourceVersion:
  2067. description: 'String that identifies the server''s
  2068. internal version of this object that can be
  2069. used by clients to determine when objects
  2070. have changed. Value must be treated as opaque
  2071. by clients and passed unmodified back to the
  2072. server. Populated by the system. Read-only.
  2073. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  2074. type: string
  2075. selfLink:
  2076. description: selfLink is a URL representing
  2077. this object. Populated by the system. Read-only.
  2078. type: string
  2079. reason:
  2080. description: A machine-readable description of why
  2081. this operation is in the "Failure" status. If
  2082. this value is empty there is no information available.
  2083. A Reason clarifies an HTTP status code but does
  2084. not override it.
  2085. type: string
  2086. status:
  2087. description: 'Status of the operation. One of: "Success"
  2088. or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  2089. type: string
  2090. required:
  2091. - pending
  2092. labels:
  2093. description: 'Map of string keys and values that can be
  2094. used to organize and categorize (scope and select) objects.
  2095. May match selectors of replication controllers and services.
  2096. More info: http://kubernetes.io/docs/user-guide/labels'
  2097. type: object
  2098. name:
  2099. description: 'Name must be unique within a namespace. Is
  2100. required when creating resources, although some resources
  2101. may allow a client to request the generation of an appropriate
  2102. name automatically. Name is primarily intended for creation
  2103. idempotence and configuration definition. Cannot be updated.
  2104. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  2105. type: string
  2106. namespace:
  2107. description: |-
  2108. 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.
  2109. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  2110. type: string
  2111. ownerReferences:
  2112. description: List of objects depended by this object. If
  2113. ALL objects in the list have been deleted, this object
  2114. will be garbage collected. If this object is managed by
  2115. a controller, then an entry in this list will point to
  2116. this controller, with the controller field set to true.
  2117. There cannot be more than one managing controller.
  2118. items:
  2119. description: OwnerReference contains enough information
  2120. to let you identify an owning object. Currently, an
  2121. owning object must be in the same namespace, so there
  2122. is no namespace field.
  2123. properties:
  2124. apiVersion:
  2125. description: API version of the referent.
  2126. type: string
  2127. blockOwnerDeletion:
  2128. description: If true, AND if the owner has the "foregroundDeletion"
  2129. finalizer, then the owner cannot be deleted from
  2130. the key-value store until this reference is removed.
  2131. Defaults to false. To set this field, a user needs
  2132. "delete" permission of the owner, otherwise 422
  2133. (Unprocessable Entity) will be returned.
  2134. type: boolean
  2135. controller:
  2136. description: If true, this reference points to the
  2137. managing controller.
  2138. type: boolean
  2139. kind:
  2140. description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2141. type: string
  2142. name:
  2143. description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  2144. type: string
  2145. uid:
  2146. description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  2147. type: string
  2148. required:
  2149. - apiVersion
  2150. - kind
  2151. - name
  2152. - uid
  2153. type: array
  2154. resourceVersion:
  2155. description: |-
  2156. 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.
  2157. 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
  2158. type: string
  2159. selfLink:
  2160. description: SelfLink is a URL representing this object.
  2161. Populated by the system. Read-only.
  2162. type: string
  2163. uid:
  2164. description: |-
  2165. 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.
  2166. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  2167. type: string
  2168. spec:
  2169. description: PersistentVolumeClaimSpec describes the common
  2170. attributes of storage devices and allows a Source for provider-specific
  2171. attributes
  2172. properties:
  2173. accessModes:
  2174. description: 'AccessModes contains the desired access modes
  2175. the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  2176. items:
  2177. type: string
  2178. type: array
  2179. resources:
  2180. description: ResourceRequirements describes the compute
  2181. resource requirements.
  2182. properties:
  2183. limits:
  2184. description: 'Limits describes the maximum amount of
  2185. compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2186. type: object
  2187. requests:
  2188. description: 'Requests describes the minimum amount
  2189. of compute resources required. If Requests is omitted
  2190. for a container, it defaults to Limits if that is
  2191. explicitly specified, otherwise to an implementation-defined
  2192. value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2193. type: object
  2194. selector:
  2195. description: A label selector is a label query over a set
  2196. of resources. The result of matchLabels and matchExpressions
  2197. are ANDed. An empty label selector matches all objects.
  2198. A null label selector matches no objects.
  2199. properties:
  2200. matchExpressions:
  2201. description: matchExpressions is a list of label selector
  2202. requirements. The requirements are ANDed.
  2203. items:
  2204. description: A label selector requirement is a selector
  2205. that contains values, a key, and an operator that
  2206. relates the key and values.
  2207. properties:
  2208. key:
  2209. description: key is the label key that the selector
  2210. applies to.
  2211. type: string
  2212. operator:
  2213. description: operator represents a key's relationship
  2214. to a set of values. Valid operators are In,
  2215. NotIn, Exists and DoesNotExist.
  2216. type: string
  2217. values:
  2218. description: values is an array of string values.
  2219. If the operator is In or NotIn, the values array
  2220. must be non-empty. If the operator is Exists
  2221. or DoesNotExist, the values array must be empty.
  2222. This array is replaced during a strategic merge
  2223. patch.
  2224. items:
  2225. type: string
  2226. type: array
  2227. required:
  2228. - key
  2229. - operator
  2230. type: array
  2231. matchLabels:
  2232. description: matchLabels is a map of {key,value} pairs.
  2233. A single {key,value} in the matchLabels map is equivalent
  2234. to an element of matchExpressions, whose key field
  2235. is "key", the operator is "In", and the values array
  2236. contains only "value". The requirements are ANDed.
  2237. type: object
  2238. storageClassName:
  2239. description: 'Name of the StorageClass required by the claim.
  2240. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
  2241. type: string
  2242. volumeMode:
  2243. description: volumeMode defines what type of volume is required
  2244. by the claim. Value of Filesystem is implied when not
  2245. included in claim spec. This is an alpha feature and may
  2246. change in the future.
  2247. type: string
  2248. volumeName:
  2249. description: VolumeName is the binding reference to the
  2250. PersistentVolume backing this claim.
  2251. type: string
  2252. status:
  2253. description: PersistentVolumeClaimStatus is the current status
  2254. of a persistent volume claim.
  2255. properties:
  2256. accessModes:
  2257. description: 'AccessModes contains the actual access modes
  2258. the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  2259. items:
  2260. type: string
  2261. type: array
  2262. capacity:
  2263. description: Represents the actual resources of the underlying
  2264. volume.
  2265. type: object
  2266. conditions:
  2267. description: Current Condition of persistent volume claim.
  2268. If underlying persistent volume is being resized then
  2269. the Condition will be set to 'ResizeStarted'.
  2270. items:
  2271. description: PersistentVolumeClaimCondition contails details
  2272. about state of pvc
  2273. properties:
  2274. lastProbeTime:
  2275. description: Time is a wrapper around time.Time which
  2276. supports correct marshaling to YAML and JSON. Wrappers
  2277. are provided for many of the factory methods that
  2278. the time package offers.
  2279. format: date-time
  2280. type: string
  2281. lastTransitionTime:
  2282. description: Time is a wrapper around time.Time which
  2283. supports correct marshaling to YAML and JSON. Wrappers
  2284. are provided for many of the factory methods that
  2285. the time package offers.
  2286. format: date-time
  2287. type: string
  2288. message:
  2289. description: Human-readable message indicating details
  2290. about last transition.
  2291. type: string
  2292. reason:
  2293. description: Unique, this should be a short, machine
  2294. understandable string that gives the reason for
  2295. condition's last transition. If it reports "ResizeStarted"
  2296. that means the underlying persistent volume is being
  2297. resized.
  2298. type: string
  2299. status:
  2300. type: string
  2301. type:
  2302. type: string
  2303. required:
  2304. - type
  2305. - status
  2306. type: array
  2307. phase:
  2308. description: Phase represents the current phase of PersistentVolumeClaim.
  2309. type: string
  2310. tag:
  2311. description: Tag of Alertmanager container image to be deployed. Defaults
  2312. to the value of `version`.
  2313. type: string
  2314. tolerations:
  2315. description: If specified, the pod's tolerations.
  2316. items:
  2317. description: The pod this Toleration is attached to tolerates any
  2318. taint that matches the triple <key,value,effect> using the matching
  2319. operator <operator>.
  2320. properties:
  2321. effect:
  2322. description: Effect indicates the taint effect to match. Empty
  2323. means match all taint effects. When specified, allowed values
  2324. are NoSchedule, PreferNoSchedule and NoExecute.
  2325. type: string
  2326. key:
  2327. description: Key is the taint key that the toleration applies
  2328. to. Empty means match all taint keys. If the key is empty, operator
  2329. must be Exists; this combination means to match all values and
  2330. all keys.
  2331. type: string
  2332. operator:
  2333. description: Operator represents a key's relationship to the value.
  2334. Valid operators are Exists and Equal. Defaults to Equal. Exists
  2335. is equivalent to wildcard for value, so that a pod can tolerate
  2336. all taints of a particular category.
  2337. type: string
  2338. tolerationSeconds:
  2339. description: TolerationSeconds represents the period of time the
  2340. toleration (which must be of effect NoExecute, otherwise this
  2341. field is ignored) tolerates the taint. By default, it is not
  2342. set, which means tolerate the taint forever (do not evict).
  2343. Zero and negative values will be treated as 0 (evict immediately)
  2344. by the system.
  2345. format: int64
  2346. type: integer
  2347. value:
  2348. description: Value is the taint value the toleration matches to.
  2349. If the operator is Exists, the value should be empty, otherwise
  2350. just a regular string.
  2351. type: string
  2352. type: array
  2353. version:
  2354. description: Version the cluster should be on.
  2355. type: string
  2356. status:
  2357. description: 'Most recent observed status of the Alertmanager cluster. Read-only.
  2358. Not included when requesting from the apiserver, only from the Prometheus
  2359. Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  2360. properties:
  2361. availableReplicas:
  2362. description: Total number of available pods (ready for at least minReadySeconds)
  2363. targeted by this Alertmanager cluster.
  2364. format: int32
  2365. type: integer
  2366. paused:
  2367. description: Represents whether any actions on the underlaying managed
  2368. objects are being performed. Only delete actions will be performed.
  2369. type: boolean
  2370. replicas:
  2371. description: Total number of non-terminated pods targeted by this Alertmanager
  2372. cluster (their labels match the selector).
  2373. format: int32
  2374. type: integer
  2375. unavailableReplicas:
  2376. description: Total number of unavailable pods targeted by this Alertmanager
  2377. cluster.
  2378. format: int32
  2379. type: integer
  2380. updatedReplicas:
  2381. description: Total number of non-terminated pods targeted by this Alertmanager
  2382. cluster that have the desired version spec.
  2383. format: int32
  2384. type: integer
  2385. required:
  2386. - paused
  2387. - replicas
  2388. - updatedReplicas
  2389. - availableReplicas
  2390. - unavailableReplicas
  2391. version: v1
  2392. - apiVersion: apiextensions.k8s.io/v1beta1
  2393. kind: CustomResourceDefinition
  2394. metadata:
  2395. name: etcdbackups.etcd.database.coreos.com
  2396. spec:
  2397. group: etcd.database.coreos.com
  2398. version: v1beta2
  2399. scope: Namespaced
  2400. names:
  2401. kind: EtcdBackup
  2402. listKind: EtcdBackupList
  2403. plural: etcdbackups
  2404. singular: etcdbackup
  2405. - apiVersion: apiextensions.k8s.io/v1beta1
  2406. kind: CustomResourceDefinition
  2407. metadata:
  2408. name: etcdclusters.etcd.database.coreos.com
  2409. spec:
  2410. group: etcd.database.coreos.com
  2411. version: v1beta2
  2412. scope: Namespaced
  2413. names:
  2414. plural: etcdclusters
  2415. singular: etcdcluster
  2416. kind: EtcdCluster
  2417. listKind: EtcdClusterList
  2418. shortNames:
  2419. - etcdclus
  2420. - etcd
  2421. - apiVersion: apiextensions.k8s.io/v1beta1
  2422. kind: CustomResourceDefinition
  2423. metadata:
  2424. name: etcdrestores.etcd.database.coreos.com
  2425. spec:
  2426. group: etcd.database.coreos.com
  2427. version: v1beta2
  2428. scope: Namespaced
  2429. names:
  2430. kind: EtcdRestore
  2431. listKind: EtcdRestoreList
  2432. plural: etcdrestores
  2433. singular: etcdrestore
  2434. - apiVersion: apiextensions.k8s.io/v1beta1
  2435. kind: CustomResourceDefinition
  2436. metadata:
  2437. name: prometheuses.monitoring.coreos.com
  2438. spec:
  2439. group: monitoring.coreos.com
  2440. names:
  2441. kind: Prometheus
  2442. plural: prometheuses
  2443. scope: Namespaced
  2444. validation:
  2445. openAPIV3Schema:
  2446. properties:
  2447. spec:
  2448. description: 'Specification of the desired behavior of the Prometheus cluster.
  2449. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  2450. properties:
  2451. additionalAlertManagerConfigs:
  2452. description: SecretKeySelector selects a key of a Secret.
  2453. properties:
  2454. key:
  2455. description: The key of the secret to select from. Must be a valid
  2456. secret key.
  2457. type: string
  2458. name:
  2459. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  2460. type: string
  2461. optional:
  2462. description: Specify whether the Secret or it's key must be defined
  2463. type: boolean
  2464. required:
  2465. - key
  2466. additionalScrapeConfigs:
  2467. description: SecretKeySelector selects a key of a Secret.
  2468. properties:
  2469. key:
  2470. description: The key of the secret to select from. Must be a valid
  2471. secret key.
  2472. type: string
  2473. name:
  2474. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  2475. type: string
  2476. optional:
  2477. description: Specify whether the Secret or it's key must be defined
  2478. type: boolean
  2479. required:
  2480. - key
  2481. affinity:
  2482. description: Affinity is a group of affinity scheduling rules.
  2483. properties:
  2484. nodeAffinity:
  2485. description: Node affinity is a group of node affinity scheduling
  2486. rules.
  2487. properties:
  2488. preferredDuringSchedulingIgnoredDuringExecution:
  2489. description: The scheduler will prefer to schedule pods to nodes
  2490. that satisfy the affinity expressions specified by this field,
  2491. but it may choose a node that violates one or more of the
  2492. expressions. The node that is most preferred is the one with
  2493. the greatest sum of weights, i.e. for each node that meets
  2494. all of the scheduling requirements (resource request, requiredDuringScheduling
  2495. affinity expressions, etc.), compute a sum by iterating through
  2496. the elements of this field and adding "weight" to the sum
  2497. if the node matches the corresponding matchExpressions; the
  2498. node(s) with the highest sum are the most preferred.
  2499. items:
  2500. description: An empty preferred scheduling term matches all
  2501. objects with implicit weight 0 (i.e. it's a no-op). A null
  2502. preferred scheduling term matches no objects (i.e. is also
  2503. a no-op).
  2504. properties:
  2505. preference:
  2506. description: A null or empty node selector term matches
  2507. no objects. The requirements of them are ANDed. The
  2508. TopologySelectorTerm type implements a subset of the
  2509. NodeSelectorTerm.
  2510. properties:
  2511. matchExpressions:
  2512. description: A list of node selector requirements
  2513. by node's labels.
  2514. items:
  2515. description: A node selector requirement is a selector
  2516. that contains values, a key, and an operator that
  2517. relates the key and values.
  2518. properties:
  2519. key:
  2520. description: The label key that the selector
  2521. applies to.
  2522. type: string
  2523. operator:
  2524. description: Represents a key's relationship
  2525. to a set of values. Valid operators are In,
  2526. NotIn, Exists, DoesNotExist. Gt, and Lt.
  2527. type: string
  2528. values:
  2529. description: An array of string values. If the
  2530. operator is In or NotIn, the values array
  2531. must be non-empty. If the operator is Exists
  2532. or DoesNotExist, the values array must be
  2533. empty. If the operator is Gt or Lt, the values
  2534. array must have a single element, which will
  2535. be interpreted as an integer. This array is
  2536. replaced during a strategic merge patch.
  2537. items:
  2538. type: string
  2539. type: array
  2540. required:
  2541. - key
  2542. - operator
  2543. type: array
  2544. matchFields:
  2545. description: A list of node selector requirements
  2546. by node's fields.
  2547. items:
  2548. description: A node selector requirement is a selector
  2549. that contains values, a key, and an operator that
  2550. relates the key and values.
  2551. properties:
  2552. key:
  2553. description: The label key that the selector
  2554. applies to.
  2555. type: string
  2556. operator:
  2557. description: Represents a key's relationship
  2558. to a set of values. Valid operators are In,
  2559. NotIn, Exists, DoesNotExist. Gt, and Lt.
  2560. type: string
  2561. values:
  2562. description: An array of string values. If the
  2563. operator is In or NotIn, the values array
  2564. must be non-empty. If the operator is Exists
  2565. or DoesNotExist, the values array must be
  2566. empty. If the operator is Gt or Lt, the values
  2567. array must have a single element, which will
  2568. be interpreted as an integer. This array is
  2569. replaced during a strategic merge patch.
  2570. items:
  2571. type: string
  2572. type: array
  2573. required:
  2574. - key
  2575. - operator
  2576. type: array
  2577. weight:
  2578. description: Weight associated with matching the corresponding
  2579. nodeSelectorTerm, in the range 1-100.
  2580. format: int32
  2581. type: integer
  2582. required:
  2583. - weight
  2584. - preference
  2585. type: array
  2586. requiredDuringSchedulingIgnoredDuringExecution:
  2587. description: A node selector represents the union of the results
  2588. of one or more label queries over a set of nodes; that is,
  2589. it represents the OR of the selectors represented by the node
  2590. selector terms.
  2591. properties:
  2592. nodeSelectorTerms:
  2593. description: Required. A list of node selector terms. The
  2594. terms are ORed.
  2595. items:
  2596. description: A null or empty node selector term matches
  2597. no objects. The requirements of them are ANDed. The
  2598. TopologySelectorTerm type implements a subset of the
  2599. NodeSelectorTerm.
  2600. properties:
  2601. matchExpressions:
  2602. description: A list of node selector requirements
  2603. by node's labels.
  2604. items:
  2605. description: A node selector requirement is a selector
  2606. that contains values, a key, and an operator that
  2607. relates the key and values.
  2608. properties:
  2609. key:
  2610. description: The label key that the selector
  2611. applies to.
  2612. type: string
  2613. operator:
  2614. description: Represents a key's relationship
  2615. to a set of values. Valid operators are In,
  2616. NotIn, Exists, DoesNotExist. Gt, and Lt.
  2617. type: string
  2618. values:
  2619. description: An array of string values. If the
  2620. operator is In or NotIn, the values array
  2621. must be non-empty. If the operator is Exists
  2622. or DoesNotExist, the values array must be
  2623. empty. If the operator is Gt or Lt, the values
  2624. array must have a single element, which will
  2625. be interpreted as an integer. This array is
  2626. replaced during a strategic merge patch.
  2627. items:
  2628. type: string
  2629. type: array
  2630. required:
  2631. - key
  2632. - operator
  2633. type: array
  2634. matchFields:
  2635. description: A list of node selector requirements
  2636. by node's fields.
  2637. items:
  2638. description: A node selector requirement is a selector
  2639. that contains values, a key, and an operator that
  2640. relates the key and values.
  2641. properties:
  2642. key:
  2643. description: The label key that the selector
  2644. applies to.
  2645. type: string
  2646. operator:
  2647. description: Represents a key's relationship
  2648. to a set of values. Valid operators are In,
  2649. NotIn, Exists, DoesNotExist. Gt, and Lt.
  2650. type: string
  2651. values:
  2652. description: An array of string values. If the
  2653. operator is In or NotIn, the values array
  2654. must be non-empty. If the operator is Exists
  2655. or DoesNotExist, the values array must be
  2656. empty. If the operator is Gt or Lt, the values
  2657. array must have a single element, which will
  2658. be interpreted as an integer. This array is
  2659. replaced during a strategic merge patch.
  2660. items:
  2661. type: string
  2662. type: array
  2663. required:
  2664. - key
  2665. - operator
  2666. type: array
  2667. type: array
  2668. required:
  2669. - nodeSelectorTerms
  2670. podAffinity:
  2671. description: Pod affinity is a group of inter pod affinity scheduling
  2672. rules.
  2673. properties:
  2674. preferredDuringSchedulingIgnoredDuringExecution:
  2675. description: The scheduler will prefer to schedule pods to nodes
  2676. that satisfy the affinity expressions specified by this field,
  2677. but it may choose a node that violates one or more of the
  2678. expressions. The node that is most preferred is the one with
  2679. the greatest sum of weights, i.e. for each node that meets
  2680. all of the scheduling requirements (resource request, requiredDuringScheduling
  2681. affinity expressions, etc.), compute a sum by iterating through
  2682. the elements of this field and adding "weight" to the sum
  2683. if the node has pods which matches the corresponding podAffinityTerm;
  2684. the node(s) with the highest sum are the most preferred.
  2685. items:
  2686. description: The weights of all of the matched WeightedPodAffinityTerm
  2687. fields are added per-node to find the most preferred node(s)
  2688. properties:
  2689. podAffinityTerm:
  2690. description: Defines a set of pods (namely those matching
  2691. the labelSelector relative to the given namespace(s))
  2692. that this pod should be co-located (affinity) or not
  2693. co-located (anti-affinity) with, where co-located is
  2694. defined as running on a node whose value of the label
  2695. with key <topologyKey> matches that of any node on which
  2696. a pod of the set of pods is running
  2697. properties:
  2698. labelSelector:
  2699. description: A label selector is a label query over
  2700. a set of resources. The result of matchLabels and
  2701. matchExpressions are ANDed. An empty label selector
  2702. matches all objects. A null label selector matches
  2703. no objects.
  2704. properties:
  2705. matchExpressions:
  2706. description: matchExpressions is a list of label
  2707. selector requirements. The requirements are
  2708. ANDed.
  2709. items:
  2710. description: A label selector requirement is
  2711. a selector that contains values, a key, and
  2712. an operator that relates the key and values.
  2713. properties:
  2714. key:
  2715. description: key is the label key that the
  2716. selector applies to.
  2717. type: string
  2718. operator:
  2719. description: operator represents a key's
  2720. relationship to a set of values. Valid
  2721. operators are In, NotIn, Exists and DoesNotExist.
  2722. type: string
  2723. values:
  2724. description: values is an array of string
  2725. values. If the operator is In or NotIn,
  2726. the values array must be non-empty. If
  2727. the operator is Exists or DoesNotExist,
  2728. the values array must be empty. This array
  2729. is replaced during a strategic merge patch.
  2730. items:
  2731. type: string
  2732. type: array
  2733. required:
  2734. - key
  2735. - operator
  2736. type: array
  2737. matchLabels:
  2738. description: matchLabels is a map of {key,value}
  2739. pairs. A single {key,value} in the matchLabels
  2740. map is equivalent to an element of matchExpressions,
  2741. whose key field is "key", the operator is "In",
  2742. and the values array contains only "value".
  2743. The requirements are ANDed.
  2744. type: object
  2745. namespaces:
  2746. description: namespaces specifies which namespaces
  2747. the labelSelector applies to (matches against);
  2748. null or empty list means "this pod's namespace"
  2749. items:
  2750. type: string
  2751. type: array
  2752. topologyKey:
  2753. description: This pod should be co-located (affinity)
  2754. or not co-located (anti-affinity) with the pods
  2755. matching the labelSelector in the specified namespaces,
  2756. where co-located is defined as running on a node
  2757. whose value of the label with key topologyKey matches
  2758. that of any node on which any of the selected pods
  2759. is running. Empty topologyKey is not allowed.
  2760. type: string
  2761. required:
  2762. - topologyKey
  2763. weight:
  2764. description: weight associated with matching the corresponding
  2765. podAffinityTerm, in the range 1-100.
  2766. format: int32
  2767. type: integer
  2768. required:
  2769. - weight
  2770. - podAffinityTerm
  2771. type: array
  2772. requiredDuringSchedulingIgnoredDuringExecution:
  2773. description: If the affinity requirements specified by this
  2774. field are not met at scheduling time, the pod will not be
  2775. scheduled onto the node. If the affinity requirements specified
  2776. by this field cease to be met at some point during pod execution
  2777. (e.g. due to a pod label update), the system may or may not
  2778. try to eventually evict the pod from its node. When there
  2779. are multiple elements, the lists of nodes corresponding to
  2780. each podAffinityTerm are intersected, i.e. all terms must
  2781. be satisfied.
  2782. items:
  2783. description: Defines a set of pods (namely those matching
  2784. the labelSelector relative to the given namespace(s)) that
  2785. this pod should be co-located (affinity) or not co-located
  2786. (anti-affinity) with, where co-located is defined as running
  2787. on a node whose value of the label with key <topologyKey>
  2788. matches that of any node on which a pod of the set of pods
  2789. is running
  2790. properties:
  2791. labelSelector:
  2792. description: A label selector is a label query over a
  2793. set of resources. The result of matchLabels and matchExpressions
  2794. are ANDed. An empty label selector matches all objects.
  2795. A null label selector matches no objects.
  2796. properties:
  2797. matchExpressions:
  2798. description: matchExpressions is a list of label selector
  2799. requirements. The requirements are ANDed.
  2800. items:
  2801. description: A label selector requirement is a selector
  2802. that contains values, a key, and an operator that
  2803. relates the key and values.
  2804. properties:
  2805. key:
  2806. description: key is the label key that the selector
  2807. applies to.
  2808. type: string
  2809. operator:
  2810. description: operator represents a key's relationship
  2811. to a set of values. Valid operators are In,
  2812. NotIn, Exists and DoesNotExist.
  2813. type: string
  2814. values:
  2815. description: values is an array of string values.
  2816. If the operator is In or NotIn, the values
  2817. array must be non-empty. If the operator is
  2818. Exists or DoesNotExist, the values array must
  2819. be empty. This array is replaced during a
  2820. strategic merge patch.
  2821. items:
  2822. type: string
  2823. type: array
  2824. required:
  2825. - key
  2826. - operator
  2827. type: array
  2828. matchLabels:
  2829. description: matchLabels is a map of {key,value} pairs.
  2830. A single {key,value} in the matchLabels map is equivalent
  2831. to an element of matchExpressions, whose key field
  2832. is "key", the operator is "In", and the values array
  2833. contains only "value". The requirements are ANDed.
  2834. type: object
  2835. namespaces:
  2836. description: namespaces specifies which namespaces the
  2837. labelSelector applies to (matches against); null or
  2838. empty list means "this pod's namespace"
  2839. items:
  2840. type: string
  2841. type: array
  2842. topologyKey:
  2843. description: This pod should be co-located (affinity)
  2844. or not co-located (anti-affinity) with the pods matching
  2845. the labelSelector in the specified namespaces, where
  2846. co-located is defined as running on a node whose value
  2847. of the label with key topologyKey matches that of any
  2848. node on which any of the selected pods is running. Empty
  2849. topologyKey is not allowed.
  2850. type: string
  2851. required:
  2852. - topologyKey
  2853. type: array
  2854. podAntiAffinity:
  2855. description: Pod anti affinity is a group of inter pod anti affinity
  2856. scheduling rules.
  2857. properties:
  2858. preferredDuringSchedulingIgnoredDuringExecution:
  2859. description: The scheduler will prefer to schedule pods to nodes
  2860. that satisfy the anti-affinity expressions specified by this
  2861. field, but it may choose a node that violates one or more
  2862. of the expressions. The node that is most preferred is the
  2863. one with the greatest sum of weights, i.e. for each node that
  2864. meets all of the scheduling requirements (resource request,
  2865. requiredDuringScheduling anti-affinity expressions, etc.),
  2866. compute a sum by iterating through the elements of this field
  2867. and adding "weight" to the sum if the node has pods which
  2868. matches the corresponding podAffinityTerm; the node(s) with
  2869. the highest sum are the most preferred.
  2870. items:
  2871. description: The weights of all of the matched WeightedPodAffinityTerm
  2872. fields are added per-node to find the most preferred node(s)
  2873. properties:
  2874. podAffinityTerm:
  2875. description: Defines a set of pods (namely those matching
  2876. the labelSelector relative to the given namespace(s))
  2877. that this pod should be co-located (affinity) or not
  2878. co-located (anti-affinity) with, where co-located is
  2879. defined as running on a node whose value of the label
  2880. with key <topologyKey> matches that of any node on which
  2881. a pod of the set of pods is running
  2882. properties:
  2883. labelSelector:
  2884. description: A label selector is a label query over
  2885. a set of resources. The result of matchLabels and
  2886. matchExpressions are ANDed. An empty label selector
  2887. matches all objects. A null label selector matches
  2888. no objects.
  2889. properties:
  2890. matchExpressions:
  2891. description: matchExpressions is a list of label
  2892. selector requirements. The requirements are
  2893. ANDed.
  2894. items:
  2895. description: A label selector requirement is
  2896. a selector that contains values, a key, and
  2897. an operator that relates the key and values.
  2898. properties:
  2899. key:
  2900. description: key is the label key that the
  2901. selector applies to.
  2902. type: string
  2903. operator:
  2904. description: operator represents a key's
  2905. relationship to a set of values. Valid
  2906. operators are In, NotIn, Exists and DoesNotExist.
  2907. type: string
  2908. values:
  2909. description: values is an array of string
  2910. values. If the operator is In or NotIn,
  2911. the values array must be non-empty. If
  2912. the operator is Exists or DoesNotExist,
  2913. the values array must be empty. This array
  2914. is replaced during a strategic merge patch.
  2915. items:
  2916. type: string
  2917. type: array
  2918. required:
  2919. - key
  2920. - operator
  2921. type: array
  2922. matchLabels:
  2923. description: matchLabels is a map of {key,value}
  2924. pairs. A single {key,value} in the matchLabels
  2925. map is equivalent to an element of matchExpressions,
  2926. whose key field is "key", the operator is "In",
  2927. and the values array contains only "value".
  2928. The requirements are ANDed.
  2929. type: object
  2930. namespaces:
  2931. description: namespaces specifies which namespaces
  2932. the labelSelector applies to (matches against);
  2933. null or empty list means "this pod's namespace"
  2934. items:
  2935. type: string
  2936. type: array
  2937. topologyKey:
  2938. description: This pod should be co-located (affinity)
  2939. or not co-located (anti-affinity) with the pods
  2940. matching the labelSelector in the specified namespaces,
  2941. where co-located is defined as running on a node
  2942. whose value of the label with key topologyKey matches
  2943. that of any node on which any of the selected pods
  2944. is running. Empty topologyKey is not allowed.
  2945. type: string
  2946. required:
  2947. - topologyKey
  2948. weight:
  2949. description: weight associated with matching the corresponding
  2950. podAffinityTerm, in the range 1-100.
  2951. format: int32
  2952. type: integer
  2953. required:
  2954. - weight
  2955. - podAffinityTerm
  2956. type: array
  2957. requiredDuringSchedulingIgnoredDuringExecution:
  2958. description: If the anti-affinity requirements specified by
  2959. this field are not met at scheduling time, the pod will not
  2960. be scheduled onto the node. If the anti-affinity requirements
  2961. specified by this field cease to be met at some point during
  2962. pod execution (e.g. due to a pod label update), the system
  2963. may or may not try to eventually evict the pod from its node.
  2964. When there are multiple elements, the lists of nodes corresponding
  2965. to each podAffinityTerm are intersected, i.e. all terms must
  2966. be satisfied.
  2967. items:
  2968. description: Defines a set of pods (namely those matching
  2969. the labelSelector relative to the given namespace(s)) that
  2970. this pod should be co-located (affinity) or not co-located
  2971. (anti-affinity) with, where co-located is defined as running
  2972. on a node whose value of the label with key <topologyKey>
  2973. matches that of any node on which a pod of the set of pods
  2974. is running
  2975. properties:
  2976. labelSelector:
  2977. description: A label selector is a label query over a
  2978. set of resources. The result of matchLabels and matchExpressions
  2979. are ANDed. An empty label selector matches all objects.
  2980. A null label selector matches no objects.
  2981. properties:
  2982. matchExpressions:
  2983. description: matchExpressions is a list of label selector
  2984. requirements. The requirements are ANDed.
  2985. items:
  2986. description: A label selector requirement is a selector
  2987. that contains values, a key, and an operator that
  2988. relates the key and values.
  2989. properties:
  2990. key:
  2991. description: key is the label key that the selector
  2992. applies to.
  2993. type: string
  2994. operator:
  2995. description: operator represents a key's relationship
  2996. to a set of values. Valid operators are In,
  2997. NotIn, Exists and DoesNotExist.
  2998. type: string
  2999. values:
  3000. description: values is an array of string values.
  3001. If the operator is In or NotIn, the values
  3002. array must be non-empty. If the operator is
  3003. Exists or DoesNotExist, the values array must
  3004. be empty. This array is replaced during a
  3005. strategic merge patch.
  3006. items:
  3007. type: string
  3008. type: array
  3009. required:
  3010. - key
  3011. - operator
  3012. type: array
  3013. matchLabels:
  3014. description: matchLabels is a map of {key,value} pairs.
  3015. A single {key,value} in the matchLabels map is equivalent
  3016. to an element of matchExpressions, whose key field
  3017. is "key", the operator is "In", and the values array
  3018. contains only "value". The requirements are ANDed.
  3019. type: object
  3020. namespaces:
  3021. description: namespaces specifies which namespaces the
  3022. labelSelector applies to (matches against); null or
  3023. empty list means "this pod's namespace"
  3024. items:
  3025. type: string
  3026. type: array
  3027. topologyKey:
  3028. description: This pod should be co-located (affinity)
  3029. or not co-located (anti-affinity) with the pods matching
  3030. the labelSelector in the specified namespaces, where
  3031. co-located is defined as running on a node whose value
  3032. of the label with key topologyKey matches that of any
  3033. node on which any of the selected pods is running. Empty
  3034. topologyKey is not allowed.
  3035. type: string
  3036. required:
  3037. - topologyKey
  3038. type: array
  3039. alerting:
  3040. description: AlertingSpec defines parameters for alerting configuration
  3041. of Prometheus servers.
  3042. properties:
  3043. alertmanagers:
  3044. description: AlertmanagerEndpoints Prometheus should fire alerts
  3045. against.
  3046. items:
  3047. description: AlertmanagerEndpoints defines a selection of a single
  3048. Endpoints object containing alertmanager IPs to fire alerts
  3049. against.
  3050. properties:
  3051. bearerTokenFile:
  3052. description: BearerTokenFile to read from filesystem to use
  3053. when authenticating to Alertmanager.
  3054. type: string
  3055. name:
  3056. description: Name of Endpoints object in Namespace.
  3057. type: string
  3058. namespace:
  3059. description: Namespace of Endpoints object.
  3060. type: string
  3061. pathPrefix:
  3062. description: Prefix for the HTTP path alerts are pushed to.
  3063. type: string
  3064. port:
  3065. anyOf:
  3066. - type: string
  3067. - type: integer
  3068. scheme:
  3069. description: Scheme to use when firing alerts.
  3070. type: string
  3071. tlsConfig:
  3072. description: TLSConfig specifies TLS configuration parameters.
  3073. properties:
  3074. caFile:
  3075. description: The CA cert to use for the targets.
  3076. type: string
  3077. certFile:
  3078. description: The client cert file for the targets.
  3079. type: string
  3080. insecureSkipVerify:
  3081. description: Disable target certificate validation.
  3082. type: boolean
  3083. keyFile:
  3084. description: The client key file for the targets.
  3085. type: string
  3086. serverName:
  3087. description: Used to verify the hostname for the targets.
  3088. type: string
  3089. required:
  3090. - namespace
  3091. - name
  3092. - port
  3093. type: array
  3094. required:
  3095. - alertmanagers
  3096. baseImage:
  3097. description: Base image to use for a Prometheus deployment.
  3098. type: string
  3099. containers:
  3100. description: Containers allows injecting additional containers. This
  3101. is meant to allow adding an authentication proxy to a Prometheus pod.
  3102. items:
  3103. description: A single application container that you want to run within
  3104. a pod.
  3105. properties:
  3106. args:
  3107. description: 'Arguments to the entrypoint. The docker image''s
  3108. CMD is used if this is not provided. Variable references $(VAR_NAME)
  3109. are expanded using the container''s environment. If a variable
  3110. cannot be resolved, the reference in the input string will be
  3111. unchanged. The $(VAR_NAME) syntax can be escaped with a double
  3112. $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
  3113. regardless of whether the variable exists or not. Cannot be
  3114. updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
  3115. items:
  3116. type: string
  3117. type: array
  3118. command:
  3119. description: 'Entrypoint array. Not executed within a shell. The
  3120. docker image''s ENTRYPOINT is used if this is not provided.
  3121. Variable references $(VAR_NAME) are expanded using the container''s
  3122. environment. If a variable cannot be resolved, the reference
  3123. in the input string will be unchanged. The $(VAR_NAME) syntax
  3124. can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
  3125. will never be expanded, regardless of whether the variable exists
  3126. 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'
  3127. items:
  3128. type: string
  3129. type: array
  3130. env:
  3131. description: List of environment variables to set in the container.
  3132. Cannot be updated.
  3133. items:
  3134. description: EnvVar represents an environment variable present
  3135. in a Container.
  3136. properties:
  3137. name:
  3138. description: Name of the environment variable. Must be a
  3139. C_IDENTIFIER.
  3140. type: string
  3141. value:
  3142. description: 'Variable references $(VAR_NAME) are expanded
  3143. using the previous defined environment variables in the
  3144. container and any service environment variables. If a
  3145. variable cannot be resolved, the reference in the input
  3146. string will be unchanged. The $(VAR_NAME) syntax can be
  3147. escaped with a double $$, ie: $$(VAR_NAME). Escaped references
  3148. will never be expanded, regardless of whether the variable
  3149. exists or not. Defaults to "".'
  3150. type: string
  3151. valueFrom:
  3152. description: EnvVarSource represents a source for the value
  3153. of an EnvVar.
  3154. properties:
  3155. configMapKeyRef:
  3156. description: Selects a key from a ConfigMap.
  3157. properties:
  3158. key:
  3159. description: The key to select.
  3160. type: string
  3161. name:
  3162. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3163. type: string
  3164. optional:
  3165. description: Specify whether the ConfigMap or it's
  3166. key must be defined
  3167. type: boolean
  3168. required:
  3169. - key
  3170. fieldRef:
  3171. description: ObjectFieldSelector selects an APIVersioned
  3172. field of an object.
  3173. properties:
  3174. apiVersion:
  3175. description: Version of the schema the FieldPath
  3176. is written in terms of, defaults to "v1".
  3177. type: string
  3178. fieldPath:
  3179. description: Path of the field to select in the
  3180. specified API version.
  3181. type: string
  3182. required:
  3183. - fieldPath
  3184. resourceFieldRef:
  3185. description: ResourceFieldSelector represents container
  3186. resources (cpu, memory) and their output format
  3187. properties:
  3188. containerName:
  3189. description: 'Container name: required for volumes,
  3190. optional for env vars'
  3191. type: string
  3192. divisor: {}
  3193. resource:
  3194. description: 'Required: resource to select'
  3195. type: string
  3196. required:
  3197. - resource
  3198. secretKeyRef:
  3199. description: SecretKeySelector selects a key of a Secret.
  3200. properties:
  3201. key:
  3202. description: The key of the secret to select from. Must
  3203. be a valid secret key.
  3204. type: string
  3205. name:
  3206. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3207. type: string
  3208. optional:
  3209. description: Specify whether the Secret or it's
  3210. key must be defined
  3211. type: boolean
  3212. required:
  3213. - key
  3214. required:
  3215. - name
  3216. type: array
  3217. envFrom:
  3218. description: List of sources to populate environment variables
  3219. in the container. The keys defined within a source must be a
  3220. C_IDENTIFIER. All invalid keys will be reported as an event
  3221. when the container is starting. When a key exists in multiple
  3222. sources, the value associated with the last source will take
  3223. precedence. Values defined by an Env with a duplicate key will
  3224. take precedence. Cannot be updated.
  3225. items:
  3226. description: EnvFromSource represents the source of a set of
  3227. ConfigMaps
  3228. properties:
  3229. configMapRef:
  3230. description: |-
  3231. ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
  3232. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
  3233. properties:
  3234. name:
  3235. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3236. type: string
  3237. optional:
  3238. description: Specify whether the ConfigMap must be defined
  3239. type: boolean
  3240. prefix:
  3241. description: An optional identifier to prepend to each key
  3242. in the ConfigMap. Must be a C_IDENTIFIER.
  3243. type: string
  3244. secretRef:
  3245. description: |-
  3246. SecretEnvSource selects a Secret to populate the environment variables with.
  3247. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
  3248. properties:
  3249. name:
  3250. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3251. type: string
  3252. optional:
  3253. description: Specify whether the Secret must be defined
  3254. type: boolean
  3255. type: array
  3256. image:
  3257. description: 'Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
  3258. This field is optional to allow higher level config management
  3259. to default or override container images in workload controllers
  3260. like Deployments and StatefulSets.'
  3261. type: string
  3262. imagePullPolicy:
  3263. description: 'Image pull policy. One of Always, Never, IfNotPresent.
  3264. Defaults to Always if :latest tag is specified, or IfNotPresent
  3265. otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images'
  3266. type: string
  3267. lifecycle:
  3268. description: Lifecycle describes actions that the management system
  3269. should take in response to container lifecycle events. For the
  3270. PostStart and PreStop lifecycle handlers, management of the
  3271. container blocks until the action is complete, unless the container
  3272. process fails, in which case the handler is aborted.
  3273. properties:
  3274. postStart:
  3275. description: Handler defines a specific action that should
  3276. be taken
  3277. properties:
  3278. exec:
  3279. description: ExecAction describes a "run in container"
  3280. action.
  3281. properties:
  3282. command:
  3283. description: Command is the command line to execute
  3284. inside the container, the working directory for
  3285. the command is root ('/') in the container's filesystem.
  3286. The command is simply exec'd, it is not run inside
  3287. a shell, so traditional shell instructions ('|',
  3288. etc) won't work. To use a shell, you need to explicitly
  3289. call out to that shell. Exit status of 0 is treated
  3290. as live/healthy and non-zero is unhealthy.
  3291. items:
  3292. type: string
  3293. type: array
  3294. httpGet:
  3295. description: HTTPGetAction describes an action based on
  3296. HTTP Get requests.
  3297. properties:
  3298. host:
  3299. description: Host name to connect to, defaults to
  3300. the pod IP. You probably want to set "Host" in httpHeaders
  3301. instead.
  3302. type: string
  3303. httpHeaders:
  3304. description: Custom headers to set in the request.
  3305. HTTP allows repeated headers.
  3306. items:
  3307. description: HTTPHeader describes a custom header
  3308. to be used in HTTP probes
  3309. properties:
  3310. name:
  3311. description: The header field name
  3312. type: string
  3313. value:
  3314. description: The header field value
  3315. type: string
  3316. required:
  3317. - name
  3318. - value
  3319. type: array
  3320. path:
  3321. description: Path to access on the HTTP server.
  3322. type: string
  3323. port:
  3324. anyOf:
  3325. - type: string
  3326. - type: integer
  3327. scheme:
  3328. description: Scheme to use for connecting to the host.
  3329. Defaults to HTTP.
  3330. type: string
  3331. required:
  3332. - port
  3333. tcpSocket:
  3334. description: TCPSocketAction describes an action based
  3335. on opening a socket
  3336. properties:
  3337. host:
  3338. description: 'Optional: Host name to connect to, defaults
  3339. to the pod IP.'
  3340. type: string
  3341. port:
  3342. anyOf:
  3343. - type: string
  3344. - type: integer
  3345. required:
  3346. - port
  3347. preStop:
  3348. description: Handler defines a specific action that should
  3349. be taken
  3350. properties:
  3351. exec:
  3352. description: ExecAction describes a "run in container"
  3353. action.
  3354. properties:
  3355. command:
  3356. description: Command is the command line to execute
  3357. inside the container, the working directory for
  3358. the command is root ('/') in the container's filesystem.
  3359. The command is simply exec'd, it is not run inside
  3360. a shell, so traditional shell instructions ('|',
  3361. etc) won't work. To use a shell, you need to explicitly
  3362. call out to that shell. Exit status of 0 is treated
  3363. as live/healthy and non-zero is unhealthy.
  3364. items:
  3365. type: string
  3366. type: array
  3367. httpGet:
  3368. description: HTTPGetAction describes an action based on
  3369. HTTP Get requests.
  3370. properties:
  3371. host:
  3372. description: Host name to connect to, defaults to
  3373. the pod IP. You probably want to set "Host" in httpHeaders
  3374. instead.
  3375. type: string
  3376. httpHeaders:
  3377. description: Custom headers to set in the request.
  3378. HTTP allows repeated headers.
  3379. items:
  3380. description: HTTPHeader describes a custom header
  3381. to be used in HTTP probes
  3382. properties:
  3383. name:
  3384. description: The header field name
  3385. type: string
  3386. value:
  3387. description: The header field value
  3388. type: string
  3389. required:
  3390. - name
  3391. - value
  3392. type: array
  3393. path:
  3394. description: Path to access on the HTTP server.
  3395. type: string
  3396. port:
  3397. anyOf:
  3398. - type: string
  3399. - type: integer
  3400. scheme:
  3401. description: Scheme to use for connecting to the host.
  3402. Defaults to HTTP.
  3403. type: string
  3404. required:
  3405. - port
  3406. tcpSocket:
  3407. description: TCPSocketAction describes an action based
  3408. on opening a socket
  3409. properties:
  3410. host:
  3411. description: 'Optional: Host name to connect to, defaults
  3412. to the pod IP.'
  3413. type: string
  3414. port:
  3415. anyOf:
  3416. - type: string
  3417. - type: integer
  3418. required:
  3419. - port
  3420. livenessProbe:
  3421. description: Probe describes a health check to be performed against
  3422. a container to determine whether it is alive or ready to receive
  3423. traffic.
  3424. properties:
  3425. exec:
  3426. description: ExecAction describes a "run in container" action.
  3427. properties:
  3428. command:
  3429. description: Command is the command line to execute inside
  3430. the container, the working directory for the command is
  3431. root ('/') in the container's filesystem. The command
  3432. is simply exec'd, it is not run inside a shell, so traditional
  3433. shell instructions ('|', etc) won't work. To use a shell,
  3434. you need to explicitly call out to that shell. Exit
  3435. status of 0 is treated as live/healthy and non-zero
  3436. is unhealthy.
  3437. items:
  3438. type: string
  3439. type: array
  3440. failureThreshold:
  3441. description: Minimum consecutive failures for the probe to
  3442. be considered failed after having succeeded. Defaults to
  3443. 3. Minimum value is 1.
  3444. format: int32
  3445. type: integer
  3446. httpGet:
  3447. description: HTTPGetAction describes an action based on HTTP
  3448. Get requests.
  3449. properties:
  3450. host:
  3451. description: Host name to connect to, defaults to the
  3452. pod IP. You probably want to set "Host" in httpHeaders
  3453. instead.
  3454. type: string
  3455. httpHeaders:
  3456. description: Custom headers to set in the request. HTTP
  3457. allows repeated headers.
  3458. items:
  3459. description: HTTPHeader describes a custom header to
  3460. be used in HTTP probes
  3461. properties:
  3462. name:
  3463. description: The header field name
  3464. type: string
  3465. value:
  3466. description: The header field value
  3467. type: string
  3468. required:
  3469. - name
  3470. - value
  3471. type: array
  3472. path:
  3473. description: Path to access on the HTTP server.
  3474. type: string
  3475. port:
  3476. anyOf:
  3477. - type: string
  3478. - type: integer
  3479. scheme:
  3480. description: Scheme to use for connecting to the host.
  3481. Defaults to HTTP.
  3482. type: string
  3483. required:
  3484. - port
  3485. initialDelaySeconds:
  3486. description: 'Number of seconds after the container has started
  3487. before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  3488. format: int32
  3489. type: integer
  3490. periodSeconds:
  3491. description: How often (in seconds) to perform the probe.
  3492. Default to 10 seconds. Minimum value is 1.
  3493. format: int32
  3494. type: integer
  3495. successThreshold:
  3496. description: Minimum consecutive successes for the probe to
  3497. be considered successful after having failed. Defaults to
  3498. 1. Must be 1 for liveness. Minimum value is 1.
  3499. format: int32
  3500. type: integer
  3501. tcpSocket:
  3502. description: TCPSocketAction describes an action based on
  3503. opening a socket
  3504. properties:
  3505. host:
  3506. description: 'Optional: Host name to connect to, defaults
  3507. to the pod IP.'
  3508. type: string
  3509. port:
  3510. anyOf:
  3511. - type: string
  3512. - type: integer
  3513. required:
  3514. - port
  3515. timeoutSeconds:
  3516. description: 'Number of seconds after which the probe times
  3517. out. Defaults to 1 second. Minimum value is 1. More info:
  3518. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  3519. format: int32
  3520. type: integer
  3521. name:
  3522. description: Name of the container specified as a DNS_LABEL. Each
  3523. container in a pod must have a unique name (DNS_LABEL). Cannot
  3524. be updated.
  3525. type: string
  3526. ports:
  3527. description: List of ports to expose from the container. Exposing
  3528. a port here gives the system additional information about the
  3529. network connections a container uses, but is primarily informational.
  3530. Not specifying a port here DOES NOT prevent that port from being
  3531. exposed. Any port which is listening on the default "0.0.0.0"
  3532. address inside a container will be accessible from the network.
  3533. Cannot be updated.
  3534. items:
  3535. description: ContainerPort represents a network port in a single
  3536. container.
  3537. properties:
  3538. containerPort:
  3539. description: Number of port to expose on the pod's IP address.
  3540. This must be a valid port number, 0 < x < 65536.
  3541. format: int32
  3542. type: integer
  3543. hostIP:
  3544. description: What host IP to bind the external port to.
  3545. type: string
  3546. hostPort:
  3547. description: Number of port to expose on the host. If specified,
  3548. this must be a valid port number, 0 < x < 65536. If HostNetwork
  3549. is specified, this must match ContainerPort. Most containers
  3550. do not need this.
  3551. format: int32
  3552. type: integer
  3553. name:
  3554. description: If specified, this must be an IANA_SVC_NAME
  3555. and unique within the pod. Each named port in a pod must
  3556. have a unique name. Name for the port that can be referred
  3557. to by services.
  3558. type: string
  3559. protocol:
  3560. description: Protocol for port. Must be UDP or TCP. Defaults
  3561. to "TCP".
  3562. type: string
  3563. required:
  3564. - containerPort
  3565. type: array
  3566. readinessProbe:
  3567. description: Probe describes a health check to be performed against
  3568. a container to determine whether it is alive or ready to receive
  3569. traffic.
  3570. properties:
  3571. exec:
  3572. description: ExecAction describes a "run in container" action.
  3573. properties:
  3574. command:
  3575. description: Command is the command line to execute inside
  3576. the container, the working directory for the command is
  3577. root ('/') in the container's filesystem. The command
  3578. is simply exec'd, it is not run inside a shell, so traditional
  3579. shell instructions ('|', etc) won't work. To use a shell,
  3580. you need to explicitly call out to that shell. Exit
  3581. status of 0 is treated as live/healthy and non-zero
  3582. is unhealthy.
  3583. items:
  3584. type: string
  3585. type: array
  3586. failureThreshold:
  3587. description: Minimum consecutive failures for the probe to
  3588. be considered failed after having succeeded. Defaults to
  3589. 3. Minimum value is 1.
  3590. format: int32
  3591. type: integer
  3592. httpGet:
  3593. description: HTTPGetAction describes an action based on HTTP
  3594. Get requests.
  3595. properties:
  3596. host:
  3597. description: Host name to connect to, defaults to the
  3598. pod IP. You probably want to set "Host" in httpHeaders
  3599. instead.
  3600. type: string
  3601. httpHeaders:
  3602. description: Custom headers to set in the request. HTTP
  3603. allows repeated headers.
  3604. items:
  3605. description: HTTPHeader describes a custom header to
  3606. be used in HTTP probes
  3607. properties:
  3608. name:
  3609. description: The header field name
  3610. type: string
  3611. value:
  3612. description: The header field value
  3613. type: string
  3614. required:
  3615. - name
  3616. - value
  3617. type: array
  3618. path:
  3619. description: Path to access on the HTTP server.
  3620. type: string
  3621. port:
  3622. anyOf:
  3623. - type: string
  3624. - type: integer
  3625. scheme:
  3626. description: Scheme to use for connecting to the host.
  3627. Defaults to HTTP.
  3628. type: string
  3629. required:
  3630. - port
  3631. initialDelaySeconds:
  3632. description: 'Number of seconds after the container has started
  3633. before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  3634. format: int32
  3635. type: integer
  3636. periodSeconds:
  3637. description: How often (in seconds) to perform the probe.
  3638. Default to 10 seconds. Minimum value is 1.
  3639. format: int32
  3640. type: integer
  3641. successThreshold:
  3642. description: Minimum consecutive successes for the probe to
  3643. be considered successful after having failed. Defaults to
  3644. 1. Must be 1 for liveness. Minimum value is 1.
  3645. format: int32
  3646. type: integer
  3647. tcpSocket:
  3648. description: TCPSocketAction describes an action based on
  3649. opening a socket
  3650. properties:
  3651. host:
  3652. description: 'Optional: Host name to connect to, defaults
  3653. to the pod IP.'
  3654. type: string
  3655. port:
  3656. anyOf:
  3657. - type: string
  3658. - type: integer
  3659. required:
  3660. - port
  3661. timeoutSeconds:
  3662. description: 'Number of seconds after which the probe times
  3663. out. Defaults to 1 second. Minimum value is 1. More info:
  3664. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  3665. format: int32
  3666. type: integer
  3667. resources:
  3668. description: ResourceRequirements describes the compute resource
  3669. requirements.
  3670. properties:
  3671. limits:
  3672. description: 'Limits describes the maximum amount of compute
  3673. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  3674. type: object
  3675. requests:
  3676. description: 'Requests describes the minimum amount of compute
  3677. resources required. If Requests is omitted for a container,
  3678. it defaults to Limits if that is explicitly specified, otherwise
  3679. to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  3680. type: object
  3681. securityContext:
  3682. description: SecurityContext holds security configuration that
  3683. will be applied to a container. Some fields are present in both
  3684. SecurityContext and PodSecurityContext. When both are set,
  3685. the values in SecurityContext take precedence.
  3686. properties:
  3687. allowPrivilegeEscalation:
  3688. description: 'AllowPrivilegeEscalation controls whether a
  3689. process can gain more privileges than its parent process.
  3690. This bool directly controls if the no_new_privs flag will
  3691. be set on the container process. AllowPrivilegeEscalation
  3692. is true always when the container is: 1) run as Privileged
  3693. 2) has CAP_SYS_ADMIN'
  3694. type: boolean
  3695. capabilities:
  3696. description: Adds and removes POSIX capabilities from running
  3697. containers.
  3698. properties:
  3699. add:
  3700. description: Added capabilities
  3701. items:
  3702. type: string
  3703. type: array
  3704. drop:
  3705. description: Removed capabilities
  3706. items:
  3707. type: string
  3708. type: array
  3709. privileged:
  3710. description: Run container in privileged mode. Processes in
  3711. privileged containers are essentially equivalent to root
  3712. on the host. Defaults to false.
  3713. type: boolean
  3714. readOnlyRootFilesystem:
  3715. description: Whether this container has a read-only root filesystem.
  3716. Default is false.
  3717. type: boolean
  3718. runAsGroup:
  3719. description: The GID to run the entrypoint of the container
  3720. process. Uses runtime default if unset. May also be set
  3721. in PodSecurityContext. If set in both SecurityContext and
  3722. PodSecurityContext, the value specified in SecurityContext
  3723. takes precedence.
  3724. format: int64
  3725. type: integer
  3726. runAsNonRoot:
  3727. description: Indicates that the container must run as a non-root
  3728. user. If true, the Kubelet will validate the image at runtime
  3729. to ensure that it does not run as UID 0 (root) and fail
  3730. to start the container if it does. If unset or false, no
  3731. such validation will be performed. May also be set in PodSecurityContext. If
  3732. set in both SecurityContext and PodSecurityContext, the
  3733. value specified in SecurityContext takes precedence.
  3734. type: boolean
  3735. runAsUser:
  3736. description: The UID to run the entrypoint of the container
  3737. process. Defaults to user specified in image metadata if
  3738. unspecified. May also be set in PodSecurityContext. If
  3739. set in both SecurityContext and PodSecurityContext, the
  3740. value specified in SecurityContext takes precedence.
  3741. format: int64
  3742. type: integer
  3743. seLinuxOptions:
  3744. description: SELinuxOptions are the labels to be applied to
  3745. the container
  3746. properties:
  3747. level:
  3748. description: Level is SELinux level label that applies
  3749. to the container.
  3750. type: string
  3751. role:
  3752. description: Role is a SELinux role label that applies
  3753. to the container.
  3754. type: string
  3755. type:
  3756. description: Type is a SELinux type label that applies
  3757. to the container.
  3758. type: string
  3759. user:
  3760. description: User is a SELinux user label that applies
  3761. to the container.
  3762. type: string
  3763. stdin:
  3764. description: Whether this container should allocate a buffer for
  3765. stdin in the container runtime. If this is not set, reads from
  3766. stdin in the container will always result in EOF. Default is
  3767. false.
  3768. type: boolean
  3769. stdinOnce:
  3770. description: Whether the container runtime should close the stdin
  3771. channel after it has been opened by a single attach. When stdin
  3772. is true the stdin stream will remain open across multiple attach
  3773. sessions. If stdinOnce is set to true, stdin is opened on container
  3774. start, is empty until the first client attaches to stdin, and
  3775. then remains open and accepts data until the client disconnects,
  3776. at which time stdin is closed and remains closed until the container
  3777. is restarted. If this flag is false, a container processes that
  3778. reads from stdin will never receive an EOF. Default is false
  3779. type: boolean
  3780. terminationMessagePath:
  3781. description: 'Optional: Path at which the file to which the container''s
  3782. termination message will be written is mounted into the container''s
  3783. filesystem. Message written is intended to be brief final status,
  3784. such as an assertion failure message. Will be truncated by the
  3785. node if greater than 4096 bytes. The total message length across
  3786. all containers will be limited to 12kb. Defaults to /dev/termination-log.
  3787. Cannot be updated.'
  3788. type: string
  3789. terminationMessagePolicy:
  3790. description: Indicate how the termination message should be populated.
  3791. File will use the contents of terminationMessagePath to populate
  3792. the container status message on both success and failure. FallbackToLogsOnError
  3793. will use the last chunk of container log output if the termination
  3794. message file is empty and the container exited with an error.
  3795. The log output is limited to 2048 bytes or 80 lines, whichever
  3796. is smaller. Defaults to File. Cannot be updated.
  3797. type: string
  3798. tty:
  3799. description: Whether this container should allocate a TTY for
  3800. itself, also requires 'stdin' to be true. Default is false.
  3801. type: boolean
  3802. volumeDevices:
  3803. description: volumeDevices is the list of block devices to be
  3804. used by the container. This is an alpha feature and may change
  3805. in the future.
  3806. items:
  3807. description: volumeDevice describes a mapping of a raw block
  3808. device within a container.
  3809. properties:
  3810. devicePath:
  3811. description: devicePath is the path inside of the container
  3812. that the device will be mapped to.
  3813. type: string
  3814. name:
  3815. description: name must match the name of a persistentVolumeClaim
  3816. in the pod
  3817. type: string
  3818. required:
  3819. - name
  3820. - devicePath
  3821. type: array
  3822. volumeMounts:
  3823. description: Pod volumes to mount into the container's filesystem.
  3824. Cannot be updated.
  3825. items:
  3826. description: VolumeMount describes a mounting of a Volume within
  3827. a container.
  3828. properties:
  3829. mountPath:
  3830. description: Path within the container at which the volume
  3831. should be mounted. Must not contain ':'.
  3832. type: string
  3833. mountPropagation:
  3834. description: mountPropagation determines how mounts are
  3835. propagated from the host to container and the other way
  3836. around. When not set, MountPropagationHostToContainer
  3837. is used. This field is beta in 1.10.
  3838. type: string
  3839. name:
  3840. description: This must match the Name of a Volume.
  3841. type: string
  3842. readOnly:
  3843. description: Mounted read-only if true, read-write otherwise
  3844. (false or unspecified). Defaults to false.
  3845. type: boolean
  3846. subPath:
  3847. description: Path within the volume from which the container's
  3848. volume should be mounted. Defaults to "" (volume's root).
  3849. type: string
  3850. required:
  3851. - name
  3852. - mountPath
  3853. type: array
  3854. workingDir:
  3855. description: Container's working directory. If not specified,
  3856. the container runtime's default will be used, which might be
  3857. configured in the container image. Cannot be updated.
  3858. type: string
  3859. required:
  3860. - name
  3861. type: array
  3862. evaluationInterval:
  3863. description: Interval between consecutive evaluations.
  3864. type: string
  3865. externalLabels:
  3866. description: The labels to add to any time series or alerts when communicating
  3867. with external systems (federation, remote storage, Alertmanager).
  3868. type: object
  3869. externalUrl:
  3870. description: The external URL the Prometheus instances will be available
  3871. under. This is necessary to generate correct URLs. This is necessary
  3872. if Prometheus is not served from root of a DNS name.
  3873. type: string
  3874. imagePullSecrets:
  3875. description: An optional list of references to secrets in the same namespace
  3876. to use for pulling prometheus and alertmanager images from registries
  3877. see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
  3878. items:
  3879. description: LocalObjectReference contains enough information to let
  3880. you locate the referenced object inside the same namespace.
  3881. properties:
  3882. name:
  3883. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3884. type: string
  3885. type: array
  3886. listenLocal:
  3887. description: ListenLocal makes the Prometheus server listen on loopback,
  3888. so that it does not bind against the Pod IP.
  3889. type: boolean
  3890. logLevel:
  3891. description: Log level for Prometheus to be configured with.
  3892. type: string
  3893. nodeSelector:
  3894. description: Define which Nodes the Pods are scheduled on.
  3895. type: object
  3896. paused:
  3897. description: When a Prometheus deployment is paused, no actions except
  3898. for deletion will be performed on the underlying objects.
  3899. type: boolean
  3900. podMetadata:
  3901. description: ObjectMeta is metadata that all persisted resources must
  3902. have, which includes all objects users must create.
  3903. properties:
  3904. annotations:
  3905. description: 'Annotations is an unstructured key value map stored
  3906. with a resource that may be set by external tools to store and
  3907. retrieve arbitrary metadata. They are not queryable and should
  3908. be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
  3909. type: object
  3910. clusterName:
  3911. description: The name of the cluster which the object belongs to.
  3912. This is used to distinguish resources with same name and namespace
  3913. in different clusters. This field is not set anywhere right now
  3914. and apiserver is going to ignore it if set in create or update
  3915. request.
  3916. type: string
  3917. creationTimestamp:
  3918. description: Time is a wrapper around time.Time which supports correct
  3919. marshaling to YAML and JSON. Wrappers are provided for many of
  3920. the factory methods that the time package offers.
  3921. format: date-time
  3922. type: string
  3923. deletionGracePeriodSeconds:
  3924. description: Number of seconds allowed for this object to gracefully
  3925. terminate before it will be removed from the system. Only set
  3926. when deletionTimestamp is also set. May only be shortened. Read-only.
  3927. format: int64
  3928. type: integer
  3929. deletionTimestamp:
  3930. description: Time is a wrapper around time.Time which supports correct
  3931. marshaling to YAML and JSON. Wrappers are provided for many of
  3932. the factory methods that the time package offers.
  3933. format: date-time
  3934. type: string
  3935. finalizers:
  3936. description: Must be empty before the object is deleted from the
  3937. registry. Each entry is an identifier for the responsible component
  3938. that will remove the entry from the list. If the deletionTimestamp
  3939. of the object is non-nil, entries in this list can only be removed.
  3940. items:
  3941. type: string
  3942. type: array
  3943. generateName:
  3944. description: |-
  3945. 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.
  3946. 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).
  3947. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  3948. type: string
  3949. generation:
  3950. description: A sequence number representing a specific generation
  3951. of the desired state. Populated by the system. Read-only.
  3952. format: int64
  3953. type: integer
  3954. initializers:
  3955. description: Initializers tracks the progress of initialization.
  3956. properties:
  3957. pending:
  3958. description: Pending is a list of initializers that must execute
  3959. in order before this object is visible. When the last pending
  3960. initializer is removed, and no failing result is set, the
  3961. initializers struct will be set to nil and the object is considered
  3962. as initialized and visible to all clients.
  3963. items:
  3964. description: Initializer is information about an initializer
  3965. that has not yet completed.
  3966. properties:
  3967. name:
  3968. description: name of the process that is responsible for
  3969. initializing this object.
  3970. type: string
  3971. required:
  3972. - name
  3973. type: array
  3974. result:
  3975. description: Status is a return value for calls that don't return
  3976. other objects.
  3977. properties:
  3978. apiVersion:
  3979. description: 'APIVersion defines the versioned schema of
  3980. this representation of an object. Servers should convert
  3981. recognized schemas to the latest internal value, and may
  3982. reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  3983. type: string
  3984. code:
  3985. description: Suggested HTTP return code for this status,
  3986. 0 if not set.
  3987. format: int32
  3988. type: integer
  3989. details:
  3990. description: StatusDetails is a set of additional properties
  3991. that MAY be set by the server to provide additional information
  3992. about a response. The Reason field of a Status object
  3993. defines what attributes will be set. Clients must ignore
  3994. fields that do not match the defined type of each attribute,
  3995. and should assume that any attribute may be empty, invalid,
  3996. or under defined.
  3997. properties:
  3998. causes:
  3999. description: The Causes array includes more details
  4000. associated with the StatusReason failure. Not all
  4001. StatusReasons may provide detailed causes.
  4002. items:
  4003. description: StatusCause provides more information
  4004. about an api.Status failure, including cases when
  4005. multiple errors are encountered.
  4006. properties:
  4007. field:
  4008. description: |-
  4009. 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.
  4010. Examples:
  4011. "name" - the field "name" on the current resource
  4012. "items[0].name" - the field "name" on the first array entry in "items"
  4013. type: string
  4014. message:
  4015. description: A human-readable description of the
  4016. cause of the error. This field may be presented
  4017. as-is to a reader.
  4018. type: string
  4019. reason:
  4020. description: A machine-readable description of
  4021. the cause of the error. If this value is empty
  4022. there is no information available.
  4023. type: string
  4024. type: array
  4025. group:
  4026. description: The group attribute of the resource associated
  4027. with the status StatusReason.
  4028. type: string
  4029. kind:
  4030. description: 'The kind attribute of the resource associated
  4031. with the status StatusReason. On some operations may
  4032. differ from the requested resource Kind. More info:
  4033. https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  4034. type: string
  4035. name:
  4036. description: The name attribute of the resource associated
  4037. with the status StatusReason (when there is a single
  4038. name which can be described).
  4039. type: string
  4040. retryAfterSeconds:
  4041. description: If specified, the time in seconds before
  4042. the operation should be retried. Some errors may indicate
  4043. the client must take an alternate action - for those
  4044. errors this field may indicate how long to wait before
  4045. taking the alternate action.
  4046. format: int32
  4047. type: integer
  4048. uid:
  4049. description: 'UID of the resource. (when there is a
  4050. single resource which can be described). More info:
  4051. http://kubernetes.io/docs/user-guide/identifiers#uids'
  4052. type: string
  4053. kind:
  4054. description: 'Kind is a string value representing the REST
  4055. resource this object represents. Servers may infer this
  4056. from the endpoint the client submits requests to. Cannot
  4057. be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  4058. type: string
  4059. message:
  4060. description: A human-readable description of the status
  4061. of this operation.
  4062. type: string
  4063. metadata:
  4064. description: ListMeta describes metadata that synthetic
  4065. resources must have, including lists and various status
  4066. objects. A resource may have only one of {ObjectMeta,
  4067. ListMeta}.
  4068. properties:
  4069. continue:
  4070. description: continue may be set if the user set a limit
  4071. on the number of items returned, and indicates that
  4072. the server has more data available. The value is opaque
  4073. and may be used to issue another request to the endpoint
  4074. that served this list to retrieve the next set of
  4075. available objects. Continuing a list may not be possible
  4076. if the server configuration has changed or more than
  4077. a few minutes have passed. The resourceVersion field
  4078. returned when using this continue value will be identical
  4079. to the value in the first response.
  4080. type: string
  4081. resourceVersion:
  4082. description: 'String that identifies the server''s internal
  4083. version of this object that can be used by clients
  4084. to determine when objects have changed. Value must
  4085. be treated as opaque by clients and passed unmodified
  4086. back to the server. Populated by the system. Read-only.
  4087. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  4088. type: string
  4089. selfLink:
  4090. description: selfLink is a URL representing this object.
  4091. Populated by the system. Read-only.
  4092. type: string
  4093. reason:
  4094. description: A machine-readable description of why this
  4095. operation is in the "Failure" status. If this value is
  4096. empty there is no information available. A Reason clarifies
  4097. an HTTP status code but does not override it.
  4098. type: string
  4099. status:
  4100. description: 'Status of the operation. One of: "Success"
  4101. or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  4102. type: string
  4103. required:
  4104. - pending
  4105. labels:
  4106. description: 'Map of string keys and values that can be used to
  4107. organize and categorize (scope and select) objects. May match
  4108. selectors of replication controllers and services. More info:
  4109. http://kubernetes.io/docs/user-guide/labels'
  4110. type: object
  4111. name:
  4112. description: 'Name must be unique within a namespace. Is required
  4113. when creating resources, although some resources may allow a client
  4114. to request the generation of an appropriate name automatically.
  4115. Name is primarily intended for creation idempotence and configuration
  4116. definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  4117. type: string
  4118. namespace:
  4119. description: |-
  4120. 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.
  4121. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  4122. type: string
  4123. ownerReferences:
  4124. description: List of objects depended by this object. If ALL objects
  4125. in the list have been deleted, this object will be garbage collected.
  4126. If this object is managed by a controller, then an entry in this
  4127. list will point to this controller, with the controller field
  4128. set to true. There cannot be more than one managing controller.
  4129. items:
  4130. description: OwnerReference contains enough information to let
  4131. you identify an owning object. Currently, an owning object must
  4132. be in the same namespace, so there is no namespace field.
  4133. properties:
  4134. apiVersion:
  4135. description: API version of the referent.
  4136. type: string
  4137. blockOwnerDeletion:
  4138. description: If true, AND if the owner has the "foregroundDeletion"
  4139. finalizer, then the owner cannot be deleted from the key-value
  4140. store until this reference is removed. Defaults to false.
  4141. To set this field, a user needs "delete" permission of the
  4142. owner, otherwise 422 (Unprocessable Entity) will be returned.
  4143. type: boolean
  4144. controller:
  4145. description: If true, this reference points to the managing
  4146. controller.
  4147. type: boolean
  4148. kind:
  4149. description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  4150. type: string
  4151. name:
  4152. description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  4153. type: string
  4154. uid:
  4155. description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  4156. type: string
  4157. required:
  4158. - apiVersion
  4159. - kind
  4160. - name
  4161. - uid
  4162. type: array
  4163. resourceVersion:
  4164. description: |-
  4165. 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.
  4166. 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
  4167. type: string
  4168. selfLink:
  4169. description: SelfLink is a URL representing this object. Populated
  4170. by the system. Read-only.
  4171. type: string
  4172. uid:
  4173. description: |-
  4174. 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.
  4175. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  4176. type: string
  4177. remoteRead:
  4178. description: If specified, the remote_read spec. This is an experimental
  4179. feature, it may change in any upcoming release in a breaking way.
  4180. items:
  4181. description: RemoteReadSpec defines the remote_read configuration
  4182. for prometheus.
  4183. properties:
  4184. basicAuth:
  4185. description: 'BasicAuth allow an endpoint to authenticate over
  4186. basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  4187. properties:
  4188. password:
  4189. description: SecretKeySelector selects a key of a Secret.
  4190. properties:
  4191. key:
  4192. description: The key of the secret to select from. Must
  4193. be a valid secret key.
  4194. type: string
  4195. name:
  4196. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  4197. type: string
  4198. optional:
  4199. description: Specify whether the Secret or it's key must
  4200. be defined
  4201. type: boolean
  4202. required:
  4203. - key
  4204. username:
  4205. description: SecretKeySelector selects a key of a Secret.
  4206. properties:
  4207. key:
  4208. description: The key of the secret to select from. Must
  4209. be a valid secret key.
  4210. type: string
  4211. name:
  4212. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  4213. type: string
  4214. optional:
  4215. description: Specify whether the Secret or it's key must
  4216. be defined
  4217. type: boolean
  4218. required:
  4219. - key
  4220. bearerToken:
  4221. description: bearer token for remote read.
  4222. type: string
  4223. bearerTokenFile:
  4224. description: File to read bearer token for remote read.
  4225. type: string
  4226. proxyUrl:
  4227. description: Optional ProxyURL
  4228. type: string
  4229. readRecent:
  4230. description: Whether reads should be made for queries for time
  4231. ranges that the local storage should have complete data for.
  4232. type: boolean
  4233. remoteTimeout:
  4234. description: Timeout for requests to the remote read endpoint.
  4235. type: string
  4236. requiredMatchers:
  4237. description: An optional list of equality matchers which have
  4238. to be present in a selector to query the remote read endpoint.
  4239. type: object
  4240. tlsConfig:
  4241. description: TLSConfig specifies TLS configuration parameters.
  4242. properties:
  4243. caFile:
  4244. description: The CA cert to use for the targets.
  4245. type: string
  4246. certFile:
  4247. description: The client cert file for the targets.
  4248. type: string
  4249. insecureSkipVerify:
  4250. description: Disable target certificate validation.
  4251. type: boolean
  4252. keyFile:
  4253. description: The client key file for the targets.
  4254. type: string
  4255. serverName:
  4256. description: Used to verify the hostname for the targets.
  4257. type: string
  4258. url:
  4259. description: The URL of the endpoint to send samples to.
  4260. type: string
  4261. required:
  4262. - url
  4263. type: array
  4264. remoteWrite:
  4265. description: If specified, the remote_write spec. This is an experimental
  4266. feature, it may change in any upcoming release in a breaking way.
  4267. items:
  4268. description: RemoteWriteSpec defines the remote_write configuration
  4269. for prometheus.
  4270. properties:
  4271. basicAuth:
  4272. description: 'BasicAuth allow an endpoint to authenticate over
  4273. basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  4274. properties:
  4275. password:
  4276. description: SecretKeySelector selects a key of a Secret.
  4277. properties:
  4278. key:
  4279. description: The key of the secret to select from. Must
  4280. be a valid secret key.
  4281. type: string
  4282. name:
  4283. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  4284. type: string
  4285. optional:
  4286. description: Specify whether the Secret or it's key must
  4287. be defined
  4288. type: boolean
  4289. required:
  4290. - key
  4291. username:
  4292. description: SecretKeySelector selects a key of a Secret.
  4293. properties:
  4294. key:
  4295. description: The key of the secret to select from. Must
  4296. be a valid secret key.
  4297. type: string
  4298. name:
  4299. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  4300. type: string
  4301. optional:
  4302. description: Specify whether the Secret or it's key must
  4303. be defined
  4304. type: boolean
  4305. required:
  4306. - key
  4307. bearerToken:
  4308. description: File to read bearer token for remote write.
  4309. type: string
  4310. bearerTokenFile:
  4311. description: File to read bearer token for remote write.
  4312. type: string
  4313. proxyUrl:
  4314. description: Optional ProxyURL
  4315. type: string
  4316. queueConfig:
  4317. description: QueueConfig allows the tuning of remote_write queue_config
  4318. parameters. This object is referenced in the RemoteWriteSpec
  4319. object.
  4320. properties:
  4321. batchSendDeadline:
  4322. description: BatchSendDeadline is the maximum time a sample
  4323. will wait in buffer.
  4324. type: string
  4325. capacity:
  4326. description: Capacity is the number of samples to buffer per
  4327. shard before we start dropping them.
  4328. format: int32
  4329. type: integer
  4330. maxBackoff:
  4331. description: MaxBackoff is the maximum retry delay.
  4332. type: string
  4333. maxRetries:
  4334. description: MaxRetries is the maximum number of times to
  4335. retry a batch on recoverable errors.
  4336. format: int32
  4337. type: integer
  4338. maxSamplesPerSend:
  4339. description: MaxSamplesPerSend is the maximum number of samples
  4340. per send.
  4341. format: int32
  4342. type: integer
  4343. maxShards:
  4344. description: MaxShards is the maximum number of shards, i.e.
  4345. amount of concurrency.
  4346. format: int32
  4347. type: integer
  4348. minBackoff:
  4349. description: MinBackoff is the initial retry delay. Gets doubled
  4350. for every retry.
  4351. type: string
  4352. remoteTimeout:
  4353. description: Timeout for requests to the remote write endpoint.
  4354. type: string
  4355. tlsConfig:
  4356. description: TLSConfig specifies TLS configuration parameters.
  4357. properties:
  4358. caFile:
  4359. description: The CA cert to use for the targets.
  4360. type: string
  4361. certFile:
  4362. description: The client cert file for the targets.
  4363. type: string
  4364. insecureSkipVerify:
  4365. description: Disable target certificate validation.
  4366. type: boolean
  4367. keyFile:
  4368. description: The client key file for the targets.
  4369. type: string
  4370. serverName:
  4371. description: Used to verify the hostname for the targets.
  4372. type: string
  4373. url:
  4374. description: The URL of the endpoint to send samples to.
  4375. type: string
  4376. writeRelabelConfigs:
  4377. description: The list of remote write relabel configurations.
  4378. items:
  4379. description: 'RelabelConfig allows dynamic rewriting of the
  4380. label set, being applied to samples before ingestion. It defines
  4381. `<metric_relabel_configs>`-section of Prometheus configuration.
  4382. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
  4383. properties:
  4384. action:
  4385. description: Action to perform based on regex matching.
  4386. Default is 'replace'
  4387. type: string
  4388. modulus:
  4389. description: Modulus to take of the hash of the source label
  4390. values.
  4391. format: int64
  4392. type: integer
  4393. regex:
  4394. description: Regular expression against which the extracted
  4395. value is matched. defailt is '(.*)'
  4396. type: string
  4397. replacement:
  4398. description: Replacement value against which a regex replace
  4399. is performed if the regular expression matches. Regex
  4400. capture groups are available. Default is '$1'
  4401. type: string
  4402. separator:
  4403. description: Separator placed between concatenated source
  4404. label values. default is ';'.
  4405. type: string
  4406. sourceLabels:
  4407. description: The source labels select values from existing
  4408. labels. Their content is concatenated using the configured
  4409. separator and matched against the configured regular expression
  4410. for the replace, keep, and drop actions.
  4411. items:
  4412. type: string
  4413. type: array
  4414. targetLabel:
  4415. description: Label to which the resulting value is written
  4416. in a replace action. It is mandatory for replace actions.
  4417. Regex capture groups are available.
  4418. type: string
  4419. type: array
  4420. required:
  4421. - url
  4422. type: array
  4423. replicas:
  4424. description: Number of instances to deploy for a Prometheus deployment.
  4425. format: int32
  4426. type: integer
  4427. resources:
  4428. description: ResourceRequirements describes the compute resource requirements.
  4429. properties:
  4430. limits:
  4431. description: 'Limits describes the maximum amount of compute resources
  4432. allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  4433. type: object
  4434. requests:
  4435. description: 'Requests describes the minimum amount of compute resources
  4436. required. If Requests is omitted for a container, it defaults
  4437. to Limits if that is explicitly specified, otherwise to an implementation-defined
  4438. value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  4439. type: object
  4440. retention:
  4441. description: Time duration Prometheus shall retain data for.
  4442. type: string
  4443. routePrefix:
  4444. description: The route prefix Prometheus registers HTTP handlers for.
  4445. This is useful, if using ExternalURL and a proxy is rewriting HTTP
  4446. routes of a request, and the actual ExternalURL is still true, but
  4447. the server serves requests under a different route prefix. For example
  4448. for use with `kubectl proxy`.
  4449. type: string
  4450. ruleNamespaceSelector:
  4451. description: A label selector is a label query over a set of resources.
  4452. The result of matchLabels and matchExpressions are ANDed. An empty
  4453. label selector matches all objects. A null label selector matches
  4454. no objects.
  4455. properties:
  4456. matchExpressions:
  4457. description: matchExpressions is a list of label selector requirements.
  4458. The requirements are ANDed.
  4459. items:
  4460. description: A label selector requirement is a selector that contains
  4461. values, a key, and an operator that relates the key and values.
  4462. properties:
  4463. key:
  4464. description: key is the label key that the selector applies
  4465. to.
  4466. type: string
  4467. operator:
  4468. description: operator represents a key's relationship to a
  4469. set of values. Valid operators are In, NotIn, Exists and
  4470. DoesNotExist.
  4471. type: string
  4472. values:
  4473. description: values is an array of string values. If the operator
  4474. is In or NotIn, the values array must be non-empty. If the
  4475. operator is Exists or DoesNotExist, the values array must
  4476. be empty. This array is replaced during a strategic merge
  4477. patch.
  4478. items:
  4479. type: string
  4480. type: array
  4481. required:
  4482. - key
  4483. - operator
  4484. type: array
  4485. matchLabels:
  4486. description: matchLabels is a map of {key,value} pairs. A single
  4487. {key,value} in the matchLabels map is equivalent to an element
  4488. of matchExpressions, whose key field is "key", the operator is
  4489. "In", and the values array contains only "value". The requirements
  4490. are ANDed.
  4491. type: object
  4492. ruleSelector:
  4493. description: A label selector is a label query over a set of resources.
  4494. The result of matchLabels and matchExpressions are ANDed. An empty
  4495. label selector matches all objects. A null label selector matches
  4496. no objects.
  4497. properties:
  4498. matchExpressions:
  4499. description: matchExpressions is a list of label selector requirements.
  4500. The requirements are ANDed.
  4501. items:
  4502. description: A label selector requirement is a selector that contains
  4503. values, a key, and an operator that relates the key and values.
  4504. properties:
  4505. key:
  4506. description: key is the label key that the selector applies
  4507. to.
  4508. type: string
  4509. operator:
  4510. description: operator represents a key's relationship to a
  4511. set of values. Valid operators are In, NotIn, Exists and
  4512. DoesNotExist.
  4513. type: string
  4514. values:
  4515. description: values is an array of string values. If the operator
  4516. is In or NotIn, the values array must be non-empty. If the
  4517. operator is Exists or DoesNotExist, the values array must
  4518. be empty. This array is replaced during a strategic merge
  4519. patch.
  4520. items:
  4521. type: string
  4522. type: array
  4523. required:
  4524. - key
  4525. - operator
  4526. type: array
  4527. matchLabels:
  4528. description: matchLabels is a map of {key,value} pairs. A single
  4529. {key,value} in the matchLabels map is equivalent to an element
  4530. of matchExpressions, whose key field is "key", the operator is
  4531. "In", and the values array contains only "value". The requirements
  4532. are ANDed.
  4533. type: object
  4534. scrapeInterval:
  4535. description: Interval between consecutive scrapes.
  4536. type: string
  4537. secrets:
  4538. description: Secrets is a list of Secrets in the same namespace as the
  4539. Prometheus object, which shall be mounted into the Prometheus Pods.
  4540. The Secrets are mounted into /etc/prometheus/secrets/<secret-name>.
  4541. Secrets changes after initial creation of a Prometheus object are
  4542. not reflected in the running Pods. To change the secrets mounted into
  4543. the Prometheus Pods, the object must be deleted and recreated with
  4544. the new list of secrets.
  4545. items:
  4546. type: string
  4547. type: array
  4548. securityContext:
  4549. description: PodSecurityContext holds pod-level security attributes
  4550. and common container settings. Some fields are also present in container.securityContext. Field
  4551. values of container.securityContext take precedence over field values
  4552. of PodSecurityContext.
  4553. properties:
  4554. fsGroup:
  4555. description: |-
  4556. 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:
  4557. 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----
  4558. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  4559. format: int64
  4560. type: integer
  4561. runAsGroup:
  4562. description: The GID to run the entrypoint of the container process.
  4563. Uses runtime default if unset. May also be set in SecurityContext. If
  4564. set in both SecurityContext and PodSecurityContext, the value
  4565. specified in SecurityContext takes precedence for that container.
  4566. format: int64
  4567. type: integer
  4568. runAsNonRoot:
  4569. description: Indicates that the container must run as a non-root
  4570. user. If true, the Kubelet will validate the image at runtime
  4571. to ensure that it does not run as UID 0 (root) and fail to start
  4572. the container if it does. If unset or false, no such validation
  4573. will be performed. May also be set in SecurityContext. If set
  4574. in both SecurityContext and PodSecurityContext, the value specified
  4575. in SecurityContext takes precedence.
  4576. type: boolean
  4577. runAsUser:
  4578. description: The UID to run the entrypoint of the container process.
  4579. Defaults to user specified in image metadata if unspecified. May
  4580. also be set in SecurityContext. If set in both SecurityContext
  4581. and PodSecurityContext, the value specified in SecurityContext
  4582. takes precedence for that container.
  4583. format: int64
  4584. type: integer
  4585. seLinuxOptions:
  4586. description: SELinuxOptions are the labels to be applied to the
  4587. container
  4588. properties:
  4589. level:
  4590. description: Level is SELinux level label that applies to the
  4591. container.
  4592. type: string
  4593. role:
  4594. description: Role is a SELinux role label that applies to the
  4595. container.
  4596. type: string
  4597. type:
  4598. description: Type is a SELinux type label that applies to the
  4599. container.
  4600. type: string
  4601. user:
  4602. description: User is a SELinux user label that applies to the
  4603. container.
  4604. type: string
  4605. supplementalGroups:
  4606. description: A list of groups applied to the first process run in
  4607. each container, in addition to the container's primary GID. If
  4608. unspecified, no groups will be added to any container.
  4609. items:
  4610. format: int64
  4611. type: integer
  4612. type: array
  4613. sysctls:
  4614. description: Sysctls hold a list of namespaced sysctls used for
  4615. the pod. Pods with unsupported sysctls (by the container runtime)
  4616. might fail to launch.
  4617. items:
  4618. description: Sysctl defines a kernel parameter to be set
  4619. properties:
  4620. name:
  4621. description: Name of a property to set
  4622. type: string
  4623. value:
  4624. description: Value of a property to set
  4625. type: string
  4626. required:
  4627. - name
  4628. - value
  4629. type: array
  4630. serviceAccountName:
  4631. description: ServiceAccountName is the name of the ServiceAccount to
  4632. use to run the Prometheus Pods.
  4633. type: string
  4634. serviceMonitorNamespaceSelector:
  4635. description: A label selector is a label query over a set of resources.
  4636. The result of matchLabels and matchExpressions are ANDed. An empty
  4637. label selector matches all objects. A null label selector matches
  4638. no objects.
  4639. properties:
  4640. matchExpressions:
  4641. description: matchExpressions is a list of label selector requirements.
  4642. The requirements are ANDed.
  4643. items:
  4644. description: A label selector requirement is a selector that contains
  4645. values, a key, and an operator that relates the key and values.
  4646. properties:
  4647. key:
  4648. description: key is the label key that the selector applies
  4649. to.
  4650. type: string
  4651. operator:
  4652. description: operator represents a key's relationship to a
  4653. set of values. Valid operators are In, NotIn, Exists and
  4654. DoesNotExist.
  4655. type: string
  4656. values:
  4657. description: values is an array of string values. If the operator
  4658. is In or NotIn, the values array must be non-empty. If the
  4659. operator is Exists or DoesNotExist, the values array must
  4660. be empty. This array is replaced during a strategic merge
  4661. patch.
  4662. items:
  4663. type: string
  4664. type: array
  4665. required:
  4666. - key
  4667. - operator
  4668. type: array
  4669. matchLabels:
  4670. description: matchLabels is a map of {key,value} pairs. A single
  4671. {key,value} in the matchLabels map is equivalent to an element
  4672. of matchExpressions, whose key field is "key", the operator is
  4673. "In", and the values array contains only "value". The requirements
  4674. are ANDed.
  4675. type: object
  4676. serviceMonitorSelector:
  4677. description: A label selector is a label query over a set of resources.
  4678. The result of matchLabels and matchExpressions are ANDed. An empty
  4679. label selector matches all objects. A null label selector matches
  4680. no objects.
  4681. properties:
  4682. matchExpressions:
  4683. description: matchExpressions is a list of label selector requirements.
  4684. The requirements are ANDed.
  4685. items:
  4686. description: A label selector requirement is a selector that contains
  4687. values, a key, and an operator that relates the key and values.
  4688. properties:
  4689. key:
  4690. description: key is the label key that the selector applies
  4691. to.
  4692. type: string
  4693. operator:
  4694. description: operator represents a key's relationship to a
  4695. set of values. Valid operators are In, NotIn, Exists and
  4696. DoesNotExist.
  4697. type: string
  4698. values:
  4699. description: values is an array of string values. If the operator
  4700. is In or NotIn, the values array must be non-empty. If the
  4701. operator is Exists or DoesNotExist, the values array must
  4702. be empty. This array is replaced during a strategic merge
  4703. patch.
  4704. items:
  4705. type: string
  4706. type: array
  4707. required:
  4708. - key
  4709. - operator
  4710. type: array
  4711. matchLabels:
  4712. description: matchLabels is a map of {key,value} pairs. A single
  4713. {key,value} in the matchLabels map is equivalent to an element
  4714. of matchExpressions, whose key field is "key", the operator is
  4715. "In", and the values array contains only "value". The requirements
  4716. are ANDed.
  4717. type: object
  4718. storage:
  4719. description: StorageSpec defines the configured storage for a group
  4720. Prometheus servers.
  4721. properties:
  4722. class:
  4723. description: 'Name of the StorageClass to use when requesting storage
  4724. provisioning. More info: https://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses
  4725. DEPRECATED'
  4726. type: string
  4727. emptyDir:
  4728. description: Represents an empty directory for a pod. Empty directory
  4729. volumes support ownership management and SELinux relabeling.
  4730. properties:
  4731. medium:
  4732. description: 'What type of storage medium should back this directory.
  4733. The default is "" which means to use the node''s default medium.
  4734. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
  4735. type: string
  4736. sizeLimit: {}
  4737. resources:
  4738. description: ResourceRequirements describes the compute resource
  4739. requirements.
  4740. properties:
  4741. limits:
  4742. description: 'Limits describes the maximum amount of compute
  4743. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  4744. type: object
  4745. requests:
  4746. description: 'Requests describes the minimum amount of compute
  4747. resources required. If Requests is omitted for a container,
  4748. it defaults to Limits if that is explicitly specified, otherwise
  4749. to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  4750. type: object
  4751. selector:
  4752. description: A label selector is a label query over a set of resources.
  4753. The result of matchLabels and matchExpressions are ANDed. An empty
  4754. label selector matches all objects. A null label selector matches
  4755. no objects.
  4756. properties:
  4757. matchExpressions:
  4758. description: matchExpressions is a list of label selector requirements.
  4759. The requirements are ANDed.
  4760. items:
  4761. description: A label selector requirement is a selector that
  4762. contains values, a key, and an operator that relates the
  4763. key and values.
  4764. properties:
  4765. key:
  4766. description: key is the label key that the selector applies
  4767. to.
  4768. type: string
  4769. operator:
  4770. description: operator represents a key's relationship
  4771. to a set of values. Valid operators are In, NotIn, Exists
  4772. and DoesNotExist.
  4773. type: string
  4774. values:
  4775. description: values is an array of string values. If the
  4776. operator is In or NotIn, the values array must be non-empty.
  4777. If the operator is Exists or DoesNotExist, the values
  4778. array must be empty. This array is replaced during a
  4779. strategic merge patch.
  4780. items:
  4781. type: string
  4782. type: array
  4783. required:
  4784. - key
  4785. - operator
  4786. type: array
  4787. matchLabels:
  4788. description: matchLabels is a map of {key,value} pairs. A single
  4789. {key,value} in the matchLabels map is equivalent to an element
  4790. of matchExpressions, whose key field is "key", the operator
  4791. is "In", and the values array contains only "value". The requirements
  4792. are ANDed.
  4793. type: object
  4794. volumeClaimTemplate:
  4795. description: PersistentVolumeClaim is a user's request for and claim
  4796. to a persistent volume
  4797. properties:
  4798. apiVersion:
  4799. description: 'APIVersion defines the versioned schema of this
  4800. representation of an object. Servers should convert recognized
  4801. schemas to the latest internal value, and may reject unrecognized
  4802. values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  4803. type: string
  4804. kind:
  4805. description: 'Kind is a string value representing the REST resource
  4806. this object represents. Servers may infer this from the endpoint
  4807. the client submits requests to. Cannot be updated. In CamelCase.
  4808. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  4809. type: string
  4810. metadata:
  4811. description: ObjectMeta is metadata that all persisted resources
  4812. must have, which includes all objects users must create.
  4813. properties:
  4814. annotations:
  4815. description: 'Annotations is an unstructured key value map
  4816. stored with a resource that may be set by external tools
  4817. to store and retrieve arbitrary metadata. They are not
  4818. queryable and should be preserved when modifying objects.
  4819. More info: http://kubernetes.io/docs/user-guide/annotations'
  4820. type: object
  4821. clusterName:
  4822. description: The name of the cluster which the object belongs
  4823. to. This is used to distinguish resources with same name
  4824. and namespace in different clusters. This field is not
  4825. set anywhere right now and apiserver is going to ignore
  4826. it if set in create or update request.
  4827. type: string
  4828. creationTimestamp:
  4829. description: Time is a wrapper around time.Time which supports
  4830. correct marshaling to YAML and JSON. Wrappers are provided
  4831. for many of the factory methods that the time package
  4832. offers.
  4833. format: date-time
  4834. type: string
  4835. deletionGracePeriodSeconds:
  4836. description: Number of seconds allowed for this object to
  4837. gracefully terminate before it will be removed from the
  4838. system. Only set when deletionTimestamp is also set. May
  4839. only be shortened. Read-only.
  4840. format: int64
  4841. type: integer
  4842. deletionTimestamp:
  4843. description: Time is a wrapper around time.Time which supports
  4844. correct marshaling to YAML and JSON. Wrappers are provided
  4845. for many of the factory methods that the time package
  4846. offers.
  4847. format: date-time
  4848. type: string
  4849. finalizers:
  4850. description: Must be empty before the object is deleted
  4851. from the registry. Each entry is an identifier for the
  4852. responsible component that will remove the entry from
  4853. the list. If the deletionTimestamp of the object is non-nil,
  4854. entries in this list can only be removed.
  4855. items:
  4856. type: string
  4857. type: array
  4858. generateName:
  4859. description: |-
  4860. 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.
  4861. 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).
  4862. Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  4863. type: string
  4864. generation:
  4865. description: A sequence number representing a specific generation
  4866. of the desired state. Populated by the system. Read-only.
  4867. format: int64
  4868. type: integer
  4869. initializers:
  4870. description: Initializers tracks the progress of initialization.
  4871. properties:
  4872. pending:
  4873. description: Pending is a list of initializers that
  4874. must execute in order before this object is visible.
  4875. When the last pending initializer is removed, and
  4876. no failing result is set, the initializers struct
  4877. will be set to nil and the object is considered as
  4878. initialized and visible to all clients.
  4879. items:
  4880. description: Initializer is information about an initializer
  4881. that has not yet completed.
  4882. properties:
  4883. name:
  4884. description: name of the process that is responsible
  4885. for initializing this object.
  4886. type: string
  4887. required:
  4888. - name
  4889. type: array
  4890. result:
  4891. description: Status is a return value for calls that
  4892. don't return other objects.
  4893. properties:
  4894. apiVersion:
  4895. description: 'APIVersion defines the versioned schema
  4896. of this representation of an object. Servers should
  4897. convert recognized schemas to the latest internal
  4898. value, and may reject unrecognized values. More
  4899. info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  4900. type: string
  4901. code:
  4902. description: Suggested HTTP return code for this
  4903. status, 0 if not set.
  4904. format: int32
  4905. type: integer
  4906. details:
  4907. description: StatusDetails is a set of additional
  4908. properties that MAY be set by the server to provide
  4909. additional information about a response. The Reason
  4910. field of a Status object defines what attributes
  4911. will be set. Clients must ignore fields that do
  4912. not match the defined type of each attribute,
  4913. and should assume that any attribute may be empty,
  4914. invalid, or under defined.
  4915. properties:
  4916. causes:
  4917. description: The Causes array includes more
  4918. details associated with the StatusReason failure.
  4919. Not all StatusReasons may provide detailed
  4920. causes.
  4921. items:
  4922. description: StatusCause provides more information
  4923. about an api.Status failure, including cases
  4924. when multiple errors are encountered.
  4925. properties:
  4926. field:
  4927. description: |-
  4928. 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.
  4929. Examples:
  4930. "name" - the field "name" on the current resource
  4931. "items[0].name" - the field "name" on the first array entry in "items"
  4932. type: string
  4933. message:
  4934. description: A human-readable description
  4935. of the cause of the error. This field
  4936. may be presented as-is to a reader.
  4937. type: string
  4938. reason:
  4939. description: A machine-readable description
  4940. of the cause of the error. If this value
  4941. is empty there is no information available.
  4942. type: string
  4943. type: array
  4944. group:
  4945. description: The group attribute of the resource
  4946. associated with the status StatusReason.
  4947. type: string
  4948. kind:
  4949. description: 'The kind attribute of the resource
  4950. associated with the status StatusReason. On
  4951. some operations may differ from the requested
  4952. resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  4953. type: string
  4954. name:
  4955. description: The name attribute of the resource
  4956. associated with the status StatusReason (when
  4957. there is a single name which can be described).
  4958. type: string
  4959. retryAfterSeconds:
  4960. description: If specified, the time in seconds
  4961. before the operation should be retried. Some
  4962. errors may indicate the client must take an
  4963. alternate action - for those errors this field
  4964. may indicate how long to wait before taking
  4965. the alternate action.
  4966. format: int32
  4967. type: integer
  4968. uid:
  4969. description: 'UID of the resource. (when there
  4970. is a single resource which can be described).
  4971. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  4972. type: string
  4973. kind:
  4974. description: 'Kind is a string value representing
  4975. the REST resource this object represents. Servers
  4976. may infer this from the endpoint the client submits
  4977. requests to. Cannot be updated. In CamelCase.
  4978. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  4979. type: string
  4980. message:
  4981. description: A human-readable description of the
  4982. status of this operation.
  4983. type: string
  4984. metadata:
  4985. description: ListMeta describes metadata that synthetic
  4986. resources must have, including lists and various
  4987. status objects. A resource may have only one of
  4988. {ObjectMeta, ListMeta}.
  4989. properties:
  4990. continue:
  4991. description: continue may be set if the user
  4992. set a limit on the number of items returned,
  4993. and indicates that the server has more data
  4994. available. The value is opaque and may be
  4995. used to issue another request to the endpoint
  4996. that served this list to retrieve the next
  4997. set of available objects. Continuing a list
  4998. may not be possible if the server configuration
  4999. has changed or more than a few minutes have
  5000. passed. The resourceVersion field returned
  5001. when using this continue value will be identical
  5002. to the value in the first response.
  5003. type: string
  5004. resourceVersion:
  5005. description: 'String that identifies the server''s
  5006. internal version of this object that can be
  5007. used by clients to determine when objects
  5008. have changed. Value must be treated as opaque
  5009. by clients and passed unmodified back to the
  5010. server. Populated by the system. Read-only.
  5011. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  5012. type: string
  5013. selfLink:
  5014. description: selfLink is a URL representing
  5015. this object. Populated by the system. Read-only.
  5016. type: string
  5017. reason:
  5018. description: A machine-readable description of why
  5019. this operation is in the "Failure" status. If
  5020. this value is empty there is no information available.
  5021. A Reason clarifies an HTTP status code but does
  5022. not override it.
  5023. type: string
  5024. status:
  5025. description: 'Status of the operation. One of: "Success"
  5026. or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  5027. type: string
  5028. required:
  5029. - pending
  5030. labels:
  5031. description: 'Map of string keys and values that can be
  5032. used to organize and categorize (scope and select) objects.
  5033. May match selectors of replication controllers and services.
  5034. More info: http://kubernetes.io/docs/user-guide/labels'
  5035. type: object
  5036. name:
  5037. description: 'Name must be unique within a namespace. Is
  5038. required when creating resources, although some resources
  5039. may allow a client to request the generation of an appropriate
  5040. name automatically. Name is primarily intended for creation
  5041. idempotence and configuration definition. Cannot be updated.
  5042. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  5043. type: string
  5044. namespace:
  5045. description: |-
  5046. 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.
  5047. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  5048. type: string
  5049. ownerReferences:
  5050. description: List of objects depended by this object. If
  5051. ALL objects in the list have been deleted, this object
  5052. will be garbage collected. If this object is managed by
  5053. a controller, then an entry in this list will point to
  5054. this controller, with the controller field set to true.
  5055. There cannot be more than one managing controller.
  5056. items:
  5057. description: OwnerReference contains enough information
  5058. to let you identify an owning object. Currently, an
  5059. owning object must be in the same namespace, so there
  5060. is no namespace field.
  5061. properties:
  5062. apiVersion:
  5063. description: API version of the referent.
  5064. type: string
  5065. blockOwnerDeletion:
  5066. description: If true, AND if the owner has the "foregroundDeletion"
  5067. finalizer, then the owner cannot be deleted from
  5068. the key-value store until this reference is removed.
  5069. Defaults to false. To set this field, a user needs
  5070. "delete" permission of the owner, otherwise 422
  5071. (Unprocessable Entity) will be returned.
  5072. type: boolean
  5073. controller:
  5074. description: If true, this reference points to the
  5075. managing controller.
  5076. type: boolean
  5077. kind:
  5078. description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  5079. type: string
  5080. name:
  5081. description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  5082. type: string
  5083. uid:
  5084. description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  5085. type: string
  5086. required:
  5087. - apiVersion
  5088. - kind
  5089. - name
  5090. - uid
  5091. type: array
  5092. resourceVersion:
  5093. description: |-
  5094. 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.
  5095. 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
  5096. type: string
  5097. selfLink:
  5098. description: SelfLink is a URL representing this object.
  5099. Populated by the system. Read-only.
  5100. type: string
  5101. uid:
  5102. description: |-
  5103. 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.
  5104. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  5105. type: string
  5106. spec:
  5107. description: PersistentVolumeClaimSpec describes the common
  5108. attributes of storage devices and allows a Source for provider-specific
  5109. attributes
  5110. properties:
  5111. accessModes:
  5112. description: 'AccessModes contains the desired access modes
  5113. the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  5114. items:
  5115. type: string
  5116. type: array
  5117. resources:
  5118. description: ResourceRequirements describes the compute
  5119. resource requirements.
  5120. properties:
  5121. limits:
  5122. description: 'Limits describes the maximum amount of
  5123. compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  5124. type: object
  5125. requests:
  5126. description: 'Requests describes the minimum amount
  5127. of compute resources required. If Requests is omitted
  5128. for a container, it defaults to Limits if that is
  5129. explicitly specified, otherwise to an implementation-defined
  5130. value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  5131. type: object
  5132. selector:
  5133. description: A label selector is a label query over a set
  5134. of resources. The result of matchLabels and matchExpressions
  5135. are ANDed. An empty label selector matches all objects.
  5136. A null label selector matches no objects.
  5137. properties:
  5138. matchExpressions:
  5139. description: matchExpressions is a list of label selector
  5140. requirements. The requirements are ANDed.
  5141. items:
  5142. description: A label selector requirement is a selector
  5143. that contains values, a key, and an operator that
  5144. relates the key and values.
  5145. properties:
  5146. key:
  5147. description: key is the label key that the selector
  5148. applies to.
  5149. type: string
  5150. operator:
  5151. description: operator represents a key's relationship
  5152. to a set of values. Valid operators are In,
  5153. NotIn, Exists and DoesNotExist.
  5154. type: string
  5155. values:
  5156. description: values is an array of string values.
  5157. If the operator is In or NotIn, the values array
  5158. must be non-empty. If the operator is Exists
  5159. or DoesNotExist, the values array must be empty.
  5160. This array is replaced during a strategic merge
  5161. patch.
  5162. items:
  5163. type: string
  5164. type: array
  5165. required:
  5166. - key
  5167. - operator
  5168. type: array
  5169. matchLabels:
  5170. description: matchLabels is a map of {key,value} pairs.
  5171. A single {key,value} in the matchLabels map is equivalent
  5172. to an element of matchExpressions, whose key field
  5173. is "key", the operator is "In", and the values array
  5174. contains only "value". The requirements are ANDed.
  5175. type: object
  5176. storageClassName:
  5177. description: 'Name of the StorageClass required by the claim.
  5178. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
  5179. type: string
  5180. volumeMode:
  5181. description: volumeMode defines what type of volume is required
  5182. by the claim. Value of Filesystem is implied when not
  5183. included in claim spec. This is an alpha feature and may
  5184. change in the future.
  5185. type: string
  5186. volumeName:
  5187. description: VolumeName is the binding reference to the
  5188. PersistentVolume backing this claim.
  5189. type: string
  5190. status:
  5191. description: PersistentVolumeClaimStatus is the current status
  5192. of a persistent volume claim.
  5193. properties:
  5194. accessModes:
  5195. description: 'AccessModes contains the actual access modes
  5196. the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  5197. items:
  5198. type: string
  5199. type: array
  5200. capacity:
  5201. description: Represents the actual resources of the underlying
  5202. volume.
  5203. type: object
  5204. conditions:
  5205. description: Current Condition of persistent volume claim.
  5206. If underlying persistent volume is being resized then
  5207. the Condition will be set to 'ResizeStarted'.
  5208. items:
  5209. description: PersistentVolumeClaimCondition contails details
  5210. about state of pvc
  5211. properties:
  5212. lastProbeTime:
  5213. description: Time is a wrapper around time.Time which
  5214. supports correct marshaling to YAML and JSON. Wrappers
  5215. are provided for many of the factory methods that
  5216. the time package offers.
  5217. format: date-time
  5218. type: string
  5219. lastTransitionTime:
  5220. description: Time is a wrapper around time.Time which
  5221. supports correct marshaling to YAML and JSON. Wrappers
  5222. are provided for many of the factory methods that
  5223. the time package offers.
  5224. format: date-time
  5225. type: string
  5226. message:
  5227. description: Human-readable message indicating details
  5228. about last transition.
  5229. type: string
  5230. reason:
  5231. description: Unique, this should be a short, machine
  5232. understandable string that gives the reason for
  5233. condition's last transition. If it reports "ResizeStarted"
  5234. that means the underlying persistent volume is being
  5235. resized.
  5236. type: string
  5237. status:
  5238. type: string
  5239. type:
  5240. type: string
  5241. required:
  5242. - type
  5243. - status
  5244. type: array
  5245. phase:
  5246. description: Phase represents the current phase of PersistentVolumeClaim.
  5247. type: string
  5248. tag:
  5249. description: Tag of Prometheus container image to be deployed. Defaults
  5250. to the value of `version`.
  5251. type: string
  5252. thanos:
  5253. description: ThanosSpec defines parameters for a Prometheus server within
  5254. a Thanos deployment.
  5255. properties:
  5256. baseImage:
  5257. description: Thanos base image if other than default.
  5258. type: string
  5259. gcs:
  5260. description: ThanosGCSSpec defines parameters for use of Google
  5261. Cloud Storage (GCS) with Thanos.
  5262. properties:
  5263. bucket:
  5264. description: Google Cloud Storage bucket name for stored blocks.
  5265. If empty it won't store any block inside Google Cloud Storage.
  5266. type: string
  5267. peers:
  5268. description: Peers is a DNS name for Thanos to discover peers through.
  5269. type: string
  5270. s3:
  5271. description: ThanosSpec defines parameters for of AWS Simple Storage
  5272. Service (S3) with Thanos. (S3 compatible services apply as well)
  5273. properties:
  5274. accessKey:
  5275. description: SecretKeySelector selects a key of a Secret.
  5276. properties:
  5277. key:
  5278. description: The key of the secret to select from. Must
  5279. be a valid secret key.
  5280. type: string
  5281. name:
  5282. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  5283. type: string
  5284. optional:
  5285. description: Specify whether the Secret or it's key must
  5286. be defined
  5287. type: boolean
  5288. required:
  5289. - key
  5290. bucket:
  5291. description: S3-Compatible API bucket name for stored blocks.
  5292. type: string
  5293. endpoint:
  5294. description: S3-Compatible API endpoint for stored blocks.
  5295. type: string
  5296. insecure:
  5297. description: Whether to use an insecure connection with an S3-Compatible
  5298. API.
  5299. type: boolean
  5300. secretKey:
  5301. description: SecretKeySelector selects a key of a Secret.
  5302. properties:
  5303. key:
  5304. description: The key of the secret to select from. Must
  5305. be a valid secret key.
  5306. type: string
  5307. name:
  5308. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  5309. type: string
  5310. optional:
  5311. description: Specify whether the Secret or it's key must
  5312. be defined
  5313. type: boolean
  5314. required:
  5315. - key
  5316. signatureVersion2:
  5317. description: Whether to use S3 Signature Version 2; otherwise
  5318. Signature Version 4 will be used.
  5319. type: boolean
  5320. tag:
  5321. description: Tag of Thanos sidecar container image to be deployed.
  5322. Defaults to the value of `version`.
  5323. type: string
  5324. version:
  5325. description: Version describes the version of Thanos to use.
  5326. type: string
  5327. tolerations:
  5328. description: If specified, the pod's tolerations.
  5329. items:
  5330. description: The pod this Toleration is attached to tolerates any
  5331. taint that matches the triple <key,value,effect> using the matching
  5332. operator <operator>.
  5333. properties:
  5334. effect:
  5335. description: Effect indicates the taint effect to match. Empty
  5336. means match all taint effects. When specified, allowed values
  5337. are NoSchedule, PreferNoSchedule and NoExecute.
  5338. type: string
  5339. key:
  5340. description: Key is the taint key that the toleration applies
  5341. to. Empty means match all taint keys. If the key is empty, operator
  5342. must be Exists; this combination means to match all values and
  5343. all keys.
  5344. type: string
  5345. operator:
  5346. description: Operator represents a key's relationship to the value.
  5347. Valid operators are Exists and Equal. Defaults to Equal. Exists
  5348. is equivalent to wildcard for value, so that a pod can tolerate
  5349. all taints of a particular category.
  5350. type: string
  5351. tolerationSeconds:
  5352. description: TolerationSeconds represents the period of time the
  5353. toleration (which must be of effect NoExecute, otherwise this
  5354. field is ignored) tolerates the taint. By default, it is not
  5355. set, which means tolerate the taint forever (do not evict).
  5356. Zero and negative values will be treated as 0 (evict immediately)
  5357. by the system.
  5358. format: int64
  5359. type: integer
  5360. value:
  5361. description: Value is the taint value the toleration matches to.
  5362. If the operator is Exists, the value should be empty, otherwise
  5363. just a regular string.
  5364. type: string
  5365. type: array
  5366. version:
  5367. description: Version of Prometheus to be deployed.
  5368. type: string
  5369. status:
  5370. description: 'Most recent observed status of the Prometheus cluster. Read-only.
  5371. Not included when requesting from the apiserver, only from the Prometheus
  5372. Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  5373. properties:
  5374. availableReplicas:
  5375. description: Total number of available pods (ready for at least minReadySeconds)
  5376. targeted by this Prometheus deployment.
  5377. format: int32
  5378. type: integer
  5379. paused:
  5380. description: Represents whether any actions on the underlaying managed
  5381. objects are being performed. Only delete actions will be performed.
  5382. type: boolean
  5383. replicas:
  5384. description: Total number of non-terminated pods targeted by this Prometheus
  5385. deployment (their labels match the selector).
  5386. format: int32
  5387. type: integer
  5388. unavailableReplicas:
  5389. description: Total number of unavailable pods targeted by this Prometheus
  5390. deployment.
  5391. format: int32
  5392. type: integer
  5393. updatedReplicas:
  5394. description: Total number of non-terminated pods targeted by this Prometheus
  5395. deployment that have the desired version spec.
  5396. format: int32
  5397. type: integer
  5398. required:
  5399. - paused
  5400. - replicas
  5401. - updatedReplicas
  5402. - availableReplicas
  5403. - unavailableReplicas
  5404. version: v1
  5405. - apiVersion: apiextensions.k8s.io/v1beta1
  5406. kind: CustomResourceDefinition
  5407. metadata:
  5408. name: prometheusrules.monitoring.coreos.com
  5409. spec:
  5410. group: monitoring.coreos.com
  5411. names:
  5412. kind: PrometheusRule
  5413. plural: prometheusrules
  5414. scope: Namespaced
  5415. validation:
  5416. openAPIV3Schema:
  5417. properties:
  5418. spec:
  5419. description: PrometheusRuleSpec contains specification parameters for a
  5420. Rule.
  5421. properties:
  5422. groups:
  5423. description: Content of Prometheus rule file
  5424. items:
  5425. description: RuleGroup is a list of sequentially evaluated recording
  5426. and alerting rules.
  5427. properties:
  5428. interval:
  5429. type: string
  5430. name:
  5431. type: string
  5432. rules:
  5433. items:
  5434. description: Rule describes an alerting or recording rule.
  5435. properties:
  5436. alert:
  5437. type: string
  5438. annotations:
  5439. type: object
  5440. expr:
  5441. type: string
  5442. for:
  5443. type: string
  5444. labels:
  5445. type: object
  5446. record:
  5447. type: string
  5448. required:
  5449. - expr
  5450. type: array
  5451. required:
  5452. - name
  5453. - rules
  5454. type: array
  5455. version: v1
  5456. - apiVersion: apiextensions.k8s.io/v1beta1
  5457. kind: CustomResourceDefinition
  5458. metadata:
  5459. name: servicemonitors.monitoring.coreos.com
  5460. spec:
  5461. group: monitoring.coreos.com
  5462. names:
  5463. kind: ServiceMonitor
  5464. plural: servicemonitors
  5465. scope: Namespaced
  5466. validation:
  5467. openAPIV3Schema:
  5468. properties:
  5469. spec:
  5470. description: ServiceMonitorSpec contains specification parameters for a
  5471. ServiceMonitor.
  5472. properties:
  5473. endpoints:
  5474. description: A list of endpoints allowed as part of this ServiceMonitor.
  5475. items:
  5476. description: Endpoint defines a scrapeable endpoint serving Prometheus
  5477. metrics.
  5478. properties:
  5479. basicAuth:
  5480. description: 'BasicAuth allow an endpoint to authenticate over
  5481. basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  5482. properties:
  5483. password:
  5484. description: SecretKeySelector selects a key of a Secret.
  5485. properties:
  5486. key:
  5487. description: The key of the secret to select from. Must
  5488. be a valid secret key.
  5489. type: string
  5490. name:
  5491. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  5492. type: string
  5493. optional:
  5494. description: Specify whether the Secret or it's key must
  5495. be defined
  5496. type: boolean
  5497. required:
  5498. - key
  5499. username:
  5500. description: SecretKeySelector selects a key of a Secret.
  5501. properties:
  5502. key:
  5503. description: The key of the secret to select from. Must
  5504. be a valid secret key.
  5505. type: string
  5506. name:
  5507. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  5508. type: string
  5509. optional:
  5510. description: Specify whether the Secret or it's key must
  5511. be defined
  5512. type: boolean
  5513. required:
  5514. - key
  5515. bearerTokenFile:
  5516. description: File to read bearer token for scraping targets.
  5517. type: string
  5518. honorLabels:
  5519. description: HonorLabels chooses the metric's labels on collisions
  5520. with target labels.
  5521. type: boolean
  5522. interval:
  5523. description: Interval at which metrics should be scraped
  5524. type: string
  5525. metricRelabelings:
  5526. description: MetricRelabelConfigs to apply to samples before ingestion.
  5527. items:
  5528. description: 'RelabelConfig allows dynamic rewriting of the
  5529. label set, being applied to samples before ingestion. It defines
  5530. `<metric_relabel_configs>`-section of Prometheus configuration.
  5531. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
  5532. properties:
  5533. action:
  5534. description: Action to perform based on regex matching.
  5535. Default is 'replace'
  5536. type: string
  5537. modulus:
  5538. description: Modulus to take of the hash of the source label
  5539. values.
  5540. format: int64
  5541. type: integer
  5542. regex:
  5543. description: Regular expression against which the extracted
  5544. value is matched. defailt is '(.*)'
  5545. type: string
  5546. replacement:
  5547. description: Replacement value against which a regex replace
  5548. is performed if the regular expression matches. Regex
  5549. capture groups are available. Default is '$1'
  5550. type: string
  5551. separator:
  5552. description: Separator placed between concatenated source
  5553. label values. default is ';'.
  5554. type: string
  5555. sourceLabels:
  5556. description: The source labels select values from existing
  5557. labels. Their content is concatenated using the configured
  5558. separator and matched against the configured regular expression
  5559. for the replace, keep, and drop actions.
  5560. items:
  5561. type: string
  5562. type: array
  5563. targetLabel:
  5564. description: Label to which the resulting value is written
  5565. in a replace action. It is mandatory for replace actions.
  5566. Regex capture groups are available.
  5567. type: string
  5568. type: array
  5569. params:
  5570. description: Optional HTTP URL parameters
  5571. type: object
  5572. path:
  5573. description: HTTP path to scrape for metrics.
  5574. type: string
  5575. port:
  5576. description: Name of the service port this endpoint refers to.
  5577. Mutually exclusive with targetPort.
  5578. type: string
  5579. proxyUrl:
  5580. description: ProxyURL eg http://proxyserver:2195 Directs scrapes
  5581. to proxy through this endpoint.
  5582. type: string
  5583. scheme:
  5584. description: HTTP scheme to use for scraping.
  5585. type: string
  5586. scrapeTimeout:
  5587. description: Timeout after which the scrape is ended
  5588. type: string
  5589. targetPort:
  5590. anyOf:
  5591. - type: string
  5592. - type: integer
  5593. tlsConfig:
  5594. description: TLSConfig specifies TLS configuration parameters.
  5595. properties:
  5596. caFile:
  5597. description: The CA cert to use for the targets.
  5598. type: string
  5599. certFile:
  5600. description: The client cert file for the targets.
  5601. type: string
  5602. insecureSkipVerify:
  5603. description: Disable target certificate validation.
  5604. type: boolean
  5605. keyFile:
  5606. description: The client key file for the targets.
  5607. type: string
  5608. serverName:
  5609. description: Used to verify the hostname for the targets.
  5610. type: string
  5611. type: array
  5612. jobLabel:
  5613. description: The label to use to retrieve the job name from.
  5614. type: string
  5615. namespaceSelector:
  5616. description: A selector for selecting namespaces either selecting all
  5617. namespaces or a list of namespaces.
  5618. properties:
  5619. any:
  5620. description: Boolean describing whether all namespaces are selected
  5621. in contrast to a list restricting them.
  5622. type: boolean
  5623. matchNames:
  5624. description: List of namespace names.
  5625. items:
  5626. type: string
  5627. type: array
  5628. selector:
  5629. description: A label selector is a label query over a set of resources.
  5630. The result of matchLabels and matchExpressions are ANDed. An empty
  5631. label selector matches all objects. A null label selector matches
  5632. no objects.
  5633. properties:
  5634. matchExpressions:
  5635. description: matchExpressions is a list of label selector requirements.
  5636. The requirements are ANDed.
  5637. items:
  5638. description: A label selector requirement is a selector that contains
  5639. values, a key, and an operator that relates the key and values.
  5640. properties:
  5641. key:
  5642. description: key is the label key that the selector applies
  5643. to.
  5644. type: string
  5645. operator:
  5646. description: operator represents a key's relationship to a
  5647. set of values. Valid operators are In, NotIn, Exists and
  5648. DoesNotExist.
  5649. type: string
  5650. values:
  5651. description: values is an array of string values. If the operator
  5652. is In or NotIn, the values array must be non-empty. If the
  5653. operator is Exists or DoesNotExist, the values array must
  5654. be empty. This array is replaced during a strategic merge
  5655. patch.
  5656. items:
  5657. type: string
  5658. type: array
  5659. required:
  5660. - key
  5661. - operator
  5662. type: array
  5663. matchLabels:
  5664. description: matchLabels is a map of {key,value} pairs. A single
  5665. {key,value} in the matchLabels map is equivalent to an element
  5666. of matchExpressions, whose key field is "key", the operator is
  5667. "In", and the values array contains only "value". The requirements
  5668. are ANDed.
  5669. type: object
  5670. targetLabels:
  5671. description: TargetLabels transfers labels on the Kubernetes Service
  5672. onto the target.
  5673. items:
  5674. type: string
  5675. type: array
  5676. required:
  5677. - endpoints
  5678. - selector
  5679. version: v1
  5680. clusterServiceVersions: |-
  5681. - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
  5682. #! parse-kind: ClusterServiceVersion
  5683. apiVersion: operators.coreos.com/v1alpha1
  5684. kind: ClusterServiceVersion
  5685. metadata:
  5686. name: etcdoperator.v0.6.1
  5687. namespace: placeholder
  5688. annotations:
  5689. tectonic-visibility: ocs
  5690. spec:
  5691. displayName: etcd
  5692. description: |
  5693. etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles leader elections during network partitions and will tolerate machine failure, including the leader. Your applications can read and write data into etcd.
  5694. A simple use-case is to store database connection details or feature flags within etcd as key value pairs. These values can be watched, allowing your app to reconfigure itself when they change. Advanced uses take advantage of the consistency guarantees to implement database leader elections or do distributed locking across a cluster of workers.
  5695. _The etcd Open Cloud Service is Public Alpha. The goal before Beta is to fully implement backup features._
  5696. ### Reading and writing to etcd
  5697. Communicate with etcd though its command line utility `etcdctl` or with the API using the automatically generated Kubernetes Service.
  5698. [Read the complete guide to using the etcd Open Cloud Service](https://coreos.com/tectonic/docs/latest/alm/etcd-ocs.html)
  5699. ### Supported Features
  5700. **High availability**
  5701. Multiple instances of etcd are networked together and secured. Individual failures or networking issues are transparently handled to keep your cluster up and running.
  5702. **Automated updates**
  5703. Rolling out a new etcd version works like all Kubernetes rolling updates. Simply declare the desired version, and the etcd service starts a safe rolling update to the new version automatically.
  5704. **Backups included**
  5705. Coming soon, the ability to schedule backups to happen on or off cluster.
  5706. keywords: ['etcd', 'key value', 'database', 'coreos', 'open source']
  5707. version: 0.6.1
  5708. maturity: alpha
  5709. maintainers:
  5710. - name: CoreOS, Inc
  5711. email: support@coreos.com
  5712. provider:
  5713. name: CoreOS, Inc
  5714. labels:
  5715. alm-status-descriptors: etcdoperator.v0.6.1
  5716. alm-owner-etcd: etcdoperator
  5717. operated-by: etcdoperator
  5718. selector:
  5719. matchLabels:
  5720. alm-owner-etcd: etcdoperator
  5721. operated-by: etcdoperator
  5722. links:
  5723. - name: Blog
  5724. url: https://coreos.com/etcd
  5725. - name: Documentation
  5726. url: https://coreos.com/operators/etcd/docs/latest/
  5727. - name: etcd Operator Source Code
  5728. url: https://github.com/coreos/etcd-operator
  5729. icon:
  5730. - base64data: iVBORw0KGgoAAAANSUhEUgAAAOEAAADZCAYAAADWmle6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEKlJREFUeNrsndt1GzkShmEev4sTgeiHfRYdgVqbgOgITEVgOgLTEQydwIiKwFQCayoCU6+7DyYjsBiBFyVVz7RkXvqCSxXw/+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jwhPAicTVCVQJCNF50JghHocahKK0X/ZnQKyEkhSdUpzG8OgQI42qC94EQjsYLRSmH+pbgq73L6bYkeEJ4DYTYmeg1TOBFc/usTTp3V9DdEuXJ2xDCUbXhaXk0/kAYmBvuMB4qkC35E5e5AMKkwSQgyxufyuPy6fMMgAFCSI73LFXU/N8AmEL9X4ABACNSKMHAgb34AAAAAElFTkSuQmCC
  5731. mediatype: image/png
  5732. install:
  5733. strategy: deployment
  5734. spec:
  5735. permissions:
  5736. - serviceAccountName: etcd-operator
  5737. rules:
  5738. - apiGroups:
  5739. - etcd.database.coreos.com
  5740. resources:
  5741. - etcdclusters
  5742. verbs:
  5743. - "*"
  5744. - apiGroups:
  5745. - storage.k8s.io
  5746. resources:
  5747. - storageclasses
  5748. verbs:
  5749. - "*"
  5750. - apiGroups:
  5751. - ""
  5752. resources:
  5753. - pods
  5754. - services
  5755. - endpoints
  5756. - persistentvolumeclaims
  5757. - events
  5758. verbs:
  5759. - "*"
  5760. - apiGroups:
  5761. - apps
  5762. resources:
  5763. - deployments
  5764. verbs:
  5765. - "*"
  5766. - apiGroups:
  5767. - ""
  5768. resources:
  5769. - secrets
  5770. verbs:
  5771. - get
  5772. deployments:
  5773. - name: etcd-operator
  5774. spec:
  5775. replicas: 1
  5776. selector:
  5777. matchLabels:
  5778. name: etcd-operator-alm-owned
  5779. template:
  5780. metadata:
  5781. name: etcd-operator-alm-owned
  5782. labels:
  5783. name: etcd-operator-alm-owned
  5784. spec:
  5785. serviceAccountName: etcd-operator
  5786. containers:
  5787. - name: etcd-operator
  5788. command:
  5789. - etcd-operator
  5790. - --create-crd=false
  5791. image: quay.io/coreos/etcd-operator@sha256:bd944a211eaf8f31da5e6d69e8541e7cada8f16a9f7a5a570b22478997819943
  5792. env:
  5793. - name: MY_POD_NAMESPACE
  5794. valueFrom:
  5795. fieldRef:
  5796. fieldPath: metadata.namespace
  5797. - name: MY_POD_NAME
  5798. valueFrom:
  5799. fieldRef:
  5800. fieldPath: metadata.name
  5801. customresourcedefinitions:
  5802. owned:
  5803. - name: etcdclusters.etcd.database.coreos.com
  5804. version: v1beta2
  5805. kind: EtcdCluster
  5806. displayName: etcd Cluster
  5807. description: Represents a cluster of etcd nodes.
  5808. resources:
  5809. - kind: Service
  5810. version: v1
  5811. - kind: Pod
  5812. version: v1
  5813. specDescriptors:
  5814. - description: The desired number of member Pods for the etcd cluster.
  5815. displayName: Size
  5816. path: size
  5817. x-descriptors:
  5818. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  5819. statusDescriptors:
  5820. - description: The status of each of the member Pods for the etcd cluster.
  5821. displayName: Member Status
  5822. path: members
  5823. x-descriptors:
  5824. - 'urn:alm:descriptor:com.tectonic.ui:podStatuses'
  5825. - description: The service at which the running etcd cluster can be accessed.
  5826. displayName: Service
  5827. path: service
  5828. x-descriptors:
  5829. - 'urn:alm:descriptor:io.kubernetes:Service'
  5830. - description: The current size of the etcd cluster.
  5831. displayName: Cluster Size
  5832. path: size
  5833. - description: The current version of the etcd cluster.
  5834. displayName: Current Version
  5835. path: currentVersion
  5836. - description: 'The target version of the etcd cluster, after upgrading.'
  5837. displayName: Target Version
  5838. path: targetVersion
  5839. - description: The current status of the etcd cluster.
  5840. displayName: Status
  5841. path: phase
  5842. x-descriptors:
  5843. - 'urn:alm:descriptor:io.kubernetes.phase'
  5844. - description: Explanation for the current status of the cluster.
  5845. displayName: Status Details
  5846. path: reason
  5847. x-descriptors:
  5848. - 'urn:alm:descriptor:io.kubernetes.phase:reason'
  5849. - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
  5850. #! parse-kind: ClusterServiceVersion
  5851. apiVersion: operators.coreos.com/v1alpha1
  5852. kind: ClusterServiceVersion
  5853. metadata:
  5854. name: etcdoperator.v0.9.0
  5855. namespace: placeholder
  5856. annotations:
  5857. tectonic-visibility: ocs
  5858. alm-examples: '[{"apiVersion":"etcd.database.coreos.com/v1beta2","kind":"EtcdCluster","metadata":{"name":"example","namespace":"default"},"spec":{"size":3,"version":"3.2.13"}},{"apiVersion":"etcd.database.coreos.com/v1beta2","kind":"EtcdRestore","metadata":{"name":"example-etcd-cluster"},"spec":{"etcdCluster":{"name":"example-etcd-cluster"},"backupStorageType":"S3","s3":{"path":"<full-s3-path>","awsSecret":"<aws-secret>"}}},{"apiVersion":"etcd.database.coreos.com/v1beta2","kind":"EtcdBackup","metadata":{"name":"example-etcd-cluster-backup"},"spec":{"etcdEndpoints":["<etcd-cluster-endpoints>"],"storageType":"S3","s3":{"path":"<full-s3-path>","awsSecret":"<aws-secret>"}}}]'
  5859. spec:
  5860. displayName: etcd
  5861. description: |
  5862. etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles leader elections during network partitions and will tolerate machine failure, including the leader. Your applications can read and write data into etcd.
  5863. A simple use-case is to store database connection details or feature flags within etcd as key value pairs. These values can be watched, allowing your app to reconfigure itself when they change. Advanced uses take advantage of the consistency guarantees to implement database leader elections or do distributed locking across a cluster of workers.
  5864. _The etcd Open Cloud Service is Public Alpha. The goal before Beta is to fully implement backup features._
  5865. ### Reading and writing to etcd
  5866. Communicate with etcd though its command line utility `etcdctl` or with the API using the automatically generated Kubernetes Service.
  5867. [Read the complete guide to using the etcd Open Cloud Service](https://coreos.com/tectonic/docs/latest/alm/etcd-ocs.html)
  5868. ### Supported Features
  5869. **High availability**
  5870. Multiple instances of etcd are networked together and secured. Individual failures or networking issues are transparently handled to keep your cluster up and running.
  5871. **Automated updates**
  5872. Rolling out a new etcd version works like all Kubernetes rolling updates. Simply declare the desired version, and the etcd service starts a safe rolling update to the new version automatically.
  5873. **Backups included**
  5874. Coming soon, the ability to schedule backups to happen on or off cluster.
  5875. keywords: ['etcd', 'key value', 'database', 'coreos', 'open source']
  5876. version: 0.9.0
  5877. maturity: alpha
  5878. replaces: etcdoperator.v0.6.1
  5879. maintainers:
  5880. - name: CoreOS, Inc
  5881. email: support@coreos.com
  5882. provider:
  5883. name: CoreOS, Inc
  5884. labels:
  5885. alm-owner-etcd: etcdoperator
  5886. operated-by: etcdoperator
  5887. selector:
  5888. matchLabels:
  5889. alm-owner-etcd: etcdoperator
  5890. operated-by: etcdoperator
  5891. links:
  5892. - name: Blog
  5893. url: https://coreos.com/etcd
  5894. - name: Documentation
  5895. url: https://coreos.com/operators/etcd/docs/latest/
  5896. - name: etcd Operator Source Code
  5897. url: https://github.com/coreos/etcd-operator
  5898. icon:
  5899. - base64data: iVBORw0KGgoAAAANSUhEUgAAAOEAAADZCAYAAADWmle6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEKlJREFUeNrsndt1GzkShmEev4sTgeiHfRYdgVqbgOgITEVgOgLTEQydwIiKwFQCayoCU6+7DyYjsBiBFyVVz7RkXvqCSxXw/+f04XjGQ6IL+FBVuL769euXgZ7r39f/G9iP0X+u/jWDNZzZdGI/Ftama1jjuV4BwmcNpbAf1Fgu+V/9YRvNAyzT2a59+/GT/3hnn5m16wKWedJrmOCxkYztx9Q+py/+E0GJxtJdReWfz+mxNt+QzS2Mc0AI+HbBBwj9QViKbH5t64DsP2fvmGXUkWU4WgO+Uve2YQzBUGd7r+zH2ZG/tiUQc4QxKwgbwFfVGwwmdLL5wH78aPC/ZBem9jJpCAX3xtcNASSNgJLzUPSQyjB1zQNl8IQJ9MIU4lx2+Jo72ysXYKl1HSzN02BMa/vbZ5xyNJIshJzwf3L0dQhJw4Sih/SFw9Tk8sVeghVPoefaIYCkMZCKbrcP9lnZuk0uPUjGE/KE8JQry7W2tgfuC3vXgvNV+qSQbyFtAtyWk7zWiYevvuUQ9QEQCvJ+5mmu6dTjz1zFHLFj8Eb87MtxaZh/IQFIHom+9vgTWwZxAQjT9X4vtbEVPojwjiV471s00mhAckpwGuCn1HtFtRDaSh6y9zsL+LNBvCG/24ThcxHObdlWc1v+VQJe8LcO0jwtuF8BwnAAUgP9M8JPU2Me+Oh12auPG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shRCGIhxFWIowFJ5QkEYIS5PTJrUwNGlPyN6QQPyKtpuM1E/K5+YJDV/MiA3AaehzqgAm7QnZG9IGYKo8bHnSK7VblLL3hOwNHziPuEGOqE5brrdR6i+atCfckyeWD47HkAkepRGLY/e8A8J0gCwYSNypF08bBm+e6zVz2UL4AshhBUjML/rXLefqC82bcQFhGC9JDwZ1uuu+At0S5gCETYHsV4DUeD9fDN2Zfy5OXaW2zAwQygCzBLJ8cvaW5OXKC1FxfTggFAHmoAJnSiOw2wps9KwRWgJCLaEswaj5NqkLwAYIU4BxqTSXbHXpJdRMPZgAOiAMqABCNGYIEEJutEK5IUAIwYMDQgiCACEEAcJs1Vda7gGqDhCmoiEghAAhBAHCrKXVo2C1DCBMRlp37uMIEECoX7xrX3P5C9QiINSuIcoPAUI0YkAICLNWgfJDh4T9hH7zqYH9+JHAq7zBqWjwhPAicTVCVQJCNF50JghHocahKK0X/ZnQKyEkhSdUpzG8OgQI42qC94EQjsYLRSmH+pbgq73L6bYkeEJ4DYTYmeg1TOBFc/usTTp3V9DdEuXJ2xDCUbXhaXk0/kAYmBvuMB4qkC35E5e5AMKkwSQgyxufyuPy6fMMgAFCSI73LFXU/N8AmEL9X4ABACNSKMHAgb34AAAAAElFTkSuQmCC
  5900. mediatype: image/png
  5901. install:
  5902. strategy: deployment
  5903. spec:
  5904. permissions:
  5905. - serviceAccountName: etcd-operator
  5906. rules:
  5907. - apiGroups:
  5908. - etcd.database.coreos.com
  5909. resources:
  5910. - etcdclusters
  5911. - etcdbackups
  5912. - etcdrestores
  5913. verbs:
  5914. - "*"
  5915. - apiGroups:
  5916. - ""
  5917. resources:
  5918. - pods
  5919. - services
  5920. - endpoints
  5921. - persistentvolumeclaims
  5922. - events
  5923. verbs:
  5924. - "*"
  5925. - apiGroups:
  5926. - apps
  5927. resources:
  5928. - deployments
  5929. verbs:
  5930. - "*"
  5931. - apiGroups:
  5932. - ""
  5933. resources:
  5934. - secrets
  5935. verbs:
  5936. - get
  5937. deployments:
  5938. - name: etcd-operator
  5939. spec:
  5940. replicas: 1
  5941. selector:
  5942. matchLabels:
  5943. name: etcd-operator-alm-owned
  5944. template:
  5945. metadata:
  5946. name: etcd-operator-alm-owned
  5947. labels:
  5948. name: etcd-operator-alm-owned
  5949. spec:
  5950. serviceAccountName: etcd-operator
  5951. containers:
  5952. - name: etcd-operator
  5953. command:
  5954. - etcd-operator
  5955. - --create-crd=false
  5956. image: quay.io/coreos/etcd-operator@sha256:db563baa8194fcfe39d1df744ed70024b0f1f9e9b55b5923c2f3a413c44dc6b8
  5957. env:
  5958. - name: MY_POD_NAMESPACE
  5959. valueFrom:
  5960. fieldRef:
  5961. fieldPath: metadata.namespace
  5962. - name: MY_POD_NAME
  5963. valueFrom:
  5964. fieldRef:
  5965. fieldPath: metadata.name
  5966. - name: etcd-backup-operator
  5967. image: quay.io/coreos/etcd-operator@sha256:db563baa8194fcfe39d1df744ed70024b0f1f9e9b55b5923c2f3a413c44dc6b8
  5968. command:
  5969. - etcd-backup-operator
  5970. - --create-crd=false
  5971. env:
  5972. - name: MY_POD_NAMESPACE
  5973. valueFrom:
  5974. fieldRef:
  5975. fieldPath: metadata.namespace
  5976. - name: MY_POD_NAME
  5977. valueFrom:
  5978. fieldRef:
  5979. fieldPath: metadata.name
  5980. - name: etcd-restore-operator
  5981. image: quay.io/coreos/etcd-operator@sha256:db563baa8194fcfe39d1df744ed70024b0f1f9e9b55b5923c2f3a413c44dc6b8
  5982. command:
  5983. - etcd-restore-operator
  5984. - --create-crd=false
  5985. env:
  5986. - name: MY_POD_NAMESPACE
  5987. valueFrom:
  5988. fieldRef:
  5989. fieldPath: metadata.namespace
  5990. - name: MY_POD_NAME
  5991. valueFrom:
  5992. fieldRef:
  5993. fieldPath: metadata.name
  5994. customresourcedefinitions:
  5995. owned:
  5996. - name: etcdclusters.etcd.database.coreos.com
  5997. version: v1beta2
  5998. kind: EtcdCluster
  5999. displayName: etcd Cluster
  6000. description: Represents a cluster of etcd nodes.
  6001. resources:
  6002. - kind: Service
  6003. version: v1
  6004. - kind: Pod
  6005. version: v1
  6006. specDescriptors:
  6007. - description: The desired number of member Pods for the etcd cluster.
  6008. displayName: Size
  6009. path: size
  6010. x-descriptors:
  6011. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  6012. - description: Limits describes the minimum/maximum amount of compute resources required/allowed
  6013. displayName: Resource Requirements
  6014. path: pod.resources
  6015. x-descriptors:
  6016. - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
  6017. statusDescriptors:
  6018. - description: The status of each of the member Pods for the etcd cluster.
  6019. displayName: Member Status
  6020. path: members
  6021. x-descriptors:
  6022. - 'urn:alm:descriptor:com.tectonic.ui:podStatuses'
  6023. - description: The service at which the running etcd cluster can be accessed.
  6024. displayName: Service
  6025. path: serviceName
  6026. x-descriptors:
  6027. - 'urn:alm:descriptor:io.kubernetes:Service'
  6028. - description: The current size of the etcd cluster.
  6029. displayName: Cluster Size
  6030. path: size
  6031. - description: The current version of the etcd cluster.
  6032. displayName: Current Version
  6033. path: currentVersion
  6034. - description: 'The target version of the etcd cluster, after upgrading.'
  6035. displayName: Target Version
  6036. path: targetVersion
  6037. - description: The current status of the etcd cluster.
  6038. displayName: Status
  6039. path: phase
  6040. x-descriptors:
  6041. - 'urn:alm:descriptor:io.kubernetes.phase'
  6042. - description: Explanation for the current status of the cluster.
  6043. displayName: Status Details
  6044. path: reason
  6045. x-descriptors:
  6046. - 'urn:alm:descriptor:io.kubernetes.phase:reason'
  6047. - name: etcdbackups.etcd.database.coreos.com
  6048. version: v1beta2
  6049. kind: EtcdBackup
  6050. displayName: etcd Backup
  6051. description: Represents the intent to backup an etcd cluster.
  6052. specDescriptors:
  6053. - description: Specifies the endpoints of an etcd cluster.
  6054. displayName: etcd Endpoint(s)
  6055. path: etcdEndpoints
  6056. x-descriptors:
  6057. - 'urn:alm:descriptor:etcd:endpoint'
  6058. - description: The full AWS S3 path where the backup is saved.
  6059. displayName: S3 Path
  6060. path: s3.path
  6061. x-descriptors:
  6062. - 'urn:alm:descriptor:aws:s3:path'
  6063. - description: The name of the secret object that stores the AWS credential and config files.
  6064. displayName: AWS Secret
  6065. path: s3.awsSecret
  6066. x-descriptors:
  6067. - 'urn:alm:descriptor:io.kubernetes:Secret'
  6068. statusDescriptors:
  6069. - description: Indicates if the backup was successful.
  6070. displayName: Succeeded
  6071. path: succeeded
  6072. x-descriptors:
  6073. - 'urn:alm:descriptor:text'
  6074. - description: Indicates the reason for any backup related failures.
  6075. displayName: Reason
  6076. path: reason
  6077. x-descriptors:
  6078. - 'urn:alm:descriptor:io.kubernetes.phase:reason'
  6079. - name: etcdrestores.etcd.database.coreos.com
  6080. version: v1beta2
  6081. kind: EtcdRestore
  6082. displayName: etcd Restore
  6083. description: Represents the intent to restore an etcd cluster from a backup.
  6084. specDescriptors:
  6085. - description: References the EtcdCluster which should be restored,
  6086. displayName: etcd Cluster
  6087. path: etcdCluster.name
  6088. x-descriptors:
  6089. - 'urn:alm:descriptor:io.kubernetes:EtcdCluster'
  6090. - 'urn:alm:descriptor:text'
  6091. - description: The full AWS S3 path where the backup is saved.
  6092. displayName: S3 Path
  6093. path: s3.path
  6094. x-descriptors:
  6095. - 'urn:alm:descriptor:aws:s3:path'
  6096. - description: The name of the secret object that stores the AWS credential and config files.
  6097. displayName: AWS Secret
  6098. path: s3.awsSecret
  6099. x-descriptors:
  6100. - 'urn:alm:descriptor:io.kubernetes:Secret'
  6101. statusDescriptors:
  6102. - description: Indicates if the restore was successful.
  6103. displayName: Succeeded
  6104. path: succeeded
  6105. x-descriptors:
  6106. - 'urn:alm:descriptor:text'
  6107. - description: Indicates the reason for any restore related failures.
  6108. displayName: Reason
  6109. path: reason
  6110. x-descriptors:
  6111. - 'urn:alm:descriptor:io.kubernetes.phase:reason'
  6112. - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
  6113. #! parse-kind: ClusterServiceVersion
  6114. apiVersion: operators.coreos.com/v1alpha1
  6115. kind: ClusterServiceVersion
  6116. metadata:
  6117. name: etcdoperator.v0.9.2
  6118. namespace: placeholder
  6119. annotations:
  6120. tectonic-visibility: ocs
  6121. alm-examples: '[{"apiVersion":"etcd.database.coreos.com/v1beta2","kind":"EtcdCluster","metadata":{"name":"example","namespace":"default"},"spec":{"size":3,"version":"3.2.13"}},{"apiVersion":"etcd.database.coreos.com/v1beta2","kind":"EtcdRestore","metadata":{"name":"example-etcd-cluster"},"spec":{"etcdCluster":{"name":"example-etcd-cluster"},"backupStorageType":"S3","s3":{"path":"<full-s3-path>","awsSecret":"<aws-secret>"}}},{"apiVersion":"etcd.database.coreos.com/v1beta2","kind":"EtcdBackup","metadata":{"name":"example-etcd-cluster-backup"},"spec":{"etcdEndpoints":["<etcd-cluster-endpoints>"],"storageType":"S3","s3":{"path":"<full-s3-path>","awsSecret":"<aws-secret>"}}}]'
  6122. spec:
  6123. displayName: etcd
  6124. description: |
  6125. etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles leader elections during network partitions and will tolerate machine failure, including the leader. Your applications can read and write data into etcd.
  6126. A simple use-case is to store database connection details or feature flags within etcd as key value pairs. These values can be watched, allowing your app to reconfigure itself when they change. Advanced uses take advantage of the consistency guarantees to implement database leader elections or do distributed locking across a cluster of workers.
  6127. _The etcd Open Cloud Service is Public Alpha. The goal before Beta is to fully implement backup features._
  6128. ### Reading and writing to etcd
  6129. Communicate with etcd though its command line utility `etcdctl` or with the API using the automatically generated Kubernetes Service.
  6130. [Read the complete guide to using the etcd Open Cloud Service](https://coreos.com/tectonic/docs/latest/alm/etcd-ocs.html)
  6131. ### Supported Features
  6132. **High availability**
  6133. Multiple instances of etcd are networked together and secured. Individual failures or networking issues are transparently handled to keep your cluster up and running.
  6134. **Automated updates**
  6135. Rolling out a new etcd version works like all Kubernetes rolling updates. Simply declare the desired version, and the etcd service starts a safe rolling update to the new version automatically.
  6136. **Backups included**
  6137. Coming soon, the ability to schedule backups to happen on or off cluster.
  6138. keywords: ['etcd', 'key value', 'database', 'coreos', 'open source']
  6139. version: 0.9.2
  6140. maturity: alpha
  6141. replaces: etcdoperator.v0.9.0
  6142. maintainers:
  6143. - name: CoreOS, Inc
  6144. email: support@coreos.com
  6145. provider:
  6146. name: CoreOS, Inc
  6147. labels:
  6148. alm-owner-etcd: etcdoperator
  6149. operated-by: etcdoperator
  6150. selector:
  6151. matchLabels:
  6152. alm-owner-etcd: etcdoperator
  6153. operated-by: etcdoperator
  6154. links:
  6155. - name: Blog
  6156. url: https://coreos.com/etcd
  6157. - name: Documentation
  6158. url: https://coreos.com/operators/etcd/docs/latest/
  6159. - name: etcd Operator Source Code
  6160. url: https://github.com/coreos/etcd-operator
  6161. icon:
  6162. - base64data: iVBORw0KGgoAAAANSUhEUgAAAOEAAADZCAYAAADWmle6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEKlJREFUeNrsndt1GzkShmEev4sTgeiHfRYdgVqbgOgITEVgOgLTEQydwIiKwFQCayoCU6+7DyYjsBiBFyVVz7RkXvqCSxXw/+f04XjGQ6IL+FBVuL769euXgZ7r39f/G9iP0X+u/jWDNZzZdGI/Ftama1jjuV4BwmcNpbAf1Fgu+V/9YRvNAyzT2a59+/GT/3hnn5m16wKWedJrmOCxkYztx9Q+py/+E0GJxtJdReWfz+mxNt+QzS2Mc0AI+HbBBwj9QViKbH5t64DsP2fvmGXUkWU4WgO+Uve2YQzBUGd7r+zH2ZG/tiUQc4QxKwgbwFfVGwwmdLL5wH78aPC/ZBem9jJpCAX3xtcNASSNgJLzUPSQyjB1zQNl8IQJ9MIU4lx2+Jo72ysXYKl1HSzN02BMa/vbZ5xyNJIshJzwf3L0dQhJw4Sih/SFw9Tk8sVeghVPoefaIYCkMZCKbrcP9lnZuk0uPUjGE/KE8JQry7W2tgfuC3vXgvNV+qSQbyFtAtyWk7zWiYevvuUQ9QEQCvJ+5mmu6dTj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VCaaj06GVs9xUbHdiKoqrHWgquFEFMWUEWfXUxJAML23hAHFOctmjZQffKD2pywkhtSGHKNtpitLroscAeE7kCkSsC60vxEl6yMtL9EL5HKGCMszU5bk8gdkklAyEn5FO0yK419rIxBOIqwFMooDE0tHEVYijAUECIshRCGIhxFWIowFJ5QkEYIS5PTJrUwNGlPyN6QQPyKtpuM1E/K5+YJDV/MiA3AaehzqgAm7QnZG9IGYKo8bHnSK7VblLL3hOwNHziPuEGOqE5brrdR6i+atCfckyeWD47HkAkepRGLY/e8A8J0gCwYSNypF08bBm+e6zVz2UL4AshhBUjML/rXLefqC82bcQFhGC9JDwZ1uuu+At0S5gCETYHsV4DUeD9fDN2Zfy5OXaW2zAwQygCzBLJ8cvaW5OXKC1FxfTggFAHmoAJnSiOw2wps9KwRWgJCLaEswaj5NqkLwAYIU4BxqTSXbHXpJdRMPZgAOiAMqABCNGYIEEJutEK5IUAIwYMDQgiCACEEAcJs1Vda7gGqDhCmoiEghAAhBAHCrKXVo2C1DCBMRlp37uMIEECoX7xrX3P5C9QiINSuIcoPAUI0YkAICLNWgfJDh4T9hH7zqYH9+JHAq7zBqWjwhPAicTVCVQJCNF50JghHocahKK0X/ZnQKyEkhSdUpzG8OgQI42qC94EQjsYLRSmH+pbgq73L6bYkeEJ4DYTYmeg1TOBFc/usTTp3V9DdEuXJ2xDCUbXhaXk0/kAYmBvuMB4qkC35E5e5AMKkwSQgyxufyuPy6fMMgAFCSI73LFXU/N8AmEL9X4ABACNSKMHAgb34AAAAAElFTkSuQmCC
  6163. mediatype: image/png
  6164. install:
  6165. strategy: deployment
  6166. spec:
  6167. permissions:
  6168. - serviceAccountName: etcd-operator
  6169. rules:
  6170. - apiGroups:
  6171. - etcd.database.coreos.com
  6172. resources:
  6173. - etcdclusters
  6174. - etcdbackups
  6175. - etcdrestores
  6176. verbs:
  6177. - "*"
  6178. - apiGroups:
  6179. - ""
  6180. resources:
  6181. - pods
  6182. - services
  6183. - endpoints
  6184. - persistentvolumeclaims
  6185. - events
  6186. verbs:
  6187. - "*"
  6188. - apiGroups:
  6189. - apps
  6190. resources:
  6191. - deployments
  6192. verbs:
  6193. - "*"
  6194. - apiGroups:
  6195. - ""
  6196. resources:
  6197. - secrets
  6198. verbs:
  6199. - get
  6200. deployments:
  6201. - name: etcd-operator
  6202. spec:
  6203. replicas: 1
  6204. selector:
  6205. matchLabels:
  6206. name: etcd-operator-alm-owned
  6207. template:
  6208. metadata:
  6209. name: etcd-operator-alm-owned
  6210. labels:
  6211. name: etcd-operator-alm-owned
  6212. spec:
  6213. serviceAccountName: etcd-operator
  6214. containers:
  6215. - name: etcd-operator
  6216. command:
  6217. - etcd-operator
  6218. - --create-crd=false
  6219. image: quay.io/coreos/etcd-operator@sha256:c0301e4686c3ed4206e370b42de5a3bd2229b9fb4906cf85f3f30650424abec2
  6220. env:
  6221. - name: MY_POD_NAMESPACE
  6222. valueFrom:
  6223. fieldRef:
  6224. fieldPath: metadata.namespace
  6225. - name: MY_POD_NAME
  6226. valueFrom:
  6227. fieldRef:
  6228. fieldPath: metadata.name
  6229. - name: etcd-backup-operator
  6230. image: quay.io/coreos/etcd-operator@sha256:c0301e4686c3ed4206e370b42de5a3bd2229b9fb4906cf85f3f30650424abec2
  6231. command:
  6232. - etcd-backup-operator
  6233. - --create-crd=false
  6234. env:
  6235. - name: MY_POD_NAMESPACE
  6236. valueFrom:
  6237. fieldRef:
  6238. fieldPath: metadata.namespace
  6239. - name: MY_POD_NAME
  6240. valueFrom:
  6241. fieldRef:
  6242. fieldPath: metadata.name
  6243. - name: etcd-restore-operator
  6244. image: quay.io/coreos/etcd-operator@sha256:c0301e4686c3ed4206e370b42de5a3bd2229b9fb4906cf85f3f30650424abec2
  6245. command:
  6246. - etcd-restore-operator
  6247. - --create-crd=false
  6248. env:
  6249. - name: MY_POD_NAMESPACE
  6250. valueFrom:
  6251. fieldRef:
  6252. fieldPath: metadata.namespace
  6253. - name: MY_POD_NAME
  6254. valueFrom:
  6255. fieldRef:
  6256. fieldPath: metadata.name
  6257. customresourcedefinitions:
  6258. owned:
  6259. - name: etcdclusters.etcd.database.coreos.com
  6260. version: v1beta2
  6261. kind: EtcdCluster
  6262. displayName: etcd Cluster
  6263. description: Represents a cluster of etcd nodes.
  6264. resources:
  6265. - kind: Service
  6266. version: v1
  6267. - kind: Pod
  6268. version: v1
  6269. specDescriptors:
  6270. - description: The desired number of member Pods for the etcd cluster.
  6271. displayName: Size
  6272. path: size
  6273. x-descriptors:
  6274. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  6275. - description: Limits describes the minimum/maximum amount of compute resources required/allowed
  6276. displayName: Resource Requirements
  6277. path: pod.resources
  6278. x-descriptors:
  6279. - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
  6280. statusDescriptors:
  6281. - description: The status of each of the member Pods for the etcd cluster.
  6282. displayName: Member Status
  6283. path: members
  6284. x-descriptors:
  6285. - 'urn:alm:descriptor:com.tectonic.ui:podStatuses'
  6286. - description: The service at which the running etcd cluster can be accessed.
  6287. displayName: Service
  6288. path: serviceName
  6289. x-descriptors:
  6290. - 'urn:alm:descriptor:io.kubernetes:Service'
  6291. - description: The current size of the etcd cluster.
  6292. displayName: Cluster Size
  6293. path: size
  6294. - description: The current version of the etcd cluster.
  6295. displayName: Current Version
  6296. path: currentVersion
  6297. - description: 'The target version of the etcd cluster, after upgrading.'
  6298. displayName: Target Version
  6299. path: targetVersion
  6300. - description: The current status of the etcd cluster.
  6301. displayName: Status
  6302. path: phase
  6303. x-descriptors:
  6304. - 'urn:alm:descriptor:io.kubernetes.phase'
  6305. - description: Explanation for the current status of the cluster.
  6306. displayName: Status Details
  6307. path: reason
  6308. x-descriptors:
  6309. - 'urn:alm:descriptor:io.kubernetes.phase:reason'
  6310. - name: etcdbackups.etcd.database.coreos.com
  6311. version: v1beta2
  6312. kind: EtcdBackup
  6313. displayName: etcd Backup
  6314. description: Represents the intent to backup an etcd cluster.
  6315. specDescriptors:
  6316. - description: Specifies the endpoints of an etcd cluster.
  6317. displayName: etcd Endpoint(s)
  6318. path: etcdEndpoints
  6319. x-descriptors:
  6320. - 'urn:alm:descriptor:etcd:endpoint'
  6321. - description: The full AWS S3 path where the backup is saved.
  6322. displayName: S3 Path
  6323. path: s3.path
  6324. x-descriptors:
  6325. - 'urn:alm:descriptor:aws:s3:path'
  6326. - description: The name of the secret object that stores the AWS credential and config files.
  6327. displayName: AWS Secret
  6328. path: s3.awsSecret
  6329. x-descriptors:
  6330. - 'urn:alm:descriptor:io.kubernetes:Secret'
  6331. statusDescriptors:
  6332. - description: Indicates if the backup was successful.
  6333. displayName: Succeeded
  6334. path: succeeded
  6335. x-descriptors:
  6336. - 'urn:alm:descriptor:text'
  6337. - description: Indicates the reason for any backup related failures.
  6338. displayName: Reason
  6339. path: reason
  6340. x-descriptors:
  6341. - 'urn:alm:descriptor:io.kubernetes.phase:reason'
  6342. - name: etcdrestores.etcd.database.coreos.com
  6343. version: v1beta2
  6344. kind: EtcdRestore
  6345. displayName: etcd Restore
  6346. description: Represents the intent to restore an etcd cluster from a backup.
  6347. specDescriptors:
  6348. - description: References the EtcdCluster which should be restored,
  6349. displayName: etcd Cluster
  6350. path: etcdCluster.name
  6351. x-descriptors:
  6352. - 'urn:alm:descriptor:io.kubernetes:EtcdCluster'
  6353. - 'urn:alm:descriptor:text'
  6354. - description: The full AWS S3 path where the backup is saved.
  6355. displayName: S3 Path
  6356. path: s3.path
  6357. x-descriptors:
  6358. - 'urn:alm:descriptor:aws:s3:path'
  6359. - description: The name of the secret object that stores the AWS credential and config files.
  6360. displayName: AWS Secret
  6361. path: s3.awsSecret
  6362. x-descriptors:
  6363. - 'urn:alm:descriptor:io.kubernetes:Secret'
  6364. statusDescriptors:
  6365. - description: Indicates if the restore was successful.
  6366. displayName: Succeeded
  6367. path: succeeded
  6368. x-descriptors:
  6369. - 'urn:alm:descriptor:text'
  6370. - description: Indicates the reason for any restore related failures.
  6371. displayName: Reason
  6372. path: reason
  6373. x-descriptors:
  6374. - 'urn:alm:descriptor:io.kubernetes.phase:reason'
  6375. - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
  6376. #! parse-kind: ClusterServiceVersion
  6377. apiVersion: operators.coreos.com/v1alpha1
  6378. kind: ClusterServiceVersion
  6379. metadata:
  6380. name: prometheusoperator.0.14.0
  6381. namespace: placeholder
  6382. spec:
  6383. displayName: Prometheus
  6384. description: |
  6385. An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
  6386. _The Prometheus Open Cloud Service is Public Alpha. The goal before Beta is for additional user testing and minor bug fixes._
  6387. ### Monitoring applications
  6388. Prometheus scrapes your application metrics based on targets maintained in a ServiceMonitor object. When alerts need to be sent, they are processsed by an AlertManager.
  6389. [Read the complete guide to monitoring applications with the Prometheus Open Cloud Service](https://coreos.com/tectonic/docs/latest/alm/prometheus-ocs.html)
  6390. ## Supported Features
  6391. **High availability**
  6392. Multiple instances are run across failure zones and data is replicated. This keeps your monitoring available during an outage, when you need it most.
  6393. **Updates via automated operations**
  6394. New Prometheus versions are deployed using a rolling update with no downtime, making it easy to stay up to date.
  6395. **Handles the dynamic nature of containers**
  6396. Alerting rules are attached to groups of containers instead of individual instances, which is ideal for the highly dynamic nature of container deployment.
  6397. keywords: ['prometheus', 'monitoring', 'tsdb', 'alerting']
  6398. maintainers:
  6399. - name: CoreOS, Inc
  6400. email: support@coreos.com
  6401. provider:
  6402. name: CoreOS, Inc
  6403. links:
  6404. - name: Prometheus
  6405. url: https://www.prometheus.io/
  6406. - name: Documentation
  6407. url: https://coreos.com/operators/prometheus/docs/latest/
  6408. - name: Prometheus Operator Source Code
  6409. url: https://github.com/coreos/prometheus-operator
  6410. labels:
  6411. alm-status-descriptors: prometheusoperator.0.14.0
  6412. alm-owner-prometheus: prometheusoperator
  6413. selector:
  6414. matchLabels:
  6415. alm-owner-prometheus: prometheusoperator
  6416. icon:
  6417. - base64data: PHN2ZyB3aWR0aD0iMjQ5MCIgaGVpZ2h0PSIy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LTIwLjE3OCA0LjIxMy00OS42MiAxNy4wMTQtNTkuNzg0LTUuNjQ3IDEyLjguODM2IDI4LjgxOCA1LjI3IDM2LjUxOCA3LjE1NCAxMi40MjQgMTEuNDkgMjEuODM2IDExLjQ5IDM5LjYzOCAwIDExLjkzNi00LjQwNyAyMy4xNzMtMTEuODQgMzEuOTU4IDguNDUyLTEuNTg2IDE0LjI4OS0zLjAxNiAxNC4yODktMy4wMTZsMjcuNDUtNS4zNTVjLjAwMi0uMDAyLTMuOTg3IDE2LjQwMS0xOS4zMTQgMzIuMTk3eiIgZmlsbD0iI0RBNEUzMSIvPjwvc3ZnPg==
  6418. mediatype: image/svg+xml
  6419. install:
  6420. strategy: deployment
  6421. spec:
  6422. permissions:
  6423. - serviceAccountName: prometheus-k8s
  6424. rules:
  6425. - apiGroups: [""]
  6426. resources:
  6427. - nodes
  6428. - services
  6429. - endpoints
  6430. - pods
  6431. verbs: ["get", "list", "watch"]
  6432. - apiGroups: [""]
  6433. resources:
  6434. - configmaps
  6435. verbs: ["get"]
  6436. - serviceAccountName: prometheus-operator-0-14-0
  6437. rules:
  6438. - apiGroups:
  6439. - apiextensions.k8s.io
  6440. resources:
  6441. - customresourcedefinitions
  6442. verbs: ["get", "list"]
  6443. - apiGroups:
  6444. - monitoring.coreos.com
  6445. resources:
  6446. - alertmanagers
  6447. - prometheuses
  6448. - servicemonitors
  6449. verbs:
  6450. - "*"
  6451. - apiGroups:
  6452. - apps
  6453. resources:
  6454. - statefulsets
  6455. verbs: ["*"]
  6456. - apiGroups: [""]
  6457. resources:
  6458. - configmaps
  6459. - secrets
  6460. verbs: ["*"]
  6461. - apiGroups: [""]
  6462. resources:
  6463. - pods
  6464. verbs: ["list", "delete"]
  6465. - apiGroups: [""]
  6466. resources:
  6467. - services
  6468. - endpoints
  6469. verbs: ["get", "create", "update"]
  6470. - apiGroups: [""]
  6471. resources:
  6472. - nodes
  6473. verbs: ["list", "watch"]
  6474. - apiGroups: [""]
  6475. resources:
  6476. - namespaces
  6477. verbs: ['list']
  6478. deployments:
  6479. - name: prometheus-operator
  6480. spec:
  6481. replicas: 1
  6482. selector:
  6483. matchLabels:
  6484. k8s-app: prometheus-operator
  6485. template:
  6486. metadata:
  6487. labels:
  6488. k8s-app: prometheus-operator
  6489. spec:
  6490. serviceAccount: prometheus-operator-0-14-0
  6491. containers:
  6492. - name: prometheus-operator
  6493. image: quay.io/coreos/prometheus-operator@sha256:5037b4e90dbb03ebdefaa547ddf6a1f748c8eeebeedf6b9d9f0913ad662b5731
  6494. command:
  6495. - sh
  6496. - -c
  6497. - >
  6498. /bin/operator --namespace=$K8S_NAMESPACE --crd-apigroup monitoring.coreos.com
  6499. --labels alm-status-descriptors=prometheusoperator.0.14.0,alm-owner-prometheus=prometheusoperator
  6500. --kubelet-service=kube-system/kubelet
  6501. --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
  6502. env:
  6503. - name: K8S_NAMESPACE
  6504. valueFrom:
  6505. fieldRef:
  6506. fieldPath: metadata.namespace
  6507. ports:
  6508. - containerPort: 8080
  6509. name: http
  6510. resources:
  6511. limits:
  6512. cpu: 200m
  6513. memory: 100Mi
  6514. requests:
  6515. cpu: 100m
  6516. memory: 50Mi
  6517. maturity: alpha
  6518. version: 0.14.0
  6519. customresourcedefinitions:
  6520. owned:
  6521. - name: prometheuses.monitoring.coreos.com
  6522. version: v1
  6523. kind: Prometheus
  6524. displayName: Prometheus
  6525. description: A running Prometheus instance
  6526. resources:
  6527. - kind: Pod
  6528. version: v1
  6529. specDescriptors:
  6530. - description: Desired number of Pods for the cluster
  6531. displayName: Size
  6532. path: replicas
  6533. x-descriptors:
  6534. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  6535. - description: A selector for the ConfigMaps from which to load rule files
  6536. displayName: Rule Config Map Selector
  6537. path: ruleSelector
  6538. x-descriptors:
  6539. - 'urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap'
  6540. - description: ServiceMonitors to be selected for target discovery
  6541. displayName: Service Monitor Selector
  6542. path: serviceMonitorSelector
  6543. x-descriptors:
  6544. - 'urn:alm:descriptor:com.tectonic.ui:selector:monitoring.coreos.com:v1:ServiceMonitor'
  6545. - description: The ServiceAccount to use to run the Prometheus pods
  6546. displayName: Service Account
  6547. path: serviceAccountName
  6548. x-descriptors:
  6549. - 'urn:alm:descriptor:io.kubernetes:ServiceAccount'
  6550. - description: Define resources requests and limits for single Pods
  6551. displayName: Resource Request
  6552. path: resources.requests
  6553. x-descriptors:
  6554. - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
  6555. statusDescriptors:
  6556. - description: The current number of Pods for the cluster
  6557. displayName: Cluster Size
  6558. path: replicas
  6559. - path: prometheusSelector
  6560. displayName: Prometheus Service Selector
  6561. description: Label selector to find the service that routes to this prometheus
  6562. x-descriptors:
  6563. - 'urn:alm:descriptor:label:selector'
  6564. - name: servicemonitors.monitoring.coreos.com
  6565. version: v1
  6566. kind: ServiceMonitor
  6567. displayName: Service Monitor
  6568. description: Configures prometheus to monitor a particular k8s service
  6569. resources:
  6570. - kind: Pod
  6571. version: v1
  6572. specDescriptors:
  6573. - description: Selector to select which namespaces the Endpoints objects are discovered from
  6574. displayName: Monitoring Namespaces
  6575. path: namespaceSelector
  6576. x-descriptors:
  6577. - 'urn:alm:descriptor:com.tectonic.ui:namespaceSelector'
  6578. - description: The label to use to retrieve the job name from
  6579. displayName: Job Label
  6580. path: jobLabel
  6581. x-descriptors:
  6582. - 'urn:alm:descriptor:com.tectonic.ui:label'
  6583. - description: A list of endpoints allowed as part of this ServiceMonitor
  6584. displayName: Endpoints
  6585. path: endpoints
  6586. x-descriptors:
  6587. - 'urn:alm:descriptor:com.tectonic.ui:endpointList'
  6588. - name: alertmanagers.monitoring.coreos.com
  6589. version: v1
  6590. kind: Alertmanager
  6591. displayName: Alert Manager
  6592. description: Configures an Alert Manager for the namespace
  6593. resources:
  6594. - kind: Pod
  6595. version: v1
  6596. specDescriptors:
  6597. - description: Desired number of Pods for the cluster
  6598. displayName: Size
  6599. path: replicas
  6600. x-descriptors:
  6601. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  6602. - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
  6603. #! parse-kind: ClusterServiceVersion
  6604. apiVersion: operators.coreos.com/v1alpha1
  6605. kind: ClusterServiceVersion
  6606. metadata:
  6607. name: prometheusoperator.0.15.0
  6608. namespace: placeholder
  6609. annotations:
  6610. tectonic-visibility: ocs
  6611. alm-examples: '[{"apiVersion":"monitoring.coreos.com/v1","kind":"Prometheus","metadata":{"name":"example","labels":{"prometheus":"k8s"}},"spec":{"replicas":2,"version":"v1.7.0","serviceAccountName":"prometheus-k8s","serviceMonitorSelector":{"matchExpressions":[{"key":"k8s-app","operator":"Exists"}]},"ruleSelector":{"matchLabels":{"role":"prometheus-rulefiles","prometheus":"k8s"}},"resources":{"requests":{"memory":"400Mi"}},"alerting":{"alertmanagers":[{"namespace":"monitoring","name":"alertmanager-main","port":"web"}]}}},{"apiVersion":"monitoring.coreos.com/v1","kind":"ServiceMonitor","metadata":{"name":"example","labels":{"k8s-app":"prometheus"}},"spec":{"selector":{"matchLabels":{"k8s-app":"prometheus","prometheus":"k8s"}},"namespaceSelector":{"matchNames":["monitoring"]},"endpoints":[{"port":"web","interval":"30s"}]}},{"apiVersion":"monitoring.coreos.com/v1","kind":"Alertmanager","metadata":{"name":"alertmanager-main"},"spec":{"replicas":3}}]'
  6612. spec:
  6613. replaces: prometheusoperator.0.14.0
  6614. displayName: Prometheus
  6615. description: |
  6616. An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
  6617. _The Prometheus Open Cloud Service is Public Alpha. The goal before Beta is for additional user testing and minor bug fixes._
  6618. ### Monitoring applications
  6619. Prometheus scrapes your application metrics based on targets maintained in a ServiceMonitor object. When alerts need to be sent, they are processsed by an AlertManager.
  6620. [Read the complete guide to monitoring applications with the Prometheus Open Cloud Service](https://coreos.com/tectonic/docs/latest/alm/prometheus-ocs.html)
  6621. ### Supported Features
  6622. **High availability**
  6623. Multiple instances are run across failure zones and data is replicated. This keeps your monitoring available during an outage, when you need it most.
  6624. **Updates via automated operations**
  6625. New Prometheus versions are deployed using a rolling update with no downtime, making it easy to stay up to date.
  6626. **Handles the dynamic nature of containers**
  6627. Alerting rules are attached to groups of containers instead of individual instances, which is ideal for the highly dynamic nature of container deployment.
  6628. keywords: ['prometheus', 'monitoring', 'tsdb', 'alerting']
  6629. maintainers:
  6630. - name: CoreOS, Inc
  6631. email: support@coreos.com
  6632. provider:
  6633. name: CoreOS, Inc
  6634. links:
  6635. - name: Prometheus
  6636. url: https://www.prometheus.io/
  6637. - name: Documentation
  6638. url: https://coreos.com/operators/prometheus/docs/latest/
  6639. - name: Prometheus Operator Source Code
  6640. url: https://github.com/coreos/prometheus-operator
  6641. labels:
  6642. alm-status-descriptors: prometheusoperator.0.15.0
  6643. alm-owner-prometheus: prometheusoperator
  6644. selector:
  6645. matchLabels:
  6646. alm-owner-prometheus: prometheusoperator
  6647. icon:
  6648. - base64data: PHN2ZyB3aWR0aD0iMjQ5MCIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTEyOC4wMDEuNjY3QzU3LjMxMS42NjcgMCA1Ny45NzEgMCAxMjguNjY0YzAgNzAuNjkgNTcuMzExIDEyNy45OTggMTI4LjAwMSAxMjcuOTk4UzI1NiAxOTkuMzU0IDI1NiAxMjguNjY0QzI1NiA1Ny45NyAxOTguNjg5LjY2NyAxMjguMDAxLjY2N3ptMCAyMzkuNTZjLTIwLjExMiAwLTM2LjQxOS0xMy40MzUtMzYuNDE5LTMwLjAwNGg3Mi44MzhjMCAxNi41NjYtMTYuMzA2IDMwLjAwNC0zNi40MTkgMzAuMDA0em02MC4xNTMtMzkuOTRINjcuODQyVjE3OC40N2gxMjAuMzE0djIxLjgxNmgtLjAwMnptLS40MzItMzMuMDQ1SDY4LjE4NWMtLjM5OC0uNDU4LS44MDQtLjkxLTEuMTg4LTEuMzc1LTEyLjMxNS0xNC45NTQtMTUuMjE2LTIyLjc2LTE4LjAzMi0zMC43MTYtLjA0OC0uMjYyIDE0LjkzMyAzLjA2IDI1LjU1NiA1LjQ1IDAgMCA1LjQ2NiAxLjI2NSAxMy40NTggMi43MjItNy42NzMtOC45OTQtMTIuMjMtMjAuNDI4LTEyLjIzLTMyLjExNiAwLTI1LjY1OCAxOS42OC00OC4wNzkgMTIuNTgtNjYuMjAxIDYuOTEuNTYyIDE0LjMgMTQuNTgzIDE0LjggMzYuNTA1IDcuMzQ2LTEwLjE1MiAxMC40Mi0yOC42OSAxMC40Mi00MC4wNTYgMC0xMS43NjkgNy43NTUtMjUuNDQgMTUuNTEyLTI1LjkwNy02LjkxNSAxMS4zOTYgMS43OSAyMS4xNjUgOS41MyA0NS40IDIuOTAyIDkuMTAzIDIuNTMyIDI0LjQyMyA0Ljc3MiAzNC4xMzguNzQ0LTIwLjE3OCA0LjIxMy00OS42MiAxNy4wMTQtNTkuNzg0LTUuNjQ3IDEyLjguODM2IDI4LjgxOCA1LjI3IDM2LjUxOCA3LjE1NCAxMi40MjQgMTEuNDkgMjEuODM2IDExLjQ5IDM5LjYzOCAwIDExLjkzNi00LjQwNyAyMy4xNzMtMTEuODQgMzEuOTU4IDguNDUyLTEuNTg2IDE0LjI4OS0zLjAxNiAxNC4yODktMy4wMTZsMjcuNDUtNS4zNTVjLjAwMi0uMDAyLTMuOTg3IDE2LjQwMS0xOS4zMTQgMzIuMTk3eiIgZmlsbD0iI0RBNEUzMSIvPjwvc3ZnPg==
  6649. mediatype: image/svg+xml
  6650. install:
  6651. strategy: deployment
  6652. spec:
  6653. permissions:
  6654. - serviceAccountName: prometheus-k8s
  6655. rules:
  6656. - apiGroups: [""]
  6657. resources:
  6658. - nodes
  6659. - services
  6660. - endpoints
  6661. - pods
  6662. verbs: ["get", "list", "watch"]
  6663. - apiGroups: [""]
  6664. resources:
  6665. - configmaps
  6666. verbs: ["get"]
  6667. - serviceAccountName: prometheus-operator-0-14-0
  6668. rules:
  6669. - apiGroups:
  6670. - apiextensions.k8s.io
  6671. resources:
  6672. - customresourcedefinitions
  6673. verbs: ["get", "list"]
  6674. - apiGroups:
  6675. - monitoring.coreos.com
  6676. resources:
  6677. - alertmanagers
  6678. - prometheuses
  6679. - servicemonitors
  6680. verbs:
  6681. - "*"
  6682. - apiGroups:
  6683. - apps
  6684. resources:
  6685. - statefulsets
  6686. verbs: ["*"]
  6687. - apiGroups: [""]
  6688. resources:
  6689. - configmaps
  6690. - secrets
  6691. verbs: ["*"]
  6692. - apiGroups: [""]
  6693. resources:
  6694. - pods
  6695. verbs: ["list", "delete"]
  6696. - apiGroups: [""]
  6697. resources:
  6698. - services
  6699. - endpoints
  6700. verbs: ["get", "create", "update"]
  6701. - apiGroups: [""]
  6702. resources:
  6703. - nodes
  6704. verbs: ["list", "watch"]
  6705. - apiGroups: [""]
  6706. resources:
  6707. - namespaces
  6708. verbs: ['list']
  6709. deployments:
  6710. - name: prometheus-operator
  6711. spec:
  6712. replicas: 1
  6713. selector:
  6714. matchLabels:
  6715. k8s-app: prometheus-operator
  6716. template:
  6717. metadata:
  6718. labels:
  6719. k8s-app: prometheus-operator
  6720. spec:
  6721. serviceAccount: prometheus-operator-0-14-0
  6722. containers:
  6723. - name: prometheus-operator
  6724. image: quay.io/coreos/prometheus-operator@sha256:0e92dd9b5789c4b13d53e1319d0a6375bcca4caaf0d698af61198061222a576d
  6725. command:
  6726. - sh
  6727. - -c
  6728. - >
  6729. /bin/operator --namespace=$K8S_NAMESPACE --crd-apigroup monitoring.coreos.com
  6730. --labels alm-status-descriptors=prometheusoperator.0.15.0,alm-owner-prometheus=prometheusoperator
  6731. --kubelet-service=kube-system/kubelet
  6732. --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
  6733. env:
  6734. - name: K8S_NAMESPACE
  6735. valueFrom:
  6736. fieldRef:
  6737. fieldPath: metadata.namespace
  6738. ports:
  6739. - containerPort: 8080
  6740. name: http
  6741. resources:
  6742. limits:
  6743. cpu: 200m
  6744. memory: 100Mi
  6745. requests:
  6746. cpu: 100m
  6747. memory: 50Mi
  6748. maturity: alpha
  6749. version: 0.15.0
  6750. customresourcedefinitions:
  6751. owned:
  6752. - name: prometheuses.monitoring.coreos.com
  6753. version: v1
  6754. kind: Prometheus
  6755. displayName: Prometheus
  6756. description: A running Prometheus instance
  6757. resources:
  6758. - kind: StatefulSet
  6759. version: v1beta2
  6760. - kind: Pod
  6761. version: v1
  6762. specDescriptors:
  6763. - description: Desired number of Pods for the cluster
  6764. displayName: Size
  6765. path: replicas
  6766. x-descriptors:
  6767. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  6768. - description: A selector for the ConfigMaps from which to load rule files
  6769. displayName: Rule Config Map Selector
  6770. path: ruleSelector
  6771. x-descriptors:
  6772. - 'urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap'
  6773. - description: ServiceMonitors to be selected for target discovery
  6774. displayName: Service Monitor Selector
  6775. path: serviceMonitorSelector
  6776. x-descriptors:
  6777. - 'urn:alm:descriptor:com.tectonic.ui:selector:monitoring.coreos.com:v1:ServiceMonitor'
  6778. - description: The ServiceAccount to use to run the Prometheus pods
  6779. displayName: Service Account
  6780. path: serviceAccountName
  6781. x-descriptors:
  6782. - 'urn:alm:descriptor:io.kubernetes:ServiceAccount'
  6783. - description: Limits describes the minimum/maximum amount of compute resources required/allowed
  6784. displayName: Resource Requirements
  6785. path: resources
  6786. x-descriptors:
  6787. - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
  6788. statusDescriptors:
  6789. - description: The current number of Pods for the cluster
  6790. displayName: Cluster Size
  6791. path: replicas
  6792. - path: prometheusSelector
  6793. displayName: Prometheus Service Selector
  6794. description: Label selector to find the service that routes to this prometheus
  6795. x-descriptors:
  6796. - 'urn:alm:descriptor:label:selector'
  6797. - name: servicemonitors.monitoring.coreos.com
  6798. version: v1
  6799. kind: ServiceMonitor
  6800. displayName: Service Monitor
  6801. description: Configures prometheus to monitor a particular k8s service
  6802. resources:
  6803. - kind: Pod
  6804. version: v1
  6805. specDescriptors:
  6806. - description: Selector to select which namespaces the Endpoints objects are discovered from
  6807. displayName: Monitoring Namespaces
  6808. path: namespaceSelector
  6809. x-descriptors:
  6810. - 'urn:alm:descriptor:com.tectonic.ui:namespaceSelector'
  6811. - description: The label to use to retrieve the job name from
  6812. displayName: Job Label
  6813. path: jobLabel
  6814. x-descriptors:
  6815. - 'urn:alm:descriptor:com.tectonic.ui:label'
  6816. - description: A list of endpoints allowed as part of this ServiceMonitor
  6817. displayName: Endpoints
  6818. path: endpoints
  6819. x-descriptors:
  6820. - 'urn:alm:descriptor:com.tectonic.ui:endpointList'
  6821. - name: alertmanagers.monitoring.coreos.com
  6822. version: v1
  6823. kind: Alertmanager
  6824. displayName: Alert Manager
  6825. description: Configures an Alert Manager for the namespace
  6826. resources:
  6827. - kind: StatefulSet
  6828. version: v1beta2
  6829. - kind: Pod
  6830. version: v1
  6831. specDescriptors:
  6832. - description: Desired number of Pods for the cluster
  6833. displayName: Size
  6834. path: replicas
  6835. x-descriptors:
  6836. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  6837. - description: Limits describes the minimum/maximum amount of compute resources required/allowed
  6838. displayName: Resource Requirements
  6839. path: resources
  6840. x-descriptors:
  6841. - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
  6842. - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
  6843. #! parse-kind: ClusterServiceVersion
  6844. apiVersion: operators.coreos.com/v1alpha1
  6845. kind: ClusterServiceVersion
  6846. metadata:
  6847. name: prometheusoperator.0.22.2
  6848. namespace: placeholder
  6849. annotations:
  6850. tectonic-visibility: ocs
  6851. alm-examples: '[{"apiVersion":"monitoring.coreos.com/v1","kind":"Prometheus","metadata":{"name":"example","labels":{"prometheus":"k8s"}},"spec":{"replicas":2,"version":"v2.3.2","serviceAccountName":"prometheus-k8s","serviceMonitorSelector":{"matchExpressions":[{"key":"k8s-app","operator":"Exists"}]},"ruleSelector":{"matchLabels":{"role":"prometheus-rulefiles","prometheus":"k8s"}},"resources":{"requests":{"memory":"400Mi"}},"alerting":{"alertmanagers":[{"namespace":"monitoring","name":"alertmanager-main","port":"web"}]}}},{"apiVersion":"monitoring.coreos.com/v1","kind":"ServiceMonitor","metadata":{"name":"example","labels":{"k8s-app":"prometheus"}},"spec":{"selector":{"matchLabels":{"k8s-app":"prometheus","prometheus":"k8s"}},"namespaceSelector":{"matchNames":["monitoring"]},"endpoints":[{"port":"web","interval":"30s"}]}},{"apiVersion":"monitoring.coreos.com/v1","kind":"Alertmanager","metadata":{"name":"alertmanager-main"},"spec":{"replicas":3}}]'
  6852. spec:
  6853. replaces: prometheusoperator.0.15.0
  6854. displayName: Prometheus
  6855. description: |
  6856. An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
  6857. _The Prometheus Open Cloud Service is Public Alpha. The goal before Beta is for additional user testing and minor bug fixes._
  6858. ### Monitoring applications
  6859. Prometheus scrapes your application metrics based on targets maintained in a ServiceMonitor object. When alerts need to be sent, they are processsed by an AlertManager.
  6860. [Read the complete guide to monitoring applications with the Prometheus Open Cloud Service](https://coreos.com/tectonic/docs/latest/alm/prometheus-ocs.html)
  6861. ### Supported Features
  6862. **High availability**
  6863. Multiple instances are run across failure zones and data is replicated. This keeps your monitoring available during an outage, when you need it most.
  6864. **Updates via automated operations**
  6865. New Prometheus versions are deployed using a rolling update with no downtime, making it easy to stay up to date.
  6866. **Handles the dynamic nature of containers**
  6867. Alerting rules are attached to groups of containers instead of individual instances, which is ideal for the highly dynamic nature of container deployment.
  6868. keywords: ['prometheus', 'monitoring', 'tsdb', 'alerting']
  6869. maintainers:
  6870. - name: CoreOS, Inc
  6871. email: support@coreos.com
  6872. provider:
  6873. name: CoreOS, Inc
  6874. links:
  6875. - name: Prometheus
  6876. url: https://www.prometheus.io/
  6877. - name: Documentation
  6878. url: https://coreos.com/operators/prometheus/docs/latest/
  6879. - name: Prometheus Operator Source Code
  6880. url: https://github.com/coreos/prometheus-operator
  6881. labels:
  6882. alm-status-descriptors: prometheusoperator.0.22.2
  6883. alm-owner-prometheus: prometheusoperator
  6884. selector:
  6885. matchLabels:
  6886. alm-owner-prometheus: prometheusoperator
  6887. icon:
  6888. - base64data: PHN2ZyB3aWR0aD0iMjQ5MCIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTEyOC4wMDEuNjY3QzU3LjMxMS42NjcgMCA1Ny45NzEgMCAxMjguNjY0YzAgNzAuNjkgNTcuMzExIDEyNy45OTggMTI4LjAwMSAxMjcuOTk4UzI1NiAxOTkuMzU0IDI1NiAxMjguNjY0QzI1NiA1Ny45NyAxOTguNjg5LjY2NyAxMjguMDAxLjY2N3ptMCAyMzkuNTZjLTIwLjExMiAwLTM2LjQxOS0xMy40MzUtMzYuNDE5LTMwLjAwNGg3Mi44MzhjMCAxNi41NjYtMTYuMzA2IDMwLjAwNC0zNi40MTkgMzAuMDA0em02MC4xNTMtMzkuOTRINjcuODQyVjE3OC40N2gxMjAuMzE0djIxLjgxNmgtLjAwMnptLS40MzItMzMuMDQ1SDY4LjE4NWMtLjM5OC0uNDU4LS44MDQtLjkxLTEuMTg4LTEuMzc1LTEyLjMxNS0xNC45NTQtMTUuMjE2LTIyLjc2LTE4LjAzMi0zMC43MTYtLjA0OC0uMjYyIDE0LjkzMyAzLjA2IDI1LjU1NiA1LjQ1IDAgMCA1LjQ2NiAxLjI2NSAxMy40NTggMi43MjItNy42NzMtOC45OTQtMTIuMjMtMjAuNDI4LTEyLjIzLTMyLjExNiAwLTI1LjY1OCAxOS42OC00OC4wNzkgMTIuNTgtNjYuMjAxIDYuOTEuNTYyIDE0LjMgMTQuNTgzIDE0LjggMzYuNTA1IDcuMzQ2LTEwLjE1MiAxMC40Mi0yOC42OSAxMC40Mi00MC4wNTYgMC0xMS43NjkgNy43NTUtMjUuNDQgMTUuNTEyLTI1LjkwNy02LjkxNSAxMS4zOTYgMS43OSAyMS4xNjUgOS41MyA0NS40IDIuOTAyIDkuMTAzIDIuNTMyIDI0LjQyMyA0Ljc3MiAzNC4xMzguNzQ0LTIwLjE3OCA0LjIxMy00OS42MiAxNy4wMTQtNTkuNzg0LTUuNjQ3IDEyLjguODM2IDI4LjgxOCA1LjI3IDM2LjUxOCA3LjE1NCAxMi40MjQgMTEuNDkgMjEuODM2IDExLjQ5IDM5LjYzOCAwIDExLjkzNi00LjQwNyAyMy4xNzMtMTEuODQgMzEuOTU4IDguNDUyLTEuNTg2IDE0LjI4OS0zLjAxNiAxNC4yODktMy4wMTZsMjcuNDUtNS4zNTVjLjAwMi0uMDAyLTMuOTg3IDE2LjQwMS0xOS4zMTQgMzIuMTk3eiIgZmlsbD0iI0RBNEUzMSIvPjwvc3ZnPg==
  6889. mediatype: image/svg+xml
  6890. install:
  6891. strategy: deployment
  6892. spec:
  6893. permissions:
  6894. - serviceAccountName: prometheus-k8s
  6895. rules:
  6896. - apiGroups: [""]
  6897. resources:
  6898. - nodes
  6899. - services
  6900. - endpoints
  6901. - pods
  6902. verbs: ["get", "list", "watch"]
  6903. - apiGroups: [""]
  6904. resources:
  6905. - configmaps
  6906. verbs: ["get"]
  6907. - serviceAccountName: prometheus-operator-0-22-2
  6908. rules:
  6909. - apiGroups:
  6910. - apiextensions.k8s.io
  6911. resources:
  6912. - customresourcedefinitions
  6913. verbs:
  6914. - '*'
  6915. - apiGroups:
  6916. - monitoring.coreos.com
  6917. resources:
  6918. - alertmanagers
  6919. - prometheuses
  6920. - prometheuses/finalizers
  6921. - alertmanagers/finalizers
  6922. - servicemonitors
  6923. - prometheusrules
  6924. verbs:
  6925. - '*'
  6926. - apiGroups:
  6927. - apps
  6928. resources:
  6929. - statefulsets
  6930. verbs:
  6931. - '*'
  6932. - apiGroups:
  6933. - ""
  6934. resources:
  6935. - configmaps
  6936. - secrets
  6937. verbs:
  6938. - '*'
  6939. - apiGroups:
  6940. - ""
  6941. resources:
  6942. - pods
  6943. verbs:
  6944. - list
  6945. - delete
  6946. - apiGroups:
  6947. - ""
  6948. resources:
  6949. - services
  6950. - endpoints
  6951. verbs:
  6952. - get
  6953. - create
  6954. - update
  6955. - apiGroups:
  6956. - ""
  6957. resources:
  6958. - nodes
  6959. verbs:
  6960. - list
  6961. - watch
  6962. - apiGroups:
  6963. - ""
  6964. resources:
  6965. - namespaces
  6966. verbs:
  6967. - list
  6968. - watch
  6969. deployments:
  6970. - name: prometheus-operator
  6971. spec:
  6972. replicas: 1
  6973. selector:
  6974. matchLabels:
  6975. k8s-app: prometheus-operator
  6976. template:
  6977. metadata:
  6978. labels:
  6979. k8s-app: prometheus-operator
  6980. spec:
  6981. serviceAccount: prometheus-operator-0-22-2
  6982. containers:
  6983. - name: prometheus-operator
  6984. image: quay.io/coreos/prometheus-operator@sha256:3daa69a8c6c2f1d35dcf1fe48a7cd8b230e55f5229a1ded438f687debade5bcf
  6985. args:
  6986. - -namespace=$(K8S_NAMESPACE)
  6987. - -manage-crds=false
  6988. - -logtostderr=true
  6989. - --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
  6990. - --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.22.2
  6991. env:
  6992. - name: K8S_NAMESPACE
  6993. valueFrom:
  6994. fieldRef:
  6995. fieldPath: metadata.namespace
  6996. ports:
  6997. - containerPort: 8080
  6998. name: http
  6999. resources:
  7000. limits:
  7001. cpu: 200m
  7002. memory: 100Mi
  7003. requests:
  7004. cpu: 100m
  7005. memory: 50Mi
  7006. securityContext:
  7007. allowPrivilegeEscalation: false
  7008. readOnlyRootFilesystem: true
  7009. nodeSelector:
  7010. beta.kubernetes.io/os: linux
  7011. maturity: alpha
  7012. version: 0.22.2
  7013. customresourcedefinitions:
  7014. owned:
  7015. - name: prometheuses.monitoring.coreos.com
  7016. version: v1
  7017. kind: Prometheus
  7018. displayName: Prometheus
  7019. description: A running Prometheus instance
  7020. resources:
  7021. - kind: StatefulSet
  7022. version: v1beta2
  7023. - kind: Pod
  7024. version: v1
  7025. specDescriptors:
  7026. - description: Desired number of Pods for the cluster
  7027. displayName: Size
  7028. path: replicas
  7029. x-descriptors:
  7030. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  7031. - description: A selector for the ConfigMaps from which to load rule files
  7032. displayName: Rule Config Map Selector
  7033. path: ruleSelector
  7034. x-descriptors:
  7035. - 'urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap'
  7036. - description: ServiceMonitors to be selected for target discovery
  7037. displayName: Service Monitor Selector
  7038. path: serviceMonitorSelector
  7039. x-descriptors:
  7040. - 'urn:alm:descriptor:com.tectonic.ui:selector:monitoring.coreos.com:v1:ServiceMonitor'
  7041. - description: The ServiceAccount to use to run the Prometheus pods
  7042. displayName: Service Account
  7043. path: serviceAccountName
  7044. x-descriptors:
  7045. - 'urn:alm:descriptor:io.kubernetes:ServiceAccount'
  7046. - description: Limits describes the minimum/maximum amount of compute resources required/allowed
  7047. displayName: Resource Requirements
  7048. path: resources
  7049. x-descriptors:
  7050. - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
  7051. - name: prometheusrules.monitoring.coreos.com
  7052. version: v1
  7053. kind: PrometheusRule
  7054. displayName: Prometheus Rule
  7055. description: A Prometheus Rule configures groups of sequentially evaluated recording and alerting rules.
  7056. - name: servicemonitors.monitoring.coreos.com
  7057. version: v1
  7058. kind: ServiceMonitor
  7059. displayName: Service Monitor
  7060. description: Configures prometheus to monitor a particular k8s service
  7061. resources:
  7062. - kind: Pod
  7063. version: v1
  7064. specDescriptors:
  7065. - description: Selector to select which namespaces the Endpoints objects are discovered from
  7066. displayName: Monitoring Namespaces
  7067. path: namespaceSelector
  7068. x-descriptors:
  7069. - 'urn:alm:descriptor:com.tectonic.ui:namespaceSelector'
  7070. - description: The label to use to retrieve the job name from
  7071. displayName: Job Label
  7072. path: jobLabel
  7073. x-descriptors:
  7074. - 'urn:alm:descriptor:com.tectonic.ui:label'
  7075. - description: A list of endpoints allowed as part of this ServiceMonitor
  7076. displayName: Endpoints
  7077. path: endpoints
  7078. x-descriptors:
  7079. - 'urn:alm:descriptor:com.tectonic.ui:endpointList'
  7080. - name: alertmanagers.monitoring.coreos.com
  7081. version: v1
  7082. kind: Alertmanager
  7083. displayName: Alert Manager
  7084. description: Configures an Alert Manager for the namespace
  7085. resources:
  7086. - kind: StatefulSet
  7087. version: v1beta2
  7088. - kind: Pod
  7089. version: v1
  7090. specDescriptors:
  7091. - description: Desired number of Pods for the cluster
  7092. displayName: Size
  7093. path: replicas
  7094. x-descriptors:
  7095. - 'urn:alm:descriptor:com.tectonic.ui:podCount'
  7096. - description: Limits describes the minimum/maximum amount of compute resources required/allowed
  7097. displayName: Resource Requirements
  7098. path: resources
  7099. x-descriptors:
  7100. - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
  7101. packages: |-
  7102. - #! package-manifest: ./deploy/chart/catalog_resources/ocs/etcdoperator.v0.9.2.clusterserviceversion.yaml
  7103. packageName: etcd
  7104. channels:
  7105. - name: alpha
  7106. currentCSV: etcdoperator.v0.9.2
  7107. - #! package-manifest: ./deploy/chart/catalog_resources/ocs/prometheusoperator.0.22.2.clusterserviceversion.yaml
  7108. packageName: prometheus
  7109. channels:
  7110. - name: alpha
  7111. currentCSV: prometheusoperator.0.22.2