ocs.configmap.yaml 455 KB

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