locostack.com_stacks.yaml 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640
  1. ---
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. annotations:
  6. controller-gen.kubebuilder.io/version: v0.20.1
  7. name: stacks.locostack.com
  8. spec:
  9. group: locostack.com
  10. names:
  11. kind: Stack
  12. listKind: StackList
  13. plural: stacks
  14. shortNames:
  15. - stk
  16. singular: stack
  17. scope: Namespaced
  18. versions:
  19. - additionalPrinterColumns:
  20. - jsonPath: .status.componentStatus.gateway
  21. name: Gateway
  22. type: string
  23. - jsonPath: .status.componentStatus.vectorStore
  24. name: VectorStore
  25. type: string
  26. - jsonPath: .status.componentStatus.graphStore
  27. name: GraphStore
  28. type: string
  29. - jsonPath: .status.componentStatus.database
  30. name: Database
  31. type: string
  32. - jsonPath: .status.componentStatus.observability
  33. name: Observability
  34. type: string
  35. name: v1alpha1
  36. schema:
  37. openAPIV3Schema:
  38. description: Stack is the Schema for the stacks API
  39. properties:
  40. apiVersion:
  41. description: |-
  42. APIVersion defines the versioned schema of this representation of an object.
  43. Servers should convert recognized schemas to the latest internal value, and
  44. may reject unrecognized values.
  45. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  46. type: string
  47. kind:
  48. description: |-
  49. Kind is a string value representing the REST resource this object represents.
  50. Servers may infer this from the endpoint the client submits requests to.
  51. Cannot be updated.
  52. In CamelCase.
  53. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  54. type: string
  55. metadata:
  56. type: object
  57. spec:
  58. description: spec defines the desired state of Stack
  59. properties:
  60. database:
  61. description: database defines the configuration overrides for the
  62. stack's database component.
  63. properties:
  64. enabled:
  65. description: enabled indicates whether the component should be
  66. deployed for the stack.
  67. type: boolean
  68. template:
  69. description: template holds the configuration overrides for the
  70. component.
  71. properties:
  72. metadata:
  73. description: metadata is a standard object metadata.
  74. type: object
  75. name:
  76. description: name selects a built-in preset.
  77. type: string
  78. spec:
  79. description: spec holds the pod-level configuration for the
  80. workload.
  81. properties:
  82. affinity:
  83. description: affinity provides fine-grained node and pod
  84. (anti-)affinity rules.
  85. properties:
  86. nodeAffinity:
  87. description: Describes node affinity scheduling rules
  88. for the pod.
  89. properties:
  90. preferredDuringSchedulingIgnoredDuringExecution:
  91. description: |-
  92. The scheduler will prefer to schedule pods to nodes that satisfy
  93. the affinity expressions specified by this field, but it may choose
  94. a node that violates one or more of the expressions. The node that is
  95. most preferred is the one with the greatest sum of weights, i.e.
  96. for each node that meets all of the scheduling requirements (resource
  97. request, requiredDuringScheduling affinity expressions, etc.),
  98. compute a sum by iterating through the elements of this field and adding
  99. "weight" to the sum if the node matches the corresponding matchExpressions; the
  100. node(s) with the highest sum are the most preferred.
  101. items:
  102. description: |-
  103. An empty preferred scheduling term matches all objects with implicit weight 0
  104. (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
  105. properties:
  106. preference:
  107. description: A node selector term, associated
  108. with the corresponding weight.
  109. properties:
  110. matchExpressions:
  111. description: A list of node selector
  112. requirements by node's labels.
  113. items:
  114. description: |-
  115. A node selector requirement is a selector that contains values, a key, and an operator
  116. that relates the key and values.
  117. properties:
  118. key:
  119. description: The label key that
  120. the selector applies to.
  121. type: string
  122. operator:
  123. description: |-
  124. Represents a key's relationship to a set of values.
  125. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  126. type: string
  127. values:
  128. description: |-
  129. An array of string values. If the operator is In or NotIn,
  130. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  131. the values array must be empty. If the operator is Gt or Lt, the values
  132. array must have a single element, which will be interpreted as an integer.
  133. This array is replaced during a strategic merge patch.
  134. items:
  135. type: string
  136. type: array
  137. x-kubernetes-list-type: atomic
  138. required:
  139. - key
  140. - operator
  141. type: object
  142. type: array
  143. x-kubernetes-list-type: atomic
  144. matchFields:
  145. description: A list of node selector
  146. requirements by node's fields.
  147. items:
  148. description: |-
  149. A node selector requirement is a selector that contains values, a key, and an operator
  150. that relates the key and values.
  151. properties:
  152. key:
  153. description: The label key that
  154. the selector applies to.
  155. type: string
  156. operator:
  157. description: |-
  158. Represents a key's relationship to a set of values.
  159. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  160. type: string
  161. values:
  162. description: |-
  163. An array of string values. If the operator is In or NotIn,
  164. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  165. the values array must be empty. If the operator is Gt or Lt, the values
  166. array must have a single element, which will be interpreted as an integer.
  167. This array is replaced during a strategic merge patch.
  168. items:
  169. type: string
  170. type: array
  171. x-kubernetes-list-type: atomic
  172. required:
  173. - key
  174. - operator
  175. type: object
  176. type: array
  177. x-kubernetes-list-type: atomic
  178. type: object
  179. x-kubernetes-map-type: atomic
  180. weight:
  181. description: Weight associated with matching
  182. the corresponding nodeSelectorTerm, in
  183. the range 1-100.
  184. format: int32
  185. type: integer
  186. required:
  187. - preference
  188. - weight
  189. type: object
  190. type: array
  191. x-kubernetes-list-type: atomic
  192. requiredDuringSchedulingIgnoredDuringExecution:
  193. description: |-
  194. If the affinity requirements specified by this field are not met at
  195. scheduling time, the pod will not be scheduled onto the node.
  196. If the affinity requirements specified by this field cease to be met
  197. at some point during pod execution (e.g. due to an update), the system
  198. may or may not try to eventually evict the pod from its node.
  199. properties:
  200. nodeSelectorTerms:
  201. description: Required. A list of node selector
  202. terms. The terms are ORed.
  203. items:
  204. description: |-
  205. A null or empty node selector term matches no objects. The requirements of
  206. them are ANDed.
  207. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
  208. properties:
  209. matchExpressions:
  210. description: A list of node selector
  211. requirements by node's labels.
  212. items:
  213. description: |-
  214. A node selector requirement is a selector that contains values, a key, and an operator
  215. that relates the key and values.
  216. properties:
  217. key:
  218. description: The label key that
  219. the selector applies to.
  220. type: string
  221. operator:
  222. description: |-
  223. Represents a key's relationship to a set of values.
  224. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  225. type: string
  226. values:
  227. description: |-
  228. An array of string values. If the operator is In or NotIn,
  229. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  230. the values array must be empty. If the operator is Gt or Lt, the values
  231. array must have a single element, which will be interpreted as an integer.
  232. This array is replaced during a strategic merge patch.
  233. items:
  234. type: string
  235. type: array
  236. x-kubernetes-list-type: atomic
  237. required:
  238. - key
  239. - operator
  240. type: object
  241. type: array
  242. x-kubernetes-list-type: atomic
  243. matchFields:
  244. description: A list of node selector
  245. requirements by node's fields.
  246. items:
  247. description: |-
  248. A node selector requirement is a selector that contains values, a key, and an operator
  249. that relates the key and values.
  250. properties:
  251. key:
  252. description: The label key that
  253. the selector applies to.
  254. type: string
  255. operator:
  256. description: |-
  257. Represents a key's relationship to a set of values.
  258. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  259. type: string
  260. values:
  261. description: |-
  262. An array of string values. If the operator is In or NotIn,
  263. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  264. the values array must be empty. If the operator is Gt or Lt, the values
  265. array must have a single element, which will be interpreted as an integer.
  266. This array is replaced during a strategic merge patch.
  267. items:
  268. type: string
  269. type: array
  270. x-kubernetes-list-type: atomic
  271. required:
  272. - key
  273. - operator
  274. type: object
  275. type: array
  276. x-kubernetes-list-type: atomic
  277. type: object
  278. x-kubernetes-map-type: atomic
  279. type: array
  280. x-kubernetes-list-type: atomic
  281. required:
  282. - nodeSelectorTerms
  283. type: object
  284. x-kubernetes-map-type: atomic
  285. type: object
  286. podAffinity:
  287. description: Describes pod affinity scheduling rules
  288. (e.g. co-locate this pod in the same node, zone,
  289. etc. as some other pod(s)).
  290. properties:
  291. preferredDuringSchedulingIgnoredDuringExecution:
  292. description: |-
  293. The scheduler will prefer to schedule pods to nodes that satisfy
  294. the affinity expressions specified by this field, but it may choose
  295. a node that violates one or more of the expressions. The node that is
  296. most preferred is the one with the greatest sum of weights, i.e.
  297. for each node that meets all of the scheduling requirements (resource
  298. request, requiredDuringScheduling affinity expressions, etc.),
  299. compute a sum by iterating through the elements of this field and adding
  300. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  301. node(s) with the highest sum are the most preferred.
  302. items:
  303. description: The weights of all of the matched
  304. WeightedPodAffinityTerm fields are added per-node
  305. to find the most preferred node(s)
  306. properties:
  307. podAffinityTerm:
  308. description: Required. A pod affinity term,
  309. associated with the corresponding weight.
  310. properties:
  311. labelSelector:
  312. description: |-
  313. A label query over a set of resources, in this case pods.
  314. If it's null, this PodAffinityTerm matches with no Pods.
  315. properties:
  316. matchExpressions:
  317. description: matchExpressions is
  318. a list of label selector requirements.
  319. The requirements are ANDed.
  320. items:
  321. description: |-
  322. A label selector requirement is a selector that contains values, a key, and an operator that
  323. relates the key and values.
  324. properties:
  325. key:
  326. description: key is the label
  327. key that the selector applies
  328. to.
  329. type: string
  330. operator:
  331. description: |-
  332. operator represents a key's relationship to a set of values.
  333. Valid operators are In, NotIn, Exists and DoesNotExist.
  334. type: string
  335. values:
  336. description: |-
  337. values is an array of string values. If the operator is In or NotIn,
  338. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  339. the values array must be empty. This array is replaced during a strategic
  340. merge patch.
  341. items:
  342. type: string
  343. type: array
  344. x-kubernetes-list-type: atomic
  345. required:
  346. - key
  347. - operator
  348. type: object
  349. type: array
  350. x-kubernetes-list-type: atomic
  351. matchLabels:
  352. additionalProperties:
  353. type: string
  354. description: |-
  355. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  356. map is equivalent to an element of matchExpressions, whose key field is "key", the
  357. operator is "In", and the values array contains only "value". The requirements are ANDed.
  358. type: object
  359. type: object
  360. x-kubernetes-map-type: atomic
  361. matchLabelKeys:
  362. description: |-
  363. MatchLabelKeys is a set of pod label keys to select which pods will
  364. be taken into consideration. The keys are used to lookup values from the
  365. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  366. to select the group of existing pods which pods will be taken into consideration
  367. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  368. pod labels will be ignored. The default value is empty.
  369. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  370. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  371. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  372. items:
  373. type: string
  374. type: array
  375. x-kubernetes-list-type: atomic
  376. mismatchLabelKeys:
  377. description: |-
  378. MismatchLabelKeys is a set of pod label keys to select which pods will
  379. be taken into consideration. The keys are used to lookup values from the
  380. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  381. to select the group of existing pods which pods will be taken into consideration
  382. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  383. pod labels will be ignored. The default value is empty.
  384. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  385. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  386. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  387. items:
  388. type: string
  389. type: array
  390. x-kubernetes-list-type: atomic
  391. namespaceSelector:
  392. description: |-
  393. A label query over the set of namespaces that the term applies to.
  394. The term is applied to the union of the namespaces selected by this field
  395. and the ones listed in the namespaces field.
  396. null selector and null or empty namespaces list means "this pod's namespace".
  397. An empty selector ({}) matches all namespaces.
  398. properties:
  399. matchExpressions:
  400. description: matchExpressions is
  401. a list of label selector requirements.
  402. The requirements are ANDed.
  403. items:
  404. description: |-
  405. A label selector requirement is a selector that contains values, a key, and an operator that
  406. relates the key and values.
  407. properties:
  408. key:
  409. description: key is the label
  410. key that the selector applies
  411. to.
  412. type: string
  413. operator:
  414. description: |-
  415. operator represents a key's relationship to a set of values.
  416. Valid operators are In, NotIn, Exists and DoesNotExist.
  417. type: string
  418. values:
  419. description: |-
  420. values is an array of string values. If the operator is In or NotIn,
  421. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  422. the values array must be empty. This array is replaced during a strategic
  423. merge patch.
  424. items:
  425. type: string
  426. type: array
  427. x-kubernetes-list-type: atomic
  428. required:
  429. - key
  430. - operator
  431. type: object
  432. type: array
  433. x-kubernetes-list-type: atomic
  434. matchLabels:
  435. additionalProperties:
  436. type: string
  437. description: |-
  438. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  439. map is equivalent to an element of matchExpressions, whose key field is "key", the
  440. operator is "In", and the values array contains only "value". The requirements are ANDed.
  441. type: object
  442. type: object
  443. x-kubernetes-map-type: atomic
  444. namespaces:
  445. description: |-
  446. namespaces specifies a static list of namespace names that the term applies to.
  447. The term is applied to the union of the namespaces listed in this field
  448. and the ones selected by namespaceSelector.
  449. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  450. items:
  451. type: string
  452. type: array
  453. x-kubernetes-list-type: atomic
  454. topologyKey:
  455. description: |-
  456. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  457. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  458. whose value of the label with key topologyKey matches that of any node on which any of the
  459. selected pods is running.
  460. Empty topologyKey is not allowed.
  461. type: string
  462. required:
  463. - topologyKey
  464. type: object
  465. weight:
  466. description: |-
  467. weight associated with matching the corresponding podAffinityTerm,
  468. in the range 1-100.
  469. format: int32
  470. type: integer
  471. required:
  472. - podAffinityTerm
  473. - weight
  474. type: object
  475. type: array
  476. x-kubernetes-list-type: atomic
  477. requiredDuringSchedulingIgnoredDuringExecution:
  478. description: |-
  479. If the affinity requirements specified by this field are not met at
  480. scheduling time, the pod will not be scheduled onto the node.
  481. If the affinity requirements specified by this field cease to be met
  482. at some point during pod execution (e.g. due to a pod label update), the
  483. system may or may not try to eventually evict the pod from its node.
  484. When there are multiple elements, the lists of nodes corresponding to each
  485. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  486. items:
  487. description: |-
  488. Defines a set of pods (namely those matching the labelSelector
  489. relative to the given namespace(s)) that this pod should be
  490. co-located (affinity) or not co-located (anti-affinity) with,
  491. where co-located is defined as running on a node whose value of
  492. the label with key <topologyKey> matches that of any node on which
  493. a pod of the set of pods is running
  494. properties:
  495. labelSelector:
  496. description: |-
  497. A label query over a set of resources, in this case pods.
  498. If it's null, this PodAffinityTerm matches with no Pods.
  499. properties:
  500. matchExpressions:
  501. description: matchExpressions is a list
  502. of label selector requirements. The
  503. requirements are ANDed.
  504. items:
  505. description: |-
  506. A label selector requirement is a selector that contains values, a key, and an operator that
  507. relates the key and values.
  508. properties:
  509. key:
  510. description: key is the label
  511. key that the selector applies
  512. to.
  513. type: string
  514. operator:
  515. description: |-
  516. operator represents a key's relationship to a set of values.
  517. Valid operators are In, NotIn, Exists and DoesNotExist.
  518. type: string
  519. values:
  520. description: |-
  521. values is an array of string values. If the operator is In or NotIn,
  522. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  523. the values array must be empty. This array is replaced during a strategic
  524. merge patch.
  525. items:
  526. type: string
  527. type: array
  528. x-kubernetes-list-type: atomic
  529. required:
  530. - key
  531. - operator
  532. type: object
  533. type: array
  534. x-kubernetes-list-type: atomic
  535. matchLabels:
  536. additionalProperties:
  537. type: string
  538. description: |-
  539. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  540. map is equivalent to an element of matchExpressions, whose key field is "key", the
  541. operator is "In", and the values array contains only "value". The requirements are ANDed.
  542. type: object
  543. type: object
  544. x-kubernetes-map-type: atomic
  545. matchLabelKeys:
  546. description: |-
  547. MatchLabelKeys is a set of pod label keys to select which pods will
  548. be taken into consideration. The keys are used to lookup values from the
  549. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  550. to select the group of existing pods which pods will be taken into consideration
  551. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  552. pod labels will be ignored. The default value is empty.
  553. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  554. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  555. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  556. items:
  557. type: string
  558. type: array
  559. x-kubernetes-list-type: atomic
  560. mismatchLabelKeys:
  561. description: |-
  562. MismatchLabelKeys is a set of pod label keys to select which pods will
  563. be taken into consideration. The keys are used to lookup values from the
  564. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  565. to select the group of existing pods which pods will be taken into consideration
  566. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  567. pod labels will be ignored. The default value is empty.
  568. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  569. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  570. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  571. items:
  572. type: string
  573. type: array
  574. x-kubernetes-list-type: atomic
  575. namespaceSelector:
  576. description: |-
  577. A label query over the set of namespaces that the term applies to.
  578. The term is applied to the union of the namespaces selected by this field
  579. and the ones listed in the namespaces field.
  580. null selector and null or empty namespaces list means "this pod's namespace".
  581. An empty selector ({}) matches all namespaces.
  582. properties:
  583. matchExpressions:
  584. description: matchExpressions is a list
  585. of label selector requirements. The
  586. requirements are ANDed.
  587. items:
  588. description: |-
  589. A label selector requirement is a selector that contains values, a key, and an operator that
  590. relates the key and values.
  591. properties:
  592. key:
  593. description: key is the label
  594. key that the selector applies
  595. to.
  596. type: string
  597. operator:
  598. description: |-
  599. operator represents a key's relationship to a set of values.
  600. Valid operators are In, NotIn, Exists and DoesNotExist.
  601. type: string
  602. values:
  603. description: |-
  604. values is an array of string values. If the operator is In or NotIn,
  605. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  606. the values array must be empty. This array is replaced during a strategic
  607. merge patch.
  608. items:
  609. type: string
  610. type: array
  611. x-kubernetes-list-type: atomic
  612. required:
  613. - key
  614. - operator
  615. type: object
  616. type: array
  617. x-kubernetes-list-type: atomic
  618. matchLabels:
  619. additionalProperties:
  620. type: string
  621. description: |-
  622. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  623. map is equivalent to an element of matchExpressions, whose key field is "key", the
  624. operator is "In", and the values array contains only "value". The requirements are ANDed.
  625. type: object
  626. type: object
  627. x-kubernetes-map-type: atomic
  628. namespaces:
  629. description: |-
  630. namespaces specifies a static list of namespace names that the term applies to.
  631. The term is applied to the union of the namespaces listed in this field
  632. and the ones selected by namespaceSelector.
  633. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  634. items:
  635. type: string
  636. type: array
  637. x-kubernetes-list-type: atomic
  638. topologyKey:
  639. description: |-
  640. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  641. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  642. whose value of the label with key topologyKey matches that of any node on which any of the
  643. selected pods is running.
  644. Empty topologyKey is not allowed.
  645. type: string
  646. required:
  647. - topologyKey
  648. type: object
  649. type: array
  650. x-kubernetes-list-type: atomic
  651. type: object
  652. podAntiAffinity:
  653. description: Describes pod anti-affinity scheduling
  654. rules (e.g. avoid putting this pod in the same node,
  655. zone, etc. as some other pod(s)).
  656. properties:
  657. preferredDuringSchedulingIgnoredDuringExecution:
  658. description: |-
  659. The scheduler will prefer to schedule pods to nodes that satisfy
  660. the anti-affinity expressions specified by this field, but it may choose
  661. a node that violates one or more of the expressions. The node that is
  662. most preferred is the one with the greatest sum of weights, i.e.
  663. for each node that meets all of the scheduling requirements (resource
  664. request, requiredDuringScheduling anti-affinity expressions, etc.),
  665. compute a sum by iterating through the elements of this field and adding
  666. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  667. node(s) with the highest sum are the most preferred.
  668. items:
  669. description: The weights of all of the matched
  670. WeightedPodAffinityTerm fields are added per-node
  671. to find the most preferred node(s)
  672. properties:
  673. podAffinityTerm:
  674. description: Required. A pod affinity term,
  675. associated with the corresponding weight.
  676. properties:
  677. labelSelector:
  678. description: |-
  679. A label query over a set of resources, in this case pods.
  680. If it's null, this PodAffinityTerm matches with no Pods.
  681. properties:
  682. matchExpressions:
  683. description: matchExpressions is
  684. a list of label selector requirements.
  685. The requirements are ANDed.
  686. items:
  687. description: |-
  688. A label selector requirement is a selector that contains values, a key, and an operator that
  689. relates the key and values.
  690. properties:
  691. key:
  692. description: key is the label
  693. key that the selector applies
  694. to.
  695. type: string
  696. operator:
  697. description: |-
  698. operator represents a key's relationship to a set of values.
  699. Valid operators are In, NotIn, Exists and DoesNotExist.
  700. type: string
  701. values:
  702. description: |-
  703. values is an array of string values. If the operator is In or NotIn,
  704. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  705. the values array must be empty. This array is replaced during a strategic
  706. merge patch.
  707. items:
  708. type: string
  709. type: array
  710. x-kubernetes-list-type: atomic
  711. required:
  712. - key
  713. - operator
  714. type: object
  715. type: array
  716. x-kubernetes-list-type: atomic
  717. matchLabels:
  718. additionalProperties:
  719. type: string
  720. description: |-
  721. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  722. map is equivalent to an element of matchExpressions, whose key field is "key", the
  723. operator is "In", and the values array contains only "value". The requirements are ANDed.
  724. type: object
  725. type: object
  726. x-kubernetes-map-type: atomic
  727. matchLabelKeys:
  728. description: |-
  729. MatchLabelKeys is a set of pod label keys to select which pods will
  730. be taken into consideration. The keys are used to lookup values from the
  731. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  732. to select the group of existing pods which pods will be taken into consideration
  733. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  734. pod labels will be ignored. The default value is empty.
  735. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  736. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  737. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  738. items:
  739. type: string
  740. type: array
  741. x-kubernetes-list-type: atomic
  742. mismatchLabelKeys:
  743. description: |-
  744. MismatchLabelKeys is a set of pod label keys to select which pods will
  745. be taken into consideration. The keys are used to lookup values from the
  746. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  747. to select the group of existing pods which pods will be taken into consideration
  748. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  749. pod labels will be ignored. The default value is empty.
  750. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  751. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  752. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  753. items:
  754. type: string
  755. type: array
  756. x-kubernetes-list-type: atomic
  757. namespaceSelector:
  758. description: |-
  759. A label query over the set of namespaces that the term applies to.
  760. The term is applied to the union of the namespaces selected by this field
  761. and the ones listed in the namespaces field.
  762. null selector and null or empty namespaces list means "this pod's namespace".
  763. An empty selector ({}) matches all namespaces.
  764. properties:
  765. matchExpressions:
  766. description: matchExpressions is
  767. a list of label selector requirements.
  768. The requirements are ANDed.
  769. items:
  770. description: |-
  771. A label selector requirement is a selector that contains values, a key, and an operator that
  772. relates the key and values.
  773. properties:
  774. key:
  775. description: key is the label
  776. key that the selector applies
  777. to.
  778. type: string
  779. operator:
  780. description: |-
  781. operator represents a key's relationship to a set of values.
  782. Valid operators are In, NotIn, Exists and DoesNotExist.
  783. type: string
  784. values:
  785. description: |-
  786. values is an array of string values. If the operator is In or NotIn,
  787. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  788. the values array must be empty. This array is replaced during a strategic
  789. merge patch.
  790. items:
  791. type: string
  792. type: array
  793. x-kubernetes-list-type: atomic
  794. required:
  795. - key
  796. - operator
  797. type: object
  798. type: array
  799. x-kubernetes-list-type: atomic
  800. matchLabels:
  801. additionalProperties:
  802. type: string
  803. description: |-
  804. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  805. map is equivalent to an element of matchExpressions, whose key field is "key", the
  806. operator is "In", and the values array contains only "value". The requirements are ANDed.
  807. type: object
  808. type: object
  809. x-kubernetes-map-type: atomic
  810. namespaces:
  811. description: |-
  812. namespaces specifies a static list of namespace names that the term applies to.
  813. The term is applied to the union of the namespaces listed in this field
  814. and the ones selected by namespaceSelector.
  815. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  816. items:
  817. type: string
  818. type: array
  819. x-kubernetes-list-type: atomic
  820. topologyKey:
  821. description: |-
  822. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  823. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  824. whose value of the label with key topologyKey matches that of any node on which any of the
  825. selected pods is running.
  826. Empty topologyKey is not allowed.
  827. type: string
  828. required:
  829. - topologyKey
  830. type: object
  831. weight:
  832. description: |-
  833. weight associated with matching the corresponding podAffinityTerm,
  834. in the range 1-100.
  835. format: int32
  836. type: integer
  837. required:
  838. - podAffinityTerm
  839. - weight
  840. type: object
  841. type: array
  842. x-kubernetes-list-type: atomic
  843. requiredDuringSchedulingIgnoredDuringExecution:
  844. description: |-
  845. If the anti-affinity requirements specified by this field are not met at
  846. scheduling time, the pod will not be scheduled onto the node.
  847. If the anti-affinity requirements specified by this field cease to be met
  848. at some point during pod execution (e.g. due to a pod label update), the
  849. system may or may not try to eventually evict the pod from its node.
  850. When there are multiple elements, the lists of nodes corresponding to each
  851. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  852. items:
  853. description: |-
  854. Defines a set of pods (namely those matching the labelSelector
  855. relative to the given namespace(s)) that this pod should be
  856. co-located (affinity) or not co-located (anti-affinity) with,
  857. where co-located is defined as running on a node whose value of
  858. the label with key <topologyKey> matches that of any node on which
  859. a pod of the set of pods is running
  860. properties:
  861. labelSelector:
  862. description: |-
  863. A label query over a set of resources, in this case pods.
  864. If it's null, this PodAffinityTerm matches with no Pods.
  865. properties:
  866. matchExpressions:
  867. description: matchExpressions is a list
  868. of label selector requirements. The
  869. requirements are ANDed.
  870. items:
  871. description: |-
  872. A label selector requirement is a selector that contains values, a key, and an operator that
  873. relates the key and values.
  874. properties:
  875. key:
  876. description: key is the label
  877. key that the selector applies
  878. to.
  879. type: string
  880. operator:
  881. description: |-
  882. operator represents a key's relationship to a set of values.
  883. Valid operators are In, NotIn, Exists and DoesNotExist.
  884. type: string
  885. values:
  886. description: |-
  887. values is an array of string values. If the operator is In or NotIn,
  888. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  889. the values array must be empty. This array is replaced during a strategic
  890. merge patch.
  891. items:
  892. type: string
  893. type: array
  894. x-kubernetes-list-type: atomic
  895. required:
  896. - key
  897. - operator
  898. type: object
  899. type: array
  900. x-kubernetes-list-type: atomic
  901. matchLabels:
  902. additionalProperties:
  903. type: string
  904. description: |-
  905. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  906. map is equivalent to an element of matchExpressions, whose key field is "key", the
  907. operator is "In", and the values array contains only "value". The requirements are ANDed.
  908. type: object
  909. type: object
  910. x-kubernetes-map-type: atomic
  911. matchLabelKeys:
  912. description: |-
  913. MatchLabelKeys is a set of pod label keys to select which pods will
  914. be taken into consideration. The keys are used to lookup values from the
  915. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  916. to select the group of existing pods which pods will be taken into consideration
  917. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  918. pod labels will be ignored. The default value is empty.
  919. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  920. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  921. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  922. items:
  923. type: string
  924. type: array
  925. x-kubernetes-list-type: atomic
  926. mismatchLabelKeys:
  927. description: |-
  928. MismatchLabelKeys is a set of pod label keys to select which pods will
  929. be taken into consideration. The keys are used to lookup values from the
  930. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  931. to select the group of existing pods which pods will be taken into consideration
  932. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  933. pod labels will be ignored. The default value is empty.
  934. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  935. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  936. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  937. items:
  938. type: string
  939. type: array
  940. x-kubernetes-list-type: atomic
  941. namespaceSelector:
  942. description: |-
  943. A label query over the set of namespaces that the term applies to.
  944. The term is applied to the union of the namespaces selected by this field
  945. and the ones listed in the namespaces field.
  946. null selector and null or empty namespaces list means "this pod's namespace".
  947. An empty selector ({}) matches all namespaces.
  948. properties:
  949. matchExpressions:
  950. description: matchExpressions is a list
  951. of label selector requirements. The
  952. requirements are ANDed.
  953. items:
  954. description: |-
  955. A label selector requirement is a selector that contains values, a key, and an operator that
  956. relates the key and values.
  957. properties:
  958. key:
  959. description: key is the label
  960. key that the selector applies
  961. to.
  962. type: string
  963. operator:
  964. description: |-
  965. operator represents a key's relationship to a set of values.
  966. Valid operators are In, NotIn, Exists and DoesNotExist.
  967. type: string
  968. values:
  969. description: |-
  970. values is an array of string values. If the operator is In or NotIn,
  971. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  972. the values array must be empty. This array is replaced during a strategic
  973. merge patch.
  974. items:
  975. type: string
  976. type: array
  977. x-kubernetes-list-type: atomic
  978. required:
  979. - key
  980. - operator
  981. type: object
  982. type: array
  983. x-kubernetes-list-type: atomic
  984. matchLabels:
  985. additionalProperties:
  986. type: string
  987. description: |-
  988. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  989. map is equivalent to an element of matchExpressions, whose key field is "key", the
  990. operator is "In", and the values array contains only "value". The requirements are ANDed.
  991. type: object
  992. type: object
  993. x-kubernetes-map-type: atomic
  994. namespaces:
  995. description: |-
  996. namespaces specifies a static list of namespace names that the term applies to.
  997. The term is applied to the union of the namespaces listed in this field
  998. and the ones selected by namespaceSelector.
  999. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  1000. items:
  1001. type: string
  1002. type: array
  1003. x-kubernetes-list-type: atomic
  1004. topologyKey:
  1005. description: |-
  1006. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  1007. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  1008. whose value of the label with key topologyKey matches that of any node on which any of the
  1009. selected pods is running.
  1010. Empty topologyKey is not allowed.
  1011. type: string
  1012. required:
  1013. - topologyKey
  1014. type: object
  1015. type: array
  1016. x-kubernetes-list-type: atomic
  1017. type: object
  1018. type: object
  1019. nodeSelector:
  1020. additionalProperties:
  1021. type: string
  1022. description: nodeSelector pins pods to nodes that match
  1023. all the specified labels.
  1024. type: object
  1025. resources:
  1026. description: resources sets per-container resource requests
  1027. and limits.
  1028. properties:
  1029. claims:
  1030. description: |-
  1031. Claims lists the names of resources, defined in spec.resourceClaims,
  1032. that are used by this container.
  1033. This is an alpha field and requires enabling the
  1034. DynamicResourceAllocation feature gate.
  1035. This field is immutable. It can only be set for containers.
  1036. items:
  1037. description: ResourceClaim references one entry
  1038. in PodSpec.ResourceClaims.
  1039. properties:
  1040. name:
  1041. description: |-
  1042. Name must match the name of one entry in pod.spec.resourceClaims of
  1043. the Pod where this field is used. It makes that resource available
  1044. inside a container.
  1045. type: string
  1046. required:
  1047. - name
  1048. type: object
  1049. type: array
  1050. x-kubernetes-list-map-keys:
  1051. - name
  1052. x-kubernetes-list-type: map
  1053. limits:
  1054. additionalProperties:
  1055. anyOf:
  1056. - type: integer
  1057. - type: string
  1058. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1059. x-kubernetes-int-or-string: true
  1060. description: |-
  1061. Limits describes the maximum amount of compute resources allowed.
  1062. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  1063. type: object
  1064. requests:
  1065. additionalProperties:
  1066. anyOf:
  1067. - type: integer
  1068. - type: string
  1069. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1070. x-kubernetes-int-or-string: true
  1071. description: |-
  1072. Requests describes the minimum amount of compute resources required.
  1073. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  1074. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  1075. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  1076. type: object
  1077. type: object
  1078. runtime:
  1079. description: runtime describes the container runtime to
  1080. use for the workload.
  1081. properties:
  1082. args:
  1083. description: args specifies or overrides the preset's
  1084. container command.
  1085. items:
  1086. type: string
  1087. type: array
  1088. command:
  1089. description: command specifies or overrides the preset's
  1090. container entrypoint.
  1091. items:
  1092. type: string
  1093. type: array
  1094. conditionalArgs:
  1095. description: conditionalArgs are appended to the preset
  1096. command conditionally.
  1097. items:
  1098. properties:
  1099. args:
  1100. description: args are appended to the preset
  1101. args.
  1102. items:
  1103. type: string
  1104. type: array
  1105. when:
  1106. description: when the value is not empty after
  1107. variable substitution, the args are appended
  1108. to the preset args.
  1109. type: string
  1110. required:
  1111. - args
  1112. - when
  1113. type: object
  1114. type: array
  1115. env:
  1116. description: env holds environment variables injected
  1117. into the container.
  1118. items:
  1119. description: EnvVar represents an environment variable
  1120. present in a Container.
  1121. properties:
  1122. name:
  1123. description: Name of the environment variable.
  1124. Must be a C_IDENTIFIER.
  1125. type: string
  1126. value:
  1127. description: |-
  1128. Variable references $(VAR_NAME) are expanded
  1129. using the previously defined environment variables in the container and
  1130. any service environment variables. If a variable cannot be resolved,
  1131. the reference in the input string will be unchanged. Double $$ are reduced
  1132. to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
  1133. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
  1134. Escaped references will never be expanded, regardless of whether the variable
  1135. exists or not.
  1136. Defaults to "".
  1137. type: string
  1138. valueFrom:
  1139. description: Source for the environment variable's
  1140. value. Cannot be used if value is not empty.
  1141. properties:
  1142. configMapKeyRef:
  1143. description: Selects a key of a ConfigMap.
  1144. properties:
  1145. key:
  1146. description: The key to select.
  1147. type: string
  1148. name:
  1149. default: ""
  1150. description: |-
  1151. Name of the referent.
  1152. This field is effectively required, but due to backwards compatibility is
  1153. allowed to be empty. Instances of this type with an empty value here are
  1154. almost certainly wrong.
  1155. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1156. type: string
  1157. optional:
  1158. description: Specify whether the ConfigMap
  1159. or its key must be defined
  1160. type: boolean
  1161. required:
  1162. - key
  1163. type: object
  1164. x-kubernetes-map-type: atomic
  1165. fieldRef:
  1166. description: |-
  1167. Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
  1168. spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
  1169. properties:
  1170. apiVersion:
  1171. description: Version of the schema the
  1172. FieldPath is written in terms of,
  1173. defaults to "v1".
  1174. type: string
  1175. fieldPath:
  1176. description: Path of the field to select
  1177. in the specified API version.
  1178. type: string
  1179. required:
  1180. - fieldPath
  1181. type: object
  1182. x-kubernetes-map-type: atomic
  1183. resourceFieldRef:
  1184. description: |-
  1185. Selects a resource of the container: only resources limits and requests
  1186. (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
  1187. properties:
  1188. containerName:
  1189. description: 'Container name: required
  1190. for volumes, optional for env vars'
  1191. type: string
  1192. divisor:
  1193. anyOf:
  1194. - type: integer
  1195. - type: string
  1196. description: Specifies the output format
  1197. of the exposed resources, defaults
  1198. to "1"
  1199. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1200. x-kubernetes-int-or-string: true
  1201. resource:
  1202. description: 'Required: resource to
  1203. select'
  1204. type: string
  1205. required:
  1206. - resource
  1207. type: object
  1208. x-kubernetes-map-type: atomic
  1209. secretKeyRef:
  1210. description: Selects a key of a secret in
  1211. the pod's namespace
  1212. properties:
  1213. key:
  1214. description: The key of the secret to
  1215. select from. Must be a valid secret
  1216. key.
  1217. type: string
  1218. name:
  1219. default: ""
  1220. description: |-
  1221. Name of the referent.
  1222. This field is effectively required, but due to backwards compatibility is
  1223. allowed to be empty. Instances of this type with an empty value here are
  1224. almost certainly wrong.
  1225. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1226. type: string
  1227. optional:
  1228. description: Specify whether the Secret
  1229. or its key must be defined
  1230. type: boolean
  1231. required:
  1232. - key
  1233. type: object
  1234. x-kubernetes-map-type: atomic
  1235. type: object
  1236. required:
  1237. - name
  1238. type: object
  1239. type: array
  1240. envFrom:
  1241. description: envFrom references ConfigMaps or Secrets
  1242. whose key-value pairs are injected as environment
  1243. variables.
  1244. items:
  1245. description: EnvFromSource represents the source
  1246. of a set of ConfigMaps
  1247. properties:
  1248. configMapRef:
  1249. description: The ConfigMap to select from
  1250. properties:
  1251. name:
  1252. default: ""
  1253. description: |-
  1254. Name of the referent.
  1255. This field is effectively required, but due to backwards compatibility is
  1256. allowed to be empty. Instances of this type with an empty value here are
  1257. almost certainly wrong.
  1258. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1259. type: string
  1260. optional:
  1261. description: Specify whether the ConfigMap
  1262. must be defined
  1263. type: boolean
  1264. type: object
  1265. x-kubernetes-map-type: atomic
  1266. prefix:
  1267. description: An optional identifier to prepend
  1268. to each key in the ConfigMap. Must be a C_IDENTIFIER.
  1269. type: string
  1270. secretRef:
  1271. description: The Secret to select from
  1272. properties:
  1273. name:
  1274. default: ""
  1275. description: |-
  1276. Name of the referent.
  1277. This field is effectively required, but due to backwards compatibility is
  1278. allowed to be empty. Instances of this type with an empty value here are
  1279. almost certainly wrong.
  1280. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1281. type: string
  1282. optional:
  1283. description: Specify whether the Secret
  1284. must be defined
  1285. type: boolean
  1286. type: object
  1287. x-kubernetes-map-type: atomic
  1288. type: object
  1289. type: array
  1290. extraArgs:
  1291. description: extraArgs are appended to the preset
  1292. command.
  1293. items:
  1294. type: string
  1295. type: array
  1296. image:
  1297. description: |-
  1298. image specifies or overrides the preset's container image, e.g. to pin a specific tag
  1299. or pull from a private registry mirror.
  1300. type: string
  1301. name:
  1302. description: name selects a built-in runtime preset.
  1303. type: string
  1304. port:
  1305. description: port specifies or overrides the container
  1306. port the runtime listens on.
  1307. format: int32
  1308. type: integer
  1309. volumeMounts:
  1310. description: volumeMounts defines where pod volumes
  1311. are mounted inside the container.
  1312. items:
  1313. description: VolumeMount describes a mounting of
  1314. a Volume within a container.
  1315. properties:
  1316. mountPath:
  1317. description: |-
  1318. Path within the container at which the volume should be mounted. Must
  1319. not contain ':'.
  1320. type: string
  1321. mountPropagation:
  1322. description: |-
  1323. mountPropagation determines how mounts are propagated from the host
  1324. to container and the other way around.
  1325. When not set, MountPropagationNone is used.
  1326. This field is beta in 1.10.
  1327. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
  1328. (which defaults to None).
  1329. type: string
  1330. name:
  1331. description: This must match the Name of a Volume.
  1332. type: string
  1333. readOnly:
  1334. description: |-
  1335. Mounted read-only if true, read-write otherwise (false or unspecified).
  1336. Defaults to false.
  1337. type: boolean
  1338. recursiveReadOnly:
  1339. description: |-
  1340. RecursiveReadOnly specifies whether read-only mounts should be handled
  1341. recursively.
  1342. If ReadOnly is false, this field has no meaning and must be unspecified.
  1343. If ReadOnly is true, and this field is set to Disabled, the mount is not made
  1344. recursively read-only. If this field is set to IfPossible, the mount is made
  1345. recursively read-only, if it is supported by the container runtime. If this
  1346. field is set to Enabled, the mount is made recursively read-only if it is
  1347. supported by the container runtime, otherwise the pod will not be started and
  1348. an error will be generated to indicate the reason.
  1349. If this field is set to IfPossible or Enabled, MountPropagation must be set to
  1350. None (or be unspecified, which defaults to None).
  1351. If this field is not specified, it is treated as an equivalent of Disabled.
  1352. type: string
  1353. subPath:
  1354. description: |-
  1355. Path within the volume from which the container's volume should be mounted.
  1356. Defaults to "" (volume's root).
  1357. type: string
  1358. subPathExpr:
  1359. description: |-
  1360. Expanded path within the volume from which the container's volume should be mounted.
  1361. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
  1362. Defaults to "" (volume's root).
  1363. SubPathExpr and SubPath are mutually exclusive.
  1364. type: string
  1365. required:
  1366. - mountPath
  1367. - name
  1368. type: object
  1369. type: array
  1370. type: object
  1371. securityContext:
  1372. description: |-
  1373. securityContext sets pod-level security attributes such as runAsUser,
  1374. runAsGroup, fsGroup, and sysctls.
  1375. properties:
  1376. appArmorProfile:
  1377. description: |-
  1378. appArmorProfile is the AppArmor options to use by the containers in this pod.
  1379. Note that this field cannot be set when spec.os.name is windows.
  1380. properties:
  1381. localhostProfile:
  1382. description: |-
  1383. localhostProfile indicates a profile loaded on the node that should be used.
  1384. The profile must be preconfigured on the node to work.
  1385. Must match the loaded name of the profile.
  1386. Must be set if and only if type is "Localhost".
  1387. type: string
  1388. type:
  1389. description: |-
  1390. type indicates which kind of AppArmor profile will be applied.
  1391. Valid options are:
  1392. Localhost - a profile pre-loaded on the node.
  1393. RuntimeDefault - the container runtime's default profile.
  1394. Unconfined - no AppArmor enforcement.
  1395. type: string
  1396. required:
  1397. - type
  1398. type: object
  1399. fsGroup:
  1400. description: |-
  1401. A special supplemental group that applies to all containers in a pod.
  1402. Some volume types allow the Kubelet to change the ownership of that volume
  1403. to be owned by the pod:
  1404. 1. The owning GID will be the FSGroup
  1405. 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
  1406. 3. The permission bits are OR'd with rw-rw----
  1407. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  1408. Note that this field cannot be set when spec.os.name is windows.
  1409. format: int64
  1410. type: integer
  1411. fsGroupChangePolicy:
  1412. description: |-
  1413. fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
  1414. before being exposed inside Pod. This field will only apply to
  1415. volume types which support fsGroup based ownership(and permissions).
  1416. It will have no effect on ephemeral volume types such as: secret, configmaps
  1417. and emptydir.
  1418. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
  1419. Note that this field cannot be set when spec.os.name is windows.
  1420. type: string
  1421. runAsGroup:
  1422. description: |-
  1423. The GID to run the entrypoint of the container process.
  1424. Uses runtime default if unset.
  1425. May also be set in SecurityContext. If set in both SecurityContext and
  1426. PodSecurityContext, the value specified in SecurityContext takes precedence
  1427. for that container.
  1428. Note that this field cannot be set when spec.os.name is windows.
  1429. format: int64
  1430. type: integer
  1431. runAsNonRoot:
  1432. description: |-
  1433. Indicates that the container must run as a non-root user.
  1434. If true, the Kubelet will validate the image at runtime to ensure that it
  1435. does not run as UID 0 (root) and fail to start the container if it does.
  1436. If unset or false, no such validation will be performed.
  1437. May also be set in SecurityContext. If set in both SecurityContext and
  1438. PodSecurityContext, the value specified in SecurityContext takes precedence.
  1439. type: boolean
  1440. runAsUser:
  1441. description: |-
  1442. The UID to run the entrypoint of the container process.
  1443. Defaults to user specified in image metadata if unspecified.
  1444. May also be set in SecurityContext. If set in both SecurityContext and
  1445. PodSecurityContext, the value specified in SecurityContext takes precedence
  1446. for that container.
  1447. Note that this field cannot be set when spec.os.name is windows.
  1448. format: int64
  1449. type: integer
  1450. seLinuxOptions:
  1451. description: |-
  1452. The SELinux context to be applied to all containers.
  1453. If unspecified, the container runtime will allocate a random SELinux context for each
  1454. container. May also be set in SecurityContext. If set in
  1455. both SecurityContext and PodSecurityContext, the value specified in SecurityContext
  1456. takes precedence for that container.
  1457. Note that this field cannot be set when spec.os.name is windows.
  1458. properties:
  1459. level:
  1460. description: Level is SELinux level label that
  1461. applies to the container.
  1462. type: string
  1463. role:
  1464. description: Role is a SELinux role label that
  1465. applies to the container.
  1466. type: string
  1467. type:
  1468. description: Type is a SELinux type label that
  1469. applies to the container.
  1470. type: string
  1471. user:
  1472. description: User is a SELinux user label that
  1473. applies to the container.
  1474. type: string
  1475. type: object
  1476. seccompProfile:
  1477. description: |-
  1478. The seccomp options to use by the containers in this pod.
  1479. Note that this field cannot be set when spec.os.name is windows.
  1480. properties:
  1481. localhostProfile:
  1482. description: |-
  1483. localhostProfile indicates a profile defined in a file on the node should be used.
  1484. The profile must be preconfigured on the node to work.
  1485. Must be a descending path, relative to the kubelet's configured seccomp profile location.
  1486. Must be set if type is "Localhost". Must NOT be set for any other type.
  1487. type: string
  1488. type:
  1489. description: |-
  1490. type indicates which kind of seccomp profile will be applied.
  1491. Valid options are:
  1492. Localhost - a profile defined in a file on the node should be used.
  1493. RuntimeDefault - the container runtime default profile should be used.
  1494. Unconfined - no profile should be applied.
  1495. type: string
  1496. required:
  1497. - type
  1498. type: object
  1499. supplementalGroups:
  1500. description: |-
  1501. A list of groups applied to the first process run in each container, in addition
  1502. to the container's primary GID, the fsGroup (if specified), and group memberships
  1503. defined in the container image for the uid of the container process. If unspecified,
  1504. no additional groups are added to any container. Note that group memberships
  1505. defined in the container image for the uid of the container process are still effective,
  1506. even if they are not included in this list.
  1507. Note that this field cannot be set when spec.os.name is windows.
  1508. items:
  1509. format: int64
  1510. type: integer
  1511. type: array
  1512. x-kubernetes-list-type: atomic
  1513. sysctls:
  1514. description: |-
  1515. Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
  1516. sysctls (by the container runtime) might fail to launch.
  1517. Note that this field cannot be set when spec.os.name is windows.
  1518. items:
  1519. description: Sysctl defines a kernel parameter to
  1520. be set
  1521. properties:
  1522. name:
  1523. description: Name of a property to set
  1524. type: string
  1525. value:
  1526. description: Value of a property to set
  1527. type: string
  1528. required:
  1529. - name
  1530. - value
  1531. type: object
  1532. type: array
  1533. x-kubernetes-list-type: atomic
  1534. windowsOptions:
  1535. description: |-
  1536. The Windows specific settings applied to all containers.
  1537. If unspecified, the options within a container's SecurityContext will be used.
  1538. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
  1539. Note that this field cannot be set when spec.os.name is linux.
  1540. properties:
  1541. gmsaCredentialSpec:
  1542. description: |-
  1543. GMSACredentialSpec is where the GMSA admission webhook
  1544. (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
  1545. GMSA credential spec named by the GMSACredentialSpecName field.
  1546. type: string
  1547. gmsaCredentialSpecName:
  1548. description: GMSACredentialSpecName is the name
  1549. of the GMSA credential spec to use.
  1550. type: string
  1551. hostProcess:
  1552. description: |-
  1553. HostProcess determines if a container should be run as a 'Host Process' container.
  1554. All of a Pod's containers must have the same effective HostProcess value
  1555. (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
  1556. In addition, if HostProcess is true then HostNetwork must also be set to true.
  1557. type: boolean
  1558. runAsUserName:
  1559. description: |-
  1560. The UserName in Windows to run the entrypoint of the container process.
  1561. Defaults to the user specified in image metadata if unspecified.
  1562. May also be set in PodSecurityContext. If set in both SecurityContext and
  1563. PodSecurityContext, the value specified in SecurityContext takes precedence.
  1564. type: string
  1565. type: object
  1566. type: object
  1567. tolerations:
  1568. description: tolerations allow pods to be scheduled onto
  1569. nodes with matching taints.
  1570. items:
  1571. description: |-
  1572. The pod this Toleration is attached to tolerates any taint that matches
  1573. the triple <key,value,effect> using the matching operator <operator>.
  1574. properties:
  1575. effect:
  1576. description: |-
  1577. Effect indicates the taint effect to match. Empty means match all taint effects.
  1578. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
  1579. type: string
  1580. key:
  1581. description: |-
  1582. Key is the taint key that the toleration applies to. Empty means match all taint keys.
  1583. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
  1584. type: string
  1585. operator:
  1586. description: |-
  1587. Operator represents a key's relationship to the value.
  1588. Valid operators are Exists and Equal. Defaults to Equal.
  1589. Exists is equivalent to wildcard for value, so that a pod can
  1590. tolerate all taints of a particular category.
  1591. type: string
  1592. tolerationSeconds:
  1593. description: |-
  1594. TolerationSeconds represents the period of time the toleration (which must be
  1595. of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
  1596. it is not set, which means tolerate the taint forever (do not evict). Zero and
  1597. negative values will be treated as 0 (evict immediately) by the system.
  1598. format: int64
  1599. type: integer
  1600. value:
  1601. description: |-
  1602. Value is the taint value the toleration matches to.
  1603. If the operator is Exists, the value should be empty, otherwise just a regular string.
  1604. type: string
  1605. type: object
  1606. type: array
  1607. topologySpreadConstraints:
  1608. description: |-
  1609. topologySpreadConstraints controls how pods are spread across failure
  1610. domains (zones, nodes). Prefer this over pod anti-affinity for HA spread.
  1611. items:
  1612. description: TopologySpreadConstraint specifies how
  1613. to spread matching pods among the given topology.
  1614. properties:
  1615. labelSelector:
  1616. description: |-
  1617. LabelSelector is used to find matching pods.
  1618. Pods that match this label selector are counted to determine the number of pods
  1619. in their corresponding topology domain.
  1620. properties:
  1621. matchExpressions:
  1622. description: matchExpressions is a list of label
  1623. selector requirements. The requirements are
  1624. ANDed.
  1625. items:
  1626. description: |-
  1627. A label selector requirement is a selector that contains values, a key, and an operator that
  1628. relates the key and values.
  1629. properties:
  1630. key:
  1631. description: key is the label key that
  1632. the selector applies to.
  1633. type: string
  1634. operator:
  1635. description: |-
  1636. operator represents a key's relationship to a set of values.
  1637. Valid operators are In, NotIn, Exists and DoesNotExist.
  1638. type: string
  1639. values:
  1640. description: |-
  1641. values is an array of string values. If the operator is In or NotIn,
  1642. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  1643. the values array must be empty. This array is replaced during a strategic
  1644. merge patch.
  1645. items:
  1646. type: string
  1647. type: array
  1648. x-kubernetes-list-type: atomic
  1649. required:
  1650. - key
  1651. - operator
  1652. type: object
  1653. type: array
  1654. x-kubernetes-list-type: atomic
  1655. matchLabels:
  1656. additionalProperties:
  1657. type: string
  1658. description: |-
  1659. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  1660. map is equivalent to an element of matchExpressions, whose key field is "key", the
  1661. operator is "In", and the values array contains only "value". The requirements are ANDed.
  1662. type: object
  1663. type: object
  1664. x-kubernetes-map-type: atomic
  1665. matchLabelKeys:
  1666. description: |-
  1667. MatchLabelKeys is a set of pod label keys to select the pods over which
  1668. spreading will be calculated. The keys are used to lookup values from the
  1669. incoming pod labels, those key-value labels are ANDed with labelSelector
  1670. to select the group of existing pods over which spreading will be calculated
  1671. for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
  1672. MatchLabelKeys cannot be set when LabelSelector isn't set.
  1673. Keys that don't exist in the incoming pod labels will
  1674. be ignored. A null or empty list means only match against labelSelector.
  1675. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
  1676. items:
  1677. type: string
  1678. type: array
  1679. x-kubernetes-list-type: atomic
  1680. maxSkew:
  1681. description: |-
  1682. MaxSkew describes the degree to which pods may be unevenly distributed.
  1683. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
  1684. between the number of matching pods in the target topology and the global minimum.
  1685. The global minimum is the minimum number of matching pods in an eligible domain
  1686. or zero if the number of eligible domains is less than MinDomains.
  1687. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  1688. labelSelector spread as 2/2/1:
  1689. In this case, the global minimum is 1.
  1690. | zone1 | zone2 | zone3 |
  1691. | P P | P P | P |
  1692. - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
  1693. scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
  1694. violate MaxSkew(1).
  1695. - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
  1696. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
  1697. to topologies that satisfy it.
  1698. It's a required field. Default value is 1 and 0 is not allowed.
  1699. format: int32
  1700. type: integer
  1701. minDomains:
  1702. description: |-
  1703. MinDomains indicates a minimum number of eligible domains.
  1704. When the number of eligible domains with matching topology keys is less than minDomains,
  1705. Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
  1706. And when the number of eligible domains with matching topology keys equals or greater than minDomains,
  1707. this value has no effect on scheduling.
  1708. As a result, when the number of eligible domains is less than minDomains,
  1709. scheduler won't schedule more than maxSkew Pods to those domains.
  1710. If value is nil, the constraint behaves as if MinDomains is equal to 1.
  1711. Valid values are integers greater than 0.
  1712. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
  1713. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
  1714. labelSelector spread as 2/2/2:
  1715. | zone1 | zone2 | zone3 |
  1716. | P P | P P | P P |
  1717. The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
  1718. In this situation, new pod with the same labelSelector cannot be scheduled,
  1719. because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
  1720. it will violate MaxSkew.
  1721. format: int32
  1722. type: integer
  1723. nodeAffinityPolicy:
  1724. description: |-
  1725. NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
  1726. when calculating pod topology spread skew. Options are:
  1727. - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
  1728. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
  1729. If this value is nil, the behavior is equivalent to the Honor policy.
  1730. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  1731. type: string
  1732. nodeTaintsPolicy:
  1733. description: |-
  1734. NodeTaintsPolicy indicates how we will treat node taints when calculating
  1735. pod topology spread skew. Options are:
  1736. - Honor: nodes without taints, along with tainted nodes for which the incoming pod
  1737. has a toleration, are included.
  1738. - Ignore: node taints are ignored. All nodes are included.
  1739. If this value is nil, the behavior is equivalent to the Ignore policy.
  1740. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  1741. type: string
  1742. topologyKey:
  1743. description: |-
  1744. TopologyKey is the key of node labels. Nodes that have a label with this key
  1745. and identical values are considered to be in the same topology.
  1746. We consider each <key, value> as a "bucket", and try to put balanced number
  1747. of pods into each bucket.
  1748. We define a domain as a particular instance of a topology.
  1749. Also, we define an eligible domain as a domain whose nodes meet the requirements of
  1750. nodeAffinityPolicy and nodeTaintsPolicy.
  1751. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
  1752. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
  1753. It's a required field.
  1754. type: string
  1755. whenUnsatisfiable:
  1756. description: |-
  1757. WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
  1758. the spread constraint.
  1759. - DoNotSchedule (default) tells the scheduler not to schedule it.
  1760. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
  1761. but giving higher precedence to topologies that would help reduce the
  1762. skew.
  1763. A constraint is considered "Unsatisfiable" for an incoming pod
  1764. if and only if every possible node assignment for that pod would violate
  1765. "MaxSkew" on some topology.
  1766. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  1767. labelSelector spread as 3/1/1:
  1768. | zone1 | zone2 | zone3 |
  1769. | P P P | P | P |
  1770. If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
  1771. to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
  1772. MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
  1773. won't make it *more* imbalanced.
  1774. It's a required field.
  1775. type: string
  1776. required:
  1777. - maxSkew
  1778. - topologyKey
  1779. - whenUnsatisfiable
  1780. type: object
  1781. type: array
  1782. volumes:
  1783. description: volumes defines additional pod volumes available
  1784. to the runtime container.
  1785. items:
  1786. description: Volume represents a named volume in a pod
  1787. that may be accessed by any container in the pod.
  1788. properties:
  1789. awsElasticBlockStore:
  1790. description: |-
  1791. awsElasticBlockStore represents an AWS Disk resource that is attached to a
  1792. kubelet's host machine and then exposed to the pod.
  1793. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  1794. properties:
  1795. fsType:
  1796. description: |-
  1797. fsType is the filesystem type of the volume that you want to mount.
  1798. Tip: Ensure that the filesystem type is supported by the host operating system.
  1799. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  1800. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  1801. type: string
  1802. partition:
  1803. description: |-
  1804. partition is the partition in the volume that you want to mount.
  1805. If omitted, the default is to mount by volume name.
  1806. Examples: For volume /dev/sda1, you specify the partition as "1".
  1807. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  1808. format: int32
  1809. type: integer
  1810. readOnly:
  1811. description: |-
  1812. readOnly value true will force the readOnly setting in VolumeMounts.
  1813. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  1814. type: boolean
  1815. volumeID:
  1816. description: |-
  1817. volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
  1818. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  1819. type: string
  1820. required:
  1821. - volumeID
  1822. type: object
  1823. azureDisk:
  1824. description: azureDisk represents an Azure Data
  1825. Disk mount on the host and bind mount to the pod.
  1826. properties:
  1827. cachingMode:
  1828. description: 'cachingMode is the Host Caching
  1829. mode: None, Read Only, Read Write.'
  1830. type: string
  1831. diskName:
  1832. description: diskName is the Name of the data
  1833. disk in the blob storage
  1834. type: string
  1835. diskURI:
  1836. description: diskURI is the URI of data disk
  1837. in the blob storage
  1838. type: string
  1839. fsType:
  1840. description: |-
  1841. fsType is Filesystem type to mount.
  1842. Must be a filesystem type supported by the host operating system.
  1843. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  1844. type: string
  1845. kind:
  1846. description: 'kind expected values are Shared:
  1847. multiple blob disks per storage account Dedicated:
  1848. single blob disk per storage account Managed:
  1849. azure managed data disk (only in managed availability
  1850. set). defaults to shared'
  1851. type: string
  1852. readOnly:
  1853. description: |-
  1854. readOnly Defaults to false (read/write). ReadOnly here will force
  1855. the ReadOnly setting in VolumeMounts.
  1856. type: boolean
  1857. required:
  1858. - diskName
  1859. - diskURI
  1860. type: object
  1861. azureFile:
  1862. description: azureFile represents an Azure File
  1863. Service mount on the host and bind mount to the
  1864. pod.
  1865. properties:
  1866. readOnly:
  1867. description: |-
  1868. readOnly defaults to false (read/write). ReadOnly here will force
  1869. the ReadOnly setting in VolumeMounts.
  1870. type: boolean
  1871. secretName:
  1872. description: secretName is the name of secret
  1873. that contains Azure Storage Account Name and
  1874. Key
  1875. type: string
  1876. shareName:
  1877. description: shareName is the azure share Name
  1878. type: string
  1879. required:
  1880. - secretName
  1881. - shareName
  1882. type: object
  1883. cephfs:
  1884. description: cephFS represents a Ceph FS mount on
  1885. the host that shares a pod's lifetime
  1886. properties:
  1887. monitors:
  1888. description: |-
  1889. monitors is Required: Monitors is a collection of Ceph monitors
  1890. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  1891. items:
  1892. type: string
  1893. type: array
  1894. x-kubernetes-list-type: atomic
  1895. path:
  1896. description: 'path is Optional: Used as the
  1897. mounted root, rather than the full Ceph tree,
  1898. default is /'
  1899. type: string
  1900. readOnly:
  1901. description: |-
  1902. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  1903. the ReadOnly setting in VolumeMounts.
  1904. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  1905. type: boolean
  1906. secretFile:
  1907. description: |-
  1908. secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
  1909. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  1910. type: string
  1911. secretRef:
  1912. description: |-
  1913. secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
  1914. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  1915. properties:
  1916. name:
  1917. default: ""
  1918. description: |-
  1919. Name of the referent.
  1920. This field is effectively required, but due to backwards compatibility is
  1921. allowed to be empty. Instances of this type with an empty value here are
  1922. almost certainly wrong.
  1923. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1924. type: string
  1925. type: object
  1926. x-kubernetes-map-type: atomic
  1927. user:
  1928. description: |-
  1929. user is optional: User is the rados user name, default is admin
  1930. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  1931. type: string
  1932. required:
  1933. - monitors
  1934. type: object
  1935. cinder:
  1936. description: |-
  1937. cinder represents a cinder volume attached and mounted on kubelets host machine.
  1938. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  1939. properties:
  1940. fsType:
  1941. description: |-
  1942. fsType is the filesystem type to mount.
  1943. Must be a filesystem type supported by the host operating system.
  1944. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  1945. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  1946. type: string
  1947. readOnly:
  1948. description: |-
  1949. readOnly defaults to false (read/write). ReadOnly here will force
  1950. the ReadOnly setting in VolumeMounts.
  1951. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  1952. type: boolean
  1953. secretRef:
  1954. description: |-
  1955. secretRef is optional: points to a secret object containing parameters used to connect
  1956. to OpenStack.
  1957. properties:
  1958. name:
  1959. default: ""
  1960. description: |-
  1961. Name of the referent.
  1962. This field is effectively required, but due to backwards compatibility is
  1963. allowed to be empty. Instances of this type with an empty value here are
  1964. almost certainly wrong.
  1965. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1966. type: string
  1967. type: object
  1968. x-kubernetes-map-type: atomic
  1969. volumeID:
  1970. description: |-
  1971. volumeID used to identify the volume in cinder.
  1972. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  1973. type: string
  1974. required:
  1975. - volumeID
  1976. type: object
  1977. configMap:
  1978. description: configMap represents a configMap that
  1979. should populate this volume
  1980. properties:
  1981. defaultMode:
  1982. description: |-
  1983. defaultMode is optional: mode bits used to set permissions on created files by default.
  1984. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  1985. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  1986. Defaults to 0644.
  1987. Directories within the path are not affected by this setting.
  1988. This might be in conflict with other options that affect the file
  1989. mode, like fsGroup, and the result can be other mode bits set.
  1990. format: int32
  1991. type: integer
  1992. items:
  1993. description: |-
  1994. items if unspecified, each key-value pair in the Data field of the referenced
  1995. ConfigMap will be projected into the volume as a file whose name is the
  1996. key and content is the value. If specified, the listed keys will be
  1997. projected into the specified paths, and unlisted keys will not be
  1998. present. If a key is specified which is not present in the ConfigMap,
  1999. the volume setup will error unless it is marked optional. Paths must be
  2000. relative and may not contain the '..' path or start with '..'.
  2001. items:
  2002. description: Maps a string key to a path within
  2003. a volume.
  2004. properties:
  2005. key:
  2006. description: key is the key to project.
  2007. type: string
  2008. mode:
  2009. description: |-
  2010. mode is Optional: mode bits used to set permissions on this file.
  2011. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  2012. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2013. If not specified, the volume defaultMode will be used.
  2014. This might be in conflict with other options that affect the file
  2015. mode, like fsGroup, and the result can be other mode bits set.
  2016. format: int32
  2017. type: integer
  2018. path:
  2019. description: |-
  2020. path is the relative path of the file to map the key to.
  2021. May not be an absolute path.
  2022. May not contain the path element '..'.
  2023. May not start with the string '..'.
  2024. type: string
  2025. required:
  2026. - key
  2027. - path
  2028. type: object
  2029. type: array
  2030. x-kubernetes-list-type: atomic
  2031. name:
  2032. default: ""
  2033. description: |-
  2034. Name of the referent.
  2035. This field is effectively required, but due to backwards compatibility is
  2036. allowed to be empty. Instances of this type with an empty value here are
  2037. almost certainly wrong.
  2038. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2039. type: string
  2040. optional:
  2041. description: optional specify whether the ConfigMap
  2042. or its keys must be defined
  2043. type: boolean
  2044. type: object
  2045. x-kubernetes-map-type: atomic
  2046. csi:
  2047. description: csi (Container Storage Interface) represents
  2048. ephemeral storage that is handled by certain external
  2049. CSI drivers (Beta feature).
  2050. properties:
  2051. driver:
  2052. description: |-
  2053. driver is the name of the CSI driver that handles this volume.
  2054. Consult with your admin for the correct name as registered in the cluster.
  2055. type: string
  2056. fsType:
  2057. description: |-
  2058. fsType to mount. Ex. "ext4", "xfs", "ntfs".
  2059. If not provided, the empty value is passed to the associated CSI driver
  2060. which will determine the default filesystem to apply.
  2061. type: string
  2062. nodePublishSecretRef:
  2063. description: |-
  2064. nodePublishSecretRef is a reference to the secret object containing
  2065. sensitive information to pass to the CSI driver to complete the CSI
  2066. NodePublishVolume and NodeUnpublishVolume calls.
  2067. This field is optional, and may be empty if no secret is required. If the
  2068. secret object contains more than one secret, all secret references are passed.
  2069. properties:
  2070. name:
  2071. default: ""
  2072. description: |-
  2073. Name of the referent.
  2074. This field is effectively required, but due to backwards compatibility is
  2075. allowed to be empty. Instances of this type with an empty value here are
  2076. almost certainly wrong.
  2077. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2078. type: string
  2079. type: object
  2080. x-kubernetes-map-type: atomic
  2081. readOnly:
  2082. description: |-
  2083. readOnly specifies a read-only configuration for the volume.
  2084. Defaults to false (read/write).
  2085. type: boolean
  2086. volumeAttributes:
  2087. additionalProperties:
  2088. type: string
  2089. description: |-
  2090. volumeAttributes stores driver-specific properties that are passed to the CSI
  2091. driver. Consult your driver's documentation for supported values.
  2092. type: object
  2093. required:
  2094. - driver
  2095. type: object
  2096. downwardAPI:
  2097. description: downwardAPI represents downward API
  2098. about the pod that should populate this volume
  2099. properties:
  2100. defaultMode:
  2101. description: |-
  2102. Optional: mode bits to use on created files by default. Must be a
  2103. Optional: mode bits used to set permissions on created files by default.
  2104. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  2105. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2106. Defaults to 0644.
  2107. Directories within the path are not affected by this setting.
  2108. This might be in conflict with other options that affect the file
  2109. mode, like fsGroup, and the result can be other mode bits set.
  2110. format: int32
  2111. type: integer
  2112. items:
  2113. description: Items is a list of downward API
  2114. volume file
  2115. items:
  2116. description: DownwardAPIVolumeFile represents
  2117. information to create the file containing
  2118. the pod field
  2119. properties:
  2120. fieldRef:
  2121. description: 'Required: Selects a field
  2122. of the pod: only annotations, labels,
  2123. name, namespace and uid are supported.'
  2124. properties:
  2125. apiVersion:
  2126. description: Version of the schema
  2127. the FieldPath is written in terms
  2128. of, defaults to "v1".
  2129. type: string
  2130. fieldPath:
  2131. description: Path of the field to
  2132. select in the specified API version.
  2133. type: string
  2134. required:
  2135. - fieldPath
  2136. type: object
  2137. x-kubernetes-map-type: atomic
  2138. mode:
  2139. description: |-
  2140. Optional: mode bits used to set permissions on this file, must be an octal value
  2141. between 0000 and 0777 or a decimal value between 0 and 511.
  2142. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2143. If not specified, the volume defaultMode will be used.
  2144. This might be in conflict with other options that affect the file
  2145. mode, like fsGroup, and the result can be other mode bits set.
  2146. format: int32
  2147. type: integer
  2148. path:
  2149. description: 'Required: Path is the relative
  2150. path name of the file to be created.
  2151. Must not be absolute or contain the
  2152. ''..'' path. Must be utf-8 encoded.
  2153. The first item of the relative path
  2154. must not start with ''..'''
  2155. type: string
  2156. resourceFieldRef:
  2157. description: |-
  2158. Selects a resource of the container: only resources limits and requests
  2159. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  2160. properties:
  2161. containerName:
  2162. description: 'Container name: required
  2163. for volumes, optional for env vars'
  2164. type: string
  2165. divisor:
  2166. anyOf:
  2167. - type: integer
  2168. - type: string
  2169. description: Specifies the output
  2170. format of the exposed resources,
  2171. defaults to "1"
  2172. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2173. x-kubernetes-int-or-string: true
  2174. resource:
  2175. description: 'Required: resource to
  2176. select'
  2177. type: string
  2178. required:
  2179. - resource
  2180. type: object
  2181. x-kubernetes-map-type: atomic
  2182. required:
  2183. - path
  2184. type: object
  2185. type: array
  2186. x-kubernetes-list-type: atomic
  2187. type: object
  2188. emptyDir:
  2189. description: |-
  2190. emptyDir represents a temporary directory that shares a pod's lifetime.
  2191. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  2192. properties:
  2193. medium:
  2194. description: |-
  2195. medium represents what type of storage medium should back this directory.
  2196. The default is "" which means to use the node's default medium.
  2197. Must be an empty string (default) or Memory.
  2198. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  2199. type: string
  2200. sizeLimit:
  2201. anyOf:
  2202. - type: integer
  2203. - type: string
  2204. description: |-
  2205. sizeLimit is the total amount of local storage required for this EmptyDir volume.
  2206. The size limit is also applicable for memory medium.
  2207. The maximum usage on memory medium EmptyDir would be the minimum value between
  2208. the SizeLimit specified here and the sum of memory limits of all containers in a pod.
  2209. The default is nil which means that the limit is undefined.
  2210. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  2211. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2212. x-kubernetes-int-or-string: true
  2213. type: object
  2214. ephemeral:
  2215. description: |-
  2216. ephemeral represents a volume that is handled by a cluster storage driver.
  2217. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
  2218. and deleted when the pod is removed.
  2219. Use this if:
  2220. a) the volume is only needed while the pod runs,
  2221. b) features of normal volumes like restoring from snapshot or capacity
  2222. tracking are needed,
  2223. c) the storage driver is specified through a storage class, and
  2224. d) the storage driver supports dynamic volume provisioning through
  2225. a PersistentVolumeClaim (see EphemeralVolumeSource for more
  2226. information on the connection between this volume type
  2227. and PersistentVolumeClaim).
  2228. Use PersistentVolumeClaim or one of the vendor-specific
  2229. APIs for volumes that persist for longer than the lifecycle
  2230. of an individual pod.
  2231. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
  2232. be used that way - see the documentation of the driver for
  2233. more information.
  2234. A pod can use both types of ephemeral volumes and
  2235. persistent volumes at the same time.
  2236. properties:
  2237. volumeClaimTemplate:
  2238. description: |-
  2239. Will be used to create a stand-alone PVC to provision the volume.
  2240. The pod in which this EphemeralVolumeSource is embedded will be the
  2241. owner of the PVC, i.e. the PVC will be deleted together with the
  2242. pod. The name of the PVC will be `<pod name>-<volume name>` where
  2243. `<volume name>` is the name from the `PodSpec.Volumes` array
  2244. entry. Pod validation will reject the pod if the concatenated name
  2245. is not valid for a PVC (for example, too long).
  2246. An existing PVC with that name that is not owned by the pod
  2247. will *not* be used for the pod to avoid using an unrelated
  2248. volume by mistake. Starting the pod is then blocked until
  2249. the unrelated PVC is removed. If such a pre-created PVC is
  2250. meant to be used by the pod, the PVC has to updated with an
  2251. owner reference to the pod once the pod exists. Normally
  2252. this should not be necessary, but it may be useful when
  2253. manually reconstructing a broken cluster.
  2254. This field is read-only and no changes will be made by Kubernetes
  2255. to the PVC after it has been created.
  2256. Required, must not be nil.
  2257. properties:
  2258. metadata:
  2259. description: |-
  2260. May contain labels and annotations that will be copied into the PVC
  2261. when creating it. No other fields are allowed and will be rejected during
  2262. validation.
  2263. type: object
  2264. spec:
  2265. description: |-
  2266. The specification for the PersistentVolumeClaim. The entire content is
  2267. copied unchanged into the PVC that gets created from this
  2268. template. The same fields as in a PersistentVolumeClaim
  2269. are also valid here.
  2270. properties:
  2271. accessModes:
  2272. description: |-
  2273. accessModes contains the desired access modes the volume should have.
  2274. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
  2275. items:
  2276. type: string
  2277. type: array
  2278. x-kubernetes-list-type: atomic
  2279. dataSource:
  2280. description: |-
  2281. dataSource field can be used to specify either:
  2282. * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
  2283. * An existing PVC (PersistentVolumeClaim)
  2284. If the provisioner or an external controller can support the specified data source,
  2285. it will create a new volume based on the contents of the specified data source.
  2286. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
  2287. and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
  2288. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
  2289. properties:
  2290. apiGroup:
  2291. description: |-
  2292. APIGroup is the group for the resource being referenced.
  2293. If APIGroup is not specified, the specified Kind must be in the core API group.
  2294. For any other third-party types, APIGroup is required.
  2295. type: string
  2296. kind:
  2297. description: Kind is the type of
  2298. resource being referenced
  2299. type: string
  2300. name:
  2301. description: Name is the name of
  2302. resource being referenced
  2303. type: string
  2304. required:
  2305. - kind
  2306. - name
  2307. type: object
  2308. x-kubernetes-map-type: atomic
  2309. dataSourceRef:
  2310. description: |-
  2311. dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
  2312. volume is desired. This may be any object from a non-empty API group (non
  2313. core object) or a PersistentVolumeClaim object.
  2314. When this field is specified, volume binding will only succeed if the type of
  2315. the specified object matches some installed volume populator or dynamic
  2316. provisioner.
  2317. This field will replace the functionality of the dataSource field and as such
  2318. if both fields are non-empty, they must have the same value. For backwards
  2319. compatibility, when namespace isn't specified in dataSourceRef,
  2320. both fields (dataSource and dataSourceRef) will be set to the same
  2321. value automatically if one of them is empty and the other is non-empty.
  2322. When namespace is specified in dataSourceRef,
  2323. dataSource isn't set to the same value and must be empty.
  2324. There are three important differences between dataSource and dataSourceRef:
  2325. * While dataSource only allows two specific types of objects, dataSourceRef
  2326. allows any non-core object, as well as PersistentVolumeClaim objects.
  2327. * While dataSource ignores disallowed values (dropping them), dataSourceRef
  2328. preserves all values, and generates an error if a disallowed value is
  2329. specified.
  2330. * While dataSource only allows local objects, dataSourceRef allows objects
  2331. in any namespaces.
  2332. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
  2333. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  2334. properties:
  2335. apiGroup:
  2336. description: |-
  2337. APIGroup is the group for the resource being referenced.
  2338. If APIGroup is not specified, the specified Kind must be in the core API group.
  2339. For any other third-party types, APIGroup is required.
  2340. type: string
  2341. kind:
  2342. description: Kind is the type of
  2343. resource being referenced
  2344. type: string
  2345. name:
  2346. description: Name is the name of
  2347. resource being referenced
  2348. type: string
  2349. namespace:
  2350. description: |-
  2351. Namespace is the namespace of resource being referenced
  2352. Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
  2353. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  2354. type: string
  2355. required:
  2356. - kind
  2357. - name
  2358. type: object
  2359. resources:
  2360. description: |-
  2361. resources represents the minimum resources the volume should have.
  2362. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements
  2363. that are lower than previous value but must still be higher than capacity recorded in the
  2364. status field of the claim.
  2365. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
  2366. properties:
  2367. limits:
  2368. additionalProperties:
  2369. anyOf:
  2370. - type: integer
  2371. - type: string
  2372. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2373. x-kubernetes-int-or-string: true
  2374. description: |-
  2375. Limits describes the maximum amount of compute resources allowed.
  2376. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  2377. type: object
  2378. requests:
  2379. additionalProperties:
  2380. anyOf:
  2381. - type: integer
  2382. - type: string
  2383. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2384. x-kubernetes-int-or-string: true
  2385. description: |-
  2386. Requests describes the minimum amount of compute resources required.
  2387. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  2388. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  2389. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  2390. type: object
  2391. type: object
  2392. selector:
  2393. description: selector is a label query
  2394. over volumes to consider for binding.
  2395. properties:
  2396. matchExpressions:
  2397. description: matchExpressions is
  2398. a list of label selector requirements.
  2399. The requirements are ANDed.
  2400. items:
  2401. description: |-
  2402. A label selector requirement is a selector that contains values, a key, and an operator that
  2403. relates the key and values.
  2404. properties:
  2405. key:
  2406. description: key is the label
  2407. key that the selector applies
  2408. to.
  2409. type: string
  2410. operator:
  2411. description: |-
  2412. operator represents a key's relationship to a set of values.
  2413. Valid operators are In, NotIn, Exists and DoesNotExist.
  2414. type: string
  2415. values:
  2416. description: |-
  2417. values is an array of string values. If the operator is In or NotIn,
  2418. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  2419. the values array must be empty. This array is replaced during a strategic
  2420. merge patch.
  2421. items:
  2422. type: string
  2423. type: array
  2424. x-kubernetes-list-type: atomic
  2425. required:
  2426. - key
  2427. - operator
  2428. type: object
  2429. type: array
  2430. x-kubernetes-list-type: atomic
  2431. matchLabels:
  2432. additionalProperties:
  2433. type: string
  2434. description: |-
  2435. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  2436. map is equivalent to an element of matchExpressions, whose key field is "key", the
  2437. operator is "In", and the values array contains only "value". The requirements are ANDed.
  2438. type: object
  2439. type: object
  2440. x-kubernetes-map-type: atomic
  2441. storageClassName:
  2442. description: |-
  2443. storageClassName is the name of the StorageClass required by the claim.
  2444. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
  2445. type: string
  2446. volumeAttributesClassName:
  2447. description: |-
  2448. volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
  2449. If specified, the CSI driver will create or update the volume with the attributes defined
  2450. in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
  2451. it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
  2452. will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
  2453. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
  2454. will be set by the persistentvolume controller if it exists.
  2455. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
  2456. set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
  2457. exists.
  2458. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
  2459. (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
  2460. type: string
  2461. volumeMode:
  2462. description: |-
  2463. volumeMode defines what type of volume is required by the claim.
  2464. Value of Filesystem is implied when not included in claim spec.
  2465. type: string
  2466. volumeName:
  2467. description: volumeName is the binding
  2468. reference to the PersistentVolume
  2469. backing this claim.
  2470. type: string
  2471. type: object
  2472. required:
  2473. - spec
  2474. type: object
  2475. type: object
  2476. fc:
  2477. description: fc represents a Fibre Channel resource
  2478. that is attached to a kubelet's host machine and
  2479. then exposed to the pod.
  2480. properties:
  2481. fsType:
  2482. description: |-
  2483. fsType is the filesystem type to mount.
  2484. Must be a filesystem type supported by the host operating system.
  2485. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2486. type: string
  2487. lun:
  2488. description: 'lun is Optional: FC target lun
  2489. number'
  2490. format: int32
  2491. type: integer
  2492. readOnly:
  2493. description: |-
  2494. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  2495. the ReadOnly setting in VolumeMounts.
  2496. type: boolean
  2497. targetWWNs:
  2498. description: 'targetWWNs is Optional: FC target
  2499. worldwide names (WWNs)'
  2500. items:
  2501. type: string
  2502. type: array
  2503. x-kubernetes-list-type: atomic
  2504. wwids:
  2505. description: |-
  2506. wwids Optional: FC volume world wide identifiers (wwids)
  2507. Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
  2508. items:
  2509. type: string
  2510. type: array
  2511. x-kubernetes-list-type: atomic
  2512. type: object
  2513. flexVolume:
  2514. description: |-
  2515. flexVolume represents a generic volume resource that is
  2516. provisioned/attached using an exec based plugin.
  2517. properties:
  2518. driver:
  2519. description: driver is the name of the driver
  2520. to use for this volume.
  2521. type: string
  2522. fsType:
  2523. description: |-
  2524. fsType is the filesystem type to mount.
  2525. Must be a filesystem type supported by the host operating system.
  2526. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
  2527. type: string
  2528. options:
  2529. additionalProperties:
  2530. type: string
  2531. description: 'options is Optional: this field
  2532. holds extra command options if any.'
  2533. type: object
  2534. readOnly:
  2535. description: |-
  2536. readOnly is Optional: defaults to false (read/write). ReadOnly here will force
  2537. the ReadOnly setting in VolumeMounts.
  2538. type: boolean
  2539. secretRef:
  2540. description: |-
  2541. secretRef is Optional: secretRef is reference to the secret object containing
  2542. sensitive information to pass to the plugin scripts. This may be
  2543. empty if no secret object is specified. If the secret object
  2544. contains more than one secret, all secrets are passed to the plugin
  2545. scripts.
  2546. properties:
  2547. name:
  2548. default: ""
  2549. description: |-
  2550. Name of the referent.
  2551. This field is effectively required, but due to backwards compatibility is
  2552. allowed to be empty. Instances of this type with an empty value here are
  2553. almost certainly wrong.
  2554. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2555. type: string
  2556. type: object
  2557. x-kubernetes-map-type: atomic
  2558. required:
  2559. - driver
  2560. type: object
  2561. flocker:
  2562. description: flocker represents a Flocker volume
  2563. attached to a kubelet's host machine. This depends
  2564. on the Flocker control service being running
  2565. properties:
  2566. datasetName:
  2567. description: |-
  2568. datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
  2569. should be considered as deprecated
  2570. type: string
  2571. datasetUUID:
  2572. description: datasetUUID is the UUID of the
  2573. dataset. This is unique identifier of a Flocker
  2574. dataset
  2575. type: string
  2576. type: object
  2577. gcePersistentDisk:
  2578. description: |-
  2579. gcePersistentDisk represents a GCE Disk resource that is attached to a
  2580. kubelet's host machine and then exposed to the pod.
  2581. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2582. properties:
  2583. fsType:
  2584. description: |-
  2585. fsType is filesystem type of the volume that you want to mount.
  2586. Tip: Ensure that the filesystem type is supported by the host operating system.
  2587. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2588. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2589. type: string
  2590. partition:
  2591. description: |-
  2592. partition is the partition in the volume that you want to mount.
  2593. If omitted, the default is to mount by volume name.
  2594. Examples: For volume /dev/sda1, you specify the partition as "1".
  2595. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  2596. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2597. format: int32
  2598. type: integer
  2599. pdName:
  2600. description: |-
  2601. pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
  2602. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2603. type: string
  2604. readOnly:
  2605. description: |-
  2606. readOnly here will force the ReadOnly setting in VolumeMounts.
  2607. Defaults to false.
  2608. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  2609. type: boolean
  2610. required:
  2611. - pdName
  2612. type: object
  2613. gitRepo:
  2614. description: |-
  2615. gitRepo represents a git repository at a particular revision.
  2616. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
  2617. EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
  2618. into the Pod's container.
  2619. properties:
  2620. directory:
  2621. description: |-
  2622. directory is the target directory name.
  2623. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
  2624. git repository. Otherwise, if specified, the volume will contain the git repository in
  2625. the subdirectory with the given name.
  2626. type: string
  2627. repository:
  2628. description: repository is the URL
  2629. type: string
  2630. revision:
  2631. description: revision is the commit hash for
  2632. the specified revision.
  2633. type: string
  2634. required:
  2635. - repository
  2636. type: object
  2637. glusterfs:
  2638. description: |-
  2639. glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
  2640. More info: https://examples.k8s.io/volumes/glusterfs/README.md
  2641. properties:
  2642. endpoints:
  2643. description: |-
  2644. endpoints is the endpoint name that details Glusterfs topology.
  2645. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  2646. type: string
  2647. path:
  2648. description: |-
  2649. path is the Glusterfs volume path.
  2650. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  2651. type: string
  2652. readOnly:
  2653. description: |-
  2654. readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
  2655. Defaults to false.
  2656. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  2657. type: boolean
  2658. required:
  2659. - endpoints
  2660. - path
  2661. type: object
  2662. hostPath:
  2663. description: |-
  2664. hostPath represents a pre-existing file or directory on the host
  2665. machine that is directly exposed to the container. This is generally
  2666. used for system agents or other privileged things that are allowed
  2667. to see the host machine. Most containers will NOT need this.
  2668. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  2669. properties:
  2670. path:
  2671. description: |-
  2672. path of the directory on the host.
  2673. If the path is a symlink, it will follow the link to the real path.
  2674. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  2675. type: string
  2676. type:
  2677. description: |-
  2678. type for HostPath Volume
  2679. Defaults to ""
  2680. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  2681. type: string
  2682. required:
  2683. - path
  2684. type: object
  2685. iscsi:
  2686. description: |-
  2687. iscsi represents an ISCSI Disk resource that is attached to a
  2688. kubelet's host machine and then exposed to the pod.
  2689. More info: https://examples.k8s.io/volumes/iscsi/README.md
  2690. properties:
  2691. chapAuthDiscovery:
  2692. description: chapAuthDiscovery defines whether
  2693. support iSCSI Discovery CHAP authentication
  2694. type: boolean
  2695. chapAuthSession:
  2696. description: chapAuthSession defines whether
  2697. support iSCSI Session CHAP authentication
  2698. type: boolean
  2699. fsType:
  2700. description: |-
  2701. fsType is the filesystem type of the volume that you want to mount.
  2702. Tip: Ensure that the filesystem type is supported by the host operating system.
  2703. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2704. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
  2705. type: string
  2706. initiatorName:
  2707. description: |-
  2708. initiatorName is the custom iSCSI Initiator Name.
  2709. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
  2710. <target portal>:<volume name> will be created for the connection.
  2711. type: string
  2712. iqn:
  2713. description: iqn is the target iSCSI Qualified
  2714. Name.
  2715. type: string
  2716. iscsiInterface:
  2717. description: |-
  2718. iscsiInterface is the interface Name that uses an iSCSI transport.
  2719. Defaults to 'default' (tcp).
  2720. type: string
  2721. lun:
  2722. description: lun represents iSCSI Target Lun
  2723. number.
  2724. format: int32
  2725. type: integer
  2726. portals:
  2727. description: |-
  2728. portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
  2729. is other than default (typically TCP ports 860 and 3260).
  2730. items:
  2731. type: string
  2732. type: array
  2733. x-kubernetes-list-type: atomic
  2734. readOnly:
  2735. description: |-
  2736. readOnly here will force the ReadOnly setting in VolumeMounts.
  2737. Defaults to false.
  2738. type: boolean
  2739. secretRef:
  2740. description: secretRef is the CHAP Secret for
  2741. iSCSI target and initiator authentication
  2742. properties:
  2743. name:
  2744. default: ""
  2745. description: |-
  2746. Name of the referent.
  2747. This field is effectively required, but due to backwards compatibility is
  2748. allowed to be empty. Instances of this type with an empty value here are
  2749. almost certainly wrong.
  2750. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2751. type: string
  2752. type: object
  2753. x-kubernetes-map-type: atomic
  2754. targetPortal:
  2755. description: |-
  2756. targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
  2757. is other than default (typically TCP ports 860 and 3260).
  2758. type: string
  2759. required:
  2760. - iqn
  2761. - lun
  2762. - targetPortal
  2763. type: object
  2764. name:
  2765. description: |-
  2766. name of the volume.
  2767. Must be a DNS_LABEL and unique within the pod.
  2768. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2769. type: string
  2770. nfs:
  2771. description: |-
  2772. nfs represents an NFS mount on the host that shares a pod's lifetime
  2773. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  2774. properties:
  2775. path:
  2776. description: |-
  2777. path that is exported by the NFS server.
  2778. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  2779. type: string
  2780. readOnly:
  2781. description: |-
  2782. readOnly here will force the NFS export to be mounted with read-only permissions.
  2783. Defaults to false.
  2784. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  2785. type: boolean
  2786. server:
  2787. description: |-
  2788. server is the hostname or IP address of the NFS server.
  2789. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  2790. type: string
  2791. required:
  2792. - path
  2793. - server
  2794. type: object
  2795. persistentVolumeClaim:
  2796. description: |-
  2797. persistentVolumeClaimVolumeSource represents a reference to a
  2798. PersistentVolumeClaim in the same namespace.
  2799. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  2800. properties:
  2801. claimName:
  2802. description: |-
  2803. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
  2804. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  2805. type: string
  2806. readOnly:
  2807. description: |-
  2808. readOnly Will force the ReadOnly setting in VolumeMounts.
  2809. Default false.
  2810. type: boolean
  2811. required:
  2812. - claimName
  2813. type: object
  2814. photonPersistentDisk:
  2815. description: photonPersistentDisk represents a PhotonController
  2816. persistent disk attached and mounted on kubelets
  2817. host machine
  2818. properties:
  2819. fsType:
  2820. description: |-
  2821. fsType is the filesystem type to mount.
  2822. Must be a filesystem type supported by the host operating system.
  2823. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  2824. type: string
  2825. pdID:
  2826. description: pdID is the ID that identifies
  2827. Photon Controller persistent disk
  2828. type: string
  2829. required:
  2830. - pdID
  2831. type: object
  2832. portworxVolume:
  2833. description: portworxVolume represents a portworx
  2834. volume attached and mounted on kubelets host machine
  2835. properties:
  2836. fsType:
  2837. description: |-
  2838. fSType represents the filesystem type to mount
  2839. Must be a filesystem type supported by the host operating system.
  2840. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
  2841. type: string
  2842. readOnly:
  2843. description: |-
  2844. readOnly defaults to false (read/write). ReadOnly here will force
  2845. the ReadOnly setting in VolumeMounts.
  2846. type: boolean
  2847. volumeID:
  2848. description: volumeID uniquely identifies a
  2849. Portworx volume
  2850. type: string
  2851. required:
  2852. - volumeID
  2853. type: object
  2854. projected:
  2855. description: projected items for all in one resources
  2856. secrets, configmaps, and downward API
  2857. properties:
  2858. defaultMode:
  2859. description: |-
  2860. defaultMode are the mode bits used to set permissions on created files by default.
  2861. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  2862. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2863. Directories within the path are not affected by this setting.
  2864. This might be in conflict with other options that affect the file
  2865. mode, like fsGroup, and the result can be other mode bits set.
  2866. format: int32
  2867. type: integer
  2868. sources:
  2869. description: sources is the list of volume projections
  2870. items:
  2871. description: Projection that may be projected
  2872. along with other supported volume types
  2873. properties:
  2874. clusterTrustBundle:
  2875. description: |-
  2876. ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
  2877. of ClusterTrustBundle objects in an auto-updating file.
  2878. Alpha, gated by the ClusterTrustBundleProjection feature gate.
  2879. ClusterTrustBundle objects can either be selected by name, or by the
  2880. combination of signer name and a label selector.
  2881. Kubelet performs aggressive normalization of the PEM contents written
  2882. into the pod filesystem. Esoteric PEM features such as inter-block
  2883. comments and block headers are stripped. Certificates are deduplicated.
  2884. The ordering of certificates within the file is arbitrary, and Kubelet
  2885. may change the order over time.
  2886. properties:
  2887. labelSelector:
  2888. description: |-
  2889. Select all ClusterTrustBundles that match this label selector. Only has
  2890. effect if signerName is set. Mutually-exclusive with name. If unset,
  2891. interpreted as "match nothing". If set but empty, interpreted as "match
  2892. everything".
  2893. properties:
  2894. matchExpressions:
  2895. description: matchExpressions
  2896. is a list of label selector
  2897. requirements. The requirements
  2898. are ANDed.
  2899. items:
  2900. description: |-
  2901. A label selector requirement is a selector that contains values, a key, and an operator that
  2902. relates the key and values.
  2903. properties:
  2904. key:
  2905. description: key is the
  2906. label key that the selector
  2907. applies to.
  2908. type: string
  2909. operator:
  2910. description: |-
  2911. operator represents a key's relationship to a set of values.
  2912. Valid operators are In, NotIn, Exists and DoesNotExist.
  2913. type: string
  2914. values:
  2915. description: |-
  2916. values is an array of string values. If the operator is In or NotIn,
  2917. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  2918. the values array must be empty. This array is replaced during a strategic
  2919. merge patch.
  2920. items:
  2921. type: string
  2922. type: array
  2923. x-kubernetes-list-type: atomic
  2924. required:
  2925. - key
  2926. - operator
  2927. type: object
  2928. type: array
  2929. x-kubernetes-list-type: atomic
  2930. matchLabels:
  2931. additionalProperties:
  2932. type: string
  2933. description: |-
  2934. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  2935. map is equivalent to an element of matchExpressions, whose key field is "key", the
  2936. operator is "In", and the values array contains only "value". The requirements are ANDed.
  2937. type: object
  2938. type: object
  2939. x-kubernetes-map-type: atomic
  2940. name:
  2941. description: |-
  2942. Select a single ClusterTrustBundle by object name. Mutually-exclusive
  2943. with signerName and labelSelector.
  2944. type: string
  2945. optional:
  2946. description: |-
  2947. If true, don't block pod startup if the referenced ClusterTrustBundle(s)
  2948. aren't available. If using name, then the named ClusterTrustBundle is
  2949. allowed not to exist. If using signerName, then the combination of
  2950. signerName and labelSelector is allowed to match zero
  2951. ClusterTrustBundles.
  2952. type: boolean
  2953. path:
  2954. description: Relative path from the
  2955. volume root to write the bundle.
  2956. type: string
  2957. signerName:
  2958. description: |-
  2959. Select all ClusterTrustBundles that match this signer name.
  2960. Mutually-exclusive with name. The contents of all selected
  2961. ClusterTrustBundles will be unified and deduplicated.
  2962. type: string
  2963. required:
  2964. - path
  2965. type: object
  2966. configMap:
  2967. description: configMap information about
  2968. the configMap data to project
  2969. properties:
  2970. items:
  2971. description: |-
  2972. items if unspecified, each key-value pair in the Data field of the referenced
  2973. ConfigMap will be projected into the volume as a file whose name is the
  2974. key and content is the value. If specified, the listed keys will be
  2975. projected into the specified paths, and unlisted keys will not be
  2976. present. If a key is specified which is not present in the ConfigMap,
  2977. the volume setup will error unless it is marked optional. Paths must be
  2978. relative and may not contain the '..' path or start with '..'.
  2979. items:
  2980. description: Maps a string key to
  2981. a path within a volume.
  2982. properties:
  2983. key:
  2984. description: key is the key
  2985. to project.
  2986. type: string
  2987. mode:
  2988. description: |-
  2989. mode is Optional: mode bits used to set permissions on this file.
  2990. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  2991. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  2992. If not specified, the volume defaultMode will be used.
  2993. This might be in conflict with other options that affect the file
  2994. mode, like fsGroup, and the result can be other mode bits set.
  2995. format: int32
  2996. type: integer
  2997. path:
  2998. description: |-
  2999. path is the relative path of the file to map the key to.
  3000. May not be an absolute path.
  3001. May not contain the path element '..'.
  3002. May not start with the string '..'.
  3003. type: string
  3004. required:
  3005. - key
  3006. - path
  3007. type: object
  3008. type: array
  3009. x-kubernetes-list-type: atomic
  3010. name:
  3011. default: ""
  3012. description: |-
  3013. Name of the referent.
  3014. This field is effectively required, but due to backwards compatibility is
  3015. allowed to be empty. Instances of this type with an empty value here are
  3016. almost certainly wrong.
  3017. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3018. type: string
  3019. optional:
  3020. description: optional specify whether
  3021. the ConfigMap or its keys must be
  3022. defined
  3023. type: boolean
  3024. type: object
  3025. x-kubernetes-map-type: atomic
  3026. downwardAPI:
  3027. description: downwardAPI information about
  3028. the downwardAPI data to project
  3029. properties:
  3030. items:
  3031. description: Items is a list of DownwardAPIVolume
  3032. file
  3033. items:
  3034. description: DownwardAPIVolumeFile
  3035. represents information to create
  3036. the file containing the pod field
  3037. properties:
  3038. fieldRef:
  3039. description: 'Required: Selects
  3040. a field of the pod: only annotations,
  3041. labels, name, namespace and
  3042. uid are supported.'
  3043. properties:
  3044. apiVersion:
  3045. description: Version of
  3046. the schema the FieldPath
  3047. is written in terms of,
  3048. defaults to "v1".
  3049. type: string
  3050. fieldPath:
  3051. description: Path of the
  3052. field to select in the
  3053. specified API version.
  3054. type: string
  3055. required:
  3056. - fieldPath
  3057. type: object
  3058. x-kubernetes-map-type: atomic
  3059. mode:
  3060. description: |-
  3061. Optional: mode bits used to set permissions on this file, must be an octal value
  3062. between 0000 and 0777 or a decimal value between 0 and 511.
  3063. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3064. If not specified, the volume defaultMode will be used.
  3065. This might be in conflict with other options that affect the file
  3066. mode, like fsGroup, and the result can be other mode bits set.
  3067. format: int32
  3068. type: integer
  3069. path:
  3070. description: 'Required: Path
  3071. is the relative path name
  3072. of the file to be created.
  3073. Must not be absolute or contain
  3074. the ''..'' path. Must be utf-8
  3075. encoded. The first item of
  3076. the relative path must not
  3077. start with ''..'''
  3078. type: string
  3079. resourceFieldRef:
  3080. description: |-
  3081. Selects a resource of the container: only resources limits and requests
  3082. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  3083. properties:
  3084. containerName:
  3085. description: 'Container
  3086. name: required for volumes,
  3087. optional for env vars'
  3088. type: string
  3089. divisor:
  3090. anyOf:
  3091. - type: integer
  3092. - type: string
  3093. description: Specifies the
  3094. output format of the exposed
  3095. resources, defaults to
  3096. "1"
  3097. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  3098. x-kubernetes-int-or-string: true
  3099. resource:
  3100. description: 'Required:
  3101. resource to select'
  3102. type: string
  3103. required:
  3104. - resource
  3105. type: object
  3106. x-kubernetes-map-type: atomic
  3107. required:
  3108. - path
  3109. type: object
  3110. type: array
  3111. x-kubernetes-list-type: atomic
  3112. type: object
  3113. secret:
  3114. description: secret information about
  3115. the secret data to project
  3116. properties:
  3117. items:
  3118. description: |-
  3119. items if unspecified, each key-value pair in the Data field of the referenced
  3120. Secret will be projected into the volume as a file whose name is the
  3121. key and content is the value. If specified, the listed keys will be
  3122. projected into the specified paths, and unlisted keys will not be
  3123. present. If a key is specified which is not present in the Secret,
  3124. the volume setup will error unless it is marked optional. Paths must be
  3125. relative and may not contain the '..' path or start with '..'.
  3126. items:
  3127. description: Maps a string key to
  3128. a path within a volume.
  3129. properties:
  3130. key:
  3131. description: key is the key
  3132. to project.
  3133. type: string
  3134. mode:
  3135. description: |-
  3136. mode is Optional: mode bits used to set permissions on this file.
  3137. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3138. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3139. If not specified, the volume defaultMode will be used.
  3140. This might be in conflict with other options that affect the file
  3141. mode, like fsGroup, and the result can be other mode bits set.
  3142. format: int32
  3143. type: integer
  3144. path:
  3145. description: |-
  3146. path is the relative path of the file to map the key to.
  3147. May not be an absolute path.
  3148. May not contain the path element '..'.
  3149. May not start with the string '..'.
  3150. type: string
  3151. required:
  3152. - key
  3153. - path
  3154. type: object
  3155. type: array
  3156. x-kubernetes-list-type: atomic
  3157. name:
  3158. default: ""
  3159. description: |-
  3160. Name of the referent.
  3161. This field is effectively required, but due to backwards compatibility is
  3162. allowed to be empty. Instances of this type with an empty value here are
  3163. almost certainly wrong.
  3164. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3165. type: string
  3166. optional:
  3167. description: optional field specify
  3168. whether the Secret or its key must
  3169. be defined
  3170. type: boolean
  3171. type: object
  3172. x-kubernetes-map-type: atomic
  3173. serviceAccountToken:
  3174. description: serviceAccountToken is information
  3175. about the serviceAccountToken data to
  3176. project
  3177. properties:
  3178. audience:
  3179. description: |-
  3180. audience is the intended audience of the token. A recipient of a token
  3181. must identify itself with an identifier specified in the audience of the
  3182. token, and otherwise should reject the token. The audience defaults to the
  3183. identifier of the apiserver.
  3184. type: string
  3185. expirationSeconds:
  3186. description: |-
  3187. expirationSeconds is the requested duration of validity of the service
  3188. account token. As the token approaches expiration, the kubelet volume
  3189. plugin will proactively rotate the service account token. The kubelet will
  3190. start trying to rotate the token if the token is older than 80 percent of
  3191. its time to live or if the token is older than 24 hours.Defaults to 1 hour
  3192. and must be at least 10 minutes.
  3193. format: int64
  3194. type: integer
  3195. path:
  3196. description: |-
  3197. path is the path relative to the mount point of the file to project the
  3198. token into.
  3199. type: string
  3200. required:
  3201. - path
  3202. type: object
  3203. type: object
  3204. type: array
  3205. x-kubernetes-list-type: atomic
  3206. type: object
  3207. quobyte:
  3208. description: quobyte represents a Quobyte mount
  3209. on the host that shares a pod's lifetime
  3210. properties:
  3211. group:
  3212. description: |-
  3213. group to map volume access to
  3214. Default is no group
  3215. type: string
  3216. readOnly:
  3217. description: |-
  3218. readOnly here will force the Quobyte volume to be mounted with read-only permissions.
  3219. Defaults to false.
  3220. type: boolean
  3221. registry:
  3222. description: |-
  3223. registry represents a single or multiple Quobyte Registry services
  3224. specified as a string as host:port pair (multiple entries are separated with commas)
  3225. which acts as the central registry for volumes
  3226. type: string
  3227. tenant:
  3228. description: |-
  3229. tenant owning the given Quobyte volume in the Backend
  3230. Used with dynamically provisioned Quobyte volumes, value is set by the plugin
  3231. type: string
  3232. user:
  3233. description: |-
  3234. user to map volume access to
  3235. Defaults to serivceaccount user
  3236. type: string
  3237. volume:
  3238. description: volume is a string that references
  3239. an already created Quobyte volume by name.
  3240. type: string
  3241. required:
  3242. - registry
  3243. - volume
  3244. type: object
  3245. rbd:
  3246. description: |-
  3247. rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
  3248. More info: https://examples.k8s.io/volumes/rbd/README.md
  3249. properties:
  3250. fsType:
  3251. description: |-
  3252. fsType is the filesystem type of the volume that you want to mount.
  3253. Tip: Ensure that the filesystem type is supported by the host operating system.
  3254. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  3255. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
  3256. type: string
  3257. image:
  3258. description: |-
  3259. image is the rados image name.
  3260. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3261. type: string
  3262. keyring:
  3263. description: |-
  3264. keyring is the path to key ring for RBDUser.
  3265. Default is /etc/ceph/keyring.
  3266. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3267. type: string
  3268. monitors:
  3269. description: |-
  3270. monitors is a collection of Ceph monitors.
  3271. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3272. items:
  3273. type: string
  3274. type: array
  3275. x-kubernetes-list-type: atomic
  3276. pool:
  3277. description: |-
  3278. pool is the rados pool name.
  3279. Default is rbd.
  3280. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3281. type: string
  3282. readOnly:
  3283. description: |-
  3284. readOnly here will force the ReadOnly setting in VolumeMounts.
  3285. Defaults to false.
  3286. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3287. type: boolean
  3288. secretRef:
  3289. description: |-
  3290. secretRef is name of the authentication secret for RBDUser. If provided
  3291. overrides keyring.
  3292. Default is nil.
  3293. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3294. properties:
  3295. name:
  3296. default: ""
  3297. description: |-
  3298. Name of the referent.
  3299. This field is effectively required, but due to backwards compatibility is
  3300. allowed to be empty. Instances of this type with an empty value here are
  3301. almost certainly wrong.
  3302. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3303. type: string
  3304. type: object
  3305. x-kubernetes-map-type: atomic
  3306. user:
  3307. description: |-
  3308. user is the rados user name.
  3309. Default is admin.
  3310. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  3311. type: string
  3312. required:
  3313. - image
  3314. - monitors
  3315. type: object
  3316. scaleIO:
  3317. description: scaleIO represents a ScaleIO persistent
  3318. volume attached and mounted on Kubernetes nodes.
  3319. properties:
  3320. fsType:
  3321. description: |-
  3322. fsType is the filesystem type to mount.
  3323. Must be a filesystem type supported by the host operating system.
  3324. Ex. "ext4", "xfs", "ntfs".
  3325. Default is "xfs".
  3326. type: string
  3327. gateway:
  3328. description: gateway is the host address of
  3329. the ScaleIO API Gateway.
  3330. type: string
  3331. protectionDomain:
  3332. description: protectionDomain is the name of
  3333. the ScaleIO Protection Domain for the configured
  3334. storage.
  3335. type: string
  3336. readOnly:
  3337. description: |-
  3338. readOnly Defaults to false (read/write). ReadOnly here will force
  3339. the ReadOnly setting in VolumeMounts.
  3340. type: boolean
  3341. secretRef:
  3342. description: |-
  3343. secretRef references to the secret for ScaleIO user and other
  3344. sensitive information. If this is not provided, Login operation will fail.
  3345. properties:
  3346. name:
  3347. default: ""
  3348. description: |-
  3349. Name of the referent.
  3350. This field is effectively required, but due to backwards compatibility is
  3351. allowed to be empty. Instances of this type with an empty value here are
  3352. almost certainly wrong.
  3353. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3354. type: string
  3355. type: object
  3356. x-kubernetes-map-type: atomic
  3357. sslEnabled:
  3358. description: sslEnabled Flag enable/disable
  3359. SSL communication with Gateway, default false
  3360. type: boolean
  3361. storageMode:
  3362. description: |-
  3363. storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
  3364. Default is ThinProvisioned.
  3365. type: string
  3366. storagePool:
  3367. description: storagePool is the ScaleIO Storage
  3368. Pool associated with the protection domain.
  3369. type: string
  3370. system:
  3371. description: system is the name of the storage
  3372. system as configured in ScaleIO.
  3373. type: string
  3374. volumeName:
  3375. description: |-
  3376. volumeName is the name of a volume already created in the ScaleIO system
  3377. that is associated with this volume source.
  3378. type: string
  3379. required:
  3380. - gateway
  3381. - secretRef
  3382. - system
  3383. type: object
  3384. secret:
  3385. description: |-
  3386. secret represents a secret that should populate this volume.
  3387. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  3388. properties:
  3389. defaultMode:
  3390. description: |-
  3391. defaultMode is Optional: mode bits used to set permissions on created files by default.
  3392. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3393. YAML accepts both octal and decimal values, JSON requires decimal values
  3394. for mode bits. Defaults to 0644.
  3395. Directories within the path are not affected by this setting.
  3396. This might be in conflict with other options that affect the file
  3397. mode, like fsGroup, and the result can be other mode bits set.
  3398. format: int32
  3399. type: integer
  3400. items:
  3401. description: |-
  3402. items If unspecified, each key-value pair in the Data field of the referenced
  3403. Secret will be projected into the volume as a file whose name is the
  3404. key and content is the value. If specified, the listed keys will be
  3405. projected into the specified paths, and unlisted keys will not be
  3406. present. If a key is specified which is not present in the Secret,
  3407. the volume setup will error unless it is marked optional. Paths must be
  3408. relative and may not contain the '..' path or start with '..'.
  3409. items:
  3410. description: Maps a string key to a path within
  3411. a volume.
  3412. properties:
  3413. key:
  3414. description: key is the key to project.
  3415. type: string
  3416. mode:
  3417. description: |-
  3418. mode is Optional: mode bits used to set permissions on this file.
  3419. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  3420. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  3421. If not specified, the volume defaultMode will be used.
  3422. This might be in conflict with other options that affect the file
  3423. mode, like fsGroup, and the result can be other mode bits set.
  3424. format: int32
  3425. type: integer
  3426. path:
  3427. description: |-
  3428. path is the relative path of the file to map the key to.
  3429. May not be an absolute path.
  3430. May not contain the path element '..'.
  3431. May not start with the string '..'.
  3432. type: string
  3433. required:
  3434. - key
  3435. - path
  3436. type: object
  3437. type: array
  3438. x-kubernetes-list-type: atomic
  3439. optional:
  3440. description: optional field specify whether
  3441. the Secret or its keys must be defined
  3442. type: boolean
  3443. secretName:
  3444. description: |-
  3445. secretName is the name of the secret in the pod's namespace to use.
  3446. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  3447. type: string
  3448. type: object
  3449. storageos:
  3450. description: storageOS represents a StorageOS volume
  3451. attached and mounted on Kubernetes nodes.
  3452. properties:
  3453. fsType:
  3454. description: |-
  3455. fsType is the filesystem type to mount.
  3456. Must be a filesystem type supported by the host operating system.
  3457. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  3458. type: string
  3459. readOnly:
  3460. description: |-
  3461. readOnly defaults to false (read/write). ReadOnly here will force
  3462. the ReadOnly setting in VolumeMounts.
  3463. type: boolean
  3464. secretRef:
  3465. description: |-
  3466. secretRef specifies the secret to use for obtaining the StorageOS API
  3467. credentials. If not specified, default values will be attempted.
  3468. properties:
  3469. name:
  3470. default: ""
  3471. description: |-
  3472. Name of the referent.
  3473. This field is effectively required, but due to backwards compatibility is
  3474. allowed to be empty. Instances of this type with an empty value here are
  3475. almost certainly wrong.
  3476. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3477. type: string
  3478. type: object
  3479. x-kubernetes-map-type: atomic
  3480. volumeName:
  3481. description: |-
  3482. volumeName is the human-readable name of the StorageOS volume. Volume
  3483. names are only unique within a namespace.
  3484. type: string
  3485. volumeNamespace:
  3486. description: |-
  3487. volumeNamespace specifies the scope of the volume within StorageOS. If no
  3488. namespace is specified then the Pod's namespace will be used. This allows the
  3489. Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
  3490. Set VolumeName to any name to override the default behaviour.
  3491. Set to "default" if you are not using namespaces within StorageOS.
  3492. Namespaces that do not pre-exist within StorageOS will be created.
  3493. type: string
  3494. type: object
  3495. vsphereVolume:
  3496. description: vsphereVolume represents a vSphere
  3497. volume attached and mounted on kubelets host machine
  3498. properties:
  3499. fsType:
  3500. description: |-
  3501. fsType is filesystem type to mount.
  3502. Must be a filesystem type supported by the host operating system.
  3503. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  3504. type: string
  3505. storagePolicyID:
  3506. description: storagePolicyID is the storage
  3507. Policy Based Management (SPBM) profile ID
  3508. associated with the StoragePolicyName.
  3509. type: string
  3510. storagePolicyName:
  3511. description: storagePolicyName is the storage
  3512. Policy Based Management (SPBM) profile name.
  3513. type: string
  3514. volumePath:
  3515. description: volumePath is the path that identifies
  3516. vSphere volume vmdk
  3517. type: string
  3518. required:
  3519. - volumePath
  3520. type: object
  3521. required:
  3522. - name
  3523. type: object
  3524. type: array
  3525. type: object
  3526. required:
  3527. - name
  3528. type: object
  3529. type: object
  3530. gateway:
  3531. description: gateway defines the configuration overrides for the stack's
  3532. gateway component.
  3533. properties:
  3534. enabled:
  3535. description: enabled indicates whether the component should be
  3536. deployed for the stack.
  3537. type: boolean
  3538. template:
  3539. description: template holds the configuration overrides for the
  3540. component.
  3541. properties:
  3542. metadata:
  3543. description: metadata is a standard object metadata.
  3544. type: object
  3545. name:
  3546. description: name selects a built-in preset.
  3547. type: string
  3548. spec:
  3549. description: spec holds the pod-level configuration for the
  3550. workload.
  3551. properties:
  3552. affinity:
  3553. description: affinity provides fine-grained node and pod
  3554. (anti-)affinity rules.
  3555. properties:
  3556. nodeAffinity:
  3557. description: Describes node affinity scheduling rules
  3558. for the pod.
  3559. properties:
  3560. preferredDuringSchedulingIgnoredDuringExecution:
  3561. description: |-
  3562. The scheduler will prefer to schedule pods to nodes that satisfy
  3563. the affinity expressions specified by this field, but it may choose
  3564. a node that violates one or more of the expressions. The node that is
  3565. most preferred is the one with the greatest sum of weights, i.e.
  3566. for each node that meets all of the scheduling requirements (resource
  3567. request, requiredDuringScheduling affinity expressions, etc.),
  3568. compute a sum by iterating through the elements of this field and adding
  3569. "weight" to the sum if the node matches the corresponding matchExpressions; the
  3570. node(s) with the highest sum are the most preferred.
  3571. items:
  3572. description: |-
  3573. An empty preferred scheduling term matches all objects with implicit weight 0
  3574. (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
  3575. properties:
  3576. preference:
  3577. description: A node selector term, associated
  3578. with the corresponding weight.
  3579. properties:
  3580. matchExpressions:
  3581. description: A list of node selector
  3582. requirements by node's labels.
  3583. items:
  3584. description: |-
  3585. A node selector requirement is a selector that contains values, a key, and an operator
  3586. that relates the key and values.
  3587. properties:
  3588. key:
  3589. description: The label key that
  3590. the selector applies to.
  3591. type: string
  3592. operator:
  3593. description: |-
  3594. Represents a key's relationship to a set of values.
  3595. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  3596. type: string
  3597. values:
  3598. description: |-
  3599. An array of string values. If the operator is In or NotIn,
  3600. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3601. the values array must be empty. If the operator is Gt or Lt, the values
  3602. array must have a single element, which will be interpreted as an integer.
  3603. This array is replaced during a strategic merge patch.
  3604. items:
  3605. type: string
  3606. type: array
  3607. x-kubernetes-list-type: atomic
  3608. required:
  3609. - key
  3610. - operator
  3611. type: object
  3612. type: array
  3613. x-kubernetes-list-type: atomic
  3614. matchFields:
  3615. description: A list of node selector
  3616. requirements by node's fields.
  3617. items:
  3618. description: |-
  3619. A node selector requirement is a selector that contains values, a key, and an operator
  3620. that relates the key and values.
  3621. properties:
  3622. key:
  3623. description: The label key that
  3624. the selector applies to.
  3625. type: string
  3626. operator:
  3627. description: |-
  3628. Represents a key's relationship to a set of values.
  3629. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  3630. type: string
  3631. values:
  3632. description: |-
  3633. An array of string values. If the operator is In or NotIn,
  3634. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3635. the values array must be empty. If the operator is Gt or Lt, the values
  3636. array must have a single element, which will be interpreted as an integer.
  3637. This array is replaced during a strategic merge patch.
  3638. items:
  3639. type: string
  3640. type: array
  3641. x-kubernetes-list-type: atomic
  3642. required:
  3643. - key
  3644. - operator
  3645. type: object
  3646. type: array
  3647. x-kubernetes-list-type: atomic
  3648. type: object
  3649. x-kubernetes-map-type: atomic
  3650. weight:
  3651. description: Weight associated with matching
  3652. the corresponding nodeSelectorTerm, in
  3653. the range 1-100.
  3654. format: int32
  3655. type: integer
  3656. required:
  3657. - preference
  3658. - weight
  3659. type: object
  3660. type: array
  3661. x-kubernetes-list-type: atomic
  3662. requiredDuringSchedulingIgnoredDuringExecution:
  3663. description: |-
  3664. If the affinity requirements specified by this field are not met at
  3665. scheduling time, the pod will not be scheduled onto the node.
  3666. If the affinity requirements specified by this field cease to be met
  3667. at some point during pod execution (e.g. due to an update), the system
  3668. may or may not try to eventually evict the pod from its node.
  3669. properties:
  3670. nodeSelectorTerms:
  3671. description: Required. A list of node selector
  3672. terms. The terms are ORed.
  3673. items:
  3674. description: |-
  3675. A null or empty node selector term matches no objects. The requirements of
  3676. them are ANDed.
  3677. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
  3678. properties:
  3679. matchExpressions:
  3680. description: A list of node selector
  3681. requirements by node's labels.
  3682. items:
  3683. description: |-
  3684. A node selector requirement is a selector that contains values, a key, and an operator
  3685. that relates the key and values.
  3686. properties:
  3687. key:
  3688. description: The label key that
  3689. the selector applies to.
  3690. type: string
  3691. operator:
  3692. description: |-
  3693. Represents a key's relationship to a set of values.
  3694. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  3695. type: string
  3696. values:
  3697. description: |-
  3698. An array of string values. If the operator is In or NotIn,
  3699. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3700. the values array must be empty. If the operator is Gt or Lt, the values
  3701. array must have a single element, which will be interpreted as an integer.
  3702. This array is replaced during a strategic merge patch.
  3703. items:
  3704. type: string
  3705. type: array
  3706. x-kubernetes-list-type: atomic
  3707. required:
  3708. - key
  3709. - operator
  3710. type: object
  3711. type: array
  3712. x-kubernetes-list-type: atomic
  3713. matchFields:
  3714. description: A list of node selector
  3715. requirements by node's fields.
  3716. items:
  3717. description: |-
  3718. A node selector requirement is a selector that contains values, a key, and an operator
  3719. that relates the key and values.
  3720. properties:
  3721. key:
  3722. description: The label key that
  3723. the selector applies to.
  3724. type: string
  3725. operator:
  3726. description: |-
  3727. Represents a key's relationship to a set of values.
  3728. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  3729. type: string
  3730. values:
  3731. description: |-
  3732. An array of string values. If the operator is In or NotIn,
  3733. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3734. the values array must be empty. If the operator is Gt or Lt, the values
  3735. array must have a single element, which will be interpreted as an integer.
  3736. This array is replaced during a strategic merge patch.
  3737. items:
  3738. type: string
  3739. type: array
  3740. x-kubernetes-list-type: atomic
  3741. required:
  3742. - key
  3743. - operator
  3744. type: object
  3745. type: array
  3746. x-kubernetes-list-type: atomic
  3747. type: object
  3748. x-kubernetes-map-type: atomic
  3749. type: array
  3750. x-kubernetes-list-type: atomic
  3751. required:
  3752. - nodeSelectorTerms
  3753. type: object
  3754. x-kubernetes-map-type: atomic
  3755. type: object
  3756. podAffinity:
  3757. description: Describes pod affinity scheduling rules
  3758. (e.g. co-locate this pod in the same node, zone,
  3759. etc. as some other pod(s)).
  3760. properties:
  3761. preferredDuringSchedulingIgnoredDuringExecution:
  3762. description: |-
  3763. The scheduler will prefer to schedule pods to nodes that satisfy
  3764. the affinity expressions specified by this field, but it may choose
  3765. a node that violates one or more of the expressions. The node that is
  3766. most preferred is the one with the greatest sum of weights, i.e.
  3767. for each node that meets all of the scheduling requirements (resource
  3768. request, requiredDuringScheduling affinity expressions, etc.),
  3769. compute a sum by iterating through the elements of this field and adding
  3770. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  3771. node(s) with the highest sum are the most preferred.
  3772. items:
  3773. description: The weights of all of the matched
  3774. WeightedPodAffinityTerm fields are added per-node
  3775. to find the most preferred node(s)
  3776. properties:
  3777. podAffinityTerm:
  3778. description: Required. A pod affinity term,
  3779. associated with the corresponding weight.
  3780. properties:
  3781. labelSelector:
  3782. description: |-
  3783. A label query over a set of resources, in this case pods.
  3784. If it's null, this PodAffinityTerm matches with no Pods.
  3785. properties:
  3786. matchExpressions:
  3787. description: matchExpressions is
  3788. a list of label selector requirements.
  3789. The requirements are ANDed.
  3790. items:
  3791. description: |-
  3792. A label selector requirement is a selector that contains values, a key, and an operator that
  3793. relates the key and values.
  3794. properties:
  3795. key:
  3796. description: key is the label
  3797. key that the selector applies
  3798. to.
  3799. type: string
  3800. operator:
  3801. description: |-
  3802. operator represents a key's relationship to a set of values.
  3803. Valid operators are In, NotIn, Exists and DoesNotExist.
  3804. type: string
  3805. values:
  3806. description: |-
  3807. values is an array of string values. If the operator is In or NotIn,
  3808. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3809. the values array must be empty. This array is replaced during a strategic
  3810. merge patch.
  3811. items:
  3812. type: string
  3813. type: array
  3814. x-kubernetes-list-type: atomic
  3815. required:
  3816. - key
  3817. - operator
  3818. type: object
  3819. type: array
  3820. x-kubernetes-list-type: atomic
  3821. matchLabels:
  3822. additionalProperties:
  3823. type: string
  3824. description: |-
  3825. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  3826. map is equivalent to an element of matchExpressions, whose key field is "key", the
  3827. operator is "In", and the values array contains only "value". The requirements are ANDed.
  3828. type: object
  3829. type: object
  3830. x-kubernetes-map-type: atomic
  3831. matchLabelKeys:
  3832. description: |-
  3833. MatchLabelKeys is a set of pod label keys to select which pods will
  3834. be taken into consideration. The keys are used to lookup values from the
  3835. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  3836. to select the group of existing pods which pods will be taken into consideration
  3837. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  3838. pod labels will be ignored. The default value is empty.
  3839. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  3840. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  3841. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  3842. items:
  3843. type: string
  3844. type: array
  3845. x-kubernetes-list-type: atomic
  3846. mismatchLabelKeys:
  3847. description: |-
  3848. MismatchLabelKeys is a set of pod label keys to select which pods will
  3849. be taken into consideration. The keys are used to lookup values from the
  3850. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  3851. to select the group of existing pods which pods will be taken into consideration
  3852. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  3853. pod labels will be ignored. The default value is empty.
  3854. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  3855. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  3856. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  3857. items:
  3858. type: string
  3859. type: array
  3860. x-kubernetes-list-type: atomic
  3861. namespaceSelector:
  3862. description: |-
  3863. A label query over the set of namespaces that the term applies to.
  3864. The term is applied to the union of the namespaces selected by this field
  3865. and the ones listed in the namespaces field.
  3866. null selector and null or empty namespaces list means "this pod's namespace".
  3867. An empty selector ({}) matches all namespaces.
  3868. properties:
  3869. matchExpressions:
  3870. description: matchExpressions is
  3871. a list of label selector requirements.
  3872. The requirements are ANDed.
  3873. items:
  3874. description: |-
  3875. A label selector requirement is a selector that contains values, a key, and an operator that
  3876. relates the key and values.
  3877. properties:
  3878. key:
  3879. description: key is the label
  3880. key that the selector applies
  3881. to.
  3882. type: string
  3883. operator:
  3884. description: |-
  3885. operator represents a key's relationship to a set of values.
  3886. Valid operators are In, NotIn, Exists and DoesNotExist.
  3887. type: string
  3888. values:
  3889. description: |-
  3890. values is an array of string values. If the operator is In or NotIn,
  3891. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3892. the values array must be empty. This array is replaced during a strategic
  3893. merge patch.
  3894. items:
  3895. type: string
  3896. type: array
  3897. x-kubernetes-list-type: atomic
  3898. required:
  3899. - key
  3900. - operator
  3901. type: object
  3902. type: array
  3903. x-kubernetes-list-type: atomic
  3904. matchLabels:
  3905. additionalProperties:
  3906. type: string
  3907. description: |-
  3908. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  3909. map is equivalent to an element of matchExpressions, whose key field is "key", the
  3910. operator is "In", and the values array contains only "value". The requirements are ANDed.
  3911. type: object
  3912. type: object
  3913. x-kubernetes-map-type: atomic
  3914. namespaces:
  3915. description: |-
  3916. namespaces specifies a static list of namespace names that the term applies to.
  3917. The term is applied to the union of the namespaces listed in this field
  3918. and the ones selected by namespaceSelector.
  3919. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  3920. items:
  3921. type: string
  3922. type: array
  3923. x-kubernetes-list-type: atomic
  3924. topologyKey:
  3925. description: |-
  3926. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  3927. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  3928. whose value of the label with key topologyKey matches that of any node on which any of the
  3929. selected pods is running.
  3930. Empty topologyKey is not allowed.
  3931. type: string
  3932. required:
  3933. - topologyKey
  3934. type: object
  3935. weight:
  3936. description: |-
  3937. weight associated with matching the corresponding podAffinityTerm,
  3938. in the range 1-100.
  3939. format: int32
  3940. type: integer
  3941. required:
  3942. - podAffinityTerm
  3943. - weight
  3944. type: object
  3945. type: array
  3946. x-kubernetes-list-type: atomic
  3947. requiredDuringSchedulingIgnoredDuringExecution:
  3948. description: |-
  3949. If the affinity requirements specified by this field are not met at
  3950. scheduling time, the pod will not be scheduled onto the node.
  3951. If the affinity requirements specified by this field cease to be met
  3952. at some point during pod execution (e.g. due to a pod label update), the
  3953. system may or may not try to eventually evict the pod from its node.
  3954. When there are multiple elements, the lists of nodes corresponding to each
  3955. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  3956. items:
  3957. description: |-
  3958. Defines a set of pods (namely those matching the labelSelector
  3959. relative to the given namespace(s)) that this pod should be
  3960. co-located (affinity) or not co-located (anti-affinity) with,
  3961. where co-located is defined as running on a node whose value of
  3962. the label with key <topologyKey> matches that of any node on which
  3963. a pod of the set of pods is running
  3964. properties:
  3965. labelSelector:
  3966. description: |-
  3967. A label query over a set of resources, in this case pods.
  3968. If it's null, this PodAffinityTerm matches with no Pods.
  3969. properties:
  3970. matchExpressions:
  3971. description: matchExpressions is a list
  3972. of label selector requirements. The
  3973. requirements are ANDed.
  3974. items:
  3975. description: |-
  3976. A label selector requirement is a selector that contains values, a key, and an operator that
  3977. relates the key and values.
  3978. properties:
  3979. key:
  3980. description: key is the label
  3981. key that the selector applies
  3982. to.
  3983. type: string
  3984. operator:
  3985. description: |-
  3986. operator represents a key's relationship to a set of values.
  3987. Valid operators are In, NotIn, Exists and DoesNotExist.
  3988. type: string
  3989. values:
  3990. description: |-
  3991. values is an array of string values. If the operator is In or NotIn,
  3992. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  3993. the values array must be empty. This array is replaced during a strategic
  3994. merge patch.
  3995. items:
  3996. type: string
  3997. type: array
  3998. x-kubernetes-list-type: atomic
  3999. required:
  4000. - key
  4001. - operator
  4002. type: object
  4003. type: array
  4004. x-kubernetes-list-type: atomic
  4005. matchLabels:
  4006. additionalProperties:
  4007. type: string
  4008. description: |-
  4009. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  4010. map is equivalent to an element of matchExpressions, whose key field is "key", the
  4011. operator is "In", and the values array contains only "value". The requirements are ANDed.
  4012. type: object
  4013. type: object
  4014. x-kubernetes-map-type: atomic
  4015. matchLabelKeys:
  4016. description: |-
  4017. MatchLabelKeys is a set of pod label keys to select which pods will
  4018. be taken into consideration. The keys are used to lookup values from the
  4019. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  4020. to select the group of existing pods which pods will be taken into consideration
  4021. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  4022. pod labels will be ignored. The default value is empty.
  4023. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  4024. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  4025. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  4026. items:
  4027. type: string
  4028. type: array
  4029. x-kubernetes-list-type: atomic
  4030. mismatchLabelKeys:
  4031. description: |-
  4032. MismatchLabelKeys is a set of pod label keys to select which pods will
  4033. be taken into consideration. The keys are used to lookup values from the
  4034. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  4035. to select the group of existing pods which pods will be taken into consideration
  4036. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  4037. pod labels will be ignored. The default value is empty.
  4038. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  4039. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  4040. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  4041. items:
  4042. type: string
  4043. type: array
  4044. x-kubernetes-list-type: atomic
  4045. namespaceSelector:
  4046. description: |-
  4047. A label query over the set of namespaces that the term applies to.
  4048. The term is applied to the union of the namespaces selected by this field
  4049. and the ones listed in the namespaces field.
  4050. null selector and null or empty namespaces list means "this pod's namespace".
  4051. An empty selector ({}) matches all namespaces.
  4052. properties:
  4053. matchExpressions:
  4054. description: matchExpressions is a list
  4055. of label selector requirements. The
  4056. requirements are ANDed.
  4057. items:
  4058. description: |-
  4059. A label selector requirement is a selector that contains values, a key, and an operator that
  4060. relates the key and values.
  4061. properties:
  4062. key:
  4063. description: key is the label
  4064. key that the selector applies
  4065. to.
  4066. type: string
  4067. operator:
  4068. description: |-
  4069. operator represents a key's relationship to a set of values.
  4070. Valid operators are In, NotIn, Exists and DoesNotExist.
  4071. type: string
  4072. values:
  4073. description: |-
  4074. values is an array of string values. If the operator is In or NotIn,
  4075. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  4076. the values array must be empty. This array is replaced during a strategic
  4077. merge patch.
  4078. items:
  4079. type: string
  4080. type: array
  4081. x-kubernetes-list-type: atomic
  4082. required:
  4083. - key
  4084. - operator
  4085. type: object
  4086. type: array
  4087. x-kubernetes-list-type: atomic
  4088. matchLabels:
  4089. additionalProperties:
  4090. type: string
  4091. description: |-
  4092. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  4093. map is equivalent to an element of matchExpressions, whose key field is "key", the
  4094. operator is "In", and the values array contains only "value". The requirements are ANDed.
  4095. type: object
  4096. type: object
  4097. x-kubernetes-map-type: atomic
  4098. namespaces:
  4099. description: |-
  4100. namespaces specifies a static list of namespace names that the term applies to.
  4101. The term is applied to the union of the namespaces listed in this field
  4102. and the ones selected by namespaceSelector.
  4103. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  4104. items:
  4105. type: string
  4106. type: array
  4107. x-kubernetes-list-type: atomic
  4108. topologyKey:
  4109. description: |-
  4110. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  4111. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  4112. whose value of the label with key topologyKey matches that of any node on which any of the
  4113. selected pods is running.
  4114. Empty topologyKey is not allowed.
  4115. type: string
  4116. required:
  4117. - topologyKey
  4118. type: object
  4119. type: array
  4120. x-kubernetes-list-type: atomic
  4121. type: object
  4122. podAntiAffinity:
  4123. description: Describes pod anti-affinity scheduling
  4124. rules (e.g. avoid putting this pod in the same node,
  4125. zone, etc. as some other pod(s)).
  4126. properties:
  4127. preferredDuringSchedulingIgnoredDuringExecution:
  4128. description: |-
  4129. The scheduler will prefer to schedule pods to nodes that satisfy
  4130. the anti-affinity expressions specified by this field, but it may choose
  4131. a node that violates one or more of the expressions. The node that is
  4132. most preferred is the one with the greatest sum of weights, i.e.
  4133. for each node that meets all of the scheduling requirements (resource
  4134. request, requiredDuringScheduling anti-affinity expressions, etc.),
  4135. compute a sum by iterating through the elements of this field and adding
  4136. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  4137. node(s) with the highest sum are the most preferred.
  4138. items:
  4139. description: The weights of all of the matched
  4140. WeightedPodAffinityTerm fields are added per-node
  4141. to find the most preferred node(s)
  4142. properties:
  4143. podAffinityTerm:
  4144. description: Required. A pod affinity term,
  4145. associated with the corresponding weight.
  4146. properties:
  4147. labelSelector:
  4148. description: |-
  4149. A label query over a set of resources, in this case pods.
  4150. If it's null, this PodAffinityTerm matches with no Pods.
  4151. properties:
  4152. matchExpressions:
  4153. description: matchExpressions is
  4154. a list of label selector requirements.
  4155. The requirements are ANDed.
  4156. items:
  4157. description: |-
  4158. A label selector requirement is a selector that contains values, a key, and an operator that
  4159. relates the key and values.
  4160. properties:
  4161. key:
  4162. description: key is the label
  4163. key that the selector applies
  4164. to.
  4165. type: string
  4166. operator:
  4167. description: |-
  4168. operator represents a key's relationship to a set of values.
  4169. Valid operators are In, NotIn, Exists and DoesNotExist.
  4170. type: string
  4171. values:
  4172. description: |-
  4173. values is an array of string values. If the operator is In or NotIn,
  4174. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  4175. the values array must be empty. This array is replaced during a strategic
  4176. merge patch.
  4177. items:
  4178. type: string
  4179. type: array
  4180. x-kubernetes-list-type: atomic
  4181. required:
  4182. - key
  4183. - operator
  4184. type: object
  4185. type: array
  4186. x-kubernetes-list-type: atomic
  4187. matchLabels:
  4188. additionalProperties:
  4189. type: string
  4190. description: |-
  4191. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  4192. map is equivalent to an element of matchExpressions, whose key field is "key", the
  4193. operator is "In", and the values array contains only "value". The requirements are ANDed.
  4194. type: object
  4195. type: object
  4196. x-kubernetes-map-type: atomic
  4197. matchLabelKeys:
  4198. description: |-
  4199. MatchLabelKeys is a set of pod label keys to select which pods will
  4200. be taken into consideration. The keys are used to lookup values from the
  4201. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  4202. to select the group of existing pods which pods will be taken into consideration
  4203. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  4204. pod labels will be ignored. The default value is empty.
  4205. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  4206. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  4207. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  4208. items:
  4209. type: string
  4210. type: array
  4211. x-kubernetes-list-type: atomic
  4212. mismatchLabelKeys:
  4213. description: |-
  4214. MismatchLabelKeys is a set of pod label keys to select which pods will
  4215. be taken into consideration. The keys are used to lookup values from the
  4216. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  4217. to select the group of existing pods which pods will be taken into consideration
  4218. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  4219. pod labels will be ignored. The default value is empty.
  4220. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  4221. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  4222. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  4223. items:
  4224. type: string
  4225. type: array
  4226. x-kubernetes-list-type: atomic
  4227. namespaceSelector:
  4228. description: |-
  4229. A label query over the set of namespaces that the term applies to.
  4230. The term is applied to the union of the namespaces selected by this field
  4231. and the ones listed in the namespaces field.
  4232. null selector and null or empty namespaces list means "this pod's namespace".
  4233. An empty selector ({}) matches all namespaces.
  4234. properties:
  4235. matchExpressions:
  4236. description: matchExpressions is
  4237. a list of label selector requirements.
  4238. The requirements are ANDed.
  4239. items:
  4240. description: |-
  4241. A label selector requirement is a selector that contains values, a key, and an operator that
  4242. relates the key and values.
  4243. properties:
  4244. key:
  4245. description: key is the label
  4246. key that the selector applies
  4247. to.
  4248. type: string
  4249. operator:
  4250. description: |-
  4251. operator represents a key's relationship to a set of values.
  4252. Valid operators are In, NotIn, Exists and DoesNotExist.
  4253. type: string
  4254. values:
  4255. description: |-
  4256. values is an array of string values. If the operator is In or NotIn,
  4257. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  4258. the values array must be empty. This array is replaced during a strategic
  4259. merge patch.
  4260. items:
  4261. type: string
  4262. type: array
  4263. x-kubernetes-list-type: atomic
  4264. required:
  4265. - key
  4266. - operator
  4267. type: object
  4268. type: array
  4269. x-kubernetes-list-type: atomic
  4270. matchLabels:
  4271. additionalProperties:
  4272. type: string
  4273. description: |-
  4274. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  4275. map is equivalent to an element of matchExpressions, whose key field is "key", the
  4276. operator is "In", and the values array contains only "value". The requirements are ANDed.
  4277. type: object
  4278. type: object
  4279. x-kubernetes-map-type: atomic
  4280. namespaces:
  4281. description: |-
  4282. namespaces specifies a static list of namespace names that the term applies to.
  4283. The term is applied to the union of the namespaces listed in this field
  4284. and the ones selected by namespaceSelector.
  4285. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  4286. items:
  4287. type: string
  4288. type: array
  4289. x-kubernetes-list-type: atomic
  4290. topologyKey:
  4291. description: |-
  4292. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  4293. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  4294. whose value of the label with key topologyKey matches that of any node on which any of the
  4295. selected pods is running.
  4296. Empty topologyKey is not allowed.
  4297. type: string
  4298. required:
  4299. - topologyKey
  4300. type: object
  4301. weight:
  4302. description: |-
  4303. weight associated with matching the corresponding podAffinityTerm,
  4304. in the range 1-100.
  4305. format: int32
  4306. type: integer
  4307. required:
  4308. - podAffinityTerm
  4309. - weight
  4310. type: object
  4311. type: array
  4312. x-kubernetes-list-type: atomic
  4313. requiredDuringSchedulingIgnoredDuringExecution:
  4314. description: |-
  4315. If the anti-affinity requirements specified by this field are not met at
  4316. scheduling time, the pod will not be scheduled onto the node.
  4317. If the anti-affinity requirements specified by this field cease to be met
  4318. at some point during pod execution (e.g. due to a pod label update), the
  4319. system may or may not try to eventually evict the pod from its node.
  4320. When there are multiple elements, the lists of nodes corresponding to each
  4321. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  4322. items:
  4323. description: |-
  4324. Defines a set of pods (namely those matching the labelSelector
  4325. relative to the given namespace(s)) that this pod should be
  4326. co-located (affinity) or not co-located (anti-affinity) with,
  4327. where co-located is defined as running on a node whose value of
  4328. the label with key <topologyKey> matches that of any node on which
  4329. a pod of the set of pods is running
  4330. properties:
  4331. labelSelector:
  4332. description: |-
  4333. A label query over a set of resources, in this case pods.
  4334. If it's null, this PodAffinityTerm matches with no Pods.
  4335. properties:
  4336. matchExpressions:
  4337. description: matchExpressions is a list
  4338. of label selector requirements. The
  4339. requirements are ANDed.
  4340. items:
  4341. description: |-
  4342. A label selector requirement is a selector that contains values, a key, and an operator that
  4343. relates the key and values.
  4344. properties:
  4345. key:
  4346. description: key is the label
  4347. key that the selector applies
  4348. to.
  4349. type: string
  4350. operator:
  4351. description: |-
  4352. operator represents a key's relationship to a set of values.
  4353. Valid operators are In, NotIn, Exists and DoesNotExist.
  4354. type: string
  4355. values:
  4356. description: |-
  4357. values is an array of string values. If the operator is In or NotIn,
  4358. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  4359. the values array must be empty. This array is replaced during a strategic
  4360. merge patch.
  4361. items:
  4362. type: string
  4363. type: array
  4364. x-kubernetes-list-type: atomic
  4365. required:
  4366. - key
  4367. - operator
  4368. type: object
  4369. type: array
  4370. x-kubernetes-list-type: atomic
  4371. matchLabels:
  4372. additionalProperties:
  4373. type: string
  4374. description: |-
  4375. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  4376. map is equivalent to an element of matchExpressions, whose key field is "key", the
  4377. operator is "In", and the values array contains only "value". The requirements are ANDed.
  4378. type: object
  4379. type: object
  4380. x-kubernetes-map-type: atomic
  4381. matchLabelKeys:
  4382. description: |-
  4383. MatchLabelKeys is a set of pod label keys to select which pods will
  4384. be taken into consideration. The keys are used to lookup values from the
  4385. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  4386. to select the group of existing pods which pods will be taken into consideration
  4387. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  4388. pod labels will be ignored. The default value is empty.
  4389. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  4390. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  4391. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  4392. items:
  4393. type: string
  4394. type: array
  4395. x-kubernetes-list-type: atomic
  4396. mismatchLabelKeys:
  4397. description: |-
  4398. MismatchLabelKeys is a set of pod label keys to select which pods will
  4399. be taken into consideration. The keys are used to lookup values from the
  4400. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  4401. to select the group of existing pods which pods will be taken into consideration
  4402. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  4403. pod labels will be ignored. The default value is empty.
  4404. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  4405. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  4406. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  4407. items:
  4408. type: string
  4409. type: array
  4410. x-kubernetes-list-type: atomic
  4411. namespaceSelector:
  4412. description: |-
  4413. A label query over the set of namespaces that the term applies to.
  4414. The term is applied to the union of the namespaces selected by this field
  4415. and the ones listed in the namespaces field.
  4416. null selector and null or empty namespaces list means "this pod's namespace".
  4417. An empty selector ({}) matches all namespaces.
  4418. properties:
  4419. matchExpressions:
  4420. description: matchExpressions is a list
  4421. of label selector requirements. The
  4422. requirements are ANDed.
  4423. items:
  4424. description: |-
  4425. A label selector requirement is a selector that contains values, a key, and an operator that
  4426. relates the key and values.
  4427. properties:
  4428. key:
  4429. description: key is the label
  4430. key that the selector applies
  4431. to.
  4432. type: string
  4433. operator:
  4434. description: |-
  4435. operator represents a key's relationship to a set of values.
  4436. Valid operators are In, NotIn, Exists and DoesNotExist.
  4437. type: string
  4438. values:
  4439. description: |-
  4440. values is an array of string values. If the operator is In or NotIn,
  4441. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  4442. the values array must be empty. This array is replaced during a strategic
  4443. merge patch.
  4444. items:
  4445. type: string
  4446. type: array
  4447. x-kubernetes-list-type: atomic
  4448. required:
  4449. - key
  4450. - operator
  4451. type: object
  4452. type: array
  4453. x-kubernetes-list-type: atomic
  4454. matchLabels:
  4455. additionalProperties:
  4456. type: string
  4457. description: |-
  4458. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  4459. map is equivalent to an element of matchExpressions, whose key field is "key", the
  4460. operator is "In", and the values array contains only "value". The requirements are ANDed.
  4461. type: object
  4462. type: object
  4463. x-kubernetes-map-type: atomic
  4464. namespaces:
  4465. description: |-
  4466. namespaces specifies a static list of namespace names that the term applies to.
  4467. The term is applied to the union of the namespaces listed in this field
  4468. and the ones selected by namespaceSelector.
  4469. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  4470. items:
  4471. type: string
  4472. type: array
  4473. x-kubernetes-list-type: atomic
  4474. topologyKey:
  4475. description: |-
  4476. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  4477. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  4478. whose value of the label with key topologyKey matches that of any node on which any of the
  4479. selected pods is running.
  4480. Empty topologyKey is not allowed.
  4481. type: string
  4482. required:
  4483. - topologyKey
  4484. type: object
  4485. type: array
  4486. x-kubernetes-list-type: atomic
  4487. type: object
  4488. type: object
  4489. nodeSelector:
  4490. additionalProperties:
  4491. type: string
  4492. description: nodeSelector pins pods to nodes that match
  4493. all the specified labels.
  4494. type: object
  4495. resources:
  4496. description: resources sets per-container resource requests
  4497. and limits.
  4498. properties:
  4499. claims:
  4500. description: |-
  4501. Claims lists the names of resources, defined in spec.resourceClaims,
  4502. that are used by this container.
  4503. This is an alpha field and requires enabling the
  4504. DynamicResourceAllocation feature gate.
  4505. This field is immutable. It can only be set for containers.
  4506. items:
  4507. description: ResourceClaim references one entry
  4508. in PodSpec.ResourceClaims.
  4509. properties:
  4510. name:
  4511. description: |-
  4512. Name must match the name of one entry in pod.spec.resourceClaims of
  4513. the Pod where this field is used. It makes that resource available
  4514. inside a container.
  4515. type: string
  4516. required:
  4517. - name
  4518. type: object
  4519. type: array
  4520. x-kubernetes-list-map-keys:
  4521. - name
  4522. x-kubernetes-list-type: map
  4523. limits:
  4524. additionalProperties:
  4525. anyOf:
  4526. - type: integer
  4527. - type: string
  4528. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  4529. x-kubernetes-int-or-string: true
  4530. description: |-
  4531. Limits describes the maximum amount of compute resources allowed.
  4532. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  4533. type: object
  4534. requests:
  4535. additionalProperties:
  4536. anyOf:
  4537. - type: integer
  4538. - type: string
  4539. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  4540. x-kubernetes-int-or-string: true
  4541. description: |-
  4542. Requests describes the minimum amount of compute resources required.
  4543. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  4544. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  4545. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  4546. type: object
  4547. type: object
  4548. runtime:
  4549. description: runtime describes the container runtime to
  4550. use for the workload.
  4551. properties:
  4552. args:
  4553. description: args specifies or overrides the preset's
  4554. container command.
  4555. items:
  4556. type: string
  4557. type: array
  4558. command:
  4559. description: command specifies or overrides the preset's
  4560. container entrypoint.
  4561. items:
  4562. type: string
  4563. type: array
  4564. conditionalArgs:
  4565. description: conditionalArgs are appended to the preset
  4566. command conditionally.
  4567. items:
  4568. properties:
  4569. args:
  4570. description: args are appended to the preset
  4571. args.
  4572. items:
  4573. type: string
  4574. type: array
  4575. when:
  4576. description: when the value is not empty after
  4577. variable substitution, the args are appended
  4578. to the preset args.
  4579. type: string
  4580. required:
  4581. - args
  4582. - when
  4583. type: object
  4584. type: array
  4585. env:
  4586. description: env holds environment variables injected
  4587. into the container.
  4588. items:
  4589. description: EnvVar represents an environment variable
  4590. present in a Container.
  4591. properties:
  4592. name:
  4593. description: Name of the environment variable.
  4594. Must be a C_IDENTIFIER.
  4595. type: string
  4596. value:
  4597. description: |-
  4598. Variable references $(VAR_NAME) are expanded
  4599. using the previously defined environment variables in the container and
  4600. any service environment variables. If a variable cannot be resolved,
  4601. the reference in the input string will be unchanged. Double $$ are reduced
  4602. to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
  4603. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
  4604. Escaped references will never be expanded, regardless of whether the variable
  4605. exists or not.
  4606. Defaults to "".
  4607. type: string
  4608. valueFrom:
  4609. description: Source for the environment variable's
  4610. value. Cannot be used if value is not empty.
  4611. properties:
  4612. configMapKeyRef:
  4613. description: Selects a key of a ConfigMap.
  4614. properties:
  4615. key:
  4616. description: The key to select.
  4617. type: string
  4618. name:
  4619. default: ""
  4620. description: |-
  4621. Name of the referent.
  4622. This field is effectively required, but due to backwards compatibility is
  4623. allowed to be empty. Instances of this type with an empty value here are
  4624. almost certainly wrong.
  4625. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4626. type: string
  4627. optional:
  4628. description: Specify whether the ConfigMap
  4629. or its key must be defined
  4630. type: boolean
  4631. required:
  4632. - key
  4633. type: object
  4634. x-kubernetes-map-type: atomic
  4635. fieldRef:
  4636. description: |-
  4637. Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
  4638. spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
  4639. properties:
  4640. apiVersion:
  4641. description: Version of the schema the
  4642. FieldPath is written in terms of,
  4643. defaults to "v1".
  4644. type: string
  4645. fieldPath:
  4646. description: Path of the field to select
  4647. in the specified API version.
  4648. type: string
  4649. required:
  4650. - fieldPath
  4651. type: object
  4652. x-kubernetes-map-type: atomic
  4653. resourceFieldRef:
  4654. description: |-
  4655. Selects a resource of the container: only resources limits and requests
  4656. (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
  4657. properties:
  4658. containerName:
  4659. description: 'Container name: required
  4660. for volumes, optional for env vars'
  4661. type: string
  4662. divisor:
  4663. anyOf:
  4664. - type: integer
  4665. - type: string
  4666. description: Specifies the output format
  4667. of the exposed resources, defaults
  4668. to "1"
  4669. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  4670. x-kubernetes-int-or-string: true
  4671. resource:
  4672. description: 'Required: resource to
  4673. select'
  4674. type: string
  4675. required:
  4676. - resource
  4677. type: object
  4678. x-kubernetes-map-type: atomic
  4679. secretKeyRef:
  4680. description: Selects a key of a secret in
  4681. the pod's namespace
  4682. properties:
  4683. key:
  4684. description: The key of the secret to
  4685. select from. Must be a valid secret
  4686. key.
  4687. type: string
  4688. name:
  4689. default: ""
  4690. description: |-
  4691. Name of the referent.
  4692. This field is effectively required, but due to backwards compatibility is
  4693. allowed to be empty. Instances of this type with an empty value here are
  4694. almost certainly wrong.
  4695. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4696. type: string
  4697. optional:
  4698. description: Specify whether the Secret
  4699. or its key must be defined
  4700. type: boolean
  4701. required:
  4702. - key
  4703. type: object
  4704. x-kubernetes-map-type: atomic
  4705. type: object
  4706. required:
  4707. - name
  4708. type: object
  4709. type: array
  4710. envFrom:
  4711. description: envFrom references ConfigMaps or Secrets
  4712. whose key-value pairs are injected as environment
  4713. variables.
  4714. items:
  4715. description: EnvFromSource represents the source
  4716. of a set of ConfigMaps
  4717. properties:
  4718. configMapRef:
  4719. description: The ConfigMap to select from
  4720. properties:
  4721. name:
  4722. default: ""
  4723. description: |-
  4724. Name of the referent.
  4725. This field is effectively required, but due to backwards compatibility is
  4726. allowed to be empty. Instances of this type with an empty value here are
  4727. almost certainly wrong.
  4728. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4729. type: string
  4730. optional:
  4731. description: Specify whether the ConfigMap
  4732. must be defined
  4733. type: boolean
  4734. type: object
  4735. x-kubernetes-map-type: atomic
  4736. prefix:
  4737. description: An optional identifier to prepend
  4738. to each key in the ConfigMap. Must be a C_IDENTIFIER.
  4739. type: string
  4740. secretRef:
  4741. description: The Secret to select from
  4742. properties:
  4743. name:
  4744. default: ""
  4745. description: |-
  4746. Name of the referent.
  4747. This field is effectively required, but due to backwards compatibility is
  4748. allowed to be empty. Instances of this type with an empty value here are
  4749. almost certainly wrong.
  4750. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4751. type: string
  4752. optional:
  4753. description: Specify whether the Secret
  4754. must be defined
  4755. type: boolean
  4756. type: object
  4757. x-kubernetes-map-type: atomic
  4758. type: object
  4759. type: array
  4760. extraArgs:
  4761. description: extraArgs are appended to the preset
  4762. command.
  4763. items:
  4764. type: string
  4765. type: array
  4766. image:
  4767. description: |-
  4768. image specifies or overrides the preset's container image, e.g. to pin a specific tag
  4769. or pull from a private registry mirror.
  4770. type: string
  4771. name:
  4772. description: name selects a built-in runtime preset.
  4773. type: string
  4774. port:
  4775. description: port specifies or overrides the container
  4776. port the runtime listens on.
  4777. format: int32
  4778. type: integer
  4779. volumeMounts:
  4780. description: volumeMounts defines where pod volumes
  4781. are mounted inside the container.
  4782. items:
  4783. description: VolumeMount describes a mounting of
  4784. a Volume within a container.
  4785. properties:
  4786. mountPath:
  4787. description: |-
  4788. Path within the container at which the volume should be mounted. Must
  4789. not contain ':'.
  4790. type: string
  4791. mountPropagation:
  4792. description: |-
  4793. mountPropagation determines how mounts are propagated from the host
  4794. to container and the other way around.
  4795. When not set, MountPropagationNone is used.
  4796. This field is beta in 1.10.
  4797. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
  4798. (which defaults to None).
  4799. type: string
  4800. name:
  4801. description: This must match the Name of a Volume.
  4802. type: string
  4803. readOnly:
  4804. description: |-
  4805. Mounted read-only if true, read-write otherwise (false or unspecified).
  4806. Defaults to false.
  4807. type: boolean
  4808. recursiveReadOnly:
  4809. description: |-
  4810. RecursiveReadOnly specifies whether read-only mounts should be handled
  4811. recursively.
  4812. If ReadOnly is false, this field has no meaning and must be unspecified.
  4813. If ReadOnly is true, and this field is set to Disabled, the mount is not made
  4814. recursively read-only. If this field is set to IfPossible, the mount is made
  4815. recursively read-only, if it is supported by the container runtime. If this
  4816. field is set to Enabled, the mount is made recursively read-only if it is
  4817. supported by the container runtime, otherwise the pod will not be started and
  4818. an error will be generated to indicate the reason.
  4819. If this field is set to IfPossible or Enabled, MountPropagation must be set to
  4820. None (or be unspecified, which defaults to None).
  4821. If this field is not specified, it is treated as an equivalent of Disabled.
  4822. type: string
  4823. subPath:
  4824. description: |-
  4825. Path within the volume from which the container's volume should be mounted.
  4826. Defaults to "" (volume's root).
  4827. type: string
  4828. subPathExpr:
  4829. description: |-
  4830. Expanded path within the volume from which the container's volume should be mounted.
  4831. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
  4832. Defaults to "" (volume's root).
  4833. SubPathExpr and SubPath are mutually exclusive.
  4834. type: string
  4835. required:
  4836. - mountPath
  4837. - name
  4838. type: object
  4839. type: array
  4840. type: object
  4841. securityContext:
  4842. description: |-
  4843. securityContext sets pod-level security attributes such as runAsUser,
  4844. runAsGroup, fsGroup, and sysctls.
  4845. properties:
  4846. appArmorProfile:
  4847. description: |-
  4848. appArmorProfile is the AppArmor options to use by the containers in this pod.
  4849. Note that this field cannot be set when spec.os.name is windows.
  4850. properties:
  4851. localhostProfile:
  4852. description: |-
  4853. localhostProfile indicates a profile loaded on the node that should be used.
  4854. The profile must be preconfigured on the node to work.
  4855. Must match the loaded name of the profile.
  4856. Must be set if and only if type is "Localhost".
  4857. type: string
  4858. type:
  4859. description: |-
  4860. type indicates which kind of AppArmor profile will be applied.
  4861. Valid options are:
  4862. Localhost - a profile pre-loaded on the node.
  4863. RuntimeDefault - the container runtime's default profile.
  4864. Unconfined - no AppArmor enforcement.
  4865. type: string
  4866. required:
  4867. - type
  4868. type: object
  4869. fsGroup:
  4870. description: |-
  4871. A special supplemental group that applies to all containers in a pod.
  4872. Some volume types allow the Kubelet to change the ownership of that volume
  4873. to be owned by the pod:
  4874. 1. The owning GID will be the FSGroup
  4875. 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
  4876. 3. The permission bits are OR'd with rw-rw----
  4877. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  4878. Note that this field cannot be set when spec.os.name is windows.
  4879. format: int64
  4880. type: integer
  4881. fsGroupChangePolicy:
  4882. description: |-
  4883. fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
  4884. before being exposed inside Pod. This field will only apply to
  4885. volume types which support fsGroup based ownership(and permissions).
  4886. It will have no effect on ephemeral volume types such as: secret, configmaps
  4887. and emptydir.
  4888. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
  4889. Note that this field cannot be set when spec.os.name is windows.
  4890. type: string
  4891. runAsGroup:
  4892. description: |-
  4893. The GID to run the entrypoint of the container process.
  4894. Uses runtime default if unset.
  4895. May also be set in SecurityContext. If set in both SecurityContext and
  4896. PodSecurityContext, the value specified in SecurityContext takes precedence
  4897. for that container.
  4898. Note that this field cannot be set when spec.os.name is windows.
  4899. format: int64
  4900. type: integer
  4901. runAsNonRoot:
  4902. description: |-
  4903. Indicates that the container must run as a non-root user.
  4904. If true, the Kubelet will validate the image at runtime to ensure that it
  4905. does not run as UID 0 (root) and fail to start the container if it does.
  4906. If unset or false, no such validation will be performed.
  4907. May also be set in SecurityContext. If set in both SecurityContext and
  4908. PodSecurityContext, the value specified in SecurityContext takes precedence.
  4909. type: boolean
  4910. runAsUser:
  4911. description: |-
  4912. The UID to run the entrypoint of the container process.
  4913. Defaults to user specified in image metadata if unspecified.
  4914. May also be set in SecurityContext. If set in both SecurityContext and
  4915. PodSecurityContext, the value specified in SecurityContext takes precedence
  4916. for that container.
  4917. Note that this field cannot be set when spec.os.name is windows.
  4918. format: int64
  4919. type: integer
  4920. seLinuxOptions:
  4921. description: |-
  4922. The SELinux context to be applied to all containers.
  4923. If unspecified, the container runtime will allocate a random SELinux context for each
  4924. container. May also be set in SecurityContext. If set in
  4925. both SecurityContext and PodSecurityContext, the value specified in SecurityContext
  4926. takes precedence for that container.
  4927. Note that this field cannot be set when spec.os.name is windows.
  4928. properties:
  4929. level:
  4930. description: Level is SELinux level label that
  4931. applies to the container.
  4932. type: string
  4933. role:
  4934. description: Role is a SELinux role label that
  4935. applies to the container.
  4936. type: string
  4937. type:
  4938. description: Type is a SELinux type label that
  4939. applies to the container.
  4940. type: string
  4941. user:
  4942. description: User is a SELinux user label that
  4943. applies to the container.
  4944. type: string
  4945. type: object
  4946. seccompProfile:
  4947. description: |-
  4948. The seccomp options to use by the containers in this pod.
  4949. Note that this field cannot be set when spec.os.name is windows.
  4950. properties:
  4951. localhostProfile:
  4952. description: |-
  4953. localhostProfile indicates a profile defined in a file on the node should be used.
  4954. The profile must be preconfigured on the node to work.
  4955. Must be a descending path, relative to the kubelet's configured seccomp profile location.
  4956. Must be set if type is "Localhost". Must NOT be set for any other type.
  4957. type: string
  4958. type:
  4959. description: |-
  4960. type indicates which kind of seccomp profile will be applied.
  4961. Valid options are:
  4962. Localhost - a profile defined in a file on the node should be used.
  4963. RuntimeDefault - the container runtime default profile should be used.
  4964. Unconfined - no profile should be applied.
  4965. type: string
  4966. required:
  4967. - type
  4968. type: object
  4969. supplementalGroups:
  4970. description: |-
  4971. A list of groups applied to the first process run in each container, in addition
  4972. to the container's primary GID, the fsGroup (if specified), and group memberships
  4973. defined in the container image for the uid of the container process. If unspecified,
  4974. no additional groups are added to any container. Note that group memberships
  4975. defined in the container image for the uid of the container process are still effective,
  4976. even if they are not included in this list.
  4977. Note that this field cannot be set when spec.os.name is windows.
  4978. items:
  4979. format: int64
  4980. type: integer
  4981. type: array
  4982. x-kubernetes-list-type: atomic
  4983. sysctls:
  4984. description: |-
  4985. Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
  4986. sysctls (by the container runtime) might fail to launch.
  4987. Note that this field cannot be set when spec.os.name is windows.
  4988. items:
  4989. description: Sysctl defines a kernel parameter to
  4990. be set
  4991. properties:
  4992. name:
  4993. description: Name of a property to set
  4994. type: string
  4995. value:
  4996. description: Value of a property to set
  4997. type: string
  4998. required:
  4999. - name
  5000. - value
  5001. type: object
  5002. type: array
  5003. x-kubernetes-list-type: atomic
  5004. windowsOptions:
  5005. description: |-
  5006. The Windows specific settings applied to all containers.
  5007. If unspecified, the options within a container's SecurityContext will be used.
  5008. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
  5009. Note that this field cannot be set when spec.os.name is linux.
  5010. properties:
  5011. gmsaCredentialSpec:
  5012. description: |-
  5013. GMSACredentialSpec is where the GMSA admission webhook
  5014. (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
  5015. GMSA credential spec named by the GMSACredentialSpecName field.
  5016. type: string
  5017. gmsaCredentialSpecName:
  5018. description: GMSACredentialSpecName is the name
  5019. of the GMSA credential spec to use.
  5020. type: string
  5021. hostProcess:
  5022. description: |-
  5023. HostProcess determines if a container should be run as a 'Host Process' container.
  5024. All of a Pod's containers must have the same effective HostProcess value
  5025. (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
  5026. In addition, if HostProcess is true then HostNetwork must also be set to true.
  5027. type: boolean
  5028. runAsUserName:
  5029. description: |-
  5030. The UserName in Windows to run the entrypoint of the container process.
  5031. Defaults to the user specified in image metadata if unspecified.
  5032. May also be set in PodSecurityContext. If set in both SecurityContext and
  5033. PodSecurityContext, the value specified in SecurityContext takes precedence.
  5034. type: string
  5035. type: object
  5036. type: object
  5037. tolerations:
  5038. description: tolerations allow pods to be scheduled onto
  5039. nodes with matching taints.
  5040. items:
  5041. description: |-
  5042. The pod this Toleration is attached to tolerates any taint that matches
  5043. the triple <key,value,effect> using the matching operator <operator>.
  5044. properties:
  5045. effect:
  5046. description: |-
  5047. Effect indicates the taint effect to match. Empty means match all taint effects.
  5048. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
  5049. type: string
  5050. key:
  5051. description: |-
  5052. Key is the taint key that the toleration applies to. Empty means match all taint keys.
  5053. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
  5054. type: string
  5055. operator:
  5056. description: |-
  5057. Operator represents a key's relationship to the value.
  5058. Valid operators are Exists and Equal. Defaults to Equal.
  5059. Exists is equivalent to wildcard for value, so that a pod can
  5060. tolerate all taints of a particular category.
  5061. type: string
  5062. tolerationSeconds:
  5063. description: |-
  5064. TolerationSeconds represents the period of time the toleration (which must be
  5065. of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
  5066. it is not set, which means tolerate the taint forever (do not evict). Zero and
  5067. negative values will be treated as 0 (evict immediately) by the system.
  5068. format: int64
  5069. type: integer
  5070. value:
  5071. description: |-
  5072. Value is the taint value the toleration matches to.
  5073. If the operator is Exists, the value should be empty, otherwise just a regular string.
  5074. type: string
  5075. type: object
  5076. type: array
  5077. topologySpreadConstraints:
  5078. description: |-
  5079. topologySpreadConstraints controls how pods are spread across failure
  5080. domains (zones, nodes). Prefer this over pod anti-affinity for HA spread.
  5081. items:
  5082. description: TopologySpreadConstraint specifies how
  5083. to spread matching pods among the given topology.
  5084. properties:
  5085. labelSelector:
  5086. description: |-
  5087. LabelSelector is used to find matching pods.
  5088. Pods that match this label selector are counted to determine the number of pods
  5089. in their corresponding topology domain.
  5090. properties:
  5091. matchExpressions:
  5092. description: matchExpressions is a list of label
  5093. selector requirements. The requirements are
  5094. ANDed.
  5095. items:
  5096. description: |-
  5097. A label selector requirement is a selector that contains values, a key, and an operator that
  5098. relates the key and values.
  5099. properties:
  5100. key:
  5101. description: key is the label key that
  5102. the selector applies to.
  5103. type: string
  5104. operator:
  5105. description: |-
  5106. operator represents a key's relationship to a set of values.
  5107. Valid operators are In, NotIn, Exists and DoesNotExist.
  5108. type: string
  5109. values:
  5110. description: |-
  5111. values is an array of string values. If the operator is In or NotIn,
  5112. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  5113. the values array must be empty. This array is replaced during a strategic
  5114. merge patch.
  5115. items:
  5116. type: string
  5117. type: array
  5118. x-kubernetes-list-type: atomic
  5119. required:
  5120. - key
  5121. - operator
  5122. type: object
  5123. type: array
  5124. x-kubernetes-list-type: atomic
  5125. matchLabels:
  5126. additionalProperties:
  5127. type: string
  5128. description: |-
  5129. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  5130. map is equivalent to an element of matchExpressions, whose key field is "key", the
  5131. operator is "In", and the values array contains only "value". The requirements are ANDed.
  5132. type: object
  5133. type: object
  5134. x-kubernetes-map-type: atomic
  5135. matchLabelKeys:
  5136. description: |-
  5137. MatchLabelKeys is a set of pod label keys to select the pods over which
  5138. spreading will be calculated. The keys are used to lookup values from the
  5139. incoming pod labels, those key-value labels are ANDed with labelSelector
  5140. to select the group of existing pods over which spreading will be calculated
  5141. for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
  5142. MatchLabelKeys cannot be set when LabelSelector isn't set.
  5143. Keys that don't exist in the incoming pod labels will
  5144. be ignored. A null or empty list means only match against labelSelector.
  5145. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
  5146. items:
  5147. type: string
  5148. type: array
  5149. x-kubernetes-list-type: atomic
  5150. maxSkew:
  5151. description: |-
  5152. MaxSkew describes the degree to which pods may be unevenly distributed.
  5153. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
  5154. between the number of matching pods in the target topology and the global minimum.
  5155. The global minimum is the minimum number of matching pods in an eligible domain
  5156. or zero if the number of eligible domains is less than MinDomains.
  5157. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  5158. labelSelector spread as 2/2/1:
  5159. In this case, the global minimum is 1.
  5160. | zone1 | zone2 | zone3 |
  5161. | P P | P P | P |
  5162. - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
  5163. scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
  5164. violate MaxSkew(1).
  5165. - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
  5166. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
  5167. to topologies that satisfy it.
  5168. It's a required field. Default value is 1 and 0 is not allowed.
  5169. format: int32
  5170. type: integer
  5171. minDomains:
  5172. description: |-
  5173. MinDomains indicates a minimum number of eligible domains.
  5174. When the number of eligible domains with matching topology keys is less than minDomains,
  5175. Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
  5176. And when the number of eligible domains with matching topology keys equals or greater than minDomains,
  5177. this value has no effect on scheduling.
  5178. As a result, when the number of eligible domains is less than minDomains,
  5179. scheduler won't schedule more than maxSkew Pods to those domains.
  5180. If value is nil, the constraint behaves as if MinDomains is equal to 1.
  5181. Valid values are integers greater than 0.
  5182. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
  5183. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
  5184. labelSelector spread as 2/2/2:
  5185. | zone1 | zone2 | zone3 |
  5186. | P P | P P | P P |
  5187. The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
  5188. In this situation, new pod with the same labelSelector cannot be scheduled,
  5189. because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
  5190. it will violate MaxSkew.
  5191. format: int32
  5192. type: integer
  5193. nodeAffinityPolicy:
  5194. description: |-
  5195. NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
  5196. when calculating pod topology spread skew. Options are:
  5197. - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
  5198. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
  5199. If this value is nil, the behavior is equivalent to the Honor policy.
  5200. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  5201. type: string
  5202. nodeTaintsPolicy:
  5203. description: |-
  5204. NodeTaintsPolicy indicates how we will treat node taints when calculating
  5205. pod topology spread skew. Options are:
  5206. - Honor: nodes without taints, along with tainted nodes for which the incoming pod
  5207. has a toleration, are included.
  5208. - Ignore: node taints are ignored. All nodes are included.
  5209. If this value is nil, the behavior is equivalent to the Ignore policy.
  5210. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  5211. type: string
  5212. topologyKey:
  5213. description: |-
  5214. TopologyKey is the key of node labels. Nodes that have a label with this key
  5215. and identical values are considered to be in the same topology.
  5216. We consider each <key, value> as a "bucket", and try to put balanced number
  5217. of pods into each bucket.
  5218. We define a domain as a particular instance of a topology.
  5219. Also, we define an eligible domain as a domain whose nodes meet the requirements of
  5220. nodeAffinityPolicy and nodeTaintsPolicy.
  5221. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
  5222. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
  5223. It's a required field.
  5224. type: string
  5225. whenUnsatisfiable:
  5226. description: |-
  5227. WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
  5228. the spread constraint.
  5229. - DoNotSchedule (default) tells the scheduler not to schedule it.
  5230. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
  5231. but giving higher precedence to topologies that would help reduce the
  5232. skew.
  5233. A constraint is considered "Unsatisfiable" for an incoming pod
  5234. if and only if every possible node assignment for that pod would violate
  5235. "MaxSkew" on some topology.
  5236. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  5237. labelSelector spread as 3/1/1:
  5238. | zone1 | zone2 | zone3 |
  5239. | P P P | P | P |
  5240. If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
  5241. to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
  5242. MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
  5243. won't make it *more* imbalanced.
  5244. It's a required field.
  5245. type: string
  5246. required:
  5247. - maxSkew
  5248. - topologyKey
  5249. - whenUnsatisfiable
  5250. type: object
  5251. type: array
  5252. volumes:
  5253. description: volumes defines additional pod volumes available
  5254. to the runtime container.
  5255. items:
  5256. description: Volume represents a named volume in a pod
  5257. that may be accessed by any container in the pod.
  5258. properties:
  5259. awsElasticBlockStore:
  5260. description: |-
  5261. awsElasticBlockStore represents an AWS Disk resource that is attached to a
  5262. kubelet's host machine and then exposed to the pod.
  5263. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  5264. properties:
  5265. fsType:
  5266. description: |-
  5267. fsType is the filesystem type of the volume that you want to mount.
  5268. Tip: Ensure that the filesystem type is supported by the host operating system.
  5269. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  5270. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  5271. type: string
  5272. partition:
  5273. description: |-
  5274. partition is the partition in the volume that you want to mount.
  5275. If omitted, the default is to mount by volume name.
  5276. Examples: For volume /dev/sda1, you specify the partition as "1".
  5277. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  5278. format: int32
  5279. type: integer
  5280. readOnly:
  5281. description: |-
  5282. readOnly value true will force the readOnly setting in VolumeMounts.
  5283. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  5284. type: boolean
  5285. volumeID:
  5286. description: |-
  5287. volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
  5288. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  5289. type: string
  5290. required:
  5291. - volumeID
  5292. type: object
  5293. azureDisk:
  5294. description: azureDisk represents an Azure Data
  5295. Disk mount on the host and bind mount to the pod.
  5296. properties:
  5297. cachingMode:
  5298. description: 'cachingMode is the Host Caching
  5299. mode: None, Read Only, Read Write.'
  5300. type: string
  5301. diskName:
  5302. description: diskName is the Name of the data
  5303. disk in the blob storage
  5304. type: string
  5305. diskURI:
  5306. description: diskURI is the URI of data disk
  5307. in the blob storage
  5308. type: string
  5309. fsType:
  5310. description: |-
  5311. fsType is Filesystem type to mount.
  5312. Must be a filesystem type supported by the host operating system.
  5313. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  5314. type: string
  5315. kind:
  5316. description: 'kind expected values are Shared:
  5317. multiple blob disks per storage account Dedicated:
  5318. single blob disk per storage account Managed:
  5319. azure managed data disk (only in managed availability
  5320. set). defaults to shared'
  5321. type: string
  5322. readOnly:
  5323. description: |-
  5324. readOnly Defaults to false (read/write). ReadOnly here will force
  5325. the ReadOnly setting in VolumeMounts.
  5326. type: boolean
  5327. required:
  5328. - diskName
  5329. - diskURI
  5330. type: object
  5331. azureFile:
  5332. description: azureFile represents an Azure File
  5333. Service mount on the host and bind mount to the
  5334. pod.
  5335. properties:
  5336. readOnly:
  5337. description: |-
  5338. readOnly defaults to false (read/write). ReadOnly here will force
  5339. the ReadOnly setting in VolumeMounts.
  5340. type: boolean
  5341. secretName:
  5342. description: secretName is the name of secret
  5343. that contains Azure Storage Account Name and
  5344. Key
  5345. type: string
  5346. shareName:
  5347. description: shareName is the azure share Name
  5348. type: string
  5349. required:
  5350. - secretName
  5351. - shareName
  5352. type: object
  5353. cephfs:
  5354. description: cephFS represents a Ceph FS mount on
  5355. the host that shares a pod's lifetime
  5356. properties:
  5357. monitors:
  5358. description: |-
  5359. monitors is Required: Monitors is a collection of Ceph monitors
  5360. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  5361. items:
  5362. type: string
  5363. type: array
  5364. x-kubernetes-list-type: atomic
  5365. path:
  5366. description: 'path is Optional: Used as the
  5367. mounted root, rather than the full Ceph tree,
  5368. default is /'
  5369. type: string
  5370. readOnly:
  5371. description: |-
  5372. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  5373. the ReadOnly setting in VolumeMounts.
  5374. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  5375. type: boolean
  5376. secretFile:
  5377. description: |-
  5378. secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
  5379. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  5380. type: string
  5381. secretRef:
  5382. description: |-
  5383. secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
  5384. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  5385. properties:
  5386. name:
  5387. default: ""
  5388. description: |-
  5389. Name of the referent.
  5390. This field is effectively required, but due to backwards compatibility is
  5391. allowed to be empty. Instances of this type with an empty value here are
  5392. almost certainly wrong.
  5393. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  5394. type: string
  5395. type: object
  5396. x-kubernetes-map-type: atomic
  5397. user:
  5398. description: |-
  5399. user is optional: User is the rados user name, default is admin
  5400. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  5401. type: string
  5402. required:
  5403. - monitors
  5404. type: object
  5405. cinder:
  5406. description: |-
  5407. cinder represents a cinder volume attached and mounted on kubelets host machine.
  5408. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  5409. properties:
  5410. fsType:
  5411. description: |-
  5412. fsType is the filesystem type to mount.
  5413. Must be a filesystem type supported by the host operating system.
  5414. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  5415. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  5416. type: string
  5417. readOnly:
  5418. description: |-
  5419. readOnly defaults to false (read/write). ReadOnly here will force
  5420. the ReadOnly setting in VolumeMounts.
  5421. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  5422. type: boolean
  5423. secretRef:
  5424. description: |-
  5425. secretRef is optional: points to a secret object containing parameters used to connect
  5426. to OpenStack.
  5427. properties:
  5428. name:
  5429. default: ""
  5430. description: |-
  5431. Name of the referent.
  5432. This field is effectively required, but due to backwards compatibility is
  5433. allowed to be empty. Instances of this type with an empty value here are
  5434. almost certainly wrong.
  5435. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  5436. type: string
  5437. type: object
  5438. x-kubernetes-map-type: atomic
  5439. volumeID:
  5440. description: |-
  5441. volumeID used to identify the volume in cinder.
  5442. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  5443. type: string
  5444. required:
  5445. - volumeID
  5446. type: object
  5447. configMap:
  5448. description: configMap represents a configMap that
  5449. should populate this volume
  5450. properties:
  5451. defaultMode:
  5452. description: |-
  5453. defaultMode is optional: mode bits used to set permissions on created files by default.
  5454. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  5455. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  5456. Defaults to 0644.
  5457. Directories within the path are not affected by this setting.
  5458. This might be in conflict with other options that affect the file
  5459. mode, like fsGroup, and the result can be other mode bits set.
  5460. format: int32
  5461. type: integer
  5462. items:
  5463. description: |-
  5464. items if unspecified, each key-value pair in the Data field of the referenced
  5465. ConfigMap will be projected into the volume as a file whose name is the
  5466. key and content is the value. If specified, the listed keys will be
  5467. projected into the specified paths, and unlisted keys will not be
  5468. present. If a key is specified which is not present in the ConfigMap,
  5469. the volume setup will error unless it is marked optional. Paths must be
  5470. relative and may not contain the '..' path or start with '..'.
  5471. items:
  5472. description: Maps a string key to a path within
  5473. a volume.
  5474. properties:
  5475. key:
  5476. description: key is the key to project.
  5477. type: string
  5478. mode:
  5479. description: |-
  5480. mode is Optional: mode bits used to set permissions on this file.
  5481. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  5482. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  5483. If not specified, the volume defaultMode will be used.
  5484. This might be in conflict with other options that affect the file
  5485. mode, like fsGroup, and the result can be other mode bits set.
  5486. format: int32
  5487. type: integer
  5488. path:
  5489. description: |-
  5490. path is the relative path of the file to map the key to.
  5491. May not be an absolute path.
  5492. May not contain the path element '..'.
  5493. May not start with the string '..'.
  5494. type: string
  5495. required:
  5496. - key
  5497. - path
  5498. type: object
  5499. type: array
  5500. x-kubernetes-list-type: atomic
  5501. name:
  5502. default: ""
  5503. description: |-
  5504. Name of the referent.
  5505. This field is effectively required, but due to backwards compatibility is
  5506. allowed to be empty. Instances of this type with an empty value here are
  5507. almost certainly wrong.
  5508. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  5509. type: string
  5510. optional:
  5511. description: optional specify whether the ConfigMap
  5512. or its keys must be defined
  5513. type: boolean
  5514. type: object
  5515. x-kubernetes-map-type: atomic
  5516. csi:
  5517. description: csi (Container Storage Interface) represents
  5518. ephemeral storage that is handled by certain external
  5519. CSI drivers (Beta feature).
  5520. properties:
  5521. driver:
  5522. description: |-
  5523. driver is the name of the CSI driver that handles this volume.
  5524. Consult with your admin for the correct name as registered in the cluster.
  5525. type: string
  5526. fsType:
  5527. description: |-
  5528. fsType to mount. Ex. "ext4", "xfs", "ntfs".
  5529. If not provided, the empty value is passed to the associated CSI driver
  5530. which will determine the default filesystem to apply.
  5531. type: string
  5532. nodePublishSecretRef:
  5533. description: |-
  5534. nodePublishSecretRef is a reference to the secret object containing
  5535. sensitive information to pass to the CSI driver to complete the CSI
  5536. NodePublishVolume and NodeUnpublishVolume calls.
  5537. This field is optional, and may be empty if no secret is required. If the
  5538. secret object contains more than one secret, all secret references are passed.
  5539. properties:
  5540. name:
  5541. default: ""
  5542. description: |-
  5543. Name of the referent.
  5544. This field is effectively required, but due to backwards compatibility is
  5545. allowed to be empty. Instances of this type with an empty value here are
  5546. almost certainly wrong.
  5547. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  5548. type: string
  5549. type: object
  5550. x-kubernetes-map-type: atomic
  5551. readOnly:
  5552. description: |-
  5553. readOnly specifies a read-only configuration for the volume.
  5554. Defaults to false (read/write).
  5555. type: boolean
  5556. volumeAttributes:
  5557. additionalProperties:
  5558. type: string
  5559. description: |-
  5560. volumeAttributes stores driver-specific properties that are passed to the CSI
  5561. driver. Consult your driver's documentation for supported values.
  5562. type: object
  5563. required:
  5564. - driver
  5565. type: object
  5566. downwardAPI:
  5567. description: downwardAPI represents downward API
  5568. about the pod that should populate this volume
  5569. properties:
  5570. defaultMode:
  5571. description: |-
  5572. Optional: mode bits to use on created files by default. Must be a
  5573. Optional: mode bits used to set permissions on created files by default.
  5574. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  5575. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  5576. Defaults to 0644.
  5577. Directories within the path are not affected by this setting.
  5578. This might be in conflict with other options that affect the file
  5579. mode, like fsGroup, and the result can be other mode bits set.
  5580. format: int32
  5581. type: integer
  5582. items:
  5583. description: Items is a list of downward API
  5584. volume file
  5585. items:
  5586. description: DownwardAPIVolumeFile represents
  5587. information to create the file containing
  5588. the pod field
  5589. properties:
  5590. fieldRef:
  5591. description: 'Required: Selects a field
  5592. of the pod: only annotations, labels,
  5593. name, namespace and uid are supported.'
  5594. properties:
  5595. apiVersion:
  5596. description: Version of the schema
  5597. the FieldPath is written in terms
  5598. of, defaults to "v1".
  5599. type: string
  5600. fieldPath:
  5601. description: Path of the field to
  5602. select in the specified API version.
  5603. type: string
  5604. required:
  5605. - fieldPath
  5606. type: object
  5607. x-kubernetes-map-type: atomic
  5608. mode:
  5609. description: |-
  5610. Optional: mode bits used to set permissions on this file, must be an octal value
  5611. between 0000 and 0777 or a decimal value between 0 and 511.
  5612. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  5613. If not specified, the volume defaultMode will be used.
  5614. This might be in conflict with other options that affect the file
  5615. mode, like fsGroup, and the result can be other mode bits set.
  5616. format: int32
  5617. type: integer
  5618. path:
  5619. description: 'Required: Path is the relative
  5620. path name of the file to be created.
  5621. Must not be absolute or contain the
  5622. ''..'' path. Must be utf-8 encoded.
  5623. The first item of the relative path
  5624. must not start with ''..'''
  5625. type: string
  5626. resourceFieldRef:
  5627. description: |-
  5628. Selects a resource of the container: only resources limits and requests
  5629. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  5630. properties:
  5631. containerName:
  5632. description: 'Container name: required
  5633. for volumes, optional for env vars'
  5634. type: string
  5635. divisor:
  5636. anyOf:
  5637. - type: integer
  5638. - type: string
  5639. description: Specifies the output
  5640. format of the exposed resources,
  5641. defaults to "1"
  5642. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  5643. x-kubernetes-int-or-string: true
  5644. resource:
  5645. description: 'Required: resource to
  5646. select'
  5647. type: string
  5648. required:
  5649. - resource
  5650. type: object
  5651. x-kubernetes-map-type: atomic
  5652. required:
  5653. - path
  5654. type: object
  5655. type: array
  5656. x-kubernetes-list-type: atomic
  5657. type: object
  5658. emptyDir:
  5659. description: |-
  5660. emptyDir represents a temporary directory that shares a pod's lifetime.
  5661. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  5662. properties:
  5663. medium:
  5664. description: |-
  5665. medium represents what type of storage medium should back this directory.
  5666. The default is "" which means to use the node's default medium.
  5667. Must be an empty string (default) or Memory.
  5668. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  5669. type: string
  5670. sizeLimit:
  5671. anyOf:
  5672. - type: integer
  5673. - type: string
  5674. description: |-
  5675. sizeLimit is the total amount of local storage required for this EmptyDir volume.
  5676. The size limit is also applicable for memory medium.
  5677. The maximum usage on memory medium EmptyDir would be the minimum value between
  5678. the SizeLimit specified here and the sum of memory limits of all containers in a pod.
  5679. The default is nil which means that the limit is undefined.
  5680. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  5681. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  5682. x-kubernetes-int-or-string: true
  5683. type: object
  5684. ephemeral:
  5685. description: |-
  5686. ephemeral represents a volume that is handled by a cluster storage driver.
  5687. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
  5688. and deleted when the pod is removed.
  5689. Use this if:
  5690. a) the volume is only needed while the pod runs,
  5691. b) features of normal volumes like restoring from snapshot or capacity
  5692. tracking are needed,
  5693. c) the storage driver is specified through a storage class, and
  5694. d) the storage driver supports dynamic volume provisioning through
  5695. a PersistentVolumeClaim (see EphemeralVolumeSource for more
  5696. information on the connection between this volume type
  5697. and PersistentVolumeClaim).
  5698. Use PersistentVolumeClaim or one of the vendor-specific
  5699. APIs for volumes that persist for longer than the lifecycle
  5700. of an individual pod.
  5701. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
  5702. be used that way - see the documentation of the driver for
  5703. more information.
  5704. A pod can use both types of ephemeral volumes and
  5705. persistent volumes at the same time.
  5706. properties:
  5707. volumeClaimTemplate:
  5708. description: |-
  5709. Will be used to create a stand-alone PVC to provision the volume.
  5710. The pod in which this EphemeralVolumeSource is embedded will be the
  5711. owner of the PVC, i.e. the PVC will be deleted together with the
  5712. pod. The name of the PVC will be `<pod name>-<volume name>` where
  5713. `<volume name>` is the name from the `PodSpec.Volumes` array
  5714. entry. Pod validation will reject the pod if the concatenated name
  5715. is not valid for a PVC (for example, too long).
  5716. An existing PVC with that name that is not owned by the pod
  5717. will *not* be used for the pod to avoid using an unrelated
  5718. volume by mistake. Starting the pod is then blocked until
  5719. the unrelated PVC is removed. If such a pre-created PVC is
  5720. meant to be used by the pod, the PVC has to updated with an
  5721. owner reference to the pod once the pod exists. Normally
  5722. this should not be necessary, but it may be useful when
  5723. manually reconstructing a broken cluster.
  5724. This field is read-only and no changes will be made by Kubernetes
  5725. to the PVC after it has been created.
  5726. Required, must not be nil.
  5727. properties:
  5728. metadata:
  5729. description: |-
  5730. May contain labels and annotations that will be copied into the PVC
  5731. when creating it. No other fields are allowed and will be rejected during
  5732. validation.
  5733. type: object
  5734. spec:
  5735. description: |-
  5736. The specification for the PersistentVolumeClaim. The entire content is
  5737. copied unchanged into the PVC that gets created from this
  5738. template. The same fields as in a PersistentVolumeClaim
  5739. are also valid here.
  5740. properties:
  5741. accessModes:
  5742. description: |-
  5743. accessModes contains the desired access modes the volume should have.
  5744. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
  5745. items:
  5746. type: string
  5747. type: array
  5748. x-kubernetes-list-type: atomic
  5749. dataSource:
  5750. description: |-
  5751. dataSource field can be used to specify either:
  5752. * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
  5753. * An existing PVC (PersistentVolumeClaim)
  5754. If the provisioner or an external controller can support the specified data source,
  5755. it will create a new volume based on the contents of the specified data source.
  5756. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
  5757. and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
  5758. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
  5759. properties:
  5760. apiGroup:
  5761. description: |-
  5762. APIGroup is the group for the resource being referenced.
  5763. If APIGroup is not specified, the specified Kind must be in the core API group.
  5764. For any other third-party types, APIGroup is required.
  5765. type: string
  5766. kind:
  5767. description: Kind is the type of
  5768. resource being referenced
  5769. type: string
  5770. name:
  5771. description: Name is the name of
  5772. resource being referenced
  5773. type: string
  5774. required:
  5775. - kind
  5776. - name
  5777. type: object
  5778. x-kubernetes-map-type: atomic
  5779. dataSourceRef:
  5780. description: |-
  5781. dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
  5782. volume is desired. This may be any object from a non-empty API group (non
  5783. core object) or a PersistentVolumeClaim object.
  5784. When this field is specified, volume binding will only succeed if the type of
  5785. the specified object matches some installed volume populator or dynamic
  5786. provisioner.
  5787. This field will replace the functionality of the dataSource field and as such
  5788. if both fields are non-empty, they must have the same value. For backwards
  5789. compatibility, when namespace isn't specified in dataSourceRef,
  5790. both fields (dataSource and dataSourceRef) will be set to the same
  5791. value automatically if one of them is empty and the other is non-empty.
  5792. When namespace is specified in dataSourceRef,
  5793. dataSource isn't set to the same value and must be empty.
  5794. There are three important differences between dataSource and dataSourceRef:
  5795. * While dataSource only allows two specific types of objects, dataSourceRef
  5796. allows any non-core object, as well as PersistentVolumeClaim objects.
  5797. * While dataSource ignores disallowed values (dropping them), dataSourceRef
  5798. preserves all values, and generates an error if a disallowed value is
  5799. specified.
  5800. * While dataSource only allows local objects, dataSourceRef allows objects
  5801. in any namespaces.
  5802. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
  5803. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  5804. properties:
  5805. apiGroup:
  5806. description: |-
  5807. APIGroup is the group for the resource being referenced.
  5808. If APIGroup is not specified, the specified Kind must be in the core API group.
  5809. For any other third-party types, APIGroup is required.
  5810. type: string
  5811. kind:
  5812. description: Kind is the type of
  5813. resource being referenced
  5814. type: string
  5815. name:
  5816. description: Name is the name of
  5817. resource being referenced
  5818. type: string
  5819. namespace:
  5820. description: |-
  5821. Namespace is the namespace of resource being referenced
  5822. Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
  5823. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  5824. type: string
  5825. required:
  5826. - kind
  5827. - name
  5828. type: object
  5829. resources:
  5830. description: |-
  5831. resources represents the minimum resources the volume should have.
  5832. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements
  5833. that are lower than previous value but must still be higher than capacity recorded in the
  5834. status field of the claim.
  5835. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
  5836. properties:
  5837. limits:
  5838. additionalProperties:
  5839. anyOf:
  5840. - type: integer
  5841. - type: string
  5842. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  5843. x-kubernetes-int-or-string: true
  5844. description: |-
  5845. Limits describes the maximum amount of compute resources allowed.
  5846. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  5847. type: object
  5848. requests:
  5849. additionalProperties:
  5850. anyOf:
  5851. - type: integer
  5852. - type: string
  5853. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  5854. x-kubernetes-int-or-string: true
  5855. description: |-
  5856. Requests describes the minimum amount of compute resources required.
  5857. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  5858. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  5859. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  5860. type: object
  5861. type: object
  5862. selector:
  5863. description: selector is a label query
  5864. over volumes to consider for binding.
  5865. properties:
  5866. matchExpressions:
  5867. description: matchExpressions is
  5868. a list of label selector requirements.
  5869. The requirements are ANDed.
  5870. items:
  5871. description: |-
  5872. A label selector requirement is a selector that contains values, a key, and an operator that
  5873. relates the key and values.
  5874. properties:
  5875. key:
  5876. description: key is the label
  5877. key that the selector applies
  5878. to.
  5879. type: string
  5880. operator:
  5881. description: |-
  5882. operator represents a key's relationship to a set of values.
  5883. Valid operators are In, NotIn, Exists and DoesNotExist.
  5884. type: string
  5885. values:
  5886. description: |-
  5887. values is an array of string values. If the operator is In or NotIn,
  5888. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  5889. the values array must be empty. This array is replaced during a strategic
  5890. merge patch.
  5891. items:
  5892. type: string
  5893. type: array
  5894. x-kubernetes-list-type: atomic
  5895. required:
  5896. - key
  5897. - operator
  5898. type: object
  5899. type: array
  5900. x-kubernetes-list-type: atomic
  5901. matchLabels:
  5902. additionalProperties:
  5903. type: string
  5904. description: |-
  5905. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  5906. map is equivalent to an element of matchExpressions, whose key field is "key", the
  5907. operator is "In", and the values array contains only "value". The requirements are ANDed.
  5908. type: object
  5909. type: object
  5910. x-kubernetes-map-type: atomic
  5911. storageClassName:
  5912. description: |-
  5913. storageClassName is the name of the StorageClass required by the claim.
  5914. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
  5915. type: string
  5916. volumeAttributesClassName:
  5917. description: |-
  5918. volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
  5919. If specified, the CSI driver will create or update the volume with the attributes defined
  5920. in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
  5921. it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
  5922. will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
  5923. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
  5924. will be set by the persistentvolume controller if it exists.
  5925. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
  5926. set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
  5927. exists.
  5928. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
  5929. (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
  5930. type: string
  5931. volumeMode:
  5932. description: |-
  5933. volumeMode defines what type of volume is required by the claim.
  5934. Value of Filesystem is implied when not included in claim spec.
  5935. type: string
  5936. volumeName:
  5937. description: volumeName is the binding
  5938. reference to the PersistentVolume
  5939. backing this claim.
  5940. type: string
  5941. type: object
  5942. required:
  5943. - spec
  5944. type: object
  5945. type: object
  5946. fc:
  5947. description: fc represents a Fibre Channel resource
  5948. that is attached to a kubelet's host machine and
  5949. then exposed to the pod.
  5950. properties:
  5951. fsType:
  5952. description: |-
  5953. fsType is the filesystem type to mount.
  5954. Must be a filesystem type supported by the host operating system.
  5955. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  5956. type: string
  5957. lun:
  5958. description: 'lun is Optional: FC target lun
  5959. number'
  5960. format: int32
  5961. type: integer
  5962. readOnly:
  5963. description: |-
  5964. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  5965. the ReadOnly setting in VolumeMounts.
  5966. type: boolean
  5967. targetWWNs:
  5968. description: 'targetWWNs is Optional: FC target
  5969. worldwide names (WWNs)'
  5970. items:
  5971. type: string
  5972. type: array
  5973. x-kubernetes-list-type: atomic
  5974. wwids:
  5975. description: |-
  5976. wwids Optional: FC volume world wide identifiers (wwids)
  5977. Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
  5978. items:
  5979. type: string
  5980. type: array
  5981. x-kubernetes-list-type: atomic
  5982. type: object
  5983. flexVolume:
  5984. description: |-
  5985. flexVolume represents a generic volume resource that is
  5986. provisioned/attached using an exec based plugin.
  5987. properties:
  5988. driver:
  5989. description: driver is the name of the driver
  5990. to use for this volume.
  5991. type: string
  5992. fsType:
  5993. description: |-
  5994. fsType is the filesystem type to mount.
  5995. Must be a filesystem type supported by the host operating system.
  5996. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
  5997. type: string
  5998. options:
  5999. additionalProperties:
  6000. type: string
  6001. description: 'options is Optional: this field
  6002. holds extra command options if any.'
  6003. type: object
  6004. readOnly:
  6005. description: |-
  6006. readOnly is Optional: defaults to false (read/write). ReadOnly here will force
  6007. the ReadOnly setting in VolumeMounts.
  6008. type: boolean
  6009. secretRef:
  6010. description: |-
  6011. secretRef is Optional: secretRef is reference to the secret object containing
  6012. sensitive information to pass to the plugin scripts. This may be
  6013. empty if no secret object is specified. If the secret object
  6014. contains more than one secret, all secrets are passed to the plugin
  6015. scripts.
  6016. properties:
  6017. name:
  6018. default: ""
  6019. description: |-
  6020. Name of the referent.
  6021. This field is effectively required, but due to backwards compatibility is
  6022. allowed to be empty. Instances of this type with an empty value here are
  6023. almost certainly wrong.
  6024. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6025. type: string
  6026. type: object
  6027. x-kubernetes-map-type: atomic
  6028. required:
  6029. - driver
  6030. type: object
  6031. flocker:
  6032. description: flocker represents a Flocker volume
  6033. attached to a kubelet's host machine. This depends
  6034. on the Flocker control service being running
  6035. properties:
  6036. datasetName:
  6037. description: |-
  6038. datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
  6039. should be considered as deprecated
  6040. type: string
  6041. datasetUUID:
  6042. description: datasetUUID is the UUID of the
  6043. dataset. This is unique identifier of a Flocker
  6044. dataset
  6045. type: string
  6046. type: object
  6047. gcePersistentDisk:
  6048. description: |-
  6049. gcePersistentDisk represents a GCE Disk resource that is attached to a
  6050. kubelet's host machine and then exposed to the pod.
  6051. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  6052. properties:
  6053. fsType:
  6054. description: |-
  6055. fsType is filesystem type of the volume that you want to mount.
  6056. Tip: Ensure that the filesystem type is supported by the host operating system.
  6057. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  6058. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  6059. type: string
  6060. partition:
  6061. description: |-
  6062. partition is the partition in the volume that you want to mount.
  6063. If omitted, the default is to mount by volume name.
  6064. Examples: For volume /dev/sda1, you specify the partition as "1".
  6065. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  6066. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  6067. format: int32
  6068. type: integer
  6069. pdName:
  6070. description: |-
  6071. pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
  6072. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  6073. type: string
  6074. readOnly:
  6075. description: |-
  6076. readOnly here will force the ReadOnly setting in VolumeMounts.
  6077. Defaults to false.
  6078. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  6079. type: boolean
  6080. required:
  6081. - pdName
  6082. type: object
  6083. gitRepo:
  6084. description: |-
  6085. gitRepo represents a git repository at a particular revision.
  6086. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
  6087. EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
  6088. into the Pod's container.
  6089. properties:
  6090. directory:
  6091. description: |-
  6092. directory is the target directory name.
  6093. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
  6094. git repository. Otherwise, if specified, the volume will contain the git repository in
  6095. the subdirectory with the given name.
  6096. type: string
  6097. repository:
  6098. description: repository is the URL
  6099. type: string
  6100. revision:
  6101. description: revision is the commit hash for
  6102. the specified revision.
  6103. type: string
  6104. required:
  6105. - repository
  6106. type: object
  6107. glusterfs:
  6108. description: |-
  6109. glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
  6110. More info: https://examples.k8s.io/volumes/glusterfs/README.md
  6111. properties:
  6112. endpoints:
  6113. description: |-
  6114. endpoints is the endpoint name that details Glusterfs topology.
  6115. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  6116. type: string
  6117. path:
  6118. description: |-
  6119. path is the Glusterfs volume path.
  6120. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  6121. type: string
  6122. readOnly:
  6123. description: |-
  6124. readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
  6125. Defaults to false.
  6126. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  6127. type: boolean
  6128. required:
  6129. - endpoints
  6130. - path
  6131. type: object
  6132. hostPath:
  6133. description: |-
  6134. hostPath represents a pre-existing file or directory on the host
  6135. machine that is directly exposed to the container. This is generally
  6136. used for system agents or other privileged things that are allowed
  6137. to see the host machine. Most containers will NOT need this.
  6138. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  6139. properties:
  6140. path:
  6141. description: |-
  6142. path of the directory on the host.
  6143. If the path is a symlink, it will follow the link to the real path.
  6144. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  6145. type: string
  6146. type:
  6147. description: |-
  6148. type for HostPath Volume
  6149. Defaults to ""
  6150. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  6151. type: string
  6152. required:
  6153. - path
  6154. type: object
  6155. iscsi:
  6156. description: |-
  6157. iscsi represents an ISCSI Disk resource that is attached to a
  6158. kubelet's host machine and then exposed to the pod.
  6159. More info: https://examples.k8s.io/volumes/iscsi/README.md
  6160. properties:
  6161. chapAuthDiscovery:
  6162. description: chapAuthDiscovery defines whether
  6163. support iSCSI Discovery CHAP authentication
  6164. type: boolean
  6165. chapAuthSession:
  6166. description: chapAuthSession defines whether
  6167. support iSCSI Session CHAP authentication
  6168. type: boolean
  6169. fsType:
  6170. description: |-
  6171. fsType is the filesystem type of the volume that you want to mount.
  6172. Tip: Ensure that the filesystem type is supported by the host operating system.
  6173. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  6174. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
  6175. type: string
  6176. initiatorName:
  6177. description: |-
  6178. initiatorName is the custom iSCSI Initiator Name.
  6179. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
  6180. <target portal>:<volume name> will be created for the connection.
  6181. type: string
  6182. iqn:
  6183. description: iqn is the target iSCSI Qualified
  6184. Name.
  6185. type: string
  6186. iscsiInterface:
  6187. description: |-
  6188. iscsiInterface is the interface Name that uses an iSCSI transport.
  6189. Defaults to 'default' (tcp).
  6190. type: string
  6191. lun:
  6192. description: lun represents iSCSI Target Lun
  6193. number.
  6194. format: int32
  6195. type: integer
  6196. portals:
  6197. description: |-
  6198. portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
  6199. is other than default (typically TCP ports 860 and 3260).
  6200. items:
  6201. type: string
  6202. type: array
  6203. x-kubernetes-list-type: atomic
  6204. readOnly:
  6205. description: |-
  6206. readOnly here will force the ReadOnly setting in VolumeMounts.
  6207. Defaults to false.
  6208. type: boolean
  6209. secretRef:
  6210. description: secretRef is the CHAP Secret for
  6211. iSCSI target and initiator authentication
  6212. properties:
  6213. name:
  6214. default: ""
  6215. description: |-
  6216. Name of the referent.
  6217. This field is effectively required, but due to backwards compatibility is
  6218. allowed to be empty. Instances of this type with an empty value here are
  6219. almost certainly wrong.
  6220. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6221. type: string
  6222. type: object
  6223. x-kubernetes-map-type: atomic
  6224. targetPortal:
  6225. description: |-
  6226. targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
  6227. is other than default (typically TCP ports 860 and 3260).
  6228. type: string
  6229. required:
  6230. - iqn
  6231. - lun
  6232. - targetPortal
  6233. type: object
  6234. name:
  6235. description: |-
  6236. name of the volume.
  6237. Must be a DNS_LABEL and unique within the pod.
  6238. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6239. type: string
  6240. nfs:
  6241. description: |-
  6242. nfs represents an NFS mount on the host that shares a pod's lifetime
  6243. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  6244. properties:
  6245. path:
  6246. description: |-
  6247. path that is exported by the NFS server.
  6248. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  6249. type: string
  6250. readOnly:
  6251. description: |-
  6252. readOnly here will force the NFS export to be mounted with read-only permissions.
  6253. Defaults to false.
  6254. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  6255. type: boolean
  6256. server:
  6257. description: |-
  6258. server is the hostname or IP address of the NFS server.
  6259. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  6260. type: string
  6261. required:
  6262. - path
  6263. - server
  6264. type: object
  6265. persistentVolumeClaim:
  6266. description: |-
  6267. persistentVolumeClaimVolumeSource represents a reference to a
  6268. PersistentVolumeClaim in the same namespace.
  6269. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  6270. properties:
  6271. claimName:
  6272. description: |-
  6273. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
  6274. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  6275. type: string
  6276. readOnly:
  6277. description: |-
  6278. readOnly Will force the ReadOnly setting in VolumeMounts.
  6279. Default false.
  6280. type: boolean
  6281. required:
  6282. - claimName
  6283. type: object
  6284. photonPersistentDisk:
  6285. description: photonPersistentDisk represents a PhotonController
  6286. persistent disk attached and mounted on kubelets
  6287. host machine
  6288. properties:
  6289. fsType:
  6290. description: |-
  6291. fsType is the filesystem type to mount.
  6292. Must be a filesystem type supported by the host operating system.
  6293. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  6294. type: string
  6295. pdID:
  6296. description: pdID is the ID that identifies
  6297. Photon Controller persistent disk
  6298. type: string
  6299. required:
  6300. - pdID
  6301. type: object
  6302. portworxVolume:
  6303. description: portworxVolume represents a portworx
  6304. volume attached and mounted on kubelets host machine
  6305. properties:
  6306. fsType:
  6307. description: |-
  6308. fSType represents the filesystem type to mount
  6309. Must be a filesystem type supported by the host operating system.
  6310. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
  6311. type: string
  6312. readOnly:
  6313. description: |-
  6314. readOnly defaults to false (read/write). ReadOnly here will force
  6315. the ReadOnly setting in VolumeMounts.
  6316. type: boolean
  6317. volumeID:
  6318. description: volumeID uniquely identifies a
  6319. Portworx volume
  6320. type: string
  6321. required:
  6322. - volumeID
  6323. type: object
  6324. projected:
  6325. description: projected items for all in one resources
  6326. secrets, configmaps, and downward API
  6327. properties:
  6328. defaultMode:
  6329. description: |-
  6330. defaultMode are the mode bits used to set permissions on created files by default.
  6331. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  6332. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  6333. Directories within the path are not affected by this setting.
  6334. This might be in conflict with other options that affect the file
  6335. mode, like fsGroup, and the result can be other mode bits set.
  6336. format: int32
  6337. type: integer
  6338. sources:
  6339. description: sources is the list of volume projections
  6340. items:
  6341. description: Projection that may be projected
  6342. along with other supported volume types
  6343. properties:
  6344. clusterTrustBundle:
  6345. description: |-
  6346. ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
  6347. of ClusterTrustBundle objects in an auto-updating file.
  6348. Alpha, gated by the ClusterTrustBundleProjection feature gate.
  6349. ClusterTrustBundle objects can either be selected by name, or by the
  6350. combination of signer name and a label selector.
  6351. Kubelet performs aggressive normalization of the PEM contents written
  6352. into the pod filesystem. Esoteric PEM features such as inter-block
  6353. comments and block headers are stripped. Certificates are deduplicated.
  6354. The ordering of certificates within the file is arbitrary, and Kubelet
  6355. may change the order over time.
  6356. properties:
  6357. labelSelector:
  6358. description: |-
  6359. Select all ClusterTrustBundles that match this label selector. Only has
  6360. effect if signerName is set. Mutually-exclusive with name. If unset,
  6361. interpreted as "match nothing". If set but empty, interpreted as "match
  6362. everything".
  6363. properties:
  6364. matchExpressions:
  6365. description: matchExpressions
  6366. is a list of label selector
  6367. requirements. The requirements
  6368. are ANDed.
  6369. items:
  6370. description: |-
  6371. A label selector requirement is a selector that contains values, a key, and an operator that
  6372. relates the key and values.
  6373. properties:
  6374. key:
  6375. description: key is the
  6376. label key that the selector
  6377. applies to.
  6378. type: string
  6379. operator:
  6380. description: |-
  6381. operator represents a key's relationship to a set of values.
  6382. Valid operators are In, NotIn, Exists and DoesNotExist.
  6383. type: string
  6384. values:
  6385. description: |-
  6386. values is an array of string values. If the operator is In or NotIn,
  6387. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  6388. the values array must be empty. This array is replaced during a strategic
  6389. merge patch.
  6390. items:
  6391. type: string
  6392. type: array
  6393. x-kubernetes-list-type: atomic
  6394. required:
  6395. - key
  6396. - operator
  6397. type: object
  6398. type: array
  6399. x-kubernetes-list-type: atomic
  6400. matchLabels:
  6401. additionalProperties:
  6402. type: string
  6403. description: |-
  6404. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  6405. map is equivalent to an element of matchExpressions, whose key field is "key", the
  6406. operator is "In", and the values array contains only "value". The requirements are ANDed.
  6407. type: object
  6408. type: object
  6409. x-kubernetes-map-type: atomic
  6410. name:
  6411. description: |-
  6412. Select a single ClusterTrustBundle by object name. Mutually-exclusive
  6413. with signerName and labelSelector.
  6414. type: string
  6415. optional:
  6416. description: |-
  6417. If true, don't block pod startup if the referenced ClusterTrustBundle(s)
  6418. aren't available. If using name, then the named ClusterTrustBundle is
  6419. allowed not to exist. If using signerName, then the combination of
  6420. signerName and labelSelector is allowed to match zero
  6421. ClusterTrustBundles.
  6422. type: boolean
  6423. path:
  6424. description: Relative path from the
  6425. volume root to write the bundle.
  6426. type: string
  6427. signerName:
  6428. description: |-
  6429. Select all ClusterTrustBundles that match this signer name.
  6430. Mutually-exclusive with name. The contents of all selected
  6431. ClusterTrustBundles will be unified and deduplicated.
  6432. type: string
  6433. required:
  6434. - path
  6435. type: object
  6436. configMap:
  6437. description: configMap information about
  6438. the configMap data to project
  6439. properties:
  6440. items:
  6441. description: |-
  6442. items if unspecified, each key-value pair in the Data field of the referenced
  6443. ConfigMap will be projected into the volume as a file whose name is the
  6444. key and content is the value. If specified, the listed keys will be
  6445. projected into the specified paths, and unlisted keys will not be
  6446. present. If a key is specified which is not present in the ConfigMap,
  6447. the volume setup will error unless it is marked optional. Paths must be
  6448. relative and may not contain the '..' path or start with '..'.
  6449. items:
  6450. description: Maps a string key to
  6451. a path within a volume.
  6452. properties:
  6453. key:
  6454. description: key is the key
  6455. to project.
  6456. type: string
  6457. mode:
  6458. description: |-
  6459. mode is Optional: mode bits used to set permissions on this file.
  6460. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  6461. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  6462. If not specified, the volume defaultMode will be used.
  6463. This might be in conflict with other options that affect the file
  6464. mode, like fsGroup, and the result can be other mode bits set.
  6465. format: int32
  6466. type: integer
  6467. path:
  6468. description: |-
  6469. path is the relative path of the file to map the key to.
  6470. May not be an absolute path.
  6471. May not contain the path element '..'.
  6472. May not start with the string '..'.
  6473. type: string
  6474. required:
  6475. - key
  6476. - path
  6477. type: object
  6478. type: array
  6479. x-kubernetes-list-type: atomic
  6480. name:
  6481. default: ""
  6482. description: |-
  6483. Name of the referent.
  6484. This field is effectively required, but due to backwards compatibility is
  6485. allowed to be empty. Instances of this type with an empty value here are
  6486. almost certainly wrong.
  6487. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6488. type: string
  6489. optional:
  6490. description: optional specify whether
  6491. the ConfigMap or its keys must be
  6492. defined
  6493. type: boolean
  6494. type: object
  6495. x-kubernetes-map-type: atomic
  6496. downwardAPI:
  6497. description: downwardAPI information about
  6498. the downwardAPI data to project
  6499. properties:
  6500. items:
  6501. description: Items is a list of DownwardAPIVolume
  6502. file
  6503. items:
  6504. description: DownwardAPIVolumeFile
  6505. represents information to create
  6506. the file containing the pod field
  6507. properties:
  6508. fieldRef:
  6509. description: 'Required: Selects
  6510. a field of the pod: only annotations,
  6511. labels, name, namespace and
  6512. uid are supported.'
  6513. properties:
  6514. apiVersion:
  6515. description: Version of
  6516. the schema the FieldPath
  6517. is written in terms of,
  6518. defaults to "v1".
  6519. type: string
  6520. fieldPath:
  6521. description: Path of the
  6522. field to select in the
  6523. specified API version.
  6524. type: string
  6525. required:
  6526. - fieldPath
  6527. type: object
  6528. x-kubernetes-map-type: atomic
  6529. mode:
  6530. description: |-
  6531. Optional: mode bits used to set permissions on this file, must be an octal value
  6532. between 0000 and 0777 or a decimal value between 0 and 511.
  6533. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  6534. If not specified, the volume defaultMode will be used.
  6535. This might be in conflict with other options that affect the file
  6536. mode, like fsGroup, and the result can be other mode bits set.
  6537. format: int32
  6538. type: integer
  6539. path:
  6540. description: 'Required: Path
  6541. is the relative path name
  6542. of the file to be created.
  6543. Must not be absolute or contain
  6544. the ''..'' path. Must be utf-8
  6545. encoded. The first item of
  6546. the relative path must not
  6547. start with ''..'''
  6548. type: string
  6549. resourceFieldRef:
  6550. description: |-
  6551. Selects a resource of the container: only resources limits and requests
  6552. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  6553. properties:
  6554. containerName:
  6555. description: 'Container
  6556. name: required for volumes,
  6557. optional for env vars'
  6558. type: string
  6559. divisor:
  6560. anyOf:
  6561. - type: integer
  6562. - type: string
  6563. description: Specifies the
  6564. output format of the exposed
  6565. resources, defaults to
  6566. "1"
  6567. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  6568. x-kubernetes-int-or-string: true
  6569. resource:
  6570. description: 'Required:
  6571. resource to select'
  6572. type: string
  6573. required:
  6574. - resource
  6575. type: object
  6576. x-kubernetes-map-type: atomic
  6577. required:
  6578. - path
  6579. type: object
  6580. type: array
  6581. x-kubernetes-list-type: atomic
  6582. type: object
  6583. secret:
  6584. description: secret information about
  6585. the secret data to project
  6586. properties:
  6587. items:
  6588. description: |-
  6589. items if unspecified, each key-value pair in the Data field of the referenced
  6590. Secret will be projected into the volume as a file whose name is the
  6591. key and content is the value. If specified, the listed keys will be
  6592. projected into the specified paths, and unlisted keys will not be
  6593. present. If a key is specified which is not present in the Secret,
  6594. the volume setup will error unless it is marked optional. Paths must be
  6595. relative and may not contain the '..' path or start with '..'.
  6596. items:
  6597. description: Maps a string key to
  6598. a path within a volume.
  6599. properties:
  6600. key:
  6601. description: key is the key
  6602. to project.
  6603. type: string
  6604. mode:
  6605. description: |-
  6606. mode is Optional: mode bits used to set permissions on this file.
  6607. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  6608. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  6609. If not specified, the volume defaultMode will be used.
  6610. This might be in conflict with other options that affect the file
  6611. mode, like fsGroup, and the result can be other mode bits set.
  6612. format: int32
  6613. type: integer
  6614. path:
  6615. description: |-
  6616. path is the relative path of the file to map the key to.
  6617. May not be an absolute path.
  6618. May not contain the path element '..'.
  6619. May not start with the string '..'.
  6620. type: string
  6621. required:
  6622. - key
  6623. - path
  6624. type: object
  6625. type: array
  6626. x-kubernetes-list-type: atomic
  6627. name:
  6628. default: ""
  6629. description: |-
  6630. Name of the referent.
  6631. This field is effectively required, but due to backwards compatibility is
  6632. allowed to be empty. Instances of this type with an empty value here are
  6633. almost certainly wrong.
  6634. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6635. type: string
  6636. optional:
  6637. description: optional field specify
  6638. whether the Secret or its key must
  6639. be defined
  6640. type: boolean
  6641. type: object
  6642. x-kubernetes-map-type: atomic
  6643. serviceAccountToken:
  6644. description: serviceAccountToken is information
  6645. about the serviceAccountToken data to
  6646. project
  6647. properties:
  6648. audience:
  6649. description: |-
  6650. audience is the intended audience of the token. A recipient of a token
  6651. must identify itself with an identifier specified in the audience of the
  6652. token, and otherwise should reject the token. The audience defaults to the
  6653. identifier of the apiserver.
  6654. type: string
  6655. expirationSeconds:
  6656. description: |-
  6657. expirationSeconds is the requested duration of validity of the service
  6658. account token. As the token approaches expiration, the kubelet volume
  6659. plugin will proactively rotate the service account token. The kubelet will
  6660. start trying to rotate the token if the token is older than 80 percent of
  6661. its time to live or if the token is older than 24 hours.Defaults to 1 hour
  6662. and must be at least 10 minutes.
  6663. format: int64
  6664. type: integer
  6665. path:
  6666. description: |-
  6667. path is the path relative to the mount point of the file to project the
  6668. token into.
  6669. type: string
  6670. required:
  6671. - path
  6672. type: object
  6673. type: object
  6674. type: array
  6675. x-kubernetes-list-type: atomic
  6676. type: object
  6677. quobyte:
  6678. description: quobyte represents a Quobyte mount
  6679. on the host that shares a pod's lifetime
  6680. properties:
  6681. group:
  6682. description: |-
  6683. group to map volume access to
  6684. Default is no group
  6685. type: string
  6686. readOnly:
  6687. description: |-
  6688. readOnly here will force the Quobyte volume to be mounted with read-only permissions.
  6689. Defaults to false.
  6690. type: boolean
  6691. registry:
  6692. description: |-
  6693. registry represents a single or multiple Quobyte Registry services
  6694. specified as a string as host:port pair (multiple entries are separated with commas)
  6695. which acts as the central registry for volumes
  6696. type: string
  6697. tenant:
  6698. description: |-
  6699. tenant owning the given Quobyte volume in the Backend
  6700. Used with dynamically provisioned Quobyte volumes, value is set by the plugin
  6701. type: string
  6702. user:
  6703. description: |-
  6704. user to map volume access to
  6705. Defaults to serivceaccount user
  6706. type: string
  6707. volume:
  6708. description: volume is a string that references
  6709. an already created Quobyte volume by name.
  6710. type: string
  6711. required:
  6712. - registry
  6713. - volume
  6714. type: object
  6715. rbd:
  6716. description: |-
  6717. rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
  6718. More info: https://examples.k8s.io/volumes/rbd/README.md
  6719. properties:
  6720. fsType:
  6721. description: |-
  6722. fsType is the filesystem type of the volume that you want to mount.
  6723. Tip: Ensure that the filesystem type is supported by the host operating system.
  6724. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  6725. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
  6726. type: string
  6727. image:
  6728. description: |-
  6729. image is the rados image name.
  6730. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  6731. type: string
  6732. keyring:
  6733. description: |-
  6734. keyring is the path to key ring for RBDUser.
  6735. Default is /etc/ceph/keyring.
  6736. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  6737. type: string
  6738. monitors:
  6739. description: |-
  6740. monitors is a collection of Ceph monitors.
  6741. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  6742. items:
  6743. type: string
  6744. type: array
  6745. x-kubernetes-list-type: atomic
  6746. pool:
  6747. description: |-
  6748. pool is the rados pool name.
  6749. Default is rbd.
  6750. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  6751. type: string
  6752. readOnly:
  6753. description: |-
  6754. readOnly here will force the ReadOnly setting in VolumeMounts.
  6755. Defaults to false.
  6756. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  6757. type: boolean
  6758. secretRef:
  6759. description: |-
  6760. secretRef is name of the authentication secret for RBDUser. If provided
  6761. overrides keyring.
  6762. Default is nil.
  6763. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  6764. properties:
  6765. name:
  6766. default: ""
  6767. description: |-
  6768. Name of the referent.
  6769. This field is effectively required, but due to backwards compatibility is
  6770. allowed to be empty. Instances of this type with an empty value here are
  6771. almost certainly wrong.
  6772. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6773. type: string
  6774. type: object
  6775. x-kubernetes-map-type: atomic
  6776. user:
  6777. description: |-
  6778. user is the rados user name.
  6779. Default is admin.
  6780. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  6781. type: string
  6782. required:
  6783. - image
  6784. - monitors
  6785. type: object
  6786. scaleIO:
  6787. description: scaleIO represents a ScaleIO persistent
  6788. volume attached and mounted on Kubernetes nodes.
  6789. properties:
  6790. fsType:
  6791. description: |-
  6792. fsType is the filesystem type to mount.
  6793. Must be a filesystem type supported by the host operating system.
  6794. Ex. "ext4", "xfs", "ntfs".
  6795. Default is "xfs".
  6796. type: string
  6797. gateway:
  6798. description: gateway is the host address of
  6799. the ScaleIO API Gateway.
  6800. type: string
  6801. protectionDomain:
  6802. description: protectionDomain is the name of
  6803. the ScaleIO Protection Domain for the configured
  6804. storage.
  6805. type: string
  6806. readOnly:
  6807. description: |-
  6808. readOnly Defaults to false (read/write). ReadOnly here will force
  6809. the ReadOnly setting in VolumeMounts.
  6810. type: boolean
  6811. secretRef:
  6812. description: |-
  6813. secretRef references to the secret for ScaleIO user and other
  6814. sensitive information. If this is not provided, Login operation will fail.
  6815. properties:
  6816. name:
  6817. default: ""
  6818. description: |-
  6819. Name of the referent.
  6820. This field is effectively required, but due to backwards compatibility is
  6821. allowed to be empty. Instances of this type with an empty value here are
  6822. almost certainly wrong.
  6823. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6824. type: string
  6825. type: object
  6826. x-kubernetes-map-type: atomic
  6827. sslEnabled:
  6828. description: sslEnabled Flag enable/disable
  6829. SSL communication with Gateway, default false
  6830. type: boolean
  6831. storageMode:
  6832. description: |-
  6833. storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
  6834. Default is ThinProvisioned.
  6835. type: string
  6836. storagePool:
  6837. description: storagePool is the ScaleIO Storage
  6838. Pool associated with the protection domain.
  6839. type: string
  6840. system:
  6841. description: system is the name of the storage
  6842. system as configured in ScaleIO.
  6843. type: string
  6844. volumeName:
  6845. description: |-
  6846. volumeName is the name of a volume already created in the ScaleIO system
  6847. that is associated with this volume source.
  6848. type: string
  6849. required:
  6850. - gateway
  6851. - secretRef
  6852. - system
  6853. type: object
  6854. secret:
  6855. description: |-
  6856. secret represents a secret that should populate this volume.
  6857. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  6858. properties:
  6859. defaultMode:
  6860. description: |-
  6861. defaultMode is Optional: mode bits used to set permissions on created files by default.
  6862. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  6863. YAML accepts both octal and decimal values, JSON requires decimal values
  6864. for mode bits. Defaults to 0644.
  6865. Directories within the path are not affected by this setting.
  6866. This might be in conflict with other options that affect the file
  6867. mode, like fsGroup, and the result can be other mode bits set.
  6868. format: int32
  6869. type: integer
  6870. items:
  6871. description: |-
  6872. items If unspecified, each key-value pair in the Data field of the referenced
  6873. Secret will be projected into the volume as a file whose name is the
  6874. key and content is the value. If specified, the listed keys will be
  6875. projected into the specified paths, and unlisted keys will not be
  6876. present. If a key is specified which is not present in the Secret,
  6877. the volume setup will error unless it is marked optional. Paths must be
  6878. relative and may not contain the '..' path or start with '..'.
  6879. items:
  6880. description: Maps a string key to a path within
  6881. a volume.
  6882. properties:
  6883. key:
  6884. description: key is the key to project.
  6885. type: string
  6886. mode:
  6887. description: |-
  6888. mode is Optional: mode bits used to set permissions on this file.
  6889. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  6890. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  6891. If not specified, the volume defaultMode will be used.
  6892. This might be in conflict with other options that affect the file
  6893. mode, like fsGroup, and the result can be other mode bits set.
  6894. format: int32
  6895. type: integer
  6896. path:
  6897. description: |-
  6898. path is the relative path of the file to map the key to.
  6899. May not be an absolute path.
  6900. May not contain the path element '..'.
  6901. May not start with the string '..'.
  6902. type: string
  6903. required:
  6904. - key
  6905. - path
  6906. type: object
  6907. type: array
  6908. x-kubernetes-list-type: atomic
  6909. optional:
  6910. description: optional field specify whether
  6911. the Secret or its keys must be defined
  6912. type: boolean
  6913. secretName:
  6914. description: |-
  6915. secretName is the name of the secret in the pod's namespace to use.
  6916. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  6917. type: string
  6918. type: object
  6919. storageos:
  6920. description: storageOS represents a StorageOS volume
  6921. attached and mounted on Kubernetes nodes.
  6922. properties:
  6923. fsType:
  6924. description: |-
  6925. fsType is the filesystem type to mount.
  6926. Must be a filesystem type supported by the host operating system.
  6927. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  6928. type: string
  6929. readOnly:
  6930. description: |-
  6931. readOnly defaults to false (read/write). ReadOnly here will force
  6932. the ReadOnly setting in VolumeMounts.
  6933. type: boolean
  6934. secretRef:
  6935. description: |-
  6936. secretRef specifies the secret to use for obtaining the StorageOS API
  6937. credentials. If not specified, default values will be attempted.
  6938. properties:
  6939. name:
  6940. default: ""
  6941. description: |-
  6942. Name of the referent.
  6943. This field is effectively required, but due to backwards compatibility is
  6944. allowed to be empty. Instances of this type with an empty value here are
  6945. almost certainly wrong.
  6946. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6947. type: string
  6948. type: object
  6949. x-kubernetes-map-type: atomic
  6950. volumeName:
  6951. description: |-
  6952. volumeName is the human-readable name of the StorageOS volume. Volume
  6953. names are only unique within a namespace.
  6954. type: string
  6955. volumeNamespace:
  6956. description: |-
  6957. volumeNamespace specifies the scope of the volume within StorageOS. If no
  6958. namespace is specified then the Pod's namespace will be used. This allows the
  6959. Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
  6960. Set VolumeName to any name to override the default behaviour.
  6961. Set to "default" if you are not using namespaces within StorageOS.
  6962. Namespaces that do not pre-exist within StorageOS will be created.
  6963. type: string
  6964. type: object
  6965. vsphereVolume:
  6966. description: vsphereVolume represents a vSphere
  6967. volume attached and mounted on kubelets host machine
  6968. properties:
  6969. fsType:
  6970. description: |-
  6971. fsType is filesystem type to mount.
  6972. Must be a filesystem type supported by the host operating system.
  6973. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  6974. type: string
  6975. storagePolicyID:
  6976. description: storagePolicyID is the storage
  6977. Policy Based Management (SPBM) profile ID
  6978. associated with the StoragePolicyName.
  6979. type: string
  6980. storagePolicyName:
  6981. description: storagePolicyName is the storage
  6982. Policy Based Management (SPBM) profile name.
  6983. type: string
  6984. volumePath:
  6985. description: volumePath is the path that identifies
  6986. vSphere volume vmdk
  6987. type: string
  6988. required:
  6989. - volumePath
  6990. type: object
  6991. required:
  6992. - name
  6993. type: object
  6994. type: array
  6995. type: object
  6996. required:
  6997. - name
  6998. type: object
  6999. type: object
  7000. graphStore:
  7001. description: graphStore defines the configuration overrides for the
  7002. stack's graph store component.
  7003. properties:
  7004. enabled:
  7005. description: enabled indicates whether the component should be
  7006. deployed for the stack.
  7007. type: boolean
  7008. template:
  7009. description: template holds the configuration overrides for the
  7010. component.
  7011. properties:
  7012. metadata:
  7013. description: metadata is a standard object metadata.
  7014. type: object
  7015. name:
  7016. description: name selects a built-in preset.
  7017. type: string
  7018. spec:
  7019. description: spec holds the pod-level configuration for the
  7020. workload.
  7021. properties:
  7022. affinity:
  7023. description: affinity provides fine-grained node and pod
  7024. (anti-)affinity rules.
  7025. properties:
  7026. nodeAffinity:
  7027. description: Describes node affinity scheduling rules
  7028. for the pod.
  7029. properties:
  7030. preferredDuringSchedulingIgnoredDuringExecution:
  7031. description: |-
  7032. The scheduler will prefer to schedule pods to nodes that satisfy
  7033. the affinity expressions specified by this field, but it may choose
  7034. a node that violates one or more of the expressions. The node that is
  7035. most preferred is the one with the greatest sum of weights, i.e.
  7036. for each node that meets all of the scheduling requirements (resource
  7037. request, requiredDuringScheduling affinity expressions, etc.),
  7038. compute a sum by iterating through the elements of this field and adding
  7039. "weight" to the sum if the node matches the corresponding matchExpressions; the
  7040. node(s) with the highest sum are the most preferred.
  7041. items:
  7042. description: |-
  7043. An empty preferred scheduling term matches all objects with implicit weight 0
  7044. (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
  7045. properties:
  7046. preference:
  7047. description: A node selector term, associated
  7048. with the corresponding weight.
  7049. properties:
  7050. matchExpressions:
  7051. description: A list of node selector
  7052. requirements by node's labels.
  7053. items:
  7054. description: |-
  7055. A node selector requirement is a selector that contains values, a key, and an operator
  7056. that relates the key and values.
  7057. properties:
  7058. key:
  7059. description: The label key that
  7060. the selector applies to.
  7061. type: string
  7062. operator:
  7063. description: |-
  7064. Represents a key's relationship to a set of values.
  7065. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  7066. type: string
  7067. values:
  7068. description: |-
  7069. An array of string values. If the operator is In or NotIn,
  7070. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7071. the values array must be empty. If the operator is Gt or Lt, the values
  7072. array must have a single element, which will be interpreted as an integer.
  7073. This array is replaced during a strategic merge patch.
  7074. items:
  7075. type: string
  7076. type: array
  7077. x-kubernetes-list-type: atomic
  7078. required:
  7079. - key
  7080. - operator
  7081. type: object
  7082. type: array
  7083. x-kubernetes-list-type: atomic
  7084. matchFields:
  7085. description: A list of node selector
  7086. requirements by node's fields.
  7087. items:
  7088. description: |-
  7089. A node selector requirement is a selector that contains values, a key, and an operator
  7090. that relates the key and values.
  7091. properties:
  7092. key:
  7093. description: The label key that
  7094. the selector applies to.
  7095. type: string
  7096. operator:
  7097. description: |-
  7098. Represents a key's relationship to a set of values.
  7099. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  7100. type: string
  7101. values:
  7102. description: |-
  7103. An array of string values. If the operator is In or NotIn,
  7104. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7105. the values array must be empty. If the operator is Gt or Lt, the values
  7106. array must have a single element, which will be interpreted as an integer.
  7107. This array is replaced during a strategic merge patch.
  7108. items:
  7109. type: string
  7110. type: array
  7111. x-kubernetes-list-type: atomic
  7112. required:
  7113. - key
  7114. - operator
  7115. type: object
  7116. type: array
  7117. x-kubernetes-list-type: atomic
  7118. type: object
  7119. x-kubernetes-map-type: atomic
  7120. weight:
  7121. description: Weight associated with matching
  7122. the corresponding nodeSelectorTerm, in
  7123. the range 1-100.
  7124. format: int32
  7125. type: integer
  7126. required:
  7127. - preference
  7128. - weight
  7129. type: object
  7130. type: array
  7131. x-kubernetes-list-type: atomic
  7132. requiredDuringSchedulingIgnoredDuringExecution:
  7133. description: |-
  7134. If the affinity requirements specified by this field are not met at
  7135. scheduling time, the pod will not be scheduled onto the node.
  7136. If the affinity requirements specified by this field cease to be met
  7137. at some point during pod execution (e.g. due to an update), the system
  7138. may or may not try to eventually evict the pod from its node.
  7139. properties:
  7140. nodeSelectorTerms:
  7141. description: Required. A list of node selector
  7142. terms. The terms are ORed.
  7143. items:
  7144. description: |-
  7145. A null or empty node selector term matches no objects. The requirements of
  7146. them are ANDed.
  7147. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
  7148. properties:
  7149. matchExpressions:
  7150. description: A list of node selector
  7151. requirements by node's labels.
  7152. items:
  7153. description: |-
  7154. A node selector requirement is a selector that contains values, a key, and an operator
  7155. that relates the key and values.
  7156. properties:
  7157. key:
  7158. description: The label key that
  7159. the selector applies to.
  7160. type: string
  7161. operator:
  7162. description: |-
  7163. Represents a key's relationship to a set of values.
  7164. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  7165. type: string
  7166. values:
  7167. description: |-
  7168. An array of string values. If the operator is In or NotIn,
  7169. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7170. the values array must be empty. If the operator is Gt or Lt, the values
  7171. array must have a single element, which will be interpreted as an integer.
  7172. This array is replaced during a strategic merge patch.
  7173. items:
  7174. type: string
  7175. type: array
  7176. x-kubernetes-list-type: atomic
  7177. required:
  7178. - key
  7179. - operator
  7180. type: object
  7181. type: array
  7182. x-kubernetes-list-type: atomic
  7183. matchFields:
  7184. description: A list of node selector
  7185. requirements by node's fields.
  7186. items:
  7187. description: |-
  7188. A node selector requirement is a selector that contains values, a key, and an operator
  7189. that relates the key and values.
  7190. properties:
  7191. key:
  7192. description: The label key that
  7193. the selector applies to.
  7194. type: string
  7195. operator:
  7196. description: |-
  7197. Represents a key's relationship to a set of values.
  7198. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  7199. type: string
  7200. values:
  7201. description: |-
  7202. An array of string values. If the operator is In or NotIn,
  7203. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7204. the values array must be empty. If the operator is Gt or Lt, the values
  7205. array must have a single element, which will be interpreted as an integer.
  7206. This array is replaced during a strategic merge patch.
  7207. items:
  7208. type: string
  7209. type: array
  7210. x-kubernetes-list-type: atomic
  7211. required:
  7212. - key
  7213. - operator
  7214. type: object
  7215. type: array
  7216. x-kubernetes-list-type: atomic
  7217. type: object
  7218. x-kubernetes-map-type: atomic
  7219. type: array
  7220. x-kubernetes-list-type: atomic
  7221. required:
  7222. - nodeSelectorTerms
  7223. type: object
  7224. x-kubernetes-map-type: atomic
  7225. type: object
  7226. podAffinity:
  7227. description: Describes pod affinity scheduling rules
  7228. (e.g. co-locate this pod in the same node, zone,
  7229. etc. as some other pod(s)).
  7230. properties:
  7231. preferredDuringSchedulingIgnoredDuringExecution:
  7232. description: |-
  7233. The scheduler will prefer to schedule pods to nodes that satisfy
  7234. the affinity expressions specified by this field, but it may choose
  7235. a node that violates one or more of the expressions. The node that is
  7236. most preferred is the one with the greatest sum of weights, i.e.
  7237. for each node that meets all of the scheduling requirements (resource
  7238. request, requiredDuringScheduling affinity expressions, etc.),
  7239. compute a sum by iterating through the elements of this field and adding
  7240. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  7241. node(s) with the highest sum are the most preferred.
  7242. items:
  7243. description: The weights of all of the matched
  7244. WeightedPodAffinityTerm fields are added per-node
  7245. to find the most preferred node(s)
  7246. properties:
  7247. podAffinityTerm:
  7248. description: Required. A pod affinity term,
  7249. associated with the corresponding weight.
  7250. properties:
  7251. labelSelector:
  7252. description: |-
  7253. A label query over a set of resources, in this case pods.
  7254. If it's null, this PodAffinityTerm matches with no Pods.
  7255. properties:
  7256. matchExpressions:
  7257. description: matchExpressions is
  7258. a list of label selector requirements.
  7259. The requirements are ANDed.
  7260. items:
  7261. description: |-
  7262. A label selector requirement is a selector that contains values, a key, and an operator that
  7263. relates the key and values.
  7264. properties:
  7265. key:
  7266. description: key is the label
  7267. key that the selector applies
  7268. to.
  7269. type: string
  7270. operator:
  7271. description: |-
  7272. operator represents a key's relationship to a set of values.
  7273. Valid operators are In, NotIn, Exists and DoesNotExist.
  7274. type: string
  7275. values:
  7276. description: |-
  7277. values is an array of string values. If the operator is In or NotIn,
  7278. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7279. the values array must be empty. This array is replaced during a strategic
  7280. merge patch.
  7281. items:
  7282. type: string
  7283. type: array
  7284. x-kubernetes-list-type: atomic
  7285. required:
  7286. - key
  7287. - operator
  7288. type: object
  7289. type: array
  7290. x-kubernetes-list-type: atomic
  7291. matchLabels:
  7292. additionalProperties:
  7293. type: string
  7294. description: |-
  7295. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7296. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7297. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7298. type: object
  7299. type: object
  7300. x-kubernetes-map-type: atomic
  7301. matchLabelKeys:
  7302. description: |-
  7303. MatchLabelKeys is a set of pod label keys to select which pods will
  7304. be taken into consideration. The keys are used to lookup values from the
  7305. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  7306. to select the group of existing pods which pods will be taken into consideration
  7307. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7308. pod labels will be ignored. The default value is empty.
  7309. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  7310. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  7311. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7312. items:
  7313. type: string
  7314. type: array
  7315. x-kubernetes-list-type: atomic
  7316. mismatchLabelKeys:
  7317. description: |-
  7318. MismatchLabelKeys is a set of pod label keys to select which pods will
  7319. be taken into consideration. The keys are used to lookup values from the
  7320. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  7321. to select the group of existing pods which pods will be taken into consideration
  7322. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7323. pod labels will be ignored. The default value is empty.
  7324. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  7325. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  7326. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7327. items:
  7328. type: string
  7329. type: array
  7330. x-kubernetes-list-type: atomic
  7331. namespaceSelector:
  7332. description: |-
  7333. A label query over the set of namespaces that the term applies to.
  7334. The term is applied to the union of the namespaces selected by this field
  7335. and the ones listed in the namespaces field.
  7336. null selector and null or empty namespaces list means "this pod's namespace".
  7337. An empty selector ({}) matches all namespaces.
  7338. properties:
  7339. matchExpressions:
  7340. description: matchExpressions is
  7341. a list of label selector requirements.
  7342. The requirements are ANDed.
  7343. items:
  7344. description: |-
  7345. A label selector requirement is a selector that contains values, a key, and an operator that
  7346. relates the key and values.
  7347. properties:
  7348. key:
  7349. description: key is the label
  7350. key that the selector applies
  7351. to.
  7352. type: string
  7353. operator:
  7354. description: |-
  7355. operator represents a key's relationship to a set of values.
  7356. Valid operators are In, NotIn, Exists and DoesNotExist.
  7357. type: string
  7358. values:
  7359. description: |-
  7360. values is an array of string values. If the operator is In or NotIn,
  7361. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7362. the values array must be empty. This array is replaced during a strategic
  7363. merge patch.
  7364. items:
  7365. type: string
  7366. type: array
  7367. x-kubernetes-list-type: atomic
  7368. required:
  7369. - key
  7370. - operator
  7371. type: object
  7372. type: array
  7373. x-kubernetes-list-type: atomic
  7374. matchLabels:
  7375. additionalProperties:
  7376. type: string
  7377. description: |-
  7378. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7379. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7380. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7381. type: object
  7382. type: object
  7383. x-kubernetes-map-type: atomic
  7384. namespaces:
  7385. description: |-
  7386. namespaces specifies a static list of namespace names that the term applies to.
  7387. The term is applied to the union of the namespaces listed in this field
  7388. and the ones selected by namespaceSelector.
  7389. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  7390. items:
  7391. type: string
  7392. type: array
  7393. x-kubernetes-list-type: atomic
  7394. topologyKey:
  7395. description: |-
  7396. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  7397. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  7398. whose value of the label with key topologyKey matches that of any node on which any of the
  7399. selected pods is running.
  7400. Empty topologyKey is not allowed.
  7401. type: string
  7402. required:
  7403. - topologyKey
  7404. type: object
  7405. weight:
  7406. description: |-
  7407. weight associated with matching the corresponding podAffinityTerm,
  7408. in the range 1-100.
  7409. format: int32
  7410. type: integer
  7411. required:
  7412. - podAffinityTerm
  7413. - weight
  7414. type: object
  7415. type: array
  7416. x-kubernetes-list-type: atomic
  7417. requiredDuringSchedulingIgnoredDuringExecution:
  7418. description: |-
  7419. If the affinity requirements specified by this field are not met at
  7420. scheduling time, the pod will not be scheduled onto the node.
  7421. If the affinity requirements specified by this field cease to be met
  7422. at some point during pod execution (e.g. due to a pod label update), the
  7423. system may or may not try to eventually evict the pod from its node.
  7424. When there are multiple elements, the lists of nodes corresponding to each
  7425. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  7426. items:
  7427. description: |-
  7428. Defines a set of pods (namely those matching the labelSelector
  7429. relative to the given namespace(s)) that this pod should be
  7430. co-located (affinity) or not co-located (anti-affinity) with,
  7431. where co-located is defined as running on a node whose value of
  7432. the label with key <topologyKey> matches that of any node on which
  7433. a pod of the set of pods is running
  7434. properties:
  7435. labelSelector:
  7436. description: |-
  7437. A label query over a set of resources, in this case pods.
  7438. If it's null, this PodAffinityTerm matches with no Pods.
  7439. properties:
  7440. matchExpressions:
  7441. description: matchExpressions is a list
  7442. of label selector requirements. The
  7443. requirements are ANDed.
  7444. items:
  7445. description: |-
  7446. A label selector requirement is a selector that contains values, a key, and an operator that
  7447. relates the key and values.
  7448. properties:
  7449. key:
  7450. description: key is the label
  7451. key that the selector applies
  7452. to.
  7453. type: string
  7454. operator:
  7455. description: |-
  7456. operator represents a key's relationship to a set of values.
  7457. Valid operators are In, NotIn, Exists and DoesNotExist.
  7458. type: string
  7459. values:
  7460. description: |-
  7461. values is an array of string values. If the operator is In or NotIn,
  7462. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7463. the values array must be empty. This array is replaced during a strategic
  7464. merge patch.
  7465. items:
  7466. type: string
  7467. type: array
  7468. x-kubernetes-list-type: atomic
  7469. required:
  7470. - key
  7471. - operator
  7472. type: object
  7473. type: array
  7474. x-kubernetes-list-type: atomic
  7475. matchLabels:
  7476. additionalProperties:
  7477. type: string
  7478. description: |-
  7479. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7480. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7481. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7482. type: object
  7483. type: object
  7484. x-kubernetes-map-type: atomic
  7485. matchLabelKeys:
  7486. description: |-
  7487. MatchLabelKeys is a set of pod label keys to select which pods will
  7488. be taken into consideration. The keys are used to lookup values from the
  7489. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  7490. to select the group of existing pods which pods will be taken into consideration
  7491. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7492. pod labels will be ignored. The default value is empty.
  7493. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  7494. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  7495. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7496. items:
  7497. type: string
  7498. type: array
  7499. x-kubernetes-list-type: atomic
  7500. mismatchLabelKeys:
  7501. description: |-
  7502. MismatchLabelKeys is a set of pod label keys to select which pods will
  7503. be taken into consideration. The keys are used to lookup values from the
  7504. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  7505. to select the group of existing pods which pods will be taken into consideration
  7506. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7507. pod labels will be ignored. The default value is empty.
  7508. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  7509. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  7510. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7511. items:
  7512. type: string
  7513. type: array
  7514. x-kubernetes-list-type: atomic
  7515. namespaceSelector:
  7516. description: |-
  7517. A label query over the set of namespaces that the term applies to.
  7518. The term is applied to the union of the namespaces selected by this field
  7519. and the ones listed in the namespaces field.
  7520. null selector and null or empty namespaces list means "this pod's namespace".
  7521. An empty selector ({}) matches all namespaces.
  7522. properties:
  7523. matchExpressions:
  7524. description: matchExpressions is a list
  7525. of label selector requirements. The
  7526. requirements are ANDed.
  7527. items:
  7528. description: |-
  7529. A label selector requirement is a selector that contains values, a key, and an operator that
  7530. relates the key and values.
  7531. properties:
  7532. key:
  7533. description: key is the label
  7534. key that the selector applies
  7535. to.
  7536. type: string
  7537. operator:
  7538. description: |-
  7539. operator represents a key's relationship to a set of values.
  7540. Valid operators are In, NotIn, Exists and DoesNotExist.
  7541. type: string
  7542. values:
  7543. description: |-
  7544. values is an array of string values. If the operator is In or NotIn,
  7545. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7546. the values array must be empty. This array is replaced during a strategic
  7547. merge patch.
  7548. items:
  7549. type: string
  7550. type: array
  7551. x-kubernetes-list-type: atomic
  7552. required:
  7553. - key
  7554. - operator
  7555. type: object
  7556. type: array
  7557. x-kubernetes-list-type: atomic
  7558. matchLabels:
  7559. additionalProperties:
  7560. type: string
  7561. description: |-
  7562. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7563. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7564. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7565. type: object
  7566. type: object
  7567. x-kubernetes-map-type: atomic
  7568. namespaces:
  7569. description: |-
  7570. namespaces specifies a static list of namespace names that the term applies to.
  7571. The term is applied to the union of the namespaces listed in this field
  7572. and the ones selected by namespaceSelector.
  7573. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  7574. items:
  7575. type: string
  7576. type: array
  7577. x-kubernetes-list-type: atomic
  7578. topologyKey:
  7579. description: |-
  7580. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  7581. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  7582. whose value of the label with key topologyKey matches that of any node on which any of the
  7583. selected pods is running.
  7584. Empty topologyKey is not allowed.
  7585. type: string
  7586. required:
  7587. - topologyKey
  7588. type: object
  7589. type: array
  7590. x-kubernetes-list-type: atomic
  7591. type: object
  7592. podAntiAffinity:
  7593. description: Describes pod anti-affinity scheduling
  7594. rules (e.g. avoid putting this pod in the same node,
  7595. zone, etc. as some other pod(s)).
  7596. properties:
  7597. preferredDuringSchedulingIgnoredDuringExecution:
  7598. description: |-
  7599. The scheduler will prefer to schedule pods to nodes that satisfy
  7600. the anti-affinity expressions specified by this field, but it may choose
  7601. a node that violates one or more of the expressions. The node that is
  7602. most preferred is the one with the greatest sum of weights, i.e.
  7603. for each node that meets all of the scheduling requirements (resource
  7604. request, requiredDuringScheduling anti-affinity expressions, etc.),
  7605. compute a sum by iterating through the elements of this field and adding
  7606. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  7607. node(s) with the highest sum are the most preferred.
  7608. items:
  7609. description: The weights of all of the matched
  7610. WeightedPodAffinityTerm fields are added per-node
  7611. to find the most preferred node(s)
  7612. properties:
  7613. podAffinityTerm:
  7614. description: Required. A pod affinity term,
  7615. associated with the corresponding weight.
  7616. properties:
  7617. labelSelector:
  7618. description: |-
  7619. A label query over a set of resources, in this case pods.
  7620. If it's null, this PodAffinityTerm matches with no Pods.
  7621. properties:
  7622. matchExpressions:
  7623. description: matchExpressions is
  7624. a list of label selector requirements.
  7625. The requirements are ANDed.
  7626. items:
  7627. description: |-
  7628. A label selector requirement is a selector that contains values, a key, and an operator that
  7629. relates the key and values.
  7630. properties:
  7631. key:
  7632. description: key is the label
  7633. key that the selector applies
  7634. to.
  7635. type: string
  7636. operator:
  7637. description: |-
  7638. operator represents a key's relationship to a set of values.
  7639. Valid operators are In, NotIn, Exists and DoesNotExist.
  7640. type: string
  7641. values:
  7642. description: |-
  7643. values is an array of string values. If the operator is In or NotIn,
  7644. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7645. the values array must be empty. This array is replaced during a strategic
  7646. merge patch.
  7647. items:
  7648. type: string
  7649. type: array
  7650. x-kubernetes-list-type: atomic
  7651. required:
  7652. - key
  7653. - operator
  7654. type: object
  7655. type: array
  7656. x-kubernetes-list-type: atomic
  7657. matchLabels:
  7658. additionalProperties:
  7659. type: string
  7660. description: |-
  7661. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7662. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7663. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7664. type: object
  7665. type: object
  7666. x-kubernetes-map-type: atomic
  7667. matchLabelKeys:
  7668. description: |-
  7669. MatchLabelKeys is a set of pod label keys to select which pods will
  7670. be taken into consideration. The keys are used to lookup values from the
  7671. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  7672. to select the group of existing pods which pods will be taken into consideration
  7673. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7674. pod labels will be ignored. The default value is empty.
  7675. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  7676. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  7677. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7678. items:
  7679. type: string
  7680. type: array
  7681. x-kubernetes-list-type: atomic
  7682. mismatchLabelKeys:
  7683. description: |-
  7684. MismatchLabelKeys is a set of pod label keys to select which pods will
  7685. be taken into consideration. The keys are used to lookup values from the
  7686. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  7687. to select the group of existing pods which pods will be taken into consideration
  7688. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7689. pod labels will be ignored. The default value is empty.
  7690. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  7691. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  7692. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7693. items:
  7694. type: string
  7695. type: array
  7696. x-kubernetes-list-type: atomic
  7697. namespaceSelector:
  7698. description: |-
  7699. A label query over the set of namespaces that the term applies to.
  7700. The term is applied to the union of the namespaces selected by this field
  7701. and the ones listed in the namespaces field.
  7702. null selector and null or empty namespaces list means "this pod's namespace".
  7703. An empty selector ({}) matches all namespaces.
  7704. properties:
  7705. matchExpressions:
  7706. description: matchExpressions is
  7707. a list of label selector requirements.
  7708. The requirements are ANDed.
  7709. items:
  7710. description: |-
  7711. A label selector requirement is a selector that contains values, a key, and an operator that
  7712. relates the key and values.
  7713. properties:
  7714. key:
  7715. description: key is the label
  7716. key that the selector applies
  7717. to.
  7718. type: string
  7719. operator:
  7720. description: |-
  7721. operator represents a key's relationship to a set of values.
  7722. Valid operators are In, NotIn, Exists and DoesNotExist.
  7723. type: string
  7724. values:
  7725. description: |-
  7726. values is an array of string values. If the operator is In or NotIn,
  7727. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7728. the values array must be empty. This array is replaced during a strategic
  7729. merge patch.
  7730. items:
  7731. type: string
  7732. type: array
  7733. x-kubernetes-list-type: atomic
  7734. required:
  7735. - key
  7736. - operator
  7737. type: object
  7738. type: array
  7739. x-kubernetes-list-type: atomic
  7740. matchLabels:
  7741. additionalProperties:
  7742. type: string
  7743. description: |-
  7744. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7745. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7746. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7747. type: object
  7748. type: object
  7749. x-kubernetes-map-type: atomic
  7750. namespaces:
  7751. description: |-
  7752. namespaces specifies a static list of namespace names that the term applies to.
  7753. The term is applied to the union of the namespaces listed in this field
  7754. and the ones selected by namespaceSelector.
  7755. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  7756. items:
  7757. type: string
  7758. type: array
  7759. x-kubernetes-list-type: atomic
  7760. topologyKey:
  7761. description: |-
  7762. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  7763. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  7764. whose value of the label with key topologyKey matches that of any node on which any of the
  7765. selected pods is running.
  7766. Empty topologyKey is not allowed.
  7767. type: string
  7768. required:
  7769. - topologyKey
  7770. type: object
  7771. weight:
  7772. description: |-
  7773. weight associated with matching the corresponding podAffinityTerm,
  7774. in the range 1-100.
  7775. format: int32
  7776. type: integer
  7777. required:
  7778. - podAffinityTerm
  7779. - weight
  7780. type: object
  7781. type: array
  7782. x-kubernetes-list-type: atomic
  7783. requiredDuringSchedulingIgnoredDuringExecution:
  7784. description: |-
  7785. If the anti-affinity requirements specified by this field are not met at
  7786. scheduling time, the pod will not be scheduled onto the node.
  7787. If the anti-affinity requirements specified by this field cease to be met
  7788. at some point during pod execution (e.g. due to a pod label update), the
  7789. system may or may not try to eventually evict the pod from its node.
  7790. When there are multiple elements, the lists of nodes corresponding to each
  7791. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  7792. items:
  7793. description: |-
  7794. Defines a set of pods (namely those matching the labelSelector
  7795. relative to the given namespace(s)) that this pod should be
  7796. co-located (affinity) or not co-located (anti-affinity) with,
  7797. where co-located is defined as running on a node whose value of
  7798. the label with key <topologyKey> matches that of any node on which
  7799. a pod of the set of pods is running
  7800. properties:
  7801. labelSelector:
  7802. description: |-
  7803. A label query over a set of resources, in this case pods.
  7804. If it's null, this PodAffinityTerm matches with no Pods.
  7805. properties:
  7806. matchExpressions:
  7807. description: matchExpressions is a list
  7808. of label selector requirements. The
  7809. requirements are ANDed.
  7810. items:
  7811. description: |-
  7812. A label selector requirement is a selector that contains values, a key, and an operator that
  7813. relates the key and values.
  7814. properties:
  7815. key:
  7816. description: key is the label
  7817. key that the selector applies
  7818. to.
  7819. type: string
  7820. operator:
  7821. description: |-
  7822. operator represents a key's relationship to a set of values.
  7823. Valid operators are In, NotIn, Exists and DoesNotExist.
  7824. type: string
  7825. values:
  7826. description: |-
  7827. values is an array of string values. If the operator is In or NotIn,
  7828. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7829. the values array must be empty. This array is replaced during a strategic
  7830. merge patch.
  7831. items:
  7832. type: string
  7833. type: array
  7834. x-kubernetes-list-type: atomic
  7835. required:
  7836. - key
  7837. - operator
  7838. type: object
  7839. type: array
  7840. x-kubernetes-list-type: atomic
  7841. matchLabels:
  7842. additionalProperties:
  7843. type: string
  7844. description: |-
  7845. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7846. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7847. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7848. type: object
  7849. type: object
  7850. x-kubernetes-map-type: atomic
  7851. matchLabelKeys:
  7852. description: |-
  7853. MatchLabelKeys is a set of pod label keys to select which pods will
  7854. be taken into consideration. The keys are used to lookup values from the
  7855. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  7856. to select the group of existing pods which pods will be taken into consideration
  7857. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7858. pod labels will be ignored. The default value is empty.
  7859. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  7860. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  7861. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7862. items:
  7863. type: string
  7864. type: array
  7865. x-kubernetes-list-type: atomic
  7866. mismatchLabelKeys:
  7867. description: |-
  7868. MismatchLabelKeys is a set of pod label keys to select which pods will
  7869. be taken into consideration. The keys are used to lookup values from the
  7870. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  7871. to select the group of existing pods which pods will be taken into consideration
  7872. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  7873. pod labels will be ignored. The default value is empty.
  7874. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  7875. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  7876. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  7877. items:
  7878. type: string
  7879. type: array
  7880. x-kubernetes-list-type: atomic
  7881. namespaceSelector:
  7882. description: |-
  7883. A label query over the set of namespaces that the term applies to.
  7884. The term is applied to the union of the namespaces selected by this field
  7885. and the ones listed in the namespaces field.
  7886. null selector and null or empty namespaces list means "this pod's namespace".
  7887. An empty selector ({}) matches all namespaces.
  7888. properties:
  7889. matchExpressions:
  7890. description: matchExpressions is a list
  7891. of label selector requirements. The
  7892. requirements are ANDed.
  7893. items:
  7894. description: |-
  7895. A label selector requirement is a selector that contains values, a key, and an operator that
  7896. relates the key and values.
  7897. properties:
  7898. key:
  7899. description: key is the label
  7900. key that the selector applies
  7901. to.
  7902. type: string
  7903. operator:
  7904. description: |-
  7905. operator represents a key's relationship to a set of values.
  7906. Valid operators are In, NotIn, Exists and DoesNotExist.
  7907. type: string
  7908. values:
  7909. description: |-
  7910. values is an array of string values. If the operator is In or NotIn,
  7911. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  7912. the values array must be empty. This array is replaced during a strategic
  7913. merge patch.
  7914. items:
  7915. type: string
  7916. type: array
  7917. x-kubernetes-list-type: atomic
  7918. required:
  7919. - key
  7920. - operator
  7921. type: object
  7922. type: array
  7923. x-kubernetes-list-type: atomic
  7924. matchLabels:
  7925. additionalProperties:
  7926. type: string
  7927. description: |-
  7928. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  7929. map is equivalent to an element of matchExpressions, whose key field is "key", the
  7930. operator is "In", and the values array contains only "value". The requirements are ANDed.
  7931. type: object
  7932. type: object
  7933. x-kubernetes-map-type: atomic
  7934. namespaces:
  7935. description: |-
  7936. namespaces specifies a static list of namespace names that the term applies to.
  7937. The term is applied to the union of the namespaces listed in this field
  7938. and the ones selected by namespaceSelector.
  7939. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  7940. items:
  7941. type: string
  7942. type: array
  7943. x-kubernetes-list-type: atomic
  7944. topologyKey:
  7945. description: |-
  7946. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  7947. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  7948. whose value of the label with key topologyKey matches that of any node on which any of the
  7949. selected pods is running.
  7950. Empty topologyKey is not allowed.
  7951. type: string
  7952. required:
  7953. - topologyKey
  7954. type: object
  7955. type: array
  7956. x-kubernetes-list-type: atomic
  7957. type: object
  7958. type: object
  7959. nodeSelector:
  7960. additionalProperties:
  7961. type: string
  7962. description: nodeSelector pins pods to nodes that match
  7963. all the specified labels.
  7964. type: object
  7965. resources:
  7966. description: resources sets per-container resource requests
  7967. and limits.
  7968. properties:
  7969. claims:
  7970. description: |-
  7971. Claims lists the names of resources, defined in spec.resourceClaims,
  7972. that are used by this container.
  7973. This is an alpha field and requires enabling the
  7974. DynamicResourceAllocation feature gate.
  7975. This field is immutable. It can only be set for containers.
  7976. items:
  7977. description: ResourceClaim references one entry
  7978. in PodSpec.ResourceClaims.
  7979. properties:
  7980. name:
  7981. description: |-
  7982. Name must match the name of one entry in pod.spec.resourceClaims of
  7983. the Pod where this field is used. It makes that resource available
  7984. inside a container.
  7985. type: string
  7986. required:
  7987. - name
  7988. type: object
  7989. type: array
  7990. x-kubernetes-list-map-keys:
  7991. - name
  7992. x-kubernetes-list-type: map
  7993. limits:
  7994. additionalProperties:
  7995. anyOf:
  7996. - type: integer
  7997. - type: string
  7998. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  7999. x-kubernetes-int-or-string: true
  8000. description: |-
  8001. Limits describes the maximum amount of compute resources allowed.
  8002. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  8003. type: object
  8004. requests:
  8005. additionalProperties:
  8006. anyOf:
  8007. - type: integer
  8008. - type: string
  8009. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  8010. x-kubernetes-int-or-string: true
  8011. description: |-
  8012. Requests describes the minimum amount of compute resources required.
  8013. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  8014. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  8015. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  8016. type: object
  8017. type: object
  8018. runtime:
  8019. description: runtime describes the container runtime to
  8020. use for the workload.
  8021. properties:
  8022. args:
  8023. description: args specifies or overrides the preset's
  8024. container command.
  8025. items:
  8026. type: string
  8027. type: array
  8028. command:
  8029. description: command specifies or overrides the preset's
  8030. container entrypoint.
  8031. items:
  8032. type: string
  8033. type: array
  8034. conditionalArgs:
  8035. description: conditionalArgs are appended to the preset
  8036. command conditionally.
  8037. items:
  8038. properties:
  8039. args:
  8040. description: args are appended to the preset
  8041. args.
  8042. items:
  8043. type: string
  8044. type: array
  8045. when:
  8046. description: when the value is not empty after
  8047. variable substitution, the args are appended
  8048. to the preset args.
  8049. type: string
  8050. required:
  8051. - args
  8052. - when
  8053. type: object
  8054. type: array
  8055. env:
  8056. description: env holds environment variables injected
  8057. into the container.
  8058. items:
  8059. description: EnvVar represents an environment variable
  8060. present in a Container.
  8061. properties:
  8062. name:
  8063. description: Name of the environment variable.
  8064. Must be a C_IDENTIFIER.
  8065. type: string
  8066. value:
  8067. description: |-
  8068. Variable references $(VAR_NAME) are expanded
  8069. using the previously defined environment variables in the container and
  8070. any service environment variables. If a variable cannot be resolved,
  8071. the reference in the input string will be unchanged. Double $$ are reduced
  8072. to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
  8073. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
  8074. Escaped references will never be expanded, regardless of whether the variable
  8075. exists or not.
  8076. Defaults to "".
  8077. type: string
  8078. valueFrom:
  8079. description: Source for the environment variable's
  8080. value. Cannot be used if value is not empty.
  8081. properties:
  8082. configMapKeyRef:
  8083. description: Selects a key of a ConfigMap.
  8084. properties:
  8085. key:
  8086. description: The key to select.
  8087. type: string
  8088. name:
  8089. default: ""
  8090. description: |-
  8091. Name of the referent.
  8092. This field is effectively required, but due to backwards compatibility is
  8093. allowed to be empty. Instances of this type with an empty value here are
  8094. almost certainly wrong.
  8095. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  8096. type: string
  8097. optional:
  8098. description: Specify whether the ConfigMap
  8099. or its key must be defined
  8100. type: boolean
  8101. required:
  8102. - key
  8103. type: object
  8104. x-kubernetes-map-type: atomic
  8105. fieldRef:
  8106. description: |-
  8107. Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
  8108. spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
  8109. properties:
  8110. apiVersion:
  8111. description: Version of the schema the
  8112. FieldPath is written in terms of,
  8113. defaults to "v1".
  8114. type: string
  8115. fieldPath:
  8116. description: Path of the field to select
  8117. in the specified API version.
  8118. type: string
  8119. required:
  8120. - fieldPath
  8121. type: object
  8122. x-kubernetes-map-type: atomic
  8123. resourceFieldRef:
  8124. description: |-
  8125. Selects a resource of the container: only resources limits and requests
  8126. (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
  8127. properties:
  8128. containerName:
  8129. description: 'Container name: required
  8130. for volumes, optional for env vars'
  8131. type: string
  8132. divisor:
  8133. anyOf:
  8134. - type: integer
  8135. - type: string
  8136. description: Specifies the output format
  8137. of the exposed resources, defaults
  8138. to "1"
  8139. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  8140. x-kubernetes-int-or-string: true
  8141. resource:
  8142. description: 'Required: resource to
  8143. select'
  8144. type: string
  8145. required:
  8146. - resource
  8147. type: object
  8148. x-kubernetes-map-type: atomic
  8149. secretKeyRef:
  8150. description: Selects a key of a secret in
  8151. the pod's namespace
  8152. properties:
  8153. key:
  8154. description: The key of the secret to
  8155. select from. Must be a valid secret
  8156. key.
  8157. type: string
  8158. name:
  8159. default: ""
  8160. description: |-
  8161. Name of the referent.
  8162. This field is effectively required, but due to backwards compatibility is
  8163. allowed to be empty. Instances of this type with an empty value here are
  8164. almost certainly wrong.
  8165. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  8166. type: string
  8167. optional:
  8168. description: Specify whether the Secret
  8169. or its key must be defined
  8170. type: boolean
  8171. required:
  8172. - key
  8173. type: object
  8174. x-kubernetes-map-type: atomic
  8175. type: object
  8176. required:
  8177. - name
  8178. type: object
  8179. type: array
  8180. envFrom:
  8181. description: envFrom references ConfigMaps or Secrets
  8182. whose key-value pairs are injected as environment
  8183. variables.
  8184. items:
  8185. description: EnvFromSource represents the source
  8186. of a set of ConfigMaps
  8187. properties:
  8188. configMapRef:
  8189. description: The ConfigMap to select from
  8190. properties:
  8191. name:
  8192. default: ""
  8193. description: |-
  8194. Name of the referent.
  8195. This field is effectively required, but due to backwards compatibility is
  8196. allowed to be empty. Instances of this type with an empty value here are
  8197. almost certainly wrong.
  8198. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  8199. type: string
  8200. optional:
  8201. description: Specify whether the ConfigMap
  8202. must be defined
  8203. type: boolean
  8204. type: object
  8205. x-kubernetes-map-type: atomic
  8206. prefix:
  8207. description: An optional identifier to prepend
  8208. to each key in the ConfigMap. Must be a C_IDENTIFIER.
  8209. type: string
  8210. secretRef:
  8211. description: The Secret to select from
  8212. properties:
  8213. name:
  8214. default: ""
  8215. description: |-
  8216. Name of the referent.
  8217. This field is effectively required, but due to backwards compatibility is
  8218. allowed to be empty. Instances of this type with an empty value here are
  8219. almost certainly wrong.
  8220. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  8221. type: string
  8222. optional:
  8223. description: Specify whether the Secret
  8224. must be defined
  8225. type: boolean
  8226. type: object
  8227. x-kubernetes-map-type: atomic
  8228. type: object
  8229. type: array
  8230. extraArgs:
  8231. description: extraArgs are appended to the preset
  8232. command.
  8233. items:
  8234. type: string
  8235. type: array
  8236. image:
  8237. description: |-
  8238. image specifies or overrides the preset's container image, e.g. to pin a specific tag
  8239. or pull from a private registry mirror.
  8240. type: string
  8241. name:
  8242. description: name selects a built-in runtime preset.
  8243. type: string
  8244. port:
  8245. description: port specifies or overrides the container
  8246. port the runtime listens on.
  8247. format: int32
  8248. type: integer
  8249. volumeMounts:
  8250. description: volumeMounts defines where pod volumes
  8251. are mounted inside the container.
  8252. items:
  8253. description: VolumeMount describes a mounting of
  8254. a Volume within a container.
  8255. properties:
  8256. mountPath:
  8257. description: |-
  8258. Path within the container at which the volume should be mounted. Must
  8259. not contain ':'.
  8260. type: string
  8261. mountPropagation:
  8262. description: |-
  8263. mountPropagation determines how mounts are propagated from the host
  8264. to container and the other way around.
  8265. When not set, MountPropagationNone is used.
  8266. This field is beta in 1.10.
  8267. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
  8268. (which defaults to None).
  8269. type: string
  8270. name:
  8271. description: This must match the Name of a Volume.
  8272. type: string
  8273. readOnly:
  8274. description: |-
  8275. Mounted read-only if true, read-write otherwise (false or unspecified).
  8276. Defaults to false.
  8277. type: boolean
  8278. recursiveReadOnly:
  8279. description: |-
  8280. RecursiveReadOnly specifies whether read-only mounts should be handled
  8281. recursively.
  8282. If ReadOnly is false, this field has no meaning and must be unspecified.
  8283. If ReadOnly is true, and this field is set to Disabled, the mount is not made
  8284. recursively read-only. If this field is set to IfPossible, the mount is made
  8285. recursively read-only, if it is supported by the container runtime. If this
  8286. field is set to Enabled, the mount is made recursively read-only if it is
  8287. supported by the container runtime, otherwise the pod will not be started and
  8288. an error will be generated to indicate the reason.
  8289. If this field is set to IfPossible or Enabled, MountPropagation must be set to
  8290. None (or be unspecified, which defaults to None).
  8291. If this field is not specified, it is treated as an equivalent of Disabled.
  8292. type: string
  8293. subPath:
  8294. description: |-
  8295. Path within the volume from which the container's volume should be mounted.
  8296. Defaults to "" (volume's root).
  8297. type: string
  8298. subPathExpr:
  8299. description: |-
  8300. Expanded path within the volume from which the container's volume should be mounted.
  8301. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
  8302. Defaults to "" (volume's root).
  8303. SubPathExpr and SubPath are mutually exclusive.
  8304. type: string
  8305. required:
  8306. - mountPath
  8307. - name
  8308. type: object
  8309. type: array
  8310. type: object
  8311. securityContext:
  8312. description: |-
  8313. securityContext sets pod-level security attributes such as runAsUser,
  8314. runAsGroup, fsGroup, and sysctls.
  8315. properties:
  8316. appArmorProfile:
  8317. description: |-
  8318. appArmorProfile is the AppArmor options to use by the containers in this pod.
  8319. Note that this field cannot be set when spec.os.name is windows.
  8320. properties:
  8321. localhostProfile:
  8322. description: |-
  8323. localhostProfile indicates a profile loaded on the node that should be used.
  8324. The profile must be preconfigured on the node to work.
  8325. Must match the loaded name of the profile.
  8326. Must be set if and only if type is "Localhost".
  8327. type: string
  8328. type:
  8329. description: |-
  8330. type indicates which kind of AppArmor profile will be applied.
  8331. Valid options are:
  8332. Localhost - a profile pre-loaded on the node.
  8333. RuntimeDefault - the container runtime's default profile.
  8334. Unconfined - no AppArmor enforcement.
  8335. type: string
  8336. required:
  8337. - type
  8338. type: object
  8339. fsGroup:
  8340. description: |-
  8341. A special supplemental group that applies to all containers in a pod.
  8342. Some volume types allow the Kubelet to change the ownership of that volume
  8343. to be owned by the pod:
  8344. 1. The owning GID will be the FSGroup
  8345. 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
  8346. 3. The permission bits are OR'd with rw-rw----
  8347. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  8348. Note that this field cannot be set when spec.os.name is windows.
  8349. format: int64
  8350. type: integer
  8351. fsGroupChangePolicy:
  8352. description: |-
  8353. fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
  8354. before being exposed inside Pod. This field will only apply to
  8355. volume types which support fsGroup based ownership(and permissions).
  8356. It will have no effect on ephemeral volume types such as: secret, configmaps
  8357. and emptydir.
  8358. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
  8359. Note that this field cannot be set when spec.os.name is windows.
  8360. type: string
  8361. runAsGroup:
  8362. description: |-
  8363. The GID to run the entrypoint of the container process.
  8364. Uses runtime default if unset.
  8365. May also be set in SecurityContext. If set in both SecurityContext and
  8366. PodSecurityContext, the value specified in SecurityContext takes precedence
  8367. for that container.
  8368. Note that this field cannot be set when spec.os.name is windows.
  8369. format: int64
  8370. type: integer
  8371. runAsNonRoot:
  8372. description: |-
  8373. Indicates that the container must run as a non-root user.
  8374. If true, the Kubelet will validate the image at runtime to ensure that it
  8375. does not run as UID 0 (root) and fail to start the container if it does.
  8376. If unset or false, no such validation will be performed.
  8377. May also be set in SecurityContext. If set in both SecurityContext and
  8378. PodSecurityContext, the value specified in SecurityContext takes precedence.
  8379. type: boolean
  8380. runAsUser:
  8381. description: |-
  8382. The UID to run the entrypoint of the container process.
  8383. Defaults to user specified in image metadata if unspecified.
  8384. May also be set in SecurityContext. If set in both SecurityContext and
  8385. PodSecurityContext, the value specified in SecurityContext takes precedence
  8386. for that container.
  8387. Note that this field cannot be set when spec.os.name is windows.
  8388. format: int64
  8389. type: integer
  8390. seLinuxOptions:
  8391. description: |-
  8392. The SELinux context to be applied to all containers.
  8393. If unspecified, the container runtime will allocate a random SELinux context for each
  8394. container. May also be set in SecurityContext. If set in
  8395. both SecurityContext and PodSecurityContext, the value specified in SecurityContext
  8396. takes precedence for that container.
  8397. Note that this field cannot be set when spec.os.name is windows.
  8398. properties:
  8399. level:
  8400. description: Level is SELinux level label that
  8401. applies to the container.
  8402. type: string
  8403. role:
  8404. description: Role is a SELinux role label that
  8405. applies to the container.
  8406. type: string
  8407. type:
  8408. description: Type is a SELinux type label that
  8409. applies to the container.
  8410. type: string
  8411. user:
  8412. description: User is a SELinux user label that
  8413. applies to the container.
  8414. type: string
  8415. type: object
  8416. seccompProfile:
  8417. description: |-
  8418. The seccomp options to use by the containers in this pod.
  8419. Note that this field cannot be set when spec.os.name is windows.
  8420. properties:
  8421. localhostProfile:
  8422. description: |-
  8423. localhostProfile indicates a profile defined in a file on the node should be used.
  8424. The profile must be preconfigured on the node to work.
  8425. Must be a descending path, relative to the kubelet's configured seccomp profile location.
  8426. Must be set if type is "Localhost". Must NOT be set for any other type.
  8427. type: string
  8428. type:
  8429. description: |-
  8430. type indicates which kind of seccomp profile will be applied.
  8431. Valid options are:
  8432. Localhost - a profile defined in a file on the node should be used.
  8433. RuntimeDefault - the container runtime default profile should be used.
  8434. Unconfined - no profile should be applied.
  8435. type: string
  8436. required:
  8437. - type
  8438. type: object
  8439. supplementalGroups:
  8440. description: |-
  8441. A list of groups applied to the first process run in each container, in addition
  8442. to the container's primary GID, the fsGroup (if specified), and group memberships
  8443. defined in the container image for the uid of the container process. If unspecified,
  8444. no additional groups are added to any container. Note that group memberships
  8445. defined in the container image for the uid of the container process are still effective,
  8446. even if they are not included in this list.
  8447. Note that this field cannot be set when spec.os.name is windows.
  8448. items:
  8449. format: int64
  8450. type: integer
  8451. type: array
  8452. x-kubernetes-list-type: atomic
  8453. sysctls:
  8454. description: |-
  8455. Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
  8456. sysctls (by the container runtime) might fail to launch.
  8457. Note that this field cannot be set when spec.os.name is windows.
  8458. items:
  8459. description: Sysctl defines a kernel parameter to
  8460. be set
  8461. properties:
  8462. name:
  8463. description: Name of a property to set
  8464. type: string
  8465. value:
  8466. description: Value of a property to set
  8467. type: string
  8468. required:
  8469. - name
  8470. - value
  8471. type: object
  8472. type: array
  8473. x-kubernetes-list-type: atomic
  8474. windowsOptions:
  8475. description: |-
  8476. The Windows specific settings applied to all containers.
  8477. If unspecified, the options within a container's SecurityContext will be used.
  8478. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
  8479. Note that this field cannot be set when spec.os.name is linux.
  8480. properties:
  8481. gmsaCredentialSpec:
  8482. description: |-
  8483. GMSACredentialSpec is where the GMSA admission webhook
  8484. (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
  8485. GMSA credential spec named by the GMSACredentialSpecName field.
  8486. type: string
  8487. gmsaCredentialSpecName:
  8488. description: GMSACredentialSpecName is the name
  8489. of the GMSA credential spec to use.
  8490. type: string
  8491. hostProcess:
  8492. description: |-
  8493. HostProcess determines if a container should be run as a 'Host Process' container.
  8494. All of a Pod's containers must have the same effective HostProcess value
  8495. (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
  8496. In addition, if HostProcess is true then HostNetwork must also be set to true.
  8497. type: boolean
  8498. runAsUserName:
  8499. description: |-
  8500. The UserName in Windows to run the entrypoint of the container process.
  8501. Defaults to the user specified in image metadata if unspecified.
  8502. May also be set in PodSecurityContext. If set in both SecurityContext and
  8503. PodSecurityContext, the value specified in SecurityContext takes precedence.
  8504. type: string
  8505. type: object
  8506. type: object
  8507. tolerations:
  8508. description: tolerations allow pods to be scheduled onto
  8509. nodes with matching taints.
  8510. items:
  8511. description: |-
  8512. The pod this Toleration is attached to tolerates any taint that matches
  8513. the triple <key,value,effect> using the matching operator <operator>.
  8514. properties:
  8515. effect:
  8516. description: |-
  8517. Effect indicates the taint effect to match. Empty means match all taint effects.
  8518. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
  8519. type: string
  8520. key:
  8521. description: |-
  8522. Key is the taint key that the toleration applies to. Empty means match all taint keys.
  8523. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
  8524. type: string
  8525. operator:
  8526. description: |-
  8527. Operator represents a key's relationship to the value.
  8528. Valid operators are Exists and Equal. Defaults to Equal.
  8529. Exists is equivalent to wildcard for value, so that a pod can
  8530. tolerate all taints of a particular category.
  8531. type: string
  8532. tolerationSeconds:
  8533. description: |-
  8534. TolerationSeconds represents the period of time the toleration (which must be
  8535. of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
  8536. it is not set, which means tolerate the taint forever (do not evict). Zero and
  8537. negative values will be treated as 0 (evict immediately) by the system.
  8538. format: int64
  8539. type: integer
  8540. value:
  8541. description: |-
  8542. Value is the taint value the toleration matches to.
  8543. If the operator is Exists, the value should be empty, otherwise just a regular string.
  8544. type: string
  8545. type: object
  8546. type: array
  8547. topologySpreadConstraints:
  8548. description: |-
  8549. topologySpreadConstraints controls how pods are spread across failure
  8550. domains (zones, nodes). Prefer this over pod anti-affinity for HA spread.
  8551. items:
  8552. description: TopologySpreadConstraint specifies how
  8553. to spread matching pods among the given topology.
  8554. properties:
  8555. labelSelector:
  8556. description: |-
  8557. LabelSelector is used to find matching pods.
  8558. Pods that match this label selector are counted to determine the number of pods
  8559. in their corresponding topology domain.
  8560. properties:
  8561. matchExpressions:
  8562. description: matchExpressions is a list of label
  8563. selector requirements. The requirements are
  8564. ANDed.
  8565. items:
  8566. description: |-
  8567. A label selector requirement is a selector that contains values, a key, and an operator that
  8568. relates the key and values.
  8569. properties:
  8570. key:
  8571. description: key is the label key that
  8572. the selector applies to.
  8573. type: string
  8574. operator:
  8575. description: |-
  8576. operator represents a key's relationship to a set of values.
  8577. Valid operators are In, NotIn, Exists and DoesNotExist.
  8578. type: string
  8579. values:
  8580. description: |-
  8581. values is an array of string values. If the operator is In or NotIn,
  8582. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  8583. the values array must be empty. This array is replaced during a strategic
  8584. merge patch.
  8585. items:
  8586. type: string
  8587. type: array
  8588. x-kubernetes-list-type: atomic
  8589. required:
  8590. - key
  8591. - operator
  8592. type: object
  8593. type: array
  8594. x-kubernetes-list-type: atomic
  8595. matchLabels:
  8596. additionalProperties:
  8597. type: string
  8598. description: |-
  8599. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  8600. map is equivalent to an element of matchExpressions, whose key field is "key", the
  8601. operator is "In", and the values array contains only "value". The requirements are ANDed.
  8602. type: object
  8603. type: object
  8604. x-kubernetes-map-type: atomic
  8605. matchLabelKeys:
  8606. description: |-
  8607. MatchLabelKeys is a set of pod label keys to select the pods over which
  8608. spreading will be calculated. The keys are used to lookup values from the
  8609. incoming pod labels, those key-value labels are ANDed with labelSelector
  8610. to select the group of existing pods over which spreading will be calculated
  8611. for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
  8612. MatchLabelKeys cannot be set when LabelSelector isn't set.
  8613. Keys that don't exist in the incoming pod labels will
  8614. be ignored. A null or empty list means only match against labelSelector.
  8615. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
  8616. items:
  8617. type: string
  8618. type: array
  8619. x-kubernetes-list-type: atomic
  8620. maxSkew:
  8621. description: |-
  8622. MaxSkew describes the degree to which pods may be unevenly distributed.
  8623. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
  8624. between the number of matching pods in the target topology and the global minimum.
  8625. The global minimum is the minimum number of matching pods in an eligible domain
  8626. or zero if the number of eligible domains is less than MinDomains.
  8627. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  8628. labelSelector spread as 2/2/1:
  8629. In this case, the global minimum is 1.
  8630. | zone1 | zone2 | zone3 |
  8631. | P P | P P | P |
  8632. - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
  8633. scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
  8634. violate MaxSkew(1).
  8635. - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
  8636. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
  8637. to topologies that satisfy it.
  8638. It's a required field. Default value is 1 and 0 is not allowed.
  8639. format: int32
  8640. type: integer
  8641. minDomains:
  8642. description: |-
  8643. MinDomains indicates a minimum number of eligible domains.
  8644. When the number of eligible domains with matching topology keys is less than minDomains,
  8645. Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
  8646. And when the number of eligible domains with matching topology keys equals or greater than minDomains,
  8647. this value has no effect on scheduling.
  8648. As a result, when the number of eligible domains is less than minDomains,
  8649. scheduler won't schedule more than maxSkew Pods to those domains.
  8650. If value is nil, the constraint behaves as if MinDomains is equal to 1.
  8651. Valid values are integers greater than 0.
  8652. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
  8653. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
  8654. labelSelector spread as 2/2/2:
  8655. | zone1 | zone2 | zone3 |
  8656. | P P | P P | P P |
  8657. The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
  8658. In this situation, new pod with the same labelSelector cannot be scheduled,
  8659. because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
  8660. it will violate MaxSkew.
  8661. format: int32
  8662. type: integer
  8663. nodeAffinityPolicy:
  8664. description: |-
  8665. NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
  8666. when calculating pod topology spread skew. Options are:
  8667. - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
  8668. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
  8669. If this value is nil, the behavior is equivalent to the Honor policy.
  8670. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  8671. type: string
  8672. nodeTaintsPolicy:
  8673. description: |-
  8674. NodeTaintsPolicy indicates how we will treat node taints when calculating
  8675. pod topology spread skew. Options are:
  8676. - Honor: nodes without taints, along with tainted nodes for which the incoming pod
  8677. has a toleration, are included.
  8678. - Ignore: node taints are ignored. All nodes are included.
  8679. If this value is nil, the behavior is equivalent to the Ignore policy.
  8680. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  8681. type: string
  8682. topologyKey:
  8683. description: |-
  8684. TopologyKey is the key of node labels. Nodes that have a label with this key
  8685. and identical values are considered to be in the same topology.
  8686. We consider each <key, value> as a "bucket", and try to put balanced number
  8687. of pods into each bucket.
  8688. We define a domain as a particular instance of a topology.
  8689. Also, we define an eligible domain as a domain whose nodes meet the requirements of
  8690. nodeAffinityPolicy and nodeTaintsPolicy.
  8691. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
  8692. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
  8693. It's a required field.
  8694. type: string
  8695. whenUnsatisfiable:
  8696. description: |-
  8697. WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
  8698. the spread constraint.
  8699. - DoNotSchedule (default) tells the scheduler not to schedule it.
  8700. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
  8701. but giving higher precedence to topologies that would help reduce the
  8702. skew.
  8703. A constraint is considered "Unsatisfiable" for an incoming pod
  8704. if and only if every possible node assignment for that pod would violate
  8705. "MaxSkew" on some topology.
  8706. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  8707. labelSelector spread as 3/1/1:
  8708. | zone1 | zone2 | zone3 |
  8709. | P P P | P | P |
  8710. If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
  8711. to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
  8712. MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
  8713. won't make it *more* imbalanced.
  8714. It's a required field.
  8715. type: string
  8716. required:
  8717. - maxSkew
  8718. - topologyKey
  8719. - whenUnsatisfiable
  8720. type: object
  8721. type: array
  8722. volumes:
  8723. description: volumes defines additional pod volumes available
  8724. to the runtime container.
  8725. items:
  8726. description: Volume represents a named volume in a pod
  8727. that may be accessed by any container in the pod.
  8728. properties:
  8729. awsElasticBlockStore:
  8730. description: |-
  8731. awsElasticBlockStore represents an AWS Disk resource that is attached to a
  8732. kubelet's host machine and then exposed to the pod.
  8733. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  8734. properties:
  8735. fsType:
  8736. description: |-
  8737. fsType is the filesystem type of the volume that you want to mount.
  8738. Tip: Ensure that the filesystem type is supported by the host operating system.
  8739. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  8740. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  8741. type: string
  8742. partition:
  8743. description: |-
  8744. partition is the partition in the volume that you want to mount.
  8745. If omitted, the default is to mount by volume name.
  8746. Examples: For volume /dev/sda1, you specify the partition as "1".
  8747. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  8748. format: int32
  8749. type: integer
  8750. readOnly:
  8751. description: |-
  8752. readOnly value true will force the readOnly setting in VolumeMounts.
  8753. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  8754. type: boolean
  8755. volumeID:
  8756. description: |-
  8757. volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
  8758. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  8759. type: string
  8760. required:
  8761. - volumeID
  8762. type: object
  8763. azureDisk:
  8764. description: azureDisk represents an Azure Data
  8765. Disk mount on the host and bind mount to the pod.
  8766. properties:
  8767. cachingMode:
  8768. description: 'cachingMode is the Host Caching
  8769. mode: None, Read Only, Read Write.'
  8770. type: string
  8771. diskName:
  8772. description: diskName is the Name of the data
  8773. disk in the blob storage
  8774. type: string
  8775. diskURI:
  8776. description: diskURI is the URI of data disk
  8777. in the blob storage
  8778. type: string
  8779. fsType:
  8780. description: |-
  8781. fsType is Filesystem type to mount.
  8782. Must be a filesystem type supported by the host operating system.
  8783. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  8784. type: string
  8785. kind:
  8786. description: 'kind expected values are Shared:
  8787. multiple blob disks per storage account Dedicated:
  8788. single blob disk per storage account Managed:
  8789. azure managed data disk (only in managed availability
  8790. set). defaults to shared'
  8791. type: string
  8792. readOnly:
  8793. description: |-
  8794. readOnly Defaults to false (read/write). ReadOnly here will force
  8795. the ReadOnly setting in VolumeMounts.
  8796. type: boolean
  8797. required:
  8798. - diskName
  8799. - diskURI
  8800. type: object
  8801. azureFile:
  8802. description: azureFile represents an Azure File
  8803. Service mount on the host and bind mount to the
  8804. pod.
  8805. properties:
  8806. readOnly:
  8807. description: |-
  8808. readOnly defaults to false (read/write). ReadOnly here will force
  8809. the ReadOnly setting in VolumeMounts.
  8810. type: boolean
  8811. secretName:
  8812. description: secretName is the name of secret
  8813. that contains Azure Storage Account Name and
  8814. Key
  8815. type: string
  8816. shareName:
  8817. description: shareName is the azure share Name
  8818. type: string
  8819. required:
  8820. - secretName
  8821. - shareName
  8822. type: object
  8823. cephfs:
  8824. description: cephFS represents a Ceph FS mount on
  8825. the host that shares a pod's lifetime
  8826. properties:
  8827. monitors:
  8828. description: |-
  8829. monitors is Required: Monitors is a collection of Ceph monitors
  8830. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  8831. items:
  8832. type: string
  8833. type: array
  8834. x-kubernetes-list-type: atomic
  8835. path:
  8836. description: 'path is Optional: Used as the
  8837. mounted root, rather than the full Ceph tree,
  8838. default is /'
  8839. type: string
  8840. readOnly:
  8841. description: |-
  8842. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  8843. the ReadOnly setting in VolumeMounts.
  8844. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  8845. type: boolean
  8846. secretFile:
  8847. description: |-
  8848. secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
  8849. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  8850. type: string
  8851. secretRef:
  8852. description: |-
  8853. secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
  8854. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  8855. properties:
  8856. name:
  8857. default: ""
  8858. description: |-
  8859. Name of the referent.
  8860. This field is effectively required, but due to backwards compatibility is
  8861. allowed to be empty. Instances of this type with an empty value here are
  8862. almost certainly wrong.
  8863. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  8864. type: string
  8865. type: object
  8866. x-kubernetes-map-type: atomic
  8867. user:
  8868. description: |-
  8869. user is optional: User is the rados user name, default is admin
  8870. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  8871. type: string
  8872. required:
  8873. - monitors
  8874. type: object
  8875. cinder:
  8876. description: |-
  8877. cinder represents a cinder volume attached and mounted on kubelets host machine.
  8878. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  8879. properties:
  8880. fsType:
  8881. description: |-
  8882. fsType is the filesystem type to mount.
  8883. Must be a filesystem type supported by the host operating system.
  8884. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  8885. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  8886. type: string
  8887. readOnly:
  8888. description: |-
  8889. readOnly defaults to false (read/write). ReadOnly here will force
  8890. the ReadOnly setting in VolumeMounts.
  8891. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  8892. type: boolean
  8893. secretRef:
  8894. description: |-
  8895. secretRef is optional: points to a secret object containing parameters used to connect
  8896. to OpenStack.
  8897. properties:
  8898. name:
  8899. default: ""
  8900. description: |-
  8901. Name of the referent.
  8902. This field is effectively required, but due to backwards compatibility is
  8903. allowed to be empty. Instances of this type with an empty value here are
  8904. almost certainly wrong.
  8905. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  8906. type: string
  8907. type: object
  8908. x-kubernetes-map-type: atomic
  8909. volumeID:
  8910. description: |-
  8911. volumeID used to identify the volume in cinder.
  8912. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  8913. type: string
  8914. required:
  8915. - volumeID
  8916. type: object
  8917. configMap:
  8918. description: configMap represents a configMap that
  8919. should populate this volume
  8920. properties:
  8921. defaultMode:
  8922. description: |-
  8923. defaultMode is optional: mode bits used to set permissions on created files by default.
  8924. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  8925. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  8926. Defaults to 0644.
  8927. Directories within the path are not affected by this setting.
  8928. This might be in conflict with other options that affect the file
  8929. mode, like fsGroup, and the result can be other mode bits set.
  8930. format: int32
  8931. type: integer
  8932. items:
  8933. description: |-
  8934. items if unspecified, each key-value pair in the Data field of the referenced
  8935. ConfigMap will be projected into the volume as a file whose name is the
  8936. key and content is the value. If specified, the listed keys will be
  8937. projected into the specified paths, and unlisted keys will not be
  8938. present. If a key is specified which is not present in the ConfigMap,
  8939. the volume setup will error unless it is marked optional. Paths must be
  8940. relative and may not contain the '..' path or start with '..'.
  8941. items:
  8942. description: Maps a string key to a path within
  8943. a volume.
  8944. properties:
  8945. key:
  8946. description: key is the key to project.
  8947. type: string
  8948. mode:
  8949. description: |-
  8950. mode is Optional: mode bits used to set permissions on this file.
  8951. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  8952. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  8953. If not specified, the volume defaultMode will be used.
  8954. This might be in conflict with other options that affect the file
  8955. mode, like fsGroup, and the result can be other mode bits set.
  8956. format: int32
  8957. type: integer
  8958. path:
  8959. description: |-
  8960. path is the relative path of the file to map the key to.
  8961. May not be an absolute path.
  8962. May not contain the path element '..'.
  8963. May not start with the string '..'.
  8964. type: string
  8965. required:
  8966. - key
  8967. - path
  8968. type: object
  8969. type: array
  8970. x-kubernetes-list-type: atomic
  8971. name:
  8972. default: ""
  8973. description: |-
  8974. Name of the referent.
  8975. This field is effectively required, but due to backwards compatibility is
  8976. allowed to be empty. Instances of this type with an empty value here are
  8977. almost certainly wrong.
  8978. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  8979. type: string
  8980. optional:
  8981. description: optional specify whether the ConfigMap
  8982. or its keys must be defined
  8983. type: boolean
  8984. type: object
  8985. x-kubernetes-map-type: atomic
  8986. csi:
  8987. description: csi (Container Storage Interface) represents
  8988. ephemeral storage that is handled by certain external
  8989. CSI drivers (Beta feature).
  8990. properties:
  8991. driver:
  8992. description: |-
  8993. driver is the name of the CSI driver that handles this volume.
  8994. Consult with your admin for the correct name as registered in the cluster.
  8995. type: string
  8996. fsType:
  8997. description: |-
  8998. fsType to mount. Ex. "ext4", "xfs", "ntfs".
  8999. If not provided, the empty value is passed to the associated CSI driver
  9000. which will determine the default filesystem to apply.
  9001. type: string
  9002. nodePublishSecretRef:
  9003. description: |-
  9004. nodePublishSecretRef is a reference to the secret object containing
  9005. sensitive information to pass to the CSI driver to complete the CSI
  9006. NodePublishVolume and NodeUnpublishVolume calls.
  9007. This field is optional, and may be empty if no secret is required. If the
  9008. secret object contains more than one secret, all secret references are passed.
  9009. properties:
  9010. name:
  9011. default: ""
  9012. description: |-
  9013. Name of the referent.
  9014. This field is effectively required, but due to backwards compatibility is
  9015. allowed to be empty. Instances of this type with an empty value here are
  9016. almost certainly wrong.
  9017. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  9018. type: string
  9019. type: object
  9020. x-kubernetes-map-type: atomic
  9021. readOnly:
  9022. description: |-
  9023. readOnly specifies a read-only configuration for the volume.
  9024. Defaults to false (read/write).
  9025. type: boolean
  9026. volumeAttributes:
  9027. additionalProperties:
  9028. type: string
  9029. description: |-
  9030. volumeAttributes stores driver-specific properties that are passed to the CSI
  9031. driver. Consult your driver's documentation for supported values.
  9032. type: object
  9033. required:
  9034. - driver
  9035. type: object
  9036. downwardAPI:
  9037. description: downwardAPI represents downward API
  9038. about the pod that should populate this volume
  9039. properties:
  9040. defaultMode:
  9041. description: |-
  9042. Optional: mode bits to use on created files by default. Must be a
  9043. Optional: mode bits used to set permissions on created files by default.
  9044. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  9045. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  9046. Defaults to 0644.
  9047. Directories within the path are not affected by this setting.
  9048. This might be in conflict with other options that affect the file
  9049. mode, like fsGroup, and the result can be other mode bits set.
  9050. format: int32
  9051. type: integer
  9052. items:
  9053. description: Items is a list of downward API
  9054. volume file
  9055. items:
  9056. description: DownwardAPIVolumeFile represents
  9057. information to create the file containing
  9058. the pod field
  9059. properties:
  9060. fieldRef:
  9061. description: 'Required: Selects a field
  9062. of the pod: only annotations, labels,
  9063. name, namespace and uid are supported.'
  9064. properties:
  9065. apiVersion:
  9066. description: Version of the schema
  9067. the FieldPath is written in terms
  9068. of, defaults to "v1".
  9069. type: string
  9070. fieldPath:
  9071. description: Path of the field to
  9072. select in the specified API version.
  9073. type: string
  9074. required:
  9075. - fieldPath
  9076. type: object
  9077. x-kubernetes-map-type: atomic
  9078. mode:
  9079. description: |-
  9080. Optional: mode bits used to set permissions on this file, must be an octal value
  9081. between 0000 and 0777 or a decimal value between 0 and 511.
  9082. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  9083. If not specified, the volume defaultMode will be used.
  9084. This might be in conflict with other options that affect the file
  9085. mode, like fsGroup, and the result can be other mode bits set.
  9086. format: int32
  9087. type: integer
  9088. path:
  9089. description: 'Required: Path is the relative
  9090. path name of the file to be created.
  9091. Must not be absolute or contain the
  9092. ''..'' path. Must be utf-8 encoded.
  9093. The first item of the relative path
  9094. must not start with ''..'''
  9095. type: string
  9096. resourceFieldRef:
  9097. description: |-
  9098. Selects a resource of the container: only resources limits and requests
  9099. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  9100. properties:
  9101. containerName:
  9102. description: 'Container name: required
  9103. for volumes, optional for env vars'
  9104. type: string
  9105. divisor:
  9106. anyOf:
  9107. - type: integer
  9108. - type: string
  9109. description: Specifies the output
  9110. format of the exposed resources,
  9111. defaults to "1"
  9112. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9113. x-kubernetes-int-or-string: true
  9114. resource:
  9115. description: 'Required: resource to
  9116. select'
  9117. type: string
  9118. required:
  9119. - resource
  9120. type: object
  9121. x-kubernetes-map-type: atomic
  9122. required:
  9123. - path
  9124. type: object
  9125. type: array
  9126. x-kubernetes-list-type: atomic
  9127. type: object
  9128. emptyDir:
  9129. description: |-
  9130. emptyDir represents a temporary directory that shares a pod's lifetime.
  9131. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  9132. properties:
  9133. medium:
  9134. description: |-
  9135. medium represents what type of storage medium should back this directory.
  9136. The default is "" which means to use the node's default medium.
  9137. Must be an empty string (default) or Memory.
  9138. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  9139. type: string
  9140. sizeLimit:
  9141. anyOf:
  9142. - type: integer
  9143. - type: string
  9144. description: |-
  9145. sizeLimit is the total amount of local storage required for this EmptyDir volume.
  9146. The size limit is also applicable for memory medium.
  9147. The maximum usage on memory medium EmptyDir would be the minimum value between
  9148. the SizeLimit specified here and the sum of memory limits of all containers in a pod.
  9149. The default is nil which means that the limit is undefined.
  9150. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  9151. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9152. x-kubernetes-int-or-string: true
  9153. type: object
  9154. ephemeral:
  9155. description: |-
  9156. ephemeral represents a volume that is handled by a cluster storage driver.
  9157. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
  9158. and deleted when the pod is removed.
  9159. Use this if:
  9160. a) the volume is only needed while the pod runs,
  9161. b) features of normal volumes like restoring from snapshot or capacity
  9162. tracking are needed,
  9163. c) the storage driver is specified through a storage class, and
  9164. d) the storage driver supports dynamic volume provisioning through
  9165. a PersistentVolumeClaim (see EphemeralVolumeSource for more
  9166. information on the connection between this volume type
  9167. and PersistentVolumeClaim).
  9168. Use PersistentVolumeClaim or one of the vendor-specific
  9169. APIs for volumes that persist for longer than the lifecycle
  9170. of an individual pod.
  9171. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
  9172. be used that way - see the documentation of the driver for
  9173. more information.
  9174. A pod can use both types of ephemeral volumes and
  9175. persistent volumes at the same time.
  9176. properties:
  9177. volumeClaimTemplate:
  9178. description: |-
  9179. Will be used to create a stand-alone PVC to provision the volume.
  9180. The pod in which this EphemeralVolumeSource is embedded will be the
  9181. owner of the PVC, i.e. the PVC will be deleted together with the
  9182. pod. The name of the PVC will be `<pod name>-<volume name>` where
  9183. `<volume name>` is the name from the `PodSpec.Volumes` array
  9184. entry. Pod validation will reject the pod if the concatenated name
  9185. is not valid for a PVC (for example, too long).
  9186. An existing PVC with that name that is not owned by the pod
  9187. will *not* be used for the pod to avoid using an unrelated
  9188. volume by mistake. Starting the pod is then blocked until
  9189. the unrelated PVC is removed. If such a pre-created PVC is
  9190. meant to be used by the pod, the PVC has to updated with an
  9191. owner reference to the pod once the pod exists. Normally
  9192. this should not be necessary, but it may be useful when
  9193. manually reconstructing a broken cluster.
  9194. This field is read-only and no changes will be made by Kubernetes
  9195. to the PVC after it has been created.
  9196. Required, must not be nil.
  9197. properties:
  9198. metadata:
  9199. description: |-
  9200. May contain labels and annotations that will be copied into the PVC
  9201. when creating it. No other fields are allowed and will be rejected during
  9202. validation.
  9203. type: object
  9204. spec:
  9205. description: |-
  9206. The specification for the PersistentVolumeClaim. The entire content is
  9207. copied unchanged into the PVC that gets created from this
  9208. template. The same fields as in a PersistentVolumeClaim
  9209. are also valid here.
  9210. properties:
  9211. accessModes:
  9212. description: |-
  9213. accessModes contains the desired access modes the volume should have.
  9214. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
  9215. items:
  9216. type: string
  9217. type: array
  9218. x-kubernetes-list-type: atomic
  9219. dataSource:
  9220. description: |-
  9221. dataSource field can be used to specify either:
  9222. * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
  9223. * An existing PVC (PersistentVolumeClaim)
  9224. If the provisioner or an external controller can support the specified data source,
  9225. it will create a new volume based on the contents of the specified data source.
  9226. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
  9227. and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
  9228. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
  9229. properties:
  9230. apiGroup:
  9231. description: |-
  9232. APIGroup is the group for the resource being referenced.
  9233. If APIGroup is not specified, the specified Kind must be in the core API group.
  9234. For any other third-party types, APIGroup is required.
  9235. type: string
  9236. kind:
  9237. description: Kind is the type of
  9238. resource being referenced
  9239. type: string
  9240. name:
  9241. description: Name is the name of
  9242. resource being referenced
  9243. type: string
  9244. required:
  9245. - kind
  9246. - name
  9247. type: object
  9248. x-kubernetes-map-type: atomic
  9249. dataSourceRef:
  9250. description: |-
  9251. dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
  9252. volume is desired. This may be any object from a non-empty API group (non
  9253. core object) or a PersistentVolumeClaim object.
  9254. When this field is specified, volume binding will only succeed if the type of
  9255. the specified object matches some installed volume populator or dynamic
  9256. provisioner.
  9257. This field will replace the functionality of the dataSource field and as such
  9258. if both fields are non-empty, they must have the same value. For backwards
  9259. compatibility, when namespace isn't specified in dataSourceRef,
  9260. both fields (dataSource and dataSourceRef) will be set to the same
  9261. value automatically if one of them is empty and the other is non-empty.
  9262. When namespace is specified in dataSourceRef,
  9263. dataSource isn't set to the same value and must be empty.
  9264. There are three important differences between dataSource and dataSourceRef:
  9265. * While dataSource only allows two specific types of objects, dataSourceRef
  9266. allows any non-core object, as well as PersistentVolumeClaim objects.
  9267. * While dataSource ignores disallowed values (dropping them), dataSourceRef
  9268. preserves all values, and generates an error if a disallowed value is
  9269. specified.
  9270. * While dataSource only allows local objects, dataSourceRef allows objects
  9271. in any namespaces.
  9272. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
  9273. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  9274. properties:
  9275. apiGroup:
  9276. description: |-
  9277. APIGroup is the group for the resource being referenced.
  9278. If APIGroup is not specified, the specified Kind must be in the core API group.
  9279. For any other third-party types, APIGroup is required.
  9280. type: string
  9281. kind:
  9282. description: Kind is the type of
  9283. resource being referenced
  9284. type: string
  9285. name:
  9286. description: Name is the name of
  9287. resource being referenced
  9288. type: string
  9289. namespace:
  9290. description: |-
  9291. Namespace is the namespace of resource being referenced
  9292. Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
  9293. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  9294. type: string
  9295. required:
  9296. - kind
  9297. - name
  9298. type: object
  9299. resources:
  9300. description: |-
  9301. resources represents the minimum resources the volume should have.
  9302. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements
  9303. that are lower than previous value but must still be higher than capacity recorded in the
  9304. status field of the claim.
  9305. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
  9306. properties:
  9307. limits:
  9308. additionalProperties:
  9309. anyOf:
  9310. - type: integer
  9311. - type: string
  9312. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9313. x-kubernetes-int-or-string: true
  9314. description: |-
  9315. Limits describes the maximum amount of compute resources allowed.
  9316. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  9317. type: object
  9318. requests:
  9319. additionalProperties:
  9320. anyOf:
  9321. - type: integer
  9322. - type: string
  9323. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9324. x-kubernetes-int-or-string: true
  9325. description: |-
  9326. Requests describes the minimum amount of compute resources required.
  9327. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  9328. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  9329. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  9330. type: object
  9331. type: object
  9332. selector:
  9333. description: selector is a label query
  9334. over volumes to consider for binding.
  9335. properties:
  9336. matchExpressions:
  9337. description: matchExpressions is
  9338. a list of label selector requirements.
  9339. The requirements are ANDed.
  9340. items:
  9341. description: |-
  9342. A label selector requirement is a selector that contains values, a key, and an operator that
  9343. relates the key and values.
  9344. properties:
  9345. key:
  9346. description: key is the label
  9347. key that the selector applies
  9348. to.
  9349. type: string
  9350. operator:
  9351. description: |-
  9352. operator represents a key's relationship to a set of values.
  9353. Valid operators are In, NotIn, Exists and DoesNotExist.
  9354. type: string
  9355. values:
  9356. description: |-
  9357. values is an array of string values. If the operator is In or NotIn,
  9358. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  9359. the values array must be empty. This array is replaced during a strategic
  9360. merge patch.
  9361. items:
  9362. type: string
  9363. type: array
  9364. x-kubernetes-list-type: atomic
  9365. required:
  9366. - key
  9367. - operator
  9368. type: object
  9369. type: array
  9370. x-kubernetes-list-type: atomic
  9371. matchLabels:
  9372. additionalProperties:
  9373. type: string
  9374. description: |-
  9375. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  9376. map is equivalent to an element of matchExpressions, whose key field is "key", the
  9377. operator is "In", and the values array contains only "value". The requirements are ANDed.
  9378. type: object
  9379. type: object
  9380. x-kubernetes-map-type: atomic
  9381. storageClassName:
  9382. description: |-
  9383. storageClassName is the name of the StorageClass required by the claim.
  9384. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
  9385. type: string
  9386. volumeAttributesClassName:
  9387. description: |-
  9388. volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
  9389. If specified, the CSI driver will create or update the volume with the attributes defined
  9390. in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
  9391. it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
  9392. will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
  9393. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
  9394. will be set by the persistentvolume controller if it exists.
  9395. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
  9396. set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
  9397. exists.
  9398. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
  9399. (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
  9400. type: string
  9401. volumeMode:
  9402. description: |-
  9403. volumeMode defines what type of volume is required by the claim.
  9404. Value of Filesystem is implied when not included in claim spec.
  9405. type: string
  9406. volumeName:
  9407. description: volumeName is the binding
  9408. reference to the PersistentVolume
  9409. backing this claim.
  9410. type: string
  9411. type: object
  9412. required:
  9413. - spec
  9414. type: object
  9415. type: object
  9416. fc:
  9417. description: fc represents a Fibre Channel resource
  9418. that is attached to a kubelet's host machine and
  9419. then exposed to the pod.
  9420. properties:
  9421. fsType:
  9422. description: |-
  9423. fsType is the filesystem type to mount.
  9424. Must be a filesystem type supported by the host operating system.
  9425. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  9426. type: string
  9427. lun:
  9428. description: 'lun is Optional: FC target lun
  9429. number'
  9430. format: int32
  9431. type: integer
  9432. readOnly:
  9433. description: |-
  9434. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  9435. the ReadOnly setting in VolumeMounts.
  9436. type: boolean
  9437. targetWWNs:
  9438. description: 'targetWWNs is Optional: FC target
  9439. worldwide names (WWNs)'
  9440. items:
  9441. type: string
  9442. type: array
  9443. x-kubernetes-list-type: atomic
  9444. wwids:
  9445. description: |-
  9446. wwids Optional: FC volume world wide identifiers (wwids)
  9447. Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
  9448. items:
  9449. type: string
  9450. type: array
  9451. x-kubernetes-list-type: atomic
  9452. type: object
  9453. flexVolume:
  9454. description: |-
  9455. flexVolume represents a generic volume resource that is
  9456. provisioned/attached using an exec based plugin.
  9457. properties:
  9458. driver:
  9459. description: driver is the name of the driver
  9460. to use for this volume.
  9461. type: string
  9462. fsType:
  9463. description: |-
  9464. fsType is the filesystem type to mount.
  9465. Must be a filesystem type supported by the host operating system.
  9466. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
  9467. type: string
  9468. options:
  9469. additionalProperties:
  9470. type: string
  9471. description: 'options is Optional: this field
  9472. holds extra command options if any.'
  9473. type: object
  9474. readOnly:
  9475. description: |-
  9476. readOnly is Optional: defaults to false (read/write). ReadOnly here will force
  9477. the ReadOnly setting in VolumeMounts.
  9478. type: boolean
  9479. secretRef:
  9480. description: |-
  9481. secretRef is Optional: secretRef is reference to the secret object containing
  9482. sensitive information to pass to the plugin scripts. This may be
  9483. empty if no secret object is specified. If the secret object
  9484. contains more than one secret, all secrets are passed to the plugin
  9485. scripts.
  9486. properties:
  9487. name:
  9488. default: ""
  9489. description: |-
  9490. Name of the referent.
  9491. This field is effectively required, but due to backwards compatibility is
  9492. allowed to be empty. Instances of this type with an empty value here are
  9493. almost certainly wrong.
  9494. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  9495. type: string
  9496. type: object
  9497. x-kubernetes-map-type: atomic
  9498. required:
  9499. - driver
  9500. type: object
  9501. flocker:
  9502. description: flocker represents a Flocker volume
  9503. attached to a kubelet's host machine. This depends
  9504. on the Flocker control service being running
  9505. properties:
  9506. datasetName:
  9507. description: |-
  9508. datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
  9509. should be considered as deprecated
  9510. type: string
  9511. datasetUUID:
  9512. description: datasetUUID is the UUID of the
  9513. dataset. This is unique identifier of a Flocker
  9514. dataset
  9515. type: string
  9516. type: object
  9517. gcePersistentDisk:
  9518. description: |-
  9519. gcePersistentDisk represents a GCE Disk resource that is attached to a
  9520. kubelet's host machine and then exposed to the pod.
  9521. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  9522. properties:
  9523. fsType:
  9524. description: |-
  9525. fsType is filesystem type of the volume that you want to mount.
  9526. Tip: Ensure that the filesystem type is supported by the host operating system.
  9527. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  9528. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  9529. type: string
  9530. partition:
  9531. description: |-
  9532. partition is the partition in the volume that you want to mount.
  9533. If omitted, the default is to mount by volume name.
  9534. Examples: For volume /dev/sda1, you specify the partition as "1".
  9535. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  9536. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  9537. format: int32
  9538. type: integer
  9539. pdName:
  9540. description: |-
  9541. pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
  9542. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  9543. type: string
  9544. readOnly:
  9545. description: |-
  9546. readOnly here will force the ReadOnly setting in VolumeMounts.
  9547. Defaults to false.
  9548. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  9549. type: boolean
  9550. required:
  9551. - pdName
  9552. type: object
  9553. gitRepo:
  9554. description: |-
  9555. gitRepo represents a git repository at a particular revision.
  9556. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
  9557. EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
  9558. into the Pod's container.
  9559. properties:
  9560. directory:
  9561. description: |-
  9562. directory is the target directory name.
  9563. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
  9564. git repository. Otherwise, if specified, the volume will contain the git repository in
  9565. the subdirectory with the given name.
  9566. type: string
  9567. repository:
  9568. description: repository is the URL
  9569. type: string
  9570. revision:
  9571. description: revision is the commit hash for
  9572. the specified revision.
  9573. type: string
  9574. required:
  9575. - repository
  9576. type: object
  9577. glusterfs:
  9578. description: |-
  9579. glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
  9580. More info: https://examples.k8s.io/volumes/glusterfs/README.md
  9581. properties:
  9582. endpoints:
  9583. description: |-
  9584. endpoints is the endpoint name that details Glusterfs topology.
  9585. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  9586. type: string
  9587. path:
  9588. description: |-
  9589. path is the Glusterfs volume path.
  9590. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  9591. type: string
  9592. readOnly:
  9593. description: |-
  9594. readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
  9595. Defaults to false.
  9596. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  9597. type: boolean
  9598. required:
  9599. - endpoints
  9600. - path
  9601. type: object
  9602. hostPath:
  9603. description: |-
  9604. hostPath represents a pre-existing file or directory on the host
  9605. machine that is directly exposed to the container. This is generally
  9606. used for system agents or other privileged things that are allowed
  9607. to see the host machine. Most containers will NOT need this.
  9608. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  9609. properties:
  9610. path:
  9611. description: |-
  9612. path of the directory on the host.
  9613. If the path is a symlink, it will follow the link to the real path.
  9614. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  9615. type: string
  9616. type:
  9617. description: |-
  9618. type for HostPath Volume
  9619. Defaults to ""
  9620. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  9621. type: string
  9622. required:
  9623. - path
  9624. type: object
  9625. iscsi:
  9626. description: |-
  9627. iscsi represents an ISCSI Disk resource that is attached to a
  9628. kubelet's host machine and then exposed to the pod.
  9629. More info: https://examples.k8s.io/volumes/iscsi/README.md
  9630. properties:
  9631. chapAuthDiscovery:
  9632. description: chapAuthDiscovery defines whether
  9633. support iSCSI Discovery CHAP authentication
  9634. type: boolean
  9635. chapAuthSession:
  9636. description: chapAuthSession defines whether
  9637. support iSCSI Session CHAP authentication
  9638. type: boolean
  9639. fsType:
  9640. description: |-
  9641. fsType is the filesystem type of the volume that you want to mount.
  9642. Tip: Ensure that the filesystem type is supported by the host operating system.
  9643. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  9644. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
  9645. type: string
  9646. initiatorName:
  9647. description: |-
  9648. initiatorName is the custom iSCSI Initiator Name.
  9649. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
  9650. <target portal>:<volume name> will be created for the connection.
  9651. type: string
  9652. iqn:
  9653. description: iqn is the target iSCSI Qualified
  9654. Name.
  9655. type: string
  9656. iscsiInterface:
  9657. description: |-
  9658. iscsiInterface is the interface Name that uses an iSCSI transport.
  9659. Defaults to 'default' (tcp).
  9660. type: string
  9661. lun:
  9662. description: lun represents iSCSI Target Lun
  9663. number.
  9664. format: int32
  9665. type: integer
  9666. portals:
  9667. description: |-
  9668. portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
  9669. is other than default (typically TCP ports 860 and 3260).
  9670. items:
  9671. type: string
  9672. type: array
  9673. x-kubernetes-list-type: atomic
  9674. readOnly:
  9675. description: |-
  9676. readOnly here will force the ReadOnly setting in VolumeMounts.
  9677. Defaults to false.
  9678. type: boolean
  9679. secretRef:
  9680. description: secretRef is the CHAP Secret for
  9681. iSCSI target and initiator authentication
  9682. properties:
  9683. name:
  9684. default: ""
  9685. description: |-
  9686. Name of the referent.
  9687. This field is effectively required, but due to backwards compatibility is
  9688. allowed to be empty. Instances of this type with an empty value here are
  9689. almost certainly wrong.
  9690. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  9691. type: string
  9692. type: object
  9693. x-kubernetes-map-type: atomic
  9694. targetPortal:
  9695. description: |-
  9696. targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
  9697. is other than default (typically TCP ports 860 and 3260).
  9698. type: string
  9699. required:
  9700. - iqn
  9701. - lun
  9702. - targetPortal
  9703. type: object
  9704. name:
  9705. description: |-
  9706. name of the volume.
  9707. Must be a DNS_LABEL and unique within the pod.
  9708. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  9709. type: string
  9710. nfs:
  9711. description: |-
  9712. nfs represents an NFS mount on the host that shares a pod's lifetime
  9713. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  9714. properties:
  9715. path:
  9716. description: |-
  9717. path that is exported by the NFS server.
  9718. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  9719. type: string
  9720. readOnly:
  9721. description: |-
  9722. readOnly here will force the NFS export to be mounted with read-only permissions.
  9723. Defaults to false.
  9724. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  9725. type: boolean
  9726. server:
  9727. description: |-
  9728. server is the hostname or IP address of the NFS server.
  9729. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  9730. type: string
  9731. required:
  9732. - path
  9733. - server
  9734. type: object
  9735. persistentVolumeClaim:
  9736. description: |-
  9737. persistentVolumeClaimVolumeSource represents a reference to a
  9738. PersistentVolumeClaim in the same namespace.
  9739. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  9740. properties:
  9741. claimName:
  9742. description: |-
  9743. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
  9744. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  9745. type: string
  9746. readOnly:
  9747. description: |-
  9748. readOnly Will force the ReadOnly setting in VolumeMounts.
  9749. Default false.
  9750. type: boolean
  9751. required:
  9752. - claimName
  9753. type: object
  9754. photonPersistentDisk:
  9755. description: photonPersistentDisk represents a PhotonController
  9756. persistent disk attached and mounted on kubelets
  9757. host machine
  9758. properties:
  9759. fsType:
  9760. description: |-
  9761. fsType is the filesystem type to mount.
  9762. Must be a filesystem type supported by the host operating system.
  9763. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  9764. type: string
  9765. pdID:
  9766. description: pdID is the ID that identifies
  9767. Photon Controller persistent disk
  9768. type: string
  9769. required:
  9770. - pdID
  9771. type: object
  9772. portworxVolume:
  9773. description: portworxVolume represents a portworx
  9774. volume attached and mounted on kubelets host machine
  9775. properties:
  9776. fsType:
  9777. description: |-
  9778. fSType represents the filesystem type to mount
  9779. Must be a filesystem type supported by the host operating system.
  9780. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
  9781. type: string
  9782. readOnly:
  9783. description: |-
  9784. readOnly defaults to false (read/write). ReadOnly here will force
  9785. the ReadOnly setting in VolumeMounts.
  9786. type: boolean
  9787. volumeID:
  9788. description: volumeID uniquely identifies a
  9789. Portworx volume
  9790. type: string
  9791. required:
  9792. - volumeID
  9793. type: object
  9794. projected:
  9795. description: projected items for all in one resources
  9796. secrets, configmaps, and downward API
  9797. properties:
  9798. defaultMode:
  9799. description: |-
  9800. defaultMode are the mode bits used to set permissions on created files by default.
  9801. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  9802. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  9803. Directories within the path are not affected by this setting.
  9804. This might be in conflict with other options that affect the file
  9805. mode, like fsGroup, and the result can be other mode bits set.
  9806. format: int32
  9807. type: integer
  9808. sources:
  9809. description: sources is the list of volume projections
  9810. items:
  9811. description: Projection that may be projected
  9812. along with other supported volume types
  9813. properties:
  9814. clusterTrustBundle:
  9815. description: |-
  9816. ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
  9817. of ClusterTrustBundle objects in an auto-updating file.
  9818. Alpha, gated by the ClusterTrustBundleProjection feature gate.
  9819. ClusterTrustBundle objects can either be selected by name, or by the
  9820. combination of signer name and a label selector.
  9821. Kubelet performs aggressive normalization of the PEM contents written
  9822. into the pod filesystem. Esoteric PEM features such as inter-block
  9823. comments and block headers are stripped. Certificates are deduplicated.
  9824. The ordering of certificates within the file is arbitrary, and Kubelet
  9825. may change the order over time.
  9826. properties:
  9827. labelSelector:
  9828. description: |-
  9829. Select all ClusterTrustBundles that match this label selector. Only has
  9830. effect if signerName is set. Mutually-exclusive with name. If unset,
  9831. interpreted as "match nothing". If set but empty, interpreted as "match
  9832. everything".
  9833. properties:
  9834. matchExpressions:
  9835. description: matchExpressions
  9836. is a list of label selector
  9837. requirements. The requirements
  9838. are ANDed.
  9839. items:
  9840. description: |-
  9841. A label selector requirement is a selector that contains values, a key, and an operator that
  9842. relates the key and values.
  9843. properties:
  9844. key:
  9845. description: key is the
  9846. label key that the selector
  9847. applies to.
  9848. type: string
  9849. operator:
  9850. description: |-
  9851. operator represents a key's relationship to a set of values.
  9852. Valid operators are In, NotIn, Exists and DoesNotExist.
  9853. type: string
  9854. values:
  9855. description: |-
  9856. values is an array of string values. If the operator is In or NotIn,
  9857. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  9858. the values array must be empty. This array is replaced during a strategic
  9859. merge patch.
  9860. items:
  9861. type: string
  9862. type: array
  9863. x-kubernetes-list-type: atomic
  9864. required:
  9865. - key
  9866. - operator
  9867. type: object
  9868. type: array
  9869. x-kubernetes-list-type: atomic
  9870. matchLabels:
  9871. additionalProperties:
  9872. type: string
  9873. description: |-
  9874. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  9875. map is equivalent to an element of matchExpressions, whose key field is "key", the
  9876. operator is "In", and the values array contains only "value". The requirements are ANDed.
  9877. type: object
  9878. type: object
  9879. x-kubernetes-map-type: atomic
  9880. name:
  9881. description: |-
  9882. Select a single ClusterTrustBundle by object name. Mutually-exclusive
  9883. with signerName and labelSelector.
  9884. type: string
  9885. optional:
  9886. description: |-
  9887. If true, don't block pod startup if the referenced ClusterTrustBundle(s)
  9888. aren't available. If using name, then the named ClusterTrustBundle is
  9889. allowed not to exist. If using signerName, then the combination of
  9890. signerName and labelSelector is allowed to match zero
  9891. ClusterTrustBundles.
  9892. type: boolean
  9893. path:
  9894. description: Relative path from the
  9895. volume root to write the bundle.
  9896. type: string
  9897. signerName:
  9898. description: |-
  9899. Select all ClusterTrustBundles that match this signer name.
  9900. Mutually-exclusive with name. The contents of all selected
  9901. ClusterTrustBundles will be unified and deduplicated.
  9902. type: string
  9903. required:
  9904. - path
  9905. type: object
  9906. configMap:
  9907. description: configMap information about
  9908. the configMap data to project
  9909. properties:
  9910. items:
  9911. description: |-
  9912. items if unspecified, each key-value pair in the Data field of the referenced
  9913. ConfigMap will be projected into the volume as a file whose name is the
  9914. key and content is the value. If specified, the listed keys will be
  9915. projected into the specified paths, and unlisted keys will not be
  9916. present. If a key is specified which is not present in the ConfigMap,
  9917. the volume setup will error unless it is marked optional. Paths must be
  9918. relative and may not contain the '..' path or start with '..'.
  9919. items:
  9920. description: Maps a string key to
  9921. a path within a volume.
  9922. properties:
  9923. key:
  9924. description: key is the key
  9925. to project.
  9926. type: string
  9927. mode:
  9928. description: |-
  9929. mode is Optional: mode bits used to set permissions on this file.
  9930. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  9931. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  9932. If not specified, the volume defaultMode will be used.
  9933. This might be in conflict with other options that affect the file
  9934. mode, like fsGroup, and the result can be other mode bits set.
  9935. format: int32
  9936. type: integer
  9937. path:
  9938. description: |-
  9939. path is the relative path of the file to map the key to.
  9940. May not be an absolute path.
  9941. May not contain the path element '..'.
  9942. May not start with the string '..'.
  9943. type: string
  9944. required:
  9945. - key
  9946. - path
  9947. type: object
  9948. type: array
  9949. x-kubernetes-list-type: atomic
  9950. name:
  9951. default: ""
  9952. description: |-
  9953. Name of the referent.
  9954. This field is effectively required, but due to backwards compatibility is
  9955. allowed to be empty. Instances of this type with an empty value here are
  9956. almost certainly wrong.
  9957. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  9958. type: string
  9959. optional:
  9960. description: optional specify whether
  9961. the ConfigMap or its keys must be
  9962. defined
  9963. type: boolean
  9964. type: object
  9965. x-kubernetes-map-type: atomic
  9966. downwardAPI:
  9967. description: downwardAPI information about
  9968. the downwardAPI data to project
  9969. properties:
  9970. items:
  9971. description: Items is a list of DownwardAPIVolume
  9972. file
  9973. items:
  9974. description: DownwardAPIVolumeFile
  9975. represents information to create
  9976. the file containing the pod field
  9977. properties:
  9978. fieldRef:
  9979. description: 'Required: Selects
  9980. a field of the pod: only annotations,
  9981. labels, name, namespace and
  9982. uid are supported.'
  9983. properties:
  9984. apiVersion:
  9985. description: Version of
  9986. the schema the FieldPath
  9987. is written in terms of,
  9988. defaults to "v1".
  9989. type: string
  9990. fieldPath:
  9991. description: Path of the
  9992. field to select in the
  9993. specified API version.
  9994. type: string
  9995. required:
  9996. - fieldPath
  9997. type: object
  9998. x-kubernetes-map-type: atomic
  9999. mode:
  10000. description: |-
  10001. Optional: mode bits used to set permissions on this file, must be an octal value
  10002. between 0000 and 0777 or a decimal value between 0 and 511.
  10003. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  10004. If not specified, the volume defaultMode will be used.
  10005. This might be in conflict with other options that affect the file
  10006. mode, like fsGroup, and the result can be other mode bits set.
  10007. format: int32
  10008. type: integer
  10009. path:
  10010. description: 'Required: Path
  10011. is the relative path name
  10012. of the file to be created.
  10013. Must not be absolute or contain
  10014. the ''..'' path. Must be utf-8
  10015. encoded. The first item of
  10016. the relative path must not
  10017. start with ''..'''
  10018. type: string
  10019. resourceFieldRef:
  10020. description: |-
  10021. Selects a resource of the container: only resources limits and requests
  10022. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  10023. properties:
  10024. containerName:
  10025. description: 'Container
  10026. name: required for volumes,
  10027. optional for env vars'
  10028. type: string
  10029. divisor:
  10030. anyOf:
  10031. - type: integer
  10032. - type: string
  10033. description: Specifies the
  10034. output format of the exposed
  10035. resources, defaults to
  10036. "1"
  10037. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  10038. x-kubernetes-int-or-string: true
  10039. resource:
  10040. description: 'Required:
  10041. resource to select'
  10042. type: string
  10043. required:
  10044. - resource
  10045. type: object
  10046. x-kubernetes-map-type: atomic
  10047. required:
  10048. - path
  10049. type: object
  10050. type: array
  10051. x-kubernetes-list-type: atomic
  10052. type: object
  10053. secret:
  10054. description: secret information about
  10055. the secret data to project
  10056. properties:
  10057. items:
  10058. description: |-
  10059. items if unspecified, each key-value pair in the Data field of the referenced
  10060. Secret will be projected into the volume as a file whose name is the
  10061. key and content is the value. If specified, the listed keys will be
  10062. projected into the specified paths, and unlisted keys will not be
  10063. present. If a key is specified which is not present in the Secret,
  10064. the volume setup will error unless it is marked optional. Paths must be
  10065. relative and may not contain the '..' path or start with '..'.
  10066. items:
  10067. description: Maps a string key to
  10068. a path within a volume.
  10069. properties:
  10070. key:
  10071. description: key is the key
  10072. to project.
  10073. type: string
  10074. mode:
  10075. description: |-
  10076. mode is Optional: mode bits used to set permissions on this file.
  10077. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  10078. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  10079. If not specified, the volume defaultMode will be used.
  10080. This might be in conflict with other options that affect the file
  10081. mode, like fsGroup, and the result can be other mode bits set.
  10082. format: int32
  10083. type: integer
  10084. path:
  10085. description: |-
  10086. path is the relative path of the file to map the key to.
  10087. May not be an absolute path.
  10088. May not contain the path element '..'.
  10089. May not start with the string '..'.
  10090. type: string
  10091. required:
  10092. - key
  10093. - path
  10094. type: object
  10095. type: array
  10096. x-kubernetes-list-type: atomic
  10097. name:
  10098. default: ""
  10099. description: |-
  10100. Name of the referent.
  10101. This field is effectively required, but due to backwards compatibility is
  10102. allowed to be empty. Instances of this type with an empty value here are
  10103. almost certainly wrong.
  10104. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10105. type: string
  10106. optional:
  10107. description: optional field specify
  10108. whether the Secret or its key must
  10109. be defined
  10110. type: boolean
  10111. type: object
  10112. x-kubernetes-map-type: atomic
  10113. serviceAccountToken:
  10114. description: serviceAccountToken is information
  10115. about the serviceAccountToken data to
  10116. project
  10117. properties:
  10118. audience:
  10119. description: |-
  10120. audience is the intended audience of the token. A recipient of a token
  10121. must identify itself with an identifier specified in the audience of the
  10122. token, and otherwise should reject the token. The audience defaults to the
  10123. identifier of the apiserver.
  10124. type: string
  10125. expirationSeconds:
  10126. description: |-
  10127. expirationSeconds is the requested duration of validity of the service
  10128. account token. As the token approaches expiration, the kubelet volume
  10129. plugin will proactively rotate the service account token. The kubelet will
  10130. start trying to rotate the token if the token is older than 80 percent of
  10131. its time to live or if the token is older than 24 hours.Defaults to 1 hour
  10132. and must be at least 10 minutes.
  10133. format: int64
  10134. type: integer
  10135. path:
  10136. description: |-
  10137. path is the path relative to the mount point of the file to project the
  10138. token into.
  10139. type: string
  10140. required:
  10141. - path
  10142. type: object
  10143. type: object
  10144. type: array
  10145. x-kubernetes-list-type: atomic
  10146. type: object
  10147. quobyte:
  10148. description: quobyte represents a Quobyte mount
  10149. on the host that shares a pod's lifetime
  10150. properties:
  10151. group:
  10152. description: |-
  10153. group to map volume access to
  10154. Default is no group
  10155. type: string
  10156. readOnly:
  10157. description: |-
  10158. readOnly here will force the Quobyte volume to be mounted with read-only permissions.
  10159. Defaults to false.
  10160. type: boolean
  10161. registry:
  10162. description: |-
  10163. registry represents a single or multiple Quobyte Registry services
  10164. specified as a string as host:port pair (multiple entries are separated with commas)
  10165. which acts as the central registry for volumes
  10166. type: string
  10167. tenant:
  10168. description: |-
  10169. tenant owning the given Quobyte volume in the Backend
  10170. Used with dynamically provisioned Quobyte volumes, value is set by the plugin
  10171. type: string
  10172. user:
  10173. description: |-
  10174. user to map volume access to
  10175. Defaults to serivceaccount user
  10176. type: string
  10177. volume:
  10178. description: volume is a string that references
  10179. an already created Quobyte volume by name.
  10180. type: string
  10181. required:
  10182. - registry
  10183. - volume
  10184. type: object
  10185. rbd:
  10186. description: |-
  10187. rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
  10188. More info: https://examples.k8s.io/volumes/rbd/README.md
  10189. properties:
  10190. fsType:
  10191. description: |-
  10192. fsType is the filesystem type of the volume that you want to mount.
  10193. Tip: Ensure that the filesystem type is supported by the host operating system.
  10194. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  10195. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
  10196. type: string
  10197. image:
  10198. description: |-
  10199. image is the rados image name.
  10200. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  10201. type: string
  10202. keyring:
  10203. description: |-
  10204. keyring is the path to key ring for RBDUser.
  10205. Default is /etc/ceph/keyring.
  10206. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  10207. type: string
  10208. monitors:
  10209. description: |-
  10210. monitors is a collection of Ceph monitors.
  10211. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  10212. items:
  10213. type: string
  10214. type: array
  10215. x-kubernetes-list-type: atomic
  10216. pool:
  10217. description: |-
  10218. pool is the rados pool name.
  10219. Default is rbd.
  10220. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  10221. type: string
  10222. readOnly:
  10223. description: |-
  10224. readOnly here will force the ReadOnly setting in VolumeMounts.
  10225. Defaults to false.
  10226. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  10227. type: boolean
  10228. secretRef:
  10229. description: |-
  10230. secretRef is name of the authentication secret for RBDUser. If provided
  10231. overrides keyring.
  10232. Default is nil.
  10233. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  10234. properties:
  10235. name:
  10236. default: ""
  10237. description: |-
  10238. Name of the referent.
  10239. This field is effectively required, but due to backwards compatibility is
  10240. allowed to be empty. Instances of this type with an empty value here are
  10241. almost certainly wrong.
  10242. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10243. type: string
  10244. type: object
  10245. x-kubernetes-map-type: atomic
  10246. user:
  10247. description: |-
  10248. user is the rados user name.
  10249. Default is admin.
  10250. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  10251. type: string
  10252. required:
  10253. - image
  10254. - monitors
  10255. type: object
  10256. scaleIO:
  10257. description: scaleIO represents a ScaleIO persistent
  10258. volume attached and mounted on Kubernetes nodes.
  10259. properties:
  10260. fsType:
  10261. description: |-
  10262. fsType is the filesystem type to mount.
  10263. Must be a filesystem type supported by the host operating system.
  10264. Ex. "ext4", "xfs", "ntfs".
  10265. Default is "xfs".
  10266. type: string
  10267. gateway:
  10268. description: gateway is the host address of
  10269. the ScaleIO API Gateway.
  10270. type: string
  10271. protectionDomain:
  10272. description: protectionDomain is the name of
  10273. the ScaleIO Protection Domain for the configured
  10274. storage.
  10275. type: string
  10276. readOnly:
  10277. description: |-
  10278. readOnly Defaults to false (read/write). ReadOnly here will force
  10279. the ReadOnly setting in VolumeMounts.
  10280. type: boolean
  10281. secretRef:
  10282. description: |-
  10283. secretRef references to the secret for ScaleIO user and other
  10284. sensitive information. If this is not provided, Login operation will fail.
  10285. properties:
  10286. name:
  10287. default: ""
  10288. description: |-
  10289. Name of the referent.
  10290. This field is effectively required, but due to backwards compatibility is
  10291. allowed to be empty. Instances of this type with an empty value here are
  10292. almost certainly wrong.
  10293. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10294. type: string
  10295. type: object
  10296. x-kubernetes-map-type: atomic
  10297. sslEnabled:
  10298. description: sslEnabled Flag enable/disable
  10299. SSL communication with Gateway, default false
  10300. type: boolean
  10301. storageMode:
  10302. description: |-
  10303. storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
  10304. Default is ThinProvisioned.
  10305. type: string
  10306. storagePool:
  10307. description: storagePool is the ScaleIO Storage
  10308. Pool associated with the protection domain.
  10309. type: string
  10310. system:
  10311. description: system is the name of the storage
  10312. system as configured in ScaleIO.
  10313. type: string
  10314. volumeName:
  10315. description: |-
  10316. volumeName is the name of a volume already created in the ScaleIO system
  10317. that is associated with this volume source.
  10318. type: string
  10319. required:
  10320. - gateway
  10321. - secretRef
  10322. - system
  10323. type: object
  10324. secret:
  10325. description: |-
  10326. secret represents a secret that should populate this volume.
  10327. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  10328. properties:
  10329. defaultMode:
  10330. description: |-
  10331. defaultMode is Optional: mode bits used to set permissions on created files by default.
  10332. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  10333. YAML accepts both octal and decimal values, JSON requires decimal values
  10334. for mode bits. Defaults to 0644.
  10335. Directories within the path are not affected by this setting.
  10336. This might be in conflict with other options that affect the file
  10337. mode, like fsGroup, and the result can be other mode bits set.
  10338. format: int32
  10339. type: integer
  10340. items:
  10341. description: |-
  10342. items If unspecified, each key-value pair in the Data field of the referenced
  10343. Secret will be projected into the volume as a file whose name is the
  10344. key and content is the value. If specified, the listed keys will be
  10345. projected into the specified paths, and unlisted keys will not be
  10346. present. If a key is specified which is not present in the Secret,
  10347. the volume setup will error unless it is marked optional. Paths must be
  10348. relative and may not contain the '..' path or start with '..'.
  10349. items:
  10350. description: Maps a string key to a path within
  10351. a volume.
  10352. properties:
  10353. key:
  10354. description: key is the key to project.
  10355. type: string
  10356. mode:
  10357. description: |-
  10358. mode is Optional: mode bits used to set permissions on this file.
  10359. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  10360. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  10361. If not specified, the volume defaultMode will be used.
  10362. This might be in conflict with other options that affect the file
  10363. mode, like fsGroup, and the result can be other mode bits set.
  10364. format: int32
  10365. type: integer
  10366. path:
  10367. description: |-
  10368. path is the relative path of the file to map the key to.
  10369. May not be an absolute path.
  10370. May not contain the path element '..'.
  10371. May not start with the string '..'.
  10372. type: string
  10373. required:
  10374. - key
  10375. - path
  10376. type: object
  10377. type: array
  10378. x-kubernetes-list-type: atomic
  10379. optional:
  10380. description: optional field specify whether
  10381. the Secret or its keys must be defined
  10382. type: boolean
  10383. secretName:
  10384. description: |-
  10385. secretName is the name of the secret in the pod's namespace to use.
  10386. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  10387. type: string
  10388. type: object
  10389. storageos:
  10390. description: storageOS represents a StorageOS volume
  10391. attached and mounted on Kubernetes nodes.
  10392. properties:
  10393. fsType:
  10394. description: |-
  10395. fsType is the filesystem type to mount.
  10396. Must be a filesystem type supported by the host operating system.
  10397. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  10398. type: string
  10399. readOnly:
  10400. description: |-
  10401. readOnly defaults to false (read/write). ReadOnly here will force
  10402. the ReadOnly setting in VolumeMounts.
  10403. type: boolean
  10404. secretRef:
  10405. description: |-
  10406. secretRef specifies the secret to use for obtaining the StorageOS API
  10407. credentials. If not specified, default values will be attempted.
  10408. properties:
  10409. name:
  10410. default: ""
  10411. description: |-
  10412. Name of the referent.
  10413. This field is effectively required, but due to backwards compatibility is
  10414. allowed to be empty. Instances of this type with an empty value here are
  10415. almost certainly wrong.
  10416. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10417. type: string
  10418. type: object
  10419. x-kubernetes-map-type: atomic
  10420. volumeName:
  10421. description: |-
  10422. volumeName is the human-readable name of the StorageOS volume. Volume
  10423. names are only unique within a namespace.
  10424. type: string
  10425. volumeNamespace:
  10426. description: |-
  10427. volumeNamespace specifies the scope of the volume within StorageOS. If no
  10428. namespace is specified then the Pod's namespace will be used. This allows the
  10429. Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
  10430. Set VolumeName to any name to override the default behaviour.
  10431. Set to "default" if you are not using namespaces within StorageOS.
  10432. Namespaces that do not pre-exist within StorageOS will be created.
  10433. type: string
  10434. type: object
  10435. vsphereVolume:
  10436. description: vsphereVolume represents a vSphere
  10437. volume attached and mounted on kubelets host machine
  10438. properties:
  10439. fsType:
  10440. description: |-
  10441. fsType is filesystem type to mount.
  10442. Must be a filesystem type supported by the host operating system.
  10443. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  10444. type: string
  10445. storagePolicyID:
  10446. description: storagePolicyID is the storage
  10447. Policy Based Management (SPBM) profile ID
  10448. associated with the StoragePolicyName.
  10449. type: string
  10450. storagePolicyName:
  10451. description: storagePolicyName is the storage
  10452. Policy Based Management (SPBM) profile name.
  10453. type: string
  10454. volumePath:
  10455. description: volumePath is the path that identifies
  10456. vSphere volume vmdk
  10457. type: string
  10458. required:
  10459. - volumePath
  10460. type: object
  10461. required:
  10462. - name
  10463. type: object
  10464. type: array
  10465. type: object
  10466. required:
  10467. - name
  10468. type: object
  10469. type: object
  10470. observability:
  10471. description: observability defines the configuration overrides for
  10472. the stack's observability components.
  10473. properties:
  10474. enabled:
  10475. description: enabled indicates whether the component should be
  10476. deployed for the stack.
  10477. type: boolean
  10478. template:
  10479. description: template holds the configuration overrides for the
  10480. component.
  10481. properties:
  10482. metadata:
  10483. description: metadata is a standard object metadata.
  10484. type: object
  10485. name:
  10486. description: name selects a built-in preset.
  10487. type: string
  10488. spec:
  10489. description: spec holds the pod-level configuration for the
  10490. workload.
  10491. properties:
  10492. affinity:
  10493. description: affinity provides fine-grained node and pod
  10494. (anti-)affinity rules.
  10495. properties:
  10496. nodeAffinity:
  10497. description: Describes node affinity scheduling rules
  10498. for the pod.
  10499. properties:
  10500. preferredDuringSchedulingIgnoredDuringExecution:
  10501. description: |-
  10502. The scheduler will prefer to schedule pods to nodes that satisfy
  10503. the affinity expressions specified by this field, but it may choose
  10504. a node that violates one or more of the expressions. The node that is
  10505. most preferred is the one with the greatest sum of weights, i.e.
  10506. for each node that meets all of the scheduling requirements (resource
  10507. request, requiredDuringScheduling affinity expressions, etc.),
  10508. compute a sum by iterating through the elements of this field and adding
  10509. "weight" to the sum if the node matches the corresponding matchExpressions; the
  10510. node(s) with the highest sum are the most preferred.
  10511. items:
  10512. description: |-
  10513. An empty preferred scheduling term matches all objects with implicit weight 0
  10514. (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
  10515. properties:
  10516. preference:
  10517. description: A node selector term, associated
  10518. with the corresponding weight.
  10519. properties:
  10520. matchExpressions:
  10521. description: A list of node selector
  10522. requirements by node's labels.
  10523. items:
  10524. description: |-
  10525. A node selector requirement is a selector that contains values, a key, and an operator
  10526. that relates the key and values.
  10527. properties:
  10528. key:
  10529. description: The label key that
  10530. the selector applies to.
  10531. type: string
  10532. operator:
  10533. description: |-
  10534. Represents a key's relationship to a set of values.
  10535. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  10536. type: string
  10537. values:
  10538. description: |-
  10539. An array of string values. If the operator is In or NotIn,
  10540. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  10541. the values array must be empty. If the operator is Gt or Lt, the values
  10542. array must have a single element, which will be interpreted as an integer.
  10543. This array is replaced during a strategic merge patch.
  10544. items:
  10545. type: string
  10546. type: array
  10547. x-kubernetes-list-type: atomic
  10548. required:
  10549. - key
  10550. - operator
  10551. type: object
  10552. type: array
  10553. x-kubernetes-list-type: atomic
  10554. matchFields:
  10555. description: A list of node selector
  10556. requirements by node's fields.
  10557. items:
  10558. description: |-
  10559. A node selector requirement is a selector that contains values, a key, and an operator
  10560. that relates the key and values.
  10561. properties:
  10562. key:
  10563. description: The label key that
  10564. the selector applies to.
  10565. type: string
  10566. operator:
  10567. description: |-
  10568. Represents a key's relationship to a set of values.
  10569. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  10570. type: string
  10571. values:
  10572. description: |-
  10573. An array of string values. If the operator is In or NotIn,
  10574. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  10575. the values array must be empty. If the operator is Gt or Lt, the values
  10576. array must have a single element, which will be interpreted as an integer.
  10577. This array is replaced during a strategic merge patch.
  10578. items:
  10579. type: string
  10580. type: array
  10581. x-kubernetes-list-type: atomic
  10582. required:
  10583. - key
  10584. - operator
  10585. type: object
  10586. type: array
  10587. x-kubernetes-list-type: atomic
  10588. type: object
  10589. x-kubernetes-map-type: atomic
  10590. weight:
  10591. description: Weight associated with matching
  10592. the corresponding nodeSelectorTerm, in
  10593. the range 1-100.
  10594. format: int32
  10595. type: integer
  10596. required:
  10597. - preference
  10598. - weight
  10599. type: object
  10600. type: array
  10601. x-kubernetes-list-type: atomic
  10602. requiredDuringSchedulingIgnoredDuringExecution:
  10603. description: |-
  10604. If the affinity requirements specified by this field are not met at
  10605. scheduling time, the pod will not be scheduled onto the node.
  10606. If the affinity requirements specified by this field cease to be met
  10607. at some point during pod execution (e.g. due to an update), the system
  10608. may or may not try to eventually evict the pod from its node.
  10609. properties:
  10610. nodeSelectorTerms:
  10611. description: Required. A list of node selector
  10612. terms. The terms are ORed.
  10613. items:
  10614. description: |-
  10615. A null or empty node selector term matches no objects. The requirements of
  10616. them are ANDed.
  10617. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
  10618. properties:
  10619. matchExpressions:
  10620. description: A list of node selector
  10621. requirements by node's labels.
  10622. items:
  10623. description: |-
  10624. A node selector requirement is a selector that contains values, a key, and an operator
  10625. that relates the key and values.
  10626. properties:
  10627. key:
  10628. description: The label key that
  10629. the selector applies to.
  10630. type: string
  10631. operator:
  10632. description: |-
  10633. Represents a key's relationship to a set of values.
  10634. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  10635. type: string
  10636. values:
  10637. description: |-
  10638. An array of string values. If the operator is In or NotIn,
  10639. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  10640. the values array must be empty. If the operator is Gt or Lt, the values
  10641. array must have a single element, which will be interpreted as an integer.
  10642. This array is replaced during a strategic merge patch.
  10643. items:
  10644. type: string
  10645. type: array
  10646. x-kubernetes-list-type: atomic
  10647. required:
  10648. - key
  10649. - operator
  10650. type: object
  10651. type: array
  10652. x-kubernetes-list-type: atomic
  10653. matchFields:
  10654. description: A list of node selector
  10655. requirements by node's fields.
  10656. items:
  10657. description: |-
  10658. A node selector requirement is a selector that contains values, a key, and an operator
  10659. that relates the key and values.
  10660. properties:
  10661. key:
  10662. description: The label key that
  10663. the selector applies to.
  10664. type: string
  10665. operator:
  10666. description: |-
  10667. Represents a key's relationship to a set of values.
  10668. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  10669. type: string
  10670. values:
  10671. description: |-
  10672. An array of string values. If the operator is In or NotIn,
  10673. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  10674. the values array must be empty. If the operator is Gt or Lt, the values
  10675. array must have a single element, which will be interpreted as an integer.
  10676. This array is replaced during a strategic merge patch.
  10677. items:
  10678. type: string
  10679. type: array
  10680. x-kubernetes-list-type: atomic
  10681. required:
  10682. - key
  10683. - operator
  10684. type: object
  10685. type: array
  10686. x-kubernetes-list-type: atomic
  10687. type: object
  10688. x-kubernetes-map-type: atomic
  10689. type: array
  10690. x-kubernetes-list-type: atomic
  10691. required:
  10692. - nodeSelectorTerms
  10693. type: object
  10694. x-kubernetes-map-type: atomic
  10695. type: object
  10696. podAffinity:
  10697. description: Describes pod affinity scheduling rules
  10698. (e.g. co-locate this pod in the same node, zone,
  10699. etc. as some other pod(s)).
  10700. properties:
  10701. preferredDuringSchedulingIgnoredDuringExecution:
  10702. description: |-
  10703. The scheduler will prefer to schedule pods to nodes that satisfy
  10704. the affinity expressions specified by this field, but it may choose
  10705. a node that violates one or more of the expressions. The node that is
  10706. most preferred is the one with the greatest sum of weights, i.e.
  10707. for each node that meets all of the scheduling requirements (resource
  10708. request, requiredDuringScheduling affinity expressions, etc.),
  10709. compute a sum by iterating through the elements of this field and adding
  10710. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  10711. node(s) with the highest sum are the most preferred.
  10712. items:
  10713. description: The weights of all of the matched
  10714. WeightedPodAffinityTerm fields are added per-node
  10715. to find the most preferred node(s)
  10716. properties:
  10717. podAffinityTerm:
  10718. description: Required. A pod affinity term,
  10719. associated with the corresponding weight.
  10720. properties:
  10721. labelSelector:
  10722. description: |-
  10723. A label query over a set of resources, in this case pods.
  10724. If it's null, this PodAffinityTerm matches with no Pods.
  10725. properties:
  10726. matchExpressions:
  10727. description: matchExpressions is
  10728. a list of label selector requirements.
  10729. The requirements are ANDed.
  10730. items:
  10731. description: |-
  10732. A label selector requirement is a selector that contains values, a key, and an operator that
  10733. relates the key and values.
  10734. properties:
  10735. key:
  10736. description: key is the label
  10737. key that the selector applies
  10738. to.
  10739. type: string
  10740. operator:
  10741. description: |-
  10742. operator represents a key's relationship to a set of values.
  10743. Valid operators are In, NotIn, Exists and DoesNotExist.
  10744. type: string
  10745. values:
  10746. description: |-
  10747. values is an array of string values. If the operator is In or NotIn,
  10748. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  10749. the values array must be empty. This array is replaced during a strategic
  10750. merge patch.
  10751. items:
  10752. type: string
  10753. type: array
  10754. x-kubernetes-list-type: atomic
  10755. required:
  10756. - key
  10757. - operator
  10758. type: object
  10759. type: array
  10760. x-kubernetes-list-type: atomic
  10761. matchLabels:
  10762. additionalProperties:
  10763. type: string
  10764. description: |-
  10765. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  10766. map is equivalent to an element of matchExpressions, whose key field is "key", the
  10767. operator is "In", and the values array contains only "value". The requirements are ANDed.
  10768. type: object
  10769. type: object
  10770. x-kubernetes-map-type: atomic
  10771. matchLabelKeys:
  10772. description: |-
  10773. MatchLabelKeys is a set of pod label keys to select which pods will
  10774. be taken into consideration. The keys are used to lookup values from the
  10775. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  10776. to select the group of existing pods which pods will be taken into consideration
  10777. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  10778. pod labels will be ignored. The default value is empty.
  10779. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  10780. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  10781. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  10782. items:
  10783. type: string
  10784. type: array
  10785. x-kubernetes-list-type: atomic
  10786. mismatchLabelKeys:
  10787. description: |-
  10788. MismatchLabelKeys is a set of pod label keys to select which pods will
  10789. be taken into consideration. The keys are used to lookup values from the
  10790. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  10791. to select the group of existing pods which pods will be taken into consideration
  10792. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  10793. pod labels will be ignored. The default value is empty.
  10794. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  10795. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  10796. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  10797. items:
  10798. type: string
  10799. type: array
  10800. x-kubernetes-list-type: atomic
  10801. namespaceSelector:
  10802. description: |-
  10803. A label query over the set of namespaces that the term applies to.
  10804. The term is applied to the union of the namespaces selected by this field
  10805. and the ones listed in the namespaces field.
  10806. null selector and null or empty namespaces list means "this pod's namespace".
  10807. An empty selector ({}) matches all namespaces.
  10808. properties:
  10809. matchExpressions:
  10810. description: matchExpressions is
  10811. a list of label selector requirements.
  10812. The requirements are ANDed.
  10813. items:
  10814. description: |-
  10815. A label selector requirement is a selector that contains values, a key, and an operator that
  10816. relates the key and values.
  10817. properties:
  10818. key:
  10819. description: key is the label
  10820. key that the selector applies
  10821. to.
  10822. type: string
  10823. operator:
  10824. description: |-
  10825. operator represents a key's relationship to a set of values.
  10826. Valid operators are In, NotIn, Exists and DoesNotExist.
  10827. type: string
  10828. values:
  10829. description: |-
  10830. values is an array of string values. If the operator is In or NotIn,
  10831. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  10832. the values array must be empty. This array is replaced during a strategic
  10833. merge patch.
  10834. items:
  10835. type: string
  10836. type: array
  10837. x-kubernetes-list-type: atomic
  10838. required:
  10839. - key
  10840. - operator
  10841. type: object
  10842. type: array
  10843. x-kubernetes-list-type: atomic
  10844. matchLabels:
  10845. additionalProperties:
  10846. type: string
  10847. description: |-
  10848. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  10849. map is equivalent to an element of matchExpressions, whose key field is "key", the
  10850. operator is "In", and the values array contains only "value". The requirements are ANDed.
  10851. type: object
  10852. type: object
  10853. x-kubernetes-map-type: atomic
  10854. namespaces:
  10855. description: |-
  10856. namespaces specifies a static list of namespace names that the term applies to.
  10857. The term is applied to the union of the namespaces listed in this field
  10858. and the ones selected by namespaceSelector.
  10859. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  10860. items:
  10861. type: string
  10862. type: array
  10863. x-kubernetes-list-type: atomic
  10864. topologyKey:
  10865. description: |-
  10866. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  10867. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  10868. whose value of the label with key topologyKey matches that of any node on which any of the
  10869. selected pods is running.
  10870. Empty topologyKey is not allowed.
  10871. type: string
  10872. required:
  10873. - topologyKey
  10874. type: object
  10875. weight:
  10876. description: |-
  10877. weight associated with matching the corresponding podAffinityTerm,
  10878. in the range 1-100.
  10879. format: int32
  10880. type: integer
  10881. required:
  10882. - podAffinityTerm
  10883. - weight
  10884. type: object
  10885. type: array
  10886. x-kubernetes-list-type: atomic
  10887. requiredDuringSchedulingIgnoredDuringExecution:
  10888. description: |-
  10889. If the affinity requirements specified by this field are not met at
  10890. scheduling time, the pod will not be scheduled onto the node.
  10891. If the affinity requirements specified by this field cease to be met
  10892. at some point during pod execution (e.g. due to a pod label update), the
  10893. system may or may not try to eventually evict the pod from its node.
  10894. When there are multiple elements, the lists of nodes corresponding to each
  10895. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  10896. items:
  10897. description: |-
  10898. Defines a set of pods (namely those matching the labelSelector
  10899. relative to the given namespace(s)) that this pod should be
  10900. co-located (affinity) or not co-located (anti-affinity) with,
  10901. where co-located is defined as running on a node whose value of
  10902. the label with key <topologyKey> matches that of any node on which
  10903. a pod of the set of pods is running
  10904. properties:
  10905. labelSelector:
  10906. description: |-
  10907. A label query over a set of resources, in this case pods.
  10908. If it's null, this PodAffinityTerm matches with no Pods.
  10909. properties:
  10910. matchExpressions:
  10911. description: matchExpressions is a list
  10912. of label selector requirements. The
  10913. requirements are ANDed.
  10914. items:
  10915. description: |-
  10916. A label selector requirement is a selector that contains values, a key, and an operator that
  10917. relates the key and values.
  10918. properties:
  10919. key:
  10920. description: key is the label
  10921. key that the selector applies
  10922. to.
  10923. type: string
  10924. operator:
  10925. description: |-
  10926. operator represents a key's relationship to a set of values.
  10927. Valid operators are In, NotIn, Exists and DoesNotExist.
  10928. type: string
  10929. values:
  10930. description: |-
  10931. values is an array of string values. If the operator is In or NotIn,
  10932. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  10933. the values array must be empty. This array is replaced during a strategic
  10934. merge patch.
  10935. items:
  10936. type: string
  10937. type: array
  10938. x-kubernetes-list-type: atomic
  10939. required:
  10940. - key
  10941. - operator
  10942. type: object
  10943. type: array
  10944. x-kubernetes-list-type: atomic
  10945. matchLabels:
  10946. additionalProperties:
  10947. type: string
  10948. description: |-
  10949. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  10950. map is equivalent to an element of matchExpressions, whose key field is "key", the
  10951. operator is "In", and the values array contains only "value". The requirements are ANDed.
  10952. type: object
  10953. type: object
  10954. x-kubernetes-map-type: atomic
  10955. matchLabelKeys:
  10956. description: |-
  10957. MatchLabelKeys is a set of pod label keys to select which pods will
  10958. be taken into consideration. The keys are used to lookup values from the
  10959. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  10960. to select the group of existing pods which pods will be taken into consideration
  10961. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  10962. pod labels will be ignored. The default value is empty.
  10963. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  10964. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  10965. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  10966. items:
  10967. type: string
  10968. type: array
  10969. x-kubernetes-list-type: atomic
  10970. mismatchLabelKeys:
  10971. description: |-
  10972. MismatchLabelKeys is a set of pod label keys to select which pods will
  10973. be taken into consideration. The keys are used to lookup values from the
  10974. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  10975. to select the group of existing pods which pods will be taken into consideration
  10976. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  10977. pod labels will be ignored. The default value is empty.
  10978. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  10979. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  10980. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  10981. items:
  10982. type: string
  10983. type: array
  10984. x-kubernetes-list-type: atomic
  10985. namespaceSelector:
  10986. description: |-
  10987. A label query over the set of namespaces that the term applies to.
  10988. The term is applied to the union of the namespaces selected by this field
  10989. and the ones listed in the namespaces field.
  10990. null selector and null or empty namespaces list means "this pod's namespace".
  10991. An empty selector ({}) matches all namespaces.
  10992. properties:
  10993. matchExpressions:
  10994. description: matchExpressions is a list
  10995. of label selector requirements. The
  10996. requirements are ANDed.
  10997. items:
  10998. description: |-
  10999. A label selector requirement is a selector that contains values, a key, and an operator that
  11000. relates the key and values.
  11001. properties:
  11002. key:
  11003. description: key is the label
  11004. key that the selector applies
  11005. to.
  11006. type: string
  11007. operator:
  11008. description: |-
  11009. operator represents a key's relationship to a set of values.
  11010. Valid operators are In, NotIn, Exists and DoesNotExist.
  11011. type: string
  11012. values:
  11013. description: |-
  11014. values is an array of string values. If the operator is In or NotIn,
  11015. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  11016. the values array must be empty. This array is replaced during a strategic
  11017. merge patch.
  11018. items:
  11019. type: string
  11020. type: array
  11021. x-kubernetes-list-type: atomic
  11022. required:
  11023. - key
  11024. - operator
  11025. type: object
  11026. type: array
  11027. x-kubernetes-list-type: atomic
  11028. matchLabels:
  11029. additionalProperties:
  11030. type: string
  11031. description: |-
  11032. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  11033. map is equivalent to an element of matchExpressions, whose key field is "key", the
  11034. operator is "In", and the values array contains only "value". The requirements are ANDed.
  11035. type: object
  11036. type: object
  11037. x-kubernetes-map-type: atomic
  11038. namespaces:
  11039. description: |-
  11040. namespaces specifies a static list of namespace names that the term applies to.
  11041. The term is applied to the union of the namespaces listed in this field
  11042. and the ones selected by namespaceSelector.
  11043. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  11044. items:
  11045. type: string
  11046. type: array
  11047. x-kubernetes-list-type: atomic
  11048. topologyKey:
  11049. description: |-
  11050. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  11051. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  11052. whose value of the label with key topologyKey matches that of any node on which any of the
  11053. selected pods is running.
  11054. Empty topologyKey is not allowed.
  11055. type: string
  11056. required:
  11057. - topologyKey
  11058. type: object
  11059. type: array
  11060. x-kubernetes-list-type: atomic
  11061. type: object
  11062. podAntiAffinity:
  11063. description: Describes pod anti-affinity scheduling
  11064. rules (e.g. avoid putting this pod in the same node,
  11065. zone, etc. as some other pod(s)).
  11066. properties:
  11067. preferredDuringSchedulingIgnoredDuringExecution:
  11068. description: |-
  11069. The scheduler will prefer to schedule pods to nodes that satisfy
  11070. the anti-affinity expressions specified by this field, but it may choose
  11071. a node that violates one or more of the expressions. The node that is
  11072. most preferred is the one with the greatest sum of weights, i.e.
  11073. for each node that meets all of the scheduling requirements (resource
  11074. request, requiredDuringScheduling anti-affinity expressions, etc.),
  11075. compute a sum by iterating through the elements of this field and adding
  11076. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  11077. node(s) with the highest sum are the most preferred.
  11078. items:
  11079. description: The weights of all of the matched
  11080. WeightedPodAffinityTerm fields are added per-node
  11081. to find the most preferred node(s)
  11082. properties:
  11083. podAffinityTerm:
  11084. description: Required. A pod affinity term,
  11085. associated with the corresponding weight.
  11086. properties:
  11087. labelSelector:
  11088. description: |-
  11089. A label query over a set of resources, in this case pods.
  11090. If it's null, this PodAffinityTerm matches with no Pods.
  11091. properties:
  11092. matchExpressions:
  11093. description: matchExpressions is
  11094. a list of label selector requirements.
  11095. The requirements are ANDed.
  11096. items:
  11097. description: |-
  11098. A label selector requirement is a selector that contains values, a key, and an operator that
  11099. relates the key and values.
  11100. properties:
  11101. key:
  11102. description: key is the label
  11103. key that the selector applies
  11104. to.
  11105. type: string
  11106. operator:
  11107. description: |-
  11108. operator represents a key's relationship to a set of values.
  11109. Valid operators are In, NotIn, Exists and DoesNotExist.
  11110. type: string
  11111. values:
  11112. description: |-
  11113. values is an array of string values. If the operator is In or NotIn,
  11114. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  11115. the values array must be empty. This array is replaced during a strategic
  11116. merge patch.
  11117. items:
  11118. type: string
  11119. type: array
  11120. x-kubernetes-list-type: atomic
  11121. required:
  11122. - key
  11123. - operator
  11124. type: object
  11125. type: array
  11126. x-kubernetes-list-type: atomic
  11127. matchLabels:
  11128. additionalProperties:
  11129. type: string
  11130. description: |-
  11131. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  11132. map is equivalent to an element of matchExpressions, whose key field is "key", the
  11133. operator is "In", and the values array contains only "value". The requirements are ANDed.
  11134. type: object
  11135. type: object
  11136. x-kubernetes-map-type: atomic
  11137. matchLabelKeys:
  11138. description: |-
  11139. MatchLabelKeys is a set of pod label keys to select which pods will
  11140. be taken into consideration. The keys are used to lookup values from the
  11141. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  11142. to select the group of existing pods which pods will be taken into consideration
  11143. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  11144. pod labels will be ignored. The default value is empty.
  11145. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  11146. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  11147. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  11148. items:
  11149. type: string
  11150. type: array
  11151. x-kubernetes-list-type: atomic
  11152. mismatchLabelKeys:
  11153. description: |-
  11154. MismatchLabelKeys is a set of pod label keys to select which pods will
  11155. be taken into consideration. The keys are used to lookup values from the
  11156. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  11157. to select the group of existing pods which pods will be taken into consideration
  11158. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  11159. pod labels will be ignored. The default value is empty.
  11160. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  11161. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  11162. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  11163. items:
  11164. type: string
  11165. type: array
  11166. x-kubernetes-list-type: atomic
  11167. namespaceSelector:
  11168. description: |-
  11169. A label query over the set of namespaces that the term applies to.
  11170. The term is applied to the union of the namespaces selected by this field
  11171. and the ones listed in the namespaces field.
  11172. null selector and null or empty namespaces list means "this pod's namespace".
  11173. An empty selector ({}) matches all namespaces.
  11174. properties:
  11175. matchExpressions:
  11176. description: matchExpressions is
  11177. a list of label selector requirements.
  11178. The requirements are ANDed.
  11179. items:
  11180. description: |-
  11181. A label selector requirement is a selector that contains values, a key, and an operator that
  11182. relates the key and values.
  11183. properties:
  11184. key:
  11185. description: key is the label
  11186. key that the selector applies
  11187. to.
  11188. type: string
  11189. operator:
  11190. description: |-
  11191. operator represents a key's relationship to a set of values.
  11192. Valid operators are In, NotIn, Exists and DoesNotExist.
  11193. type: string
  11194. values:
  11195. description: |-
  11196. values is an array of string values. If the operator is In or NotIn,
  11197. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  11198. the values array must be empty. This array is replaced during a strategic
  11199. merge patch.
  11200. items:
  11201. type: string
  11202. type: array
  11203. x-kubernetes-list-type: atomic
  11204. required:
  11205. - key
  11206. - operator
  11207. type: object
  11208. type: array
  11209. x-kubernetes-list-type: atomic
  11210. matchLabels:
  11211. additionalProperties:
  11212. type: string
  11213. description: |-
  11214. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  11215. map is equivalent to an element of matchExpressions, whose key field is "key", the
  11216. operator is "In", and the values array contains only "value". The requirements are ANDed.
  11217. type: object
  11218. type: object
  11219. x-kubernetes-map-type: atomic
  11220. namespaces:
  11221. description: |-
  11222. namespaces specifies a static list of namespace names that the term applies to.
  11223. The term is applied to the union of the namespaces listed in this field
  11224. and the ones selected by namespaceSelector.
  11225. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  11226. items:
  11227. type: string
  11228. type: array
  11229. x-kubernetes-list-type: atomic
  11230. topologyKey:
  11231. description: |-
  11232. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  11233. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  11234. whose value of the label with key topologyKey matches that of any node on which any of the
  11235. selected pods is running.
  11236. Empty topologyKey is not allowed.
  11237. type: string
  11238. required:
  11239. - topologyKey
  11240. type: object
  11241. weight:
  11242. description: |-
  11243. weight associated with matching the corresponding podAffinityTerm,
  11244. in the range 1-100.
  11245. format: int32
  11246. type: integer
  11247. required:
  11248. - podAffinityTerm
  11249. - weight
  11250. type: object
  11251. type: array
  11252. x-kubernetes-list-type: atomic
  11253. requiredDuringSchedulingIgnoredDuringExecution:
  11254. description: |-
  11255. If the anti-affinity requirements specified by this field are not met at
  11256. scheduling time, the pod will not be scheduled onto the node.
  11257. If the anti-affinity requirements specified by this field cease to be met
  11258. at some point during pod execution (e.g. due to a pod label update), the
  11259. system may or may not try to eventually evict the pod from its node.
  11260. When there are multiple elements, the lists of nodes corresponding to each
  11261. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  11262. items:
  11263. description: |-
  11264. Defines a set of pods (namely those matching the labelSelector
  11265. relative to the given namespace(s)) that this pod should be
  11266. co-located (affinity) or not co-located (anti-affinity) with,
  11267. where co-located is defined as running on a node whose value of
  11268. the label with key <topologyKey> matches that of any node on which
  11269. a pod of the set of pods is running
  11270. properties:
  11271. labelSelector:
  11272. description: |-
  11273. A label query over a set of resources, in this case pods.
  11274. If it's null, this PodAffinityTerm matches with no Pods.
  11275. properties:
  11276. matchExpressions:
  11277. description: matchExpressions is a list
  11278. of label selector requirements. The
  11279. requirements are ANDed.
  11280. items:
  11281. description: |-
  11282. A label selector requirement is a selector that contains values, a key, and an operator that
  11283. relates the key and values.
  11284. properties:
  11285. key:
  11286. description: key is the label
  11287. key that the selector applies
  11288. to.
  11289. type: string
  11290. operator:
  11291. description: |-
  11292. operator represents a key's relationship to a set of values.
  11293. Valid operators are In, NotIn, Exists and DoesNotExist.
  11294. type: string
  11295. values:
  11296. description: |-
  11297. values is an array of string values. If the operator is In or NotIn,
  11298. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  11299. the values array must be empty. This array is replaced during a strategic
  11300. merge patch.
  11301. items:
  11302. type: string
  11303. type: array
  11304. x-kubernetes-list-type: atomic
  11305. required:
  11306. - key
  11307. - operator
  11308. type: object
  11309. type: array
  11310. x-kubernetes-list-type: atomic
  11311. matchLabels:
  11312. additionalProperties:
  11313. type: string
  11314. description: |-
  11315. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  11316. map is equivalent to an element of matchExpressions, whose key field is "key", the
  11317. operator is "In", and the values array contains only "value". The requirements are ANDed.
  11318. type: object
  11319. type: object
  11320. x-kubernetes-map-type: atomic
  11321. matchLabelKeys:
  11322. description: |-
  11323. MatchLabelKeys is a set of pod label keys to select which pods will
  11324. be taken into consideration. The keys are used to lookup values from the
  11325. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  11326. to select the group of existing pods which pods will be taken into consideration
  11327. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  11328. pod labels will be ignored. The default value is empty.
  11329. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  11330. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  11331. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  11332. items:
  11333. type: string
  11334. type: array
  11335. x-kubernetes-list-type: atomic
  11336. mismatchLabelKeys:
  11337. description: |-
  11338. MismatchLabelKeys is a set of pod label keys to select which pods will
  11339. be taken into consideration. The keys are used to lookup values from the
  11340. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  11341. to select the group of existing pods which pods will be taken into consideration
  11342. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  11343. pod labels will be ignored. The default value is empty.
  11344. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  11345. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  11346. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  11347. items:
  11348. type: string
  11349. type: array
  11350. x-kubernetes-list-type: atomic
  11351. namespaceSelector:
  11352. description: |-
  11353. A label query over the set of namespaces that the term applies to.
  11354. The term is applied to the union of the namespaces selected by this field
  11355. and the ones listed in the namespaces field.
  11356. null selector and null or empty namespaces list means "this pod's namespace".
  11357. An empty selector ({}) matches all namespaces.
  11358. properties:
  11359. matchExpressions:
  11360. description: matchExpressions is a list
  11361. of label selector requirements. The
  11362. requirements are ANDed.
  11363. items:
  11364. description: |-
  11365. A label selector requirement is a selector that contains values, a key, and an operator that
  11366. relates the key and values.
  11367. properties:
  11368. key:
  11369. description: key is the label
  11370. key that the selector applies
  11371. to.
  11372. type: string
  11373. operator:
  11374. description: |-
  11375. operator represents a key's relationship to a set of values.
  11376. Valid operators are In, NotIn, Exists and DoesNotExist.
  11377. type: string
  11378. values:
  11379. description: |-
  11380. values is an array of string values. If the operator is In or NotIn,
  11381. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  11382. the values array must be empty. This array is replaced during a strategic
  11383. merge patch.
  11384. items:
  11385. type: string
  11386. type: array
  11387. x-kubernetes-list-type: atomic
  11388. required:
  11389. - key
  11390. - operator
  11391. type: object
  11392. type: array
  11393. x-kubernetes-list-type: atomic
  11394. matchLabels:
  11395. additionalProperties:
  11396. type: string
  11397. description: |-
  11398. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  11399. map is equivalent to an element of matchExpressions, whose key field is "key", the
  11400. operator is "In", and the values array contains only "value". The requirements are ANDed.
  11401. type: object
  11402. type: object
  11403. x-kubernetes-map-type: atomic
  11404. namespaces:
  11405. description: |-
  11406. namespaces specifies a static list of namespace names that the term applies to.
  11407. The term is applied to the union of the namespaces listed in this field
  11408. and the ones selected by namespaceSelector.
  11409. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  11410. items:
  11411. type: string
  11412. type: array
  11413. x-kubernetes-list-type: atomic
  11414. topologyKey:
  11415. description: |-
  11416. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  11417. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  11418. whose value of the label with key topologyKey matches that of any node on which any of the
  11419. selected pods is running.
  11420. Empty topologyKey is not allowed.
  11421. type: string
  11422. required:
  11423. - topologyKey
  11424. type: object
  11425. type: array
  11426. x-kubernetes-list-type: atomic
  11427. type: object
  11428. type: object
  11429. nodeSelector:
  11430. additionalProperties:
  11431. type: string
  11432. description: nodeSelector pins pods to nodes that match
  11433. all the specified labels.
  11434. type: object
  11435. resources:
  11436. description: resources sets per-container resource requests
  11437. and limits.
  11438. properties:
  11439. claims:
  11440. description: |-
  11441. Claims lists the names of resources, defined in spec.resourceClaims,
  11442. that are used by this container.
  11443. This is an alpha field and requires enabling the
  11444. DynamicResourceAllocation feature gate.
  11445. This field is immutable. It can only be set for containers.
  11446. items:
  11447. description: ResourceClaim references one entry
  11448. in PodSpec.ResourceClaims.
  11449. properties:
  11450. name:
  11451. description: |-
  11452. Name must match the name of one entry in pod.spec.resourceClaims of
  11453. the Pod where this field is used. It makes that resource available
  11454. inside a container.
  11455. type: string
  11456. required:
  11457. - name
  11458. type: object
  11459. type: array
  11460. x-kubernetes-list-map-keys:
  11461. - name
  11462. x-kubernetes-list-type: map
  11463. limits:
  11464. additionalProperties:
  11465. anyOf:
  11466. - type: integer
  11467. - type: string
  11468. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  11469. x-kubernetes-int-or-string: true
  11470. description: |-
  11471. Limits describes the maximum amount of compute resources allowed.
  11472. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  11473. type: object
  11474. requests:
  11475. additionalProperties:
  11476. anyOf:
  11477. - type: integer
  11478. - type: string
  11479. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  11480. x-kubernetes-int-or-string: true
  11481. description: |-
  11482. Requests describes the minimum amount of compute resources required.
  11483. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  11484. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  11485. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  11486. type: object
  11487. type: object
  11488. runtime:
  11489. description: runtime describes the container runtime to
  11490. use for the workload.
  11491. properties:
  11492. args:
  11493. description: args specifies or overrides the preset's
  11494. container command.
  11495. items:
  11496. type: string
  11497. type: array
  11498. command:
  11499. description: command specifies or overrides the preset's
  11500. container entrypoint.
  11501. items:
  11502. type: string
  11503. type: array
  11504. conditionalArgs:
  11505. description: conditionalArgs are appended to the preset
  11506. command conditionally.
  11507. items:
  11508. properties:
  11509. args:
  11510. description: args are appended to the preset
  11511. args.
  11512. items:
  11513. type: string
  11514. type: array
  11515. when:
  11516. description: when the value is not empty after
  11517. variable substitution, the args are appended
  11518. to the preset args.
  11519. type: string
  11520. required:
  11521. - args
  11522. - when
  11523. type: object
  11524. type: array
  11525. env:
  11526. description: env holds environment variables injected
  11527. into the container.
  11528. items:
  11529. description: EnvVar represents an environment variable
  11530. present in a Container.
  11531. properties:
  11532. name:
  11533. description: Name of the environment variable.
  11534. Must be a C_IDENTIFIER.
  11535. type: string
  11536. value:
  11537. description: |-
  11538. Variable references $(VAR_NAME) are expanded
  11539. using the previously defined environment variables in the container and
  11540. any service environment variables. If a variable cannot be resolved,
  11541. the reference in the input string will be unchanged. Double $$ are reduced
  11542. to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
  11543. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
  11544. Escaped references will never be expanded, regardless of whether the variable
  11545. exists or not.
  11546. Defaults to "".
  11547. type: string
  11548. valueFrom:
  11549. description: Source for the environment variable's
  11550. value. Cannot be used if value is not empty.
  11551. properties:
  11552. configMapKeyRef:
  11553. description: Selects a key of a ConfigMap.
  11554. properties:
  11555. key:
  11556. description: The key to select.
  11557. type: string
  11558. name:
  11559. default: ""
  11560. description: |-
  11561. Name of the referent.
  11562. This field is effectively required, but due to backwards compatibility is
  11563. allowed to be empty. Instances of this type with an empty value here are
  11564. almost certainly wrong.
  11565. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11566. type: string
  11567. optional:
  11568. description: Specify whether the ConfigMap
  11569. or its key must be defined
  11570. type: boolean
  11571. required:
  11572. - key
  11573. type: object
  11574. x-kubernetes-map-type: atomic
  11575. fieldRef:
  11576. description: |-
  11577. Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
  11578. spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
  11579. properties:
  11580. apiVersion:
  11581. description: Version of the schema the
  11582. FieldPath is written in terms of,
  11583. defaults to "v1".
  11584. type: string
  11585. fieldPath:
  11586. description: Path of the field to select
  11587. in the specified API version.
  11588. type: string
  11589. required:
  11590. - fieldPath
  11591. type: object
  11592. x-kubernetes-map-type: atomic
  11593. resourceFieldRef:
  11594. description: |-
  11595. Selects a resource of the container: only resources limits and requests
  11596. (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
  11597. properties:
  11598. containerName:
  11599. description: 'Container name: required
  11600. for volumes, optional for env vars'
  11601. type: string
  11602. divisor:
  11603. anyOf:
  11604. - type: integer
  11605. - type: string
  11606. description: Specifies the output format
  11607. of the exposed resources, defaults
  11608. to "1"
  11609. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  11610. x-kubernetes-int-or-string: true
  11611. resource:
  11612. description: 'Required: resource to
  11613. select'
  11614. type: string
  11615. required:
  11616. - resource
  11617. type: object
  11618. x-kubernetes-map-type: atomic
  11619. secretKeyRef:
  11620. description: Selects a key of a secret in
  11621. the pod's namespace
  11622. properties:
  11623. key:
  11624. description: The key of the secret to
  11625. select from. Must be a valid secret
  11626. key.
  11627. type: string
  11628. name:
  11629. default: ""
  11630. description: |-
  11631. Name of the referent.
  11632. This field is effectively required, but due to backwards compatibility is
  11633. allowed to be empty. Instances of this type with an empty value here are
  11634. almost certainly wrong.
  11635. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11636. type: string
  11637. optional:
  11638. description: Specify whether the Secret
  11639. or its key must be defined
  11640. type: boolean
  11641. required:
  11642. - key
  11643. type: object
  11644. x-kubernetes-map-type: atomic
  11645. type: object
  11646. required:
  11647. - name
  11648. type: object
  11649. type: array
  11650. envFrom:
  11651. description: envFrom references ConfigMaps or Secrets
  11652. whose key-value pairs are injected as environment
  11653. variables.
  11654. items:
  11655. description: EnvFromSource represents the source
  11656. of a set of ConfigMaps
  11657. properties:
  11658. configMapRef:
  11659. description: The ConfigMap to select from
  11660. properties:
  11661. name:
  11662. default: ""
  11663. description: |-
  11664. Name of the referent.
  11665. This field is effectively required, but due to backwards compatibility is
  11666. allowed to be empty. Instances of this type with an empty value here are
  11667. almost certainly wrong.
  11668. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11669. type: string
  11670. optional:
  11671. description: Specify whether the ConfigMap
  11672. must be defined
  11673. type: boolean
  11674. type: object
  11675. x-kubernetes-map-type: atomic
  11676. prefix:
  11677. description: An optional identifier to prepend
  11678. to each key in the ConfigMap. Must be a C_IDENTIFIER.
  11679. type: string
  11680. secretRef:
  11681. description: The Secret to select from
  11682. properties:
  11683. name:
  11684. default: ""
  11685. description: |-
  11686. Name of the referent.
  11687. This field is effectively required, but due to backwards compatibility is
  11688. allowed to be empty. Instances of this type with an empty value here are
  11689. almost certainly wrong.
  11690. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11691. type: string
  11692. optional:
  11693. description: Specify whether the Secret
  11694. must be defined
  11695. type: boolean
  11696. type: object
  11697. x-kubernetes-map-type: atomic
  11698. type: object
  11699. type: array
  11700. extraArgs:
  11701. description: extraArgs are appended to the preset
  11702. command.
  11703. items:
  11704. type: string
  11705. type: array
  11706. image:
  11707. description: |-
  11708. image specifies or overrides the preset's container image, e.g. to pin a specific tag
  11709. or pull from a private registry mirror.
  11710. type: string
  11711. name:
  11712. description: name selects a built-in runtime preset.
  11713. type: string
  11714. port:
  11715. description: port specifies or overrides the container
  11716. port the runtime listens on.
  11717. format: int32
  11718. type: integer
  11719. volumeMounts:
  11720. description: volumeMounts defines where pod volumes
  11721. are mounted inside the container.
  11722. items:
  11723. description: VolumeMount describes a mounting of
  11724. a Volume within a container.
  11725. properties:
  11726. mountPath:
  11727. description: |-
  11728. Path within the container at which the volume should be mounted. Must
  11729. not contain ':'.
  11730. type: string
  11731. mountPropagation:
  11732. description: |-
  11733. mountPropagation determines how mounts are propagated from the host
  11734. to container and the other way around.
  11735. When not set, MountPropagationNone is used.
  11736. This field is beta in 1.10.
  11737. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
  11738. (which defaults to None).
  11739. type: string
  11740. name:
  11741. description: This must match the Name of a Volume.
  11742. type: string
  11743. readOnly:
  11744. description: |-
  11745. Mounted read-only if true, read-write otherwise (false or unspecified).
  11746. Defaults to false.
  11747. type: boolean
  11748. recursiveReadOnly:
  11749. description: |-
  11750. RecursiveReadOnly specifies whether read-only mounts should be handled
  11751. recursively.
  11752. If ReadOnly is false, this field has no meaning and must be unspecified.
  11753. If ReadOnly is true, and this field is set to Disabled, the mount is not made
  11754. recursively read-only. If this field is set to IfPossible, the mount is made
  11755. recursively read-only, if it is supported by the container runtime. If this
  11756. field is set to Enabled, the mount is made recursively read-only if it is
  11757. supported by the container runtime, otherwise the pod will not be started and
  11758. an error will be generated to indicate the reason.
  11759. If this field is set to IfPossible or Enabled, MountPropagation must be set to
  11760. None (or be unspecified, which defaults to None).
  11761. If this field is not specified, it is treated as an equivalent of Disabled.
  11762. type: string
  11763. subPath:
  11764. description: |-
  11765. Path within the volume from which the container's volume should be mounted.
  11766. Defaults to "" (volume's root).
  11767. type: string
  11768. subPathExpr:
  11769. description: |-
  11770. Expanded path within the volume from which the container's volume should be mounted.
  11771. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
  11772. Defaults to "" (volume's root).
  11773. SubPathExpr and SubPath are mutually exclusive.
  11774. type: string
  11775. required:
  11776. - mountPath
  11777. - name
  11778. type: object
  11779. type: array
  11780. type: object
  11781. securityContext:
  11782. description: |-
  11783. securityContext sets pod-level security attributes such as runAsUser,
  11784. runAsGroup, fsGroup, and sysctls.
  11785. properties:
  11786. appArmorProfile:
  11787. description: |-
  11788. appArmorProfile is the AppArmor options to use by the containers in this pod.
  11789. Note that this field cannot be set when spec.os.name is windows.
  11790. properties:
  11791. localhostProfile:
  11792. description: |-
  11793. localhostProfile indicates a profile loaded on the node that should be used.
  11794. The profile must be preconfigured on the node to work.
  11795. Must match the loaded name of the profile.
  11796. Must be set if and only if type is "Localhost".
  11797. type: string
  11798. type:
  11799. description: |-
  11800. type indicates which kind of AppArmor profile will be applied.
  11801. Valid options are:
  11802. Localhost - a profile pre-loaded on the node.
  11803. RuntimeDefault - the container runtime's default profile.
  11804. Unconfined - no AppArmor enforcement.
  11805. type: string
  11806. required:
  11807. - type
  11808. type: object
  11809. fsGroup:
  11810. description: |-
  11811. A special supplemental group that applies to all containers in a pod.
  11812. Some volume types allow the Kubelet to change the ownership of that volume
  11813. to be owned by the pod:
  11814. 1. The owning GID will be the FSGroup
  11815. 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
  11816. 3. The permission bits are OR'd with rw-rw----
  11817. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  11818. Note that this field cannot be set when spec.os.name is windows.
  11819. format: int64
  11820. type: integer
  11821. fsGroupChangePolicy:
  11822. description: |-
  11823. fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
  11824. before being exposed inside Pod. This field will only apply to
  11825. volume types which support fsGroup based ownership(and permissions).
  11826. It will have no effect on ephemeral volume types such as: secret, configmaps
  11827. and emptydir.
  11828. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
  11829. Note that this field cannot be set when spec.os.name is windows.
  11830. type: string
  11831. runAsGroup:
  11832. description: |-
  11833. The GID to run the entrypoint of the container process.
  11834. Uses runtime default if unset.
  11835. May also be set in SecurityContext. If set in both SecurityContext and
  11836. PodSecurityContext, the value specified in SecurityContext takes precedence
  11837. for that container.
  11838. Note that this field cannot be set when spec.os.name is windows.
  11839. format: int64
  11840. type: integer
  11841. runAsNonRoot:
  11842. description: |-
  11843. Indicates that the container must run as a non-root user.
  11844. If true, the Kubelet will validate the image at runtime to ensure that it
  11845. does not run as UID 0 (root) and fail to start the container if it does.
  11846. If unset or false, no such validation will be performed.
  11847. May also be set in SecurityContext. If set in both SecurityContext and
  11848. PodSecurityContext, the value specified in SecurityContext takes precedence.
  11849. type: boolean
  11850. runAsUser:
  11851. description: |-
  11852. The UID to run the entrypoint of the container process.
  11853. Defaults to user specified in image metadata if unspecified.
  11854. May also be set in SecurityContext. If set in both SecurityContext and
  11855. PodSecurityContext, the value specified in SecurityContext takes precedence
  11856. for that container.
  11857. Note that this field cannot be set when spec.os.name is windows.
  11858. format: int64
  11859. type: integer
  11860. seLinuxOptions:
  11861. description: |-
  11862. The SELinux context to be applied to all containers.
  11863. If unspecified, the container runtime will allocate a random SELinux context for each
  11864. container. May also be set in SecurityContext. If set in
  11865. both SecurityContext and PodSecurityContext, the value specified in SecurityContext
  11866. takes precedence for that container.
  11867. Note that this field cannot be set when spec.os.name is windows.
  11868. properties:
  11869. level:
  11870. description: Level is SELinux level label that
  11871. applies to the container.
  11872. type: string
  11873. role:
  11874. description: Role is a SELinux role label that
  11875. applies to the container.
  11876. type: string
  11877. type:
  11878. description: Type is a SELinux type label that
  11879. applies to the container.
  11880. type: string
  11881. user:
  11882. description: User is a SELinux user label that
  11883. applies to the container.
  11884. type: string
  11885. type: object
  11886. seccompProfile:
  11887. description: |-
  11888. The seccomp options to use by the containers in this pod.
  11889. Note that this field cannot be set when spec.os.name is windows.
  11890. properties:
  11891. localhostProfile:
  11892. description: |-
  11893. localhostProfile indicates a profile defined in a file on the node should be used.
  11894. The profile must be preconfigured on the node to work.
  11895. Must be a descending path, relative to the kubelet's configured seccomp profile location.
  11896. Must be set if type is "Localhost". Must NOT be set for any other type.
  11897. type: string
  11898. type:
  11899. description: |-
  11900. type indicates which kind of seccomp profile will be applied.
  11901. Valid options are:
  11902. Localhost - a profile defined in a file on the node should be used.
  11903. RuntimeDefault - the container runtime default profile should be used.
  11904. Unconfined - no profile should be applied.
  11905. type: string
  11906. required:
  11907. - type
  11908. type: object
  11909. supplementalGroups:
  11910. description: |-
  11911. A list of groups applied to the first process run in each container, in addition
  11912. to the container's primary GID, the fsGroup (if specified), and group memberships
  11913. defined in the container image for the uid of the container process. If unspecified,
  11914. no additional groups are added to any container. Note that group memberships
  11915. defined in the container image for the uid of the container process are still effective,
  11916. even if they are not included in this list.
  11917. Note that this field cannot be set when spec.os.name is windows.
  11918. items:
  11919. format: int64
  11920. type: integer
  11921. type: array
  11922. x-kubernetes-list-type: atomic
  11923. sysctls:
  11924. description: |-
  11925. Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
  11926. sysctls (by the container runtime) might fail to launch.
  11927. Note that this field cannot be set when spec.os.name is windows.
  11928. items:
  11929. description: Sysctl defines a kernel parameter to
  11930. be set
  11931. properties:
  11932. name:
  11933. description: Name of a property to set
  11934. type: string
  11935. value:
  11936. description: Value of a property to set
  11937. type: string
  11938. required:
  11939. - name
  11940. - value
  11941. type: object
  11942. type: array
  11943. x-kubernetes-list-type: atomic
  11944. windowsOptions:
  11945. description: |-
  11946. The Windows specific settings applied to all containers.
  11947. If unspecified, the options within a container's SecurityContext will be used.
  11948. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
  11949. Note that this field cannot be set when spec.os.name is linux.
  11950. properties:
  11951. gmsaCredentialSpec:
  11952. description: |-
  11953. GMSACredentialSpec is where the GMSA admission webhook
  11954. (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
  11955. GMSA credential spec named by the GMSACredentialSpecName field.
  11956. type: string
  11957. gmsaCredentialSpecName:
  11958. description: GMSACredentialSpecName is the name
  11959. of the GMSA credential spec to use.
  11960. type: string
  11961. hostProcess:
  11962. description: |-
  11963. HostProcess determines if a container should be run as a 'Host Process' container.
  11964. All of a Pod's containers must have the same effective HostProcess value
  11965. (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
  11966. In addition, if HostProcess is true then HostNetwork must also be set to true.
  11967. type: boolean
  11968. runAsUserName:
  11969. description: |-
  11970. The UserName in Windows to run the entrypoint of the container process.
  11971. Defaults to the user specified in image metadata if unspecified.
  11972. May also be set in PodSecurityContext. If set in both SecurityContext and
  11973. PodSecurityContext, the value specified in SecurityContext takes precedence.
  11974. type: string
  11975. type: object
  11976. type: object
  11977. tolerations:
  11978. description: tolerations allow pods to be scheduled onto
  11979. nodes with matching taints.
  11980. items:
  11981. description: |-
  11982. The pod this Toleration is attached to tolerates any taint that matches
  11983. the triple <key,value,effect> using the matching operator <operator>.
  11984. properties:
  11985. effect:
  11986. description: |-
  11987. Effect indicates the taint effect to match. Empty means match all taint effects.
  11988. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
  11989. type: string
  11990. key:
  11991. description: |-
  11992. Key is the taint key that the toleration applies to. Empty means match all taint keys.
  11993. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
  11994. type: string
  11995. operator:
  11996. description: |-
  11997. Operator represents a key's relationship to the value.
  11998. Valid operators are Exists and Equal. Defaults to Equal.
  11999. Exists is equivalent to wildcard for value, so that a pod can
  12000. tolerate all taints of a particular category.
  12001. type: string
  12002. tolerationSeconds:
  12003. description: |-
  12004. TolerationSeconds represents the period of time the toleration (which must be
  12005. of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
  12006. it is not set, which means tolerate the taint forever (do not evict). Zero and
  12007. negative values will be treated as 0 (evict immediately) by the system.
  12008. format: int64
  12009. type: integer
  12010. value:
  12011. description: |-
  12012. Value is the taint value the toleration matches to.
  12013. If the operator is Exists, the value should be empty, otherwise just a regular string.
  12014. type: string
  12015. type: object
  12016. type: array
  12017. topologySpreadConstraints:
  12018. description: |-
  12019. topologySpreadConstraints controls how pods are spread across failure
  12020. domains (zones, nodes). Prefer this over pod anti-affinity for HA spread.
  12021. items:
  12022. description: TopologySpreadConstraint specifies how
  12023. to spread matching pods among the given topology.
  12024. properties:
  12025. labelSelector:
  12026. description: |-
  12027. LabelSelector is used to find matching pods.
  12028. Pods that match this label selector are counted to determine the number of pods
  12029. in their corresponding topology domain.
  12030. properties:
  12031. matchExpressions:
  12032. description: matchExpressions is a list of label
  12033. selector requirements. The requirements are
  12034. ANDed.
  12035. items:
  12036. description: |-
  12037. A label selector requirement is a selector that contains values, a key, and an operator that
  12038. relates the key and values.
  12039. properties:
  12040. key:
  12041. description: key is the label key that
  12042. the selector applies to.
  12043. type: string
  12044. operator:
  12045. description: |-
  12046. operator represents a key's relationship to a set of values.
  12047. Valid operators are In, NotIn, Exists and DoesNotExist.
  12048. type: string
  12049. values:
  12050. description: |-
  12051. values is an array of string values. If the operator is In or NotIn,
  12052. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  12053. the values array must be empty. This array is replaced during a strategic
  12054. merge patch.
  12055. items:
  12056. type: string
  12057. type: array
  12058. x-kubernetes-list-type: atomic
  12059. required:
  12060. - key
  12061. - operator
  12062. type: object
  12063. type: array
  12064. x-kubernetes-list-type: atomic
  12065. matchLabels:
  12066. additionalProperties:
  12067. type: string
  12068. description: |-
  12069. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  12070. map is equivalent to an element of matchExpressions, whose key field is "key", the
  12071. operator is "In", and the values array contains only "value". The requirements are ANDed.
  12072. type: object
  12073. type: object
  12074. x-kubernetes-map-type: atomic
  12075. matchLabelKeys:
  12076. description: |-
  12077. MatchLabelKeys is a set of pod label keys to select the pods over which
  12078. spreading will be calculated. The keys are used to lookup values from the
  12079. incoming pod labels, those key-value labels are ANDed with labelSelector
  12080. to select the group of existing pods over which spreading will be calculated
  12081. for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
  12082. MatchLabelKeys cannot be set when LabelSelector isn't set.
  12083. Keys that don't exist in the incoming pod labels will
  12084. be ignored. A null or empty list means only match against labelSelector.
  12085. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
  12086. items:
  12087. type: string
  12088. type: array
  12089. x-kubernetes-list-type: atomic
  12090. maxSkew:
  12091. description: |-
  12092. MaxSkew describes the degree to which pods may be unevenly distributed.
  12093. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
  12094. between the number of matching pods in the target topology and the global minimum.
  12095. The global minimum is the minimum number of matching pods in an eligible domain
  12096. or zero if the number of eligible domains is less than MinDomains.
  12097. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  12098. labelSelector spread as 2/2/1:
  12099. In this case, the global minimum is 1.
  12100. | zone1 | zone2 | zone3 |
  12101. | P P | P P | P |
  12102. - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
  12103. scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
  12104. violate MaxSkew(1).
  12105. - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
  12106. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
  12107. to topologies that satisfy it.
  12108. It's a required field. Default value is 1 and 0 is not allowed.
  12109. format: int32
  12110. type: integer
  12111. minDomains:
  12112. description: |-
  12113. MinDomains indicates a minimum number of eligible domains.
  12114. When the number of eligible domains with matching topology keys is less than minDomains,
  12115. Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
  12116. And when the number of eligible domains with matching topology keys equals or greater than minDomains,
  12117. this value has no effect on scheduling.
  12118. As a result, when the number of eligible domains is less than minDomains,
  12119. scheduler won't schedule more than maxSkew Pods to those domains.
  12120. If value is nil, the constraint behaves as if MinDomains is equal to 1.
  12121. Valid values are integers greater than 0.
  12122. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
  12123. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
  12124. labelSelector spread as 2/2/2:
  12125. | zone1 | zone2 | zone3 |
  12126. | P P | P P | P P |
  12127. The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
  12128. In this situation, new pod with the same labelSelector cannot be scheduled,
  12129. because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
  12130. it will violate MaxSkew.
  12131. format: int32
  12132. type: integer
  12133. nodeAffinityPolicy:
  12134. description: |-
  12135. NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
  12136. when calculating pod topology spread skew. Options are:
  12137. - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
  12138. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
  12139. If this value is nil, the behavior is equivalent to the Honor policy.
  12140. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  12141. type: string
  12142. nodeTaintsPolicy:
  12143. description: |-
  12144. NodeTaintsPolicy indicates how we will treat node taints when calculating
  12145. pod topology spread skew. Options are:
  12146. - Honor: nodes without taints, along with tainted nodes for which the incoming pod
  12147. has a toleration, are included.
  12148. - Ignore: node taints are ignored. All nodes are included.
  12149. If this value is nil, the behavior is equivalent to the Ignore policy.
  12150. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  12151. type: string
  12152. topologyKey:
  12153. description: |-
  12154. TopologyKey is the key of node labels. Nodes that have a label with this key
  12155. and identical values are considered to be in the same topology.
  12156. We consider each <key, value> as a "bucket", and try to put balanced number
  12157. of pods into each bucket.
  12158. We define a domain as a particular instance of a topology.
  12159. Also, we define an eligible domain as a domain whose nodes meet the requirements of
  12160. nodeAffinityPolicy and nodeTaintsPolicy.
  12161. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
  12162. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
  12163. It's a required field.
  12164. type: string
  12165. whenUnsatisfiable:
  12166. description: |-
  12167. WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
  12168. the spread constraint.
  12169. - DoNotSchedule (default) tells the scheduler not to schedule it.
  12170. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
  12171. but giving higher precedence to topologies that would help reduce the
  12172. skew.
  12173. A constraint is considered "Unsatisfiable" for an incoming pod
  12174. if and only if every possible node assignment for that pod would violate
  12175. "MaxSkew" on some topology.
  12176. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  12177. labelSelector spread as 3/1/1:
  12178. | zone1 | zone2 | zone3 |
  12179. | P P P | P | P |
  12180. If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
  12181. to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
  12182. MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
  12183. won't make it *more* imbalanced.
  12184. It's a required field.
  12185. type: string
  12186. required:
  12187. - maxSkew
  12188. - topologyKey
  12189. - whenUnsatisfiable
  12190. type: object
  12191. type: array
  12192. volumes:
  12193. description: volumes defines additional pod volumes available
  12194. to the runtime container.
  12195. items:
  12196. description: Volume represents a named volume in a pod
  12197. that may be accessed by any container in the pod.
  12198. properties:
  12199. awsElasticBlockStore:
  12200. description: |-
  12201. awsElasticBlockStore represents an AWS Disk resource that is attached to a
  12202. kubelet's host machine and then exposed to the pod.
  12203. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  12204. properties:
  12205. fsType:
  12206. description: |-
  12207. fsType is the filesystem type of the volume that you want to mount.
  12208. Tip: Ensure that the filesystem type is supported by the host operating system.
  12209. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  12210. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  12211. type: string
  12212. partition:
  12213. description: |-
  12214. partition is the partition in the volume that you want to mount.
  12215. If omitted, the default is to mount by volume name.
  12216. Examples: For volume /dev/sda1, you specify the partition as "1".
  12217. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  12218. format: int32
  12219. type: integer
  12220. readOnly:
  12221. description: |-
  12222. readOnly value true will force the readOnly setting in VolumeMounts.
  12223. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  12224. type: boolean
  12225. volumeID:
  12226. description: |-
  12227. volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
  12228. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  12229. type: string
  12230. required:
  12231. - volumeID
  12232. type: object
  12233. azureDisk:
  12234. description: azureDisk represents an Azure Data
  12235. Disk mount on the host and bind mount to the pod.
  12236. properties:
  12237. cachingMode:
  12238. description: 'cachingMode is the Host Caching
  12239. mode: None, Read Only, Read Write.'
  12240. type: string
  12241. diskName:
  12242. description: diskName is the Name of the data
  12243. disk in the blob storage
  12244. type: string
  12245. diskURI:
  12246. description: diskURI is the URI of data disk
  12247. in the blob storage
  12248. type: string
  12249. fsType:
  12250. description: |-
  12251. fsType is Filesystem type to mount.
  12252. Must be a filesystem type supported by the host operating system.
  12253. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  12254. type: string
  12255. kind:
  12256. description: 'kind expected values are Shared:
  12257. multiple blob disks per storage account Dedicated:
  12258. single blob disk per storage account Managed:
  12259. azure managed data disk (only in managed availability
  12260. set). defaults to shared'
  12261. type: string
  12262. readOnly:
  12263. description: |-
  12264. readOnly Defaults to false (read/write). ReadOnly here will force
  12265. the ReadOnly setting in VolumeMounts.
  12266. type: boolean
  12267. required:
  12268. - diskName
  12269. - diskURI
  12270. type: object
  12271. azureFile:
  12272. description: azureFile represents an Azure File
  12273. Service mount on the host and bind mount to the
  12274. pod.
  12275. properties:
  12276. readOnly:
  12277. description: |-
  12278. readOnly defaults to false (read/write). ReadOnly here will force
  12279. the ReadOnly setting in VolumeMounts.
  12280. type: boolean
  12281. secretName:
  12282. description: secretName is the name of secret
  12283. that contains Azure Storage Account Name and
  12284. Key
  12285. type: string
  12286. shareName:
  12287. description: shareName is the azure share Name
  12288. type: string
  12289. required:
  12290. - secretName
  12291. - shareName
  12292. type: object
  12293. cephfs:
  12294. description: cephFS represents a Ceph FS mount on
  12295. the host that shares a pod's lifetime
  12296. properties:
  12297. monitors:
  12298. description: |-
  12299. monitors is Required: Monitors is a collection of Ceph monitors
  12300. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  12301. items:
  12302. type: string
  12303. type: array
  12304. x-kubernetes-list-type: atomic
  12305. path:
  12306. description: 'path is Optional: Used as the
  12307. mounted root, rather than the full Ceph tree,
  12308. default is /'
  12309. type: string
  12310. readOnly:
  12311. description: |-
  12312. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  12313. the ReadOnly setting in VolumeMounts.
  12314. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  12315. type: boolean
  12316. secretFile:
  12317. description: |-
  12318. secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
  12319. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  12320. type: string
  12321. secretRef:
  12322. description: |-
  12323. secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
  12324. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  12325. properties:
  12326. name:
  12327. default: ""
  12328. description: |-
  12329. Name of the referent.
  12330. This field is effectively required, but due to backwards compatibility is
  12331. allowed to be empty. Instances of this type with an empty value here are
  12332. almost certainly wrong.
  12333. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  12334. type: string
  12335. type: object
  12336. x-kubernetes-map-type: atomic
  12337. user:
  12338. description: |-
  12339. user is optional: User is the rados user name, default is admin
  12340. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  12341. type: string
  12342. required:
  12343. - monitors
  12344. type: object
  12345. cinder:
  12346. description: |-
  12347. cinder represents a cinder volume attached and mounted on kubelets host machine.
  12348. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  12349. properties:
  12350. fsType:
  12351. description: |-
  12352. fsType is the filesystem type to mount.
  12353. Must be a filesystem type supported by the host operating system.
  12354. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  12355. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  12356. type: string
  12357. readOnly:
  12358. description: |-
  12359. readOnly defaults to false (read/write). ReadOnly here will force
  12360. the ReadOnly setting in VolumeMounts.
  12361. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  12362. type: boolean
  12363. secretRef:
  12364. description: |-
  12365. secretRef is optional: points to a secret object containing parameters used to connect
  12366. to OpenStack.
  12367. properties:
  12368. name:
  12369. default: ""
  12370. description: |-
  12371. Name of the referent.
  12372. This field is effectively required, but due to backwards compatibility is
  12373. allowed to be empty. Instances of this type with an empty value here are
  12374. almost certainly wrong.
  12375. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  12376. type: string
  12377. type: object
  12378. x-kubernetes-map-type: atomic
  12379. volumeID:
  12380. description: |-
  12381. volumeID used to identify the volume in cinder.
  12382. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  12383. type: string
  12384. required:
  12385. - volumeID
  12386. type: object
  12387. configMap:
  12388. description: configMap represents a configMap that
  12389. should populate this volume
  12390. properties:
  12391. defaultMode:
  12392. description: |-
  12393. defaultMode is optional: mode bits used to set permissions on created files by default.
  12394. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  12395. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  12396. Defaults to 0644.
  12397. Directories within the path are not affected by this setting.
  12398. This might be in conflict with other options that affect the file
  12399. mode, like fsGroup, and the result can be other mode bits set.
  12400. format: int32
  12401. type: integer
  12402. items:
  12403. description: |-
  12404. items if unspecified, each key-value pair in the Data field of the referenced
  12405. ConfigMap will be projected into the volume as a file whose name is the
  12406. key and content is the value. If specified, the listed keys will be
  12407. projected into the specified paths, and unlisted keys will not be
  12408. present. If a key is specified which is not present in the ConfigMap,
  12409. the volume setup will error unless it is marked optional. Paths must be
  12410. relative and may not contain the '..' path or start with '..'.
  12411. items:
  12412. description: Maps a string key to a path within
  12413. a volume.
  12414. properties:
  12415. key:
  12416. description: key is the key to project.
  12417. type: string
  12418. mode:
  12419. description: |-
  12420. mode is Optional: mode bits used to set permissions on this file.
  12421. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  12422. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  12423. If not specified, the volume defaultMode will be used.
  12424. This might be in conflict with other options that affect the file
  12425. mode, like fsGroup, and the result can be other mode bits set.
  12426. format: int32
  12427. type: integer
  12428. path:
  12429. description: |-
  12430. path is the relative path of the file to map the key to.
  12431. May not be an absolute path.
  12432. May not contain the path element '..'.
  12433. May not start with the string '..'.
  12434. type: string
  12435. required:
  12436. - key
  12437. - path
  12438. type: object
  12439. type: array
  12440. x-kubernetes-list-type: atomic
  12441. name:
  12442. default: ""
  12443. description: |-
  12444. Name of the referent.
  12445. This field is effectively required, but due to backwards compatibility is
  12446. allowed to be empty. Instances of this type with an empty value here are
  12447. almost certainly wrong.
  12448. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  12449. type: string
  12450. optional:
  12451. description: optional specify whether the ConfigMap
  12452. or its keys must be defined
  12453. type: boolean
  12454. type: object
  12455. x-kubernetes-map-type: atomic
  12456. csi:
  12457. description: csi (Container Storage Interface) represents
  12458. ephemeral storage that is handled by certain external
  12459. CSI drivers (Beta feature).
  12460. properties:
  12461. driver:
  12462. description: |-
  12463. driver is the name of the CSI driver that handles this volume.
  12464. Consult with your admin for the correct name as registered in the cluster.
  12465. type: string
  12466. fsType:
  12467. description: |-
  12468. fsType to mount. Ex. "ext4", "xfs", "ntfs".
  12469. If not provided, the empty value is passed to the associated CSI driver
  12470. which will determine the default filesystem to apply.
  12471. type: string
  12472. nodePublishSecretRef:
  12473. description: |-
  12474. nodePublishSecretRef is a reference to the secret object containing
  12475. sensitive information to pass to the CSI driver to complete the CSI
  12476. NodePublishVolume and NodeUnpublishVolume calls.
  12477. This field is optional, and may be empty if no secret is required. If the
  12478. secret object contains more than one secret, all secret references are passed.
  12479. properties:
  12480. name:
  12481. default: ""
  12482. description: |-
  12483. Name of the referent.
  12484. This field is effectively required, but due to backwards compatibility is
  12485. allowed to be empty. Instances of this type with an empty value here are
  12486. almost certainly wrong.
  12487. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  12488. type: string
  12489. type: object
  12490. x-kubernetes-map-type: atomic
  12491. readOnly:
  12492. description: |-
  12493. readOnly specifies a read-only configuration for the volume.
  12494. Defaults to false (read/write).
  12495. type: boolean
  12496. volumeAttributes:
  12497. additionalProperties:
  12498. type: string
  12499. description: |-
  12500. volumeAttributes stores driver-specific properties that are passed to the CSI
  12501. driver. Consult your driver's documentation for supported values.
  12502. type: object
  12503. required:
  12504. - driver
  12505. type: object
  12506. downwardAPI:
  12507. description: downwardAPI represents downward API
  12508. about the pod that should populate this volume
  12509. properties:
  12510. defaultMode:
  12511. description: |-
  12512. Optional: mode bits to use on created files by default. Must be a
  12513. Optional: mode bits used to set permissions on created files by default.
  12514. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  12515. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  12516. Defaults to 0644.
  12517. Directories within the path are not affected by this setting.
  12518. This might be in conflict with other options that affect the file
  12519. mode, like fsGroup, and the result can be other mode bits set.
  12520. format: int32
  12521. type: integer
  12522. items:
  12523. description: Items is a list of downward API
  12524. volume file
  12525. items:
  12526. description: DownwardAPIVolumeFile represents
  12527. information to create the file containing
  12528. the pod field
  12529. properties:
  12530. fieldRef:
  12531. description: 'Required: Selects a field
  12532. of the pod: only annotations, labels,
  12533. name, namespace and uid are supported.'
  12534. properties:
  12535. apiVersion:
  12536. description: Version of the schema
  12537. the FieldPath is written in terms
  12538. of, defaults to "v1".
  12539. type: string
  12540. fieldPath:
  12541. description: Path of the field to
  12542. select in the specified API version.
  12543. type: string
  12544. required:
  12545. - fieldPath
  12546. type: object
  12547. x-kubernetes-map-type: atomic
  12548. mode:
  12549. description: |-
  12550. Optional: mode bits used to set permissions on this file, must be an octal value
  12551. between 0000 and 0777 or a decimal value between 0 and 511.
  12552. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  12553. If not specified, the volume defaultMode will be used.
  12554. This might be in conflict with other options that affect the file
  12555. mode, like fsGroup, and the result can be other mode bits set.
  12556. format: int32
  12557. type: integer
  12558. path:
  12559. description: 'Required: Path is the relative
  12560. path name of the file to be created.
  12561. Must not be absolute or contain the
  12562. ''..'' path. Must be utf-8 encoded.
  12563. The first item of the relative path
  12564. must not start with ''..'''
  12565. type: string
  12566. resourceFieldRef:
  12567. description: |-
  12568. Selects a resource of the container: only resources limits and requests
  12569. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  12570. properties:
  12571. containerName:
  12572. description: 'Container name: required
  12573. for volumes, optional for env vars'
  12574. type: string
  12575. divisor:
  12576. anyOf:
  12577. - type: integer
  12578. - type: string
  12579. description: Specifies the output
  12580. format of the exposed resources,
  12581. defaults to "1"
  12582. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  12583. x-kubernetes-int-or-string: true
  12584. resource:
  12585. description: 'Required: resource to
  12586. select'
  12587. type: string
  12588. required:
  12589. - resource
  12590. type: object
  12591. x-kubernetes-map-type: atomic
  12592. required:
  12593. - path
  12594. type: object
  12595. type: array
  12596. x-kubernetes-list-type: atomic
  12597. type: object
  12598. emptyDir:
  12599. description: |-
  12600. emptyDir represents a temporary directory that shares a pod's lifetime.
  12601. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  12602. properties:
  12603. medium:
  12604. description: |-
  12605. medium represents what type of storage medium should back this directory.
  12606. The default is "" which means to use the node's default medium.
  12607. Must be an empty string (default) or Memory.
  12608. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  12609. type: string
  12610. sizeLimit:
  12611. anyOf:
  12612. - type: integer
  12613. - type: string
  12614. description: |-
  12615. sizeLimit is the total amount of local storage required for this EmptyDir volume.
  12616. The size limit is also applicable for memory medium.
  12617. The maximum usage on memory medium EmptyDir would be the minimum value between
  12618. the SizeLimit specified here and the sum of memory limits of all containers in a pod.
  12619. The default is nil which means that the limit is undefined.
  12620. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  12621. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  12622. x-kubernetes-int-or-string: true
  12623. type: object
  12624. ephemeral:
  12625. description: |-
  12626. ephemeral represents a volume that is handled by a cluster storage driver.
  12627. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
  12628. and deleted when the pod is removed.
  12629. Use this if:
  12630. a) the volume is only needed while the pod runs,
  12631. b) features of normal volumes like restoring from snapshot or capacity
  12632. tracking are needed,
  12633. c) the storage driver is specified through a storage class, and
  12634. d) the storage driver supports dynamic volume provisioning through
  12635. a PersistentVolumeClaim (see EphemeralVolumeSource for more
  12636. information on the connection between this volume type
  12637. and PersistentVolumeClaim).
  12638. Use PersistentVolumeClaim or one of the vendor-specific
  12639. APIs for volumes that persist for longer than the lifecycle
  12640. of an individual pod.
  12641. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
  12642. be used that way - see the documentation of the driver for
  12643. more information.
  12644. A pod can use both types of ephemeral volumes and
  12645. persistent volumes at the same time.
  12646. properties:
  12647. volumeClaimTemplate:
  12648. description: |-
  12649. Will be used to create a stand-alone PVC to provision the volume.
  12650. The pod in which this EphemeralVolumeSource is embedded will be the
  12651. owner of the PVC, i.e. the PVC will be deleted together with the
  12652. pod. The name of the PVC will be `<pod name>-<volume name>` where
  12653. `<volume name>` is the name from the `PodSpec.Volumes` array
  12654. entry. Pod validation will reject the pod if the concatenated name
  12655. is not valid for a PVC (for example, too long).
  12656. An existing PVC with that name that is not owned by the pod
  12657. will *not* be used for the pod to avoid using an unrelated
  12658. volume by mistake. Starting the pod is then blocked until
  12659. the unrelated PVC is removed. If such a pre-created PVC is
  12660. meant to be used by the pod, the PVC has to updated with an
  12661. owner reference to the pod once the pod exists. Normally
  12662. this should not be necessary, but it may be useful when
  12663. manually reconstructing a broken cluster.
  12664. This field is read-only and no changes will be made by Kubernetes
  12665. to the PVC after it has been created.
  12666. Required, must not be nil.
  12667. properties:
  12668. metadata:
  12669. description: |-
  12670. May contain labels and annotations that will be copied into the PVC
  12671. when creating it. No other fields are allowed and will be rejected during
  12672. validation.
  12673. type: object
  12674. spec:
  12675. description: |-
  12676. The specification for the PersistentVolumeClaim. The entire content is
  12677. copied unchanged into the PVC that gets created from this
  12678. template. The same fields as in a PersistentVolumeClaim
  12679. are also valid here.
  12680. properties:
  12681. accessModes:
  12682. description: |-
  12683. accessModes contains the desired access modes the volume should have.
  12684. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
  12685. items:
  12686. type: string
  12687. type: array
  12688. x-kubernetes-list-type: atomic
  12689. dataSource:
  12690. description: |-
  12691. dataSource field can be used to specify either:
  12692. * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
  12693. * An existing PVC (PersistentVolumeClaim)
  12694. If the provisioner or an external controller can support the specified data source,
  12695. it will create a new volume based on the contents of the specified data source.
  12696. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
  12697. and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
  12698. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
  12699. properties:
  12700. apiGroup:
  12701. description: |-
  12702. APIGroup is the group for the resource being referenced.
  12703. If APIGroup is not specified, the specified Kind must be in the core API group.
  12704. For any other third-party types, APIGroup is required.
  12705. type: string
  12706. kind:
  12707. description: Kind is the type of
  12708. resource being referenced
  12709. type: string
  12710. name:
  12711. description: Name is the name of
  12712. resource being referenced
  12713. type: string
  12714. required:
  12715. - kind
  12716. - name
  12717. type: object
  12718. x-kubernetes-map-type: atomic
  12719. dataSourceRef:
  12720. description: |-
  12721. dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
  12722. volume is desired. This may be any object from a non-empty API group (non
  12723. core object) or a PersistentVolumeClaim object.
  12724. When this field is specified, volume binding will only succeed if the type of
  12725. the specified object matches some installed volume populator or dynamic
  12726. provisioner.
  12727. This field will replace the functionality of the dataSource field and as such
  12728. if both fields are non-empty, they must have the same value. For backwards
  12729. compatibility, when namespace isn't specified in dataSourceRef,
  12730. both fields (dataSource and dataSourceRef) will be set to the same
  12731. value automatically if one of them is empty and the other is non-empty.
  12732. When namespace is specified in dataSourceRef,
  12733. dataSource isn't set to the same value and must be empty.
  12734. There are three important differences between dataSource and dataSourceRef:
  12735. * While dataSource only allows two specific types of objects, dataSourceRef
  12736. allows any non-core object, as well as PersistentVolumeClaim objects.
  12737. * While dataSource ignores disallowed values (dropping them), dataSourceRef
  12738. preserves all values, and generates an error if a disallowed value is
  12739. specified.
  12740. * While dataSource only allows local objects, dataSourceRef allows objects
  12741. in any namespaces.
  12742. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
  12743. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  12744. properties:
  12745. apiGroup:
  12746. description: |-
  12747. APIGroup is the group for the resource being referenced.
  12748. If APIGroup is not specified, the specified Kind must be in the core API group.
  12749. For any other third-party types, APIGroup is required.
  12750. type: string
  12751. kind:
  12752. description: Kind is the type of
  12753. resource being referenced
  12754. type: string
  12755. name:
  12756. description: Name is the name of
  12757. resource being referenced
  12758. type: string
  12759. namespace:
  12760. description: |-
  12761. Namespace is the namespace of resource being referenced
  12762. Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
  12763. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  12764. type: string
  12765. required:
  12766. - kind
  12767. - name
  12768. type: object
  12769. resources:
  12770. description: |-
  12771. resources represents the minimum resources the volume should have.
  12772. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements
  12773. that are lower than previous value but must still be higher than capacity recorded in the
  12774. status field of the claim.
  12775. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
  12776. properties:
  12777. limits:
  12778. additionalProperties:
  12779. anyOf:
  12780. - type: integer
  12781. - type: string
  12782. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  12783. x-kubernetes-int-or-string: true
  12784. description: |-
  12785. Limits describes the maximum amount of compute resources allowed.
  12786. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  12787. type: object
  12788. requests:
  12789. additionalProperties:
  12790. anyOf:
  12791. - type: integer
  12792. - type: string
  12793. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  12794. x-kubernetes-int-or-string: true
  12795. description: |-
  12796. Requests describes the minimum amount of compute resources required.
  12797. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  12798. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  12799. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  12800. type: object
  12801. type: object
  12802. selector:
  12803. description: selector is a label query
  12804. over volumes to consider for binding.
  12805. properties:
  12806. matchExpressions:
  12807. description: matchExpressions is
  12808. a list of label selector requirements.
  12809. The requirements are ANDed.
  12810. items:
  12811. description: |-
  12812. A label selector requirement is a selector that contains values, a key, and an operator that
  12813. relates the key and values.
  12814. properties:
  12815. key:
  12816. description: key is the label
  12817. key that the selector applies
  12818. to.
  12819. type: string
  12820. operator:
  12821. description: |-
  12822. operator represents a key's relationship to a set of values.
  12823. Valid operators are In, NotIn, Exists and DoesNotExist.
  12824. type: string
  12825. values:
  12826. description: |-
  12827. values is an array of string values. If the operator is In or NotIn,
  12828. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  12829. the values array must be empty. This array is replaced during a strategic
  12830. merge patch.
  12831. items:
  12832. type: string
  12833. type: array
  12834. x-kubernetes-list-type: atomic
  12835. required:
  12836. - key
  12837. - operator
  12838. type: object
  12839. type: array
  12840. x-kubernetes-list-type: atomic
  12841. matchLabels:
  12842. additionalProperties:
  12843. type: string
  12844. description: |-
  12845. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  12846. map is equivalent to an element of matchExpressions, whose key field is "key", the
  12847. operator is "In", and the values array contains only "value". The requirements are ANDed.
  12848. type: object
  12849. type: object
  12850. x-kubernetes-map-type: atomic
  12851. storageClassName:
  12852. description: |-
  12853. storageClassName is the name of the StorageClass required by the claim.
  12854. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
  12855. type: string
  12856. volumeAttributesClassName:
  12857. description: |-
  12858. volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
  12859. If specified, the CSI driver will create or update the volume with the attributes defined
  12860. in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
  12861. it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
  12862. will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
  12863. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
  12864. will be set by the persistentvolume controller if it exists.
  12865. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
  12866. set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
  12867. exists.
  12868. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
  12869. (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
  12870. type: string
  12871. volumeMode:
  12872. description: |-
  12873. volumeMode defines what type of volume is required by the claim.
  12874. Value of Filesystem is implied when not included in claim spec.
  12875. type: string
  12876. volumeName:
  12877. description: volumeName is the binding
  12878. reference to the PersistentVolume
  12879. backing this claim.
  12880. type: string
  12881. type: object
  12882. required:
  12883. - spec
  12884. type: object
  12885. type: object
  12886. fc:
  12887. description: fc represents a Fibre Channel resource
  12888. that is attached to a kubelet's host machine and
  12889. then exposed to the pod.
  12890. properties:
  12891. fsType:
  12892. description: |-
  12893. fsType is the filesystem type to mount.
  12894. Must be a filesystem type supported by the host operating system.
  12895. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  12896. type: string
  12897. lun:
  12898. description: 'lun is Optional: FC target lun
  12899. number'
  12900. format: int32
  12901. type: integer
  12902. readOnly:
  12903. description: |-
  12904. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  12905. the ReadOnly setting in VolumeMounts.
  12906. type: boolean
  12907. targetWWNs:
  12908. description: 'targetWWNs is Optional: FC target
  12909. worldwide names (WWNs)'
  12910. items:
  12911. type: string
  12912. type: array
  12913. x-kubernetes-list-type: atomic
  12914. wwids:
  12915. description: |-
  12916. wwids Optional: FC volume world wide identifiers (wwids)
  12917. Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
  12918. items:
  12919. type: string
  12920. type: array
  12921. x-kubernetes-list-type: atomic
  12922. type: object
  12923. flexVolume:
  12924. description: |-
  12925. flexVolume represents a generic volume resource that is
  12926. provisioned/attached using an exec based plugin.
  12927. properties:
  12928. driver:
  12929. description: driver is the name of the driver
  12930. to use for this volume.
  12931. type: string
  12932. fsType:
  12933. description: |-
  12934. fsType is the filesystem type to mount.
  12935. Must be a filesystem type supported by the host operating system.
  12936. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
  12937. type: string
  12938. options:
  12939. additionalProperties:
  12940. type: string
  12941. description: 'options is Optional: this field
  12942. holds extra command options if any.'
  12943. type: object
  12944. readOnly:
  12945. description: |-
  12946. readOnly is Optional: defaults to false (read/write). ReadOnly here will force
  12947. the ReadOnly setting in VolumeMounts.
  12948. type: boolean
  12949. secretRef:
  12950. description: |-
  12951. secretRef is Optional: secretRef is reference to the secret object containing
  12952. sensitive information to pass to the plugin scripts. This may be
  12953. empty if no secret object is specified. If the secret object
  12954. contains more than one secret, all secrets are passed to the plugin
  12955. scripts.
  12956. properties:
  12957. name:
  12958. default: ""
  12959. description: |-
  12960. Name of the referent.
  12961. This field is effectively required, but due to backwards compatibility is
  12962. allowed to be empty. Instances of this type with an empty value here are
  12963. almost certainly wrong.
  12964. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  12965. type: string
  12966. type: object
  12967. x-kubernetes-map-type: atomic
  12968. required:
  12969. - driver
  12970. type: object
  12971. flocker:
  12972. description: flocker represents a Flocker volume
  12973. attached to a kubelet's host machine. This depends
  12974. on the Flocker control service being running
  12975. properties:
  12976. datasetName:
  12977. description: |-
  12978. datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
  12979. should be considered as deprecated
  12980. type: string
  12981. datasetUUID:
  12982. description: datasetUUID is the UUID of the
  12983. dataset. This is unique identifier of a Flocker
  12984. dataset
  12985. type: string
  12986. type: object
  12987. gcePersistentDisk:
  12988. description: |-
  12989. gcePersistentDisk represents a GCE Disk resource that is attached to a
  12990. kubelet's host machine and then exposed to the pod.
  12991. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  12992. properties:
  12993. fsType:
  12994. description: |-
  12995. fsType is filesystem type of the volume that you want to mount.
  12996. Tip: Ensure that the filesystem type is supported by the host operating system.
  12997. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  12998. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  12999. type: string
  13000. partition:
  13001. description: |-
  13002. partition is the partition in the volume that you want to mount.
  13003. If omitted, the default is to mount by volume name.
  13004. Examples: For volume /dev/sda1, you specify the partition as "1".
  13005. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  13006. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  13007. format: int32
  13008. type: integer
  13009. pdName:
  13010. description: |-
  13011. pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
  13012. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  13013. type: string
  13014. readOnly:
  13015. description: |-
  13016. readOnly here will force the ReadOnly setting in VolumeMounts.
  13017. Defaults to false.
  13018. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  13019. type: boolean
  13020. required:
  13021. - pdName
  13022. type: object
  13023. gitRepo:
  13024. description: |-
  13025. gitRepo represents a git repository at a particular revision.
  13026. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
  13027. EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
  13028. into the Pod's container.
  13029. properties:
  13030. directory:
  13031. description: |-
  13032. directory is the target directory name.
  13033. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
  13034. git repository. Otherwise, if specified, the volume will contain the git repository in
  13035. the subdirectory with the given name.
  13036. type: string
  13037. repository:
  13038. description: repository is the URL
  13039. type: string
  13040. revision:
  13041. description: revision is the commit hash for
  13042. the specified revision.
  13043. type: string
  13044. required:
  13045. - repository
  13046. type: object
  13047. glusterfs:
  13048. description: |-
  13049. glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
  13050. More info: https://examples.k8s.io/volumes/glusterfs/README.md
  13051. properties:
  13052. endpoints:
  13053. description: |-
  13054. endpoints is the endpoint name that details Glusterfs topology.
  13055. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  13056. type: string
  13057. path:
  13058. description: |-
  13059. path is the Glusterfs volume path.
  13060. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  13061. type: string
  13062. readOnly:
  13063. description: |-
  13064. readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
  13065. Defaults to false.
  13066. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  13067. type: boolean
  13068. required:
  13069. - endpoints
  13070. - path
  13071. type: object
  13072. hostPath:
  13073. description: |-
  13074. hostPath represents a pre-existing file or directory on the host
  13075. machine that is directly exposed to the container. This is generally
  13076. used for system agents or other privileged things that are allowed
  13077. to see the host machine. Most containers will NOT need this.
  13078. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  13079. properties:
  13080. path:
  13081. description: |-
  13082. path of the directory on the host.
  13083. If the path is a symlink, it will follow the link to the real path.
  13084. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  13085. type: string
  13086. type:
  13087. description: |-
  13088. type for HostPath Volume
  13089. Defaults to ""
  13090. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  13091. type: string
  13092. required:
  13093. - path
  13094. type: object
  13095. iscsi:
  13096. description: |-
  13097. iscsi represents an ISCSI Disk resource that is attached to a
  13098. kubelet's host machine and then exposed to the pod.
  13099. More info: https://examples.k8s.io/volumes/iscsi/README.md
  13100. properties:
  13101. chapAuthDiscovery:
  13102. description: chapAuthDiscovery defines whether
  13103. support iSCSI Discovery CHAP authentication
  13104. type: boolean
  13105. chapAuthSession:
  13106. description: chapAuthSession defines whether
  13107. support iSCSI Session CHAP authentication
  13108. type: boolean
  13109. fsType:
  13110. description: |-
  13111. fsType is the filesystem type of the volume that you want to mount.
  13112. Tip: Ensure that the filesystem type is supported by the host operating system.
  13113. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  13114. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
  13115. type: string
  13116. initiatorName:
  13117. description: |-
  13118. initiatorName is the custom iSCSI Initiator Name.
  13119. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
  13120. <target portal>:<volume name> will be created for the connection.
  13121. type: string
  13122. iqn:
  13123. description: iqn is the target iSCSI Qualified
  13124. Name.
  13125. type: string
  13126. iscsiInterface:
  13127. description: |-
  13128. iscsiInterface is the interface Name that uses an iSCSI transport.
  13129. Defaults to 'default' (tcp).
  13130. type: string
  13131. lun:
  13132. description: lun represents iSCSI Target Lun
  13133. number.
  13134. format: int32
  13135. type: integer
  13136. portals:
  13137. description: |-
  13138. portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
  13139. is other than default (typically TCP ports 860 and 3260).
  13140. items:
  13141. type: string
  13142. type: array
  13143. x-kubernetes-list-type: atomic
  13144. readOnly:
  13145. description: |-
  13146. readOnly here will force the ReadOnly setting in VolumeMounts.
  13147. Defaults to false.
  13148. type: boolean
  13149. secretRef:
  13150. description: secretRef is the CHAP Secret for
  13151. iSCSI target and initiator authentication
  13152. properties:
  13153. name:
  13154. default: ""
  13155. description: |-
  13156. Name of the referent.
  13157. This field is effectively required, but due to backwards compatibility is
  13158. allowed to be empty. Instances of this type with an empty value here are
  13159. almost certainly wrong.
  13160. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  13161. type: string
  13162. type: object
  13163. x-kubernetes-map-type: atomic
  13164. targetPortal:
  13165. description: |-
  13166. targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
  13167. is other than default (typically TCP ports 860 and 3260).
  13168. type: string
  13169. required:
  13170. - iqn
  13171. - lun
  13172. - targetPortal
  13173. type: object
  13174. name:
  13175. description: |-
  13176. name of the volume.
  13177. Must be a DNS_LABEL and unique within the pod.
  13178. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  13179. type: string
  13180. nfs:
  13181. description: |-
  13182. nfs represents an NFS mount on the host that shares a pod's lifetime
  13183. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  13184. properties:
  13185. path:
  13186. description: |-
  13187. path that is exported by the NFS server.
  13188. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  13189. type: string
  13190. readOnly:
  13191. description: |-
  13192. readOnly here will force the NFS export to be mounted with read-only permissions.
  13193. Defaults to false.
  13194. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  13195. type: boolean
  13196. server:
  13197. description: |-
  13198. server is the hostname or IP address of the NFS server.
  13199. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  13200. type: string
  13201. required:
  13202. - path
  13203. - server
  13204. type: object
  13205. persistentVolumeClaim:
  13206. description: |-
  13207. persistentVolumeClaimVolumeSource represents a reference to a
  13208. PersistentVolumeClaim in the same namespace.
  13209. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  13210. properties:
  13211. claimName:
  13212. description: |-
  13213. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
  13214. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  13215. type: string
  13216. readOnly:
  13217. description: |-
  13218. readOnly Will force the ReadOnly setting in VolumeMounts.
  13219. Default false.
  13220. type: boolean
  13221. required:
  13222. - claimName
  13223. type: object
  13224. photonPersistentDisk:
  13225. description: photonPersistentDisk represents a PhotonController
  13226. persistent disk attached and mounted on kubelets
  13227. host machine
  13228. properties:
  13229. fsType:
  13230. description: |-
  13231. fsType is the filesystem type to mount.
  13232. Must be a filesystem type supported by the host operating system.
  13233. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  13234. type: string
  13235. pdID:
  13236. description: pdID is the ID that identifies
  13237. Photon Controller persistent disk
  13238. type: string
  13239. required:
  13240. - pdID
  13241. type: object
  13242. portworxVolume:
  13243. description: portworxVolume represents a portworx
  13244. volume attached and mounted on kubelets host machine
  13245. properties:
  13246. fsType:
  13247. description: |-
  13248. fSType represents the filesystem type to mount
  13249. Must be a filesystem type supported by the host operating system.
  13250. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
  13251. type: string
  13252. readOnly:
  13253. description: |-
  13254. readOnly defaults to false (read/write). ReadOnly here will force
  13255. the ReadOnly setting in VolumeMounts.
  13256. type: boolean
  13257. volumeID:
  13258. description: volumeID uniquely identifies a
  13259. Portworx volume
  13260. type: string
  13261. required:
  13262. - volumeID
  13263. type: object
  13264. projected:
  13265. description: projected items for all in one resources
  13266. secrets, configmaps, and downward API
  13267. properties:
  13268. defaultMode:
  13269. description: |-
  13270. defaultMode are the mode bits used to set permissions on created files by default.
  13271. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  13272. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  13273. Directories within the path are not affected by this setting.
  13274. This might be in conflict with other options that affect the file
  13275. mode, like fsGroup, and the result can be other mode bits set.
  13276. format: int32
  13277. type: integer
  13278. sources:
  13279. description: sources is the list of volume projections
  13280. items:
  13281. description: Projection that may be projected
  13282. along with other supported volume types
  13283. properties:
  13284. clusterTrustBundle:
  13285. description: |-
  13286. ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
  13287. of ClusterTrustBundle objects in an auto-updating file.
  13288. Alpha, gated by the ClusterTrustBundleProjection feature gate.
  13289. ClusterTrustBundle objects can either be selected by name, or by the
  13290. combination of signer name and a label selector.
  13291. Kubelet performs aggressive normalization of the PEM contents written
  13292. into the pod filesystem. Esoteric PEM features such as inter-block
  13293. comments and block headers are stripped. Certificates are deduplicated.
  13294. The ordering of certificates within the file is arbitrary, and Kubelet
  13295. may change the order over time.
  13296. properties:
  13297. labelSelector:
  13298. description: |-
  13299. Select all ClusterTrustBundles that match this label selector. Only has
  13300. effect if signerName is set. Mutually-exclusive with name. If unset,
  13301. interpreted as "match nothing". If set but empty, interpreted as "match
  13302. everything".
  13303. properties:
  13304. matchExpressions:
  13305. description: matchExpressions
  13306. is a list of label selector
  13307. requirements. The requirements
  13308. are ANDed.
  13309. items:
  13310. description: |-
  13311. A label selector requirement is a selector that contains values, a key, and an operator that
  13312. relates the key and values.
  13313. properties:
  13314. key:
  13315. description: key is the
  13316. label key that the selector
  13317. applies to.
  13318. type: string
  13319. operator:
  13320. description: |-
  13321. operator represents a key's relationship to a set of values.
  13322. Valid operators are In, NotIn, Exists and DoesNotExist.
  13323. type: string
  13324. values:
  13325. description: |-
  13326. values is an array of string values. If the operator is In or NotIn,
  13327. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  13328. the values array must be empty. This array is replaced during a strategic
  13329. merge patch.
  13330. items:
  13331. type: string
  13332. type: array
  13333. x-kubernetes-list-type: atomic
  13334. required:
  13335. - key
  13336. - operator
  13337. type: object
  13338. type: array
  13339. x-kubernetes-list-type: atomic
  13340. matchLabels:
  13341. additionalProperties:
  13342. type: string
  13343. description: |-
  13344. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  13345. map is equivalent to an element of matchExpressions, whose key field is "key", the
  13346. operator is "In", and the values array contains only "value". The requirements are ANDed.
  13347. type: object
  13348. type: object
  13349. x-kubernetes-map-type: atomic
  13350. name:
  13351. description: |-
  13352. Select a single ClusterTrustBundle by object name. Mutually-exclusive
  13353. with signerName and labelSelector.
  13354. type: string
  13355. optional:
  13356. description: |-
  13357. If true, don't block pod startup if the referenced ClusterTrustBundle(s)
  13358. aren't available. If using name, then the named ClusterTrustBundle is
  13359. allowed not to exist. If using signerName, then the combination of
  13360. signerName and labelSelector is allowed to match zero
  13361. ClusterTrustBundles.
  13362. type: boolean
  13363. path:
  13364. description: Relative path from the
  13365. volume root to write the bundle.
  13366. type: string
  13367. signerName:
  13368. description: |-
  13369. Select all ClusterTrustBundles that match this signer name.
  13370. Mutually-exclusive with name. The contents of all selected
  13371. ClusterTrustBundles will be unified and deduplicated.
  13372. type: string
  13373. required:
  13374. - path
  13375. type: object
  13376. configMap:
  13377. description: configMap information about
  13378. the configMap data to project
  13379. properties:
  13380. items:
  13381. description: |-
  13382. items if unspecified, each key-value pair in the Data field of the referenced
  13383. ConfigMap will be projected into the volume as a file whose name is the
  13384. key and content is the value. If specified, the listed keys will be
  13385. projected into the specified paths, and unlisted keys will not be
  13386. present. If a key is specified which is not present in the ConfigMap,
  13387. the volume setup will error unless it is marked optional. Paths must be
  13388. relative and may not contain the '..' path or start with '..'.
  13389. items:
  13390. description: Maps a string key to
  13391. a path within a volume.
  13392. properties:
  13393. key:
  13394. description: key is the key
  13395. to project.
  13396. type: string
  13397. mode:
  13398. description: |-
  13399. mode is Optional: mode bits used to set permissions on this file.
  13400. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  13401. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  13402. If not specified, the volume defaultMode will be used.
  13403. This might be in conflict with other options that affect the file
  13404. mode, like fsGroup, and the result can be other mode bits set.
  13405. format: int32
  13406. type: integer
  13407. path:
  13408. description: |-
  13409. path is the relative path of the file to map the key to.
  13410. May not be an absolute path.
  13411. May not contain the path element '..'.
  13412. May not start with the string '..'.
  13413. type: string
  13414. required:
  13415. - key
  13416. - path
  13417. type: object
  13418. type: array
  13419. x-kubernetes-list-type: atomic
  13420. name:
  13421. default: ""
  13422. description: |-
  13423. Name of the referent.
  13424. This field is effectively required, but due to backwards compatibility is
  13425. allowed to be empty. Instances of this type with an empty value here are
  13426. almost certainly wrong.
  13427. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  13428. type: string
  13429. optional:
  13430. description: optional specify whether
  13431. the ConfigMap or its keys must be
  13432. defined
  13433. type: boolean
  13434. type: object
  13435. x-kubernetes-map-type: atomic
  13436. downwardAPI:
  13437. description: downwardAPI information about
  13438. the downwardAPI data to project
  13439. properties:
  13440. items:
  13441. description: Items is a list of DownwardAPIVolume
  13442. file
  13443. items:
  13444. description: DownwardAPIVolumeFile
  13445. represents information to create
  13446. the file containing the pod field
  13447. properties:
  13448. fieldRef:
  13449. description: 'Required: Selects
  13450. a field of the pod: only annotations,
  13451. labels, name, namespace and
  13452. uid are supported.'
  13453. properties:
  13454. apiVersion:
  13455. description: Version of
  13456. the schema the FieldPath
  13457. is written in terms of,
  13458. defaults to "v1".
  13459. type: string
  13460. fieldPath:
  13461. description: Path of the
  13462. field to select in the
  13463. specified API version.
  13464. type: string
  13465. required:
  13466. - fieldPath
  13467. type: object
  13468. x-kubernetes-map-type: atomic
  13469. mode:
  13470. description: |-
  13471. Optional: mode bits used to set permissions on this file, must be an octal value
  13472. between 0000 and 0777 or a decimal value between 0 and 511.
  13473. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  13474. If not specified, the volume defaultMode will be used.
  13475. This might be in conflict with other options that affect the file
  13476. mode, like fsGroup, and the result can be other mode bits set.
  13477. format: int32
  13478. type: integer
  13479. path:
  13480. description: 'Required: Path
  13481. is the relative path name
  13482. of the file to be created.
  13483. Must not be absolute or contain
  13484. the ''..'' path. Must be utf-8
  13485. encoded. The first item of
  13486. the relative path must not
  13487. start with ''..'''
  13488. type: string
  13489. resourceFieldRef:
  13490. description: |-
  13491. Selects a resource of the container: only resources limits and requests
  13492. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  13493. properties:
  13494. containerName:
  13495. description: 'Container
  13496. name: required for volumes,
  13497. optional for env vars'
  13498. type: string
  13499. divisor:
  13500. anyOf:
  13501. - type: integer
  13502. - type: string
  13503. description: Specifies the
  13504. output format of the exposed
  13505. resources, defaults to
  13506. "1"
  13507. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  13508. x-kubernetes-int-or-string: true
  13509. resource:
  13510. description: 'Required:
  13511. resource to select'
  13512. type: string
  13513. required:
  13514. - resource
  13515. type: object
  13516. x-kubernetes-map-type: atomic
  13517. required:
  13518. - path
  13519. type: object
  13520. type: array
  13521. x-kubernetes-list-type: atomic
  13522. type: object
  13523. secret:
  13524. description: secret information about
  13525. the secret data to project
  13526. properties:
  13527. items:
  13528. description: |-
  13529. items if unspecified, each key-value pair in the Data field of the referenced
  13530. Secret will be projected into the volume as a file whose name is the
  13531. key and content is the value. If specified, the listed keys will be
  13532. projected into the specified paths, and unlisted keys will not be
  13533. present. If a key is specified which is not present in the Secret,
  13534. the volume setup will error unless it is marked optional. Paths must be
  13535. relative and may not contain the '..' path or start with '..'.
  13536. items:
  13537. description: Maps a string key to
  13538. a path within a volume.
  13539. properties:
  13540. key:
  13541. description: key is the key
  13542. to project.
  13543. type: string
  13544. mode:
  13545. description: |-
  13546. mode is Optional: mode bits used to set permissions on this file.
  13547. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  13548. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  13549. If not specified, the volume defaultMode will be used.
  13550. This might be in conflict with other options that affect the file
  13551. mode, like fsGroup, and the result can be other mode bits set.
  13552. format: int32
  13553. type: integer
  13554. path:
  13555. description: |-
  13556. path is the relative path of the file to map the key to.
  13557. May not be an absolute path.
  13558. May not contain the path element '..'.
  13559. May not start with the string '..'.
  13560. type: string
  13561. required:
  13562. - key
  13563. - path
  13564. type: object
  13565. type: array
  13566. x-kubernetes-list-type: atomic
  13567. name:
  13568. default: ""
  13569. description: |-
  13570. Name of the referent.
  13571. This field is effectively required, but due to backwards compatibility is
  13572. allowed to be empty. Instances of this type with an empty value here are
  13573. almost certainly wrong.
  13574. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  13575. type: string
  13576. optional:
  13577. description: optional field specify
  13578. whether the Secret or its key must
  13579. be defined
  13580. type: boolean
  13581. type: object
  13582. x-kubernetes-map-type: atomic
  13583. serviceAccountToken:
  13584. description: serviceAccountToken is information
  13585. about the serviceAccountToken data to
  13586. project
  13587. properties:
  13588. audience:
  13589. description: |-
  13590. audience is the intended audience of the token. A recipient of a token
  13591. must identify itself with an identifier specified in the audience of the
  13592. token, and otherwise should reject the token. The audience defaults to the
  13593. identifier of the apiserver.
  13594. type: string
  13595. expirationSeconds:
  13596. description: |-
  13597. expirationSeconds is the requested duration of validity of the service
  13598. account token. As the token approaches expiration, the kubelet volume
  13599. plugin will proactively rotate the service account token. The kubelet will
  13600. start trying to rotate the token if the token is older than 80 percent of
  13601. its time to live or if the token is older than 24 hours.Defaults to 1 hour
  13602. and must be at least 10 minutes.
  13603. format: int64
  13604. type: integer
  13605. path:
  13606. description: |-
  13607. path is the path relative to the mount point of the file to project the
  13608. token into.
  13609. type: string
  13610. required:
  13611. - path
  13612. type: object
  13613. type: object
  13614. type: array
  13615. x-kubernetes-list-type: atomic
  13616. type: object
  13617. quobyte:
  13618. description: quobyte represents a Quobyte mount
  13619. on the host that shares a pod's lifetime
  13620. properties:
  13621. group:
  13622. description: |-
  13623. group to map volume access to
  13624. Default is no group
  13625. type: string
  13626. readOnly:
  13627. description: |-
  13628. readOnly here will force the Quobyte volume to be mounted with read-only permissions.
  13629. Defaults to false.
  13630. type: boolean
  13631. registry:
  13632. description: |-
  13633. registry represents a single or multiple Quobyte Registry services
  13634. specified as a string as host:port pair (multiple entries are separated with commas)
  13635. which acts as the central registry for volumes
  13636. type: string
  13637. tenant:
  13638. description: |-
  13639. tenant owning the given Quobyte volume in the Backend
  13640. Used with dynamically provisioned Quobyte volumes, value is set by the plugin
  13641. type: string
  13642. user:
  13643. description: |-
  13644. user to map volume access to
  13645. Defaults to serivceaccount user
  13646. type: string
  13647. volume:
  13648. description: volume is a string that references
  13649. an already created Quobyte volume by name.
  13650. type: string
  13651. required:
  13652. - registry
  13653. - volume
  13654. type: object
  13655. rbd:
  13656. description: |-
  13657. rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
  13658. More info: https://examples.k8s.io/volumes/rbd/README.md
  13659. properties:
  13660. fsType:
  13661. description: |-
  13662. fsType is the filesystem type of the volume that you want to mount.
  13663. Tip: Ensure that the filesystem type is supported by the host operating system.
  13664. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  13665. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
  13666. type: string
  13667. image:
  13668. description: |-
  13669. image is the rados image name.
  13670. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  13671. type: string
  13672. keyring:
  13673. description: |-
  13674. keyring is the path to key ring for RBDUser.
  13675. Default is /etc/ceph/keyring.
  13676. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  13677. type: string
  13678. monitors:
  13679. description: |-
  13680. monitors is a collection of Ceph monitors.
  13681. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  13682. items:
  13683. type: string
  13684. type: array
  13685. x-kubernetes-list-type: atomic
  13686. pool:
  13687. description: |-
  13688. pool is the rados pool name.
  13689. Default is rbd.
  13690. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  13691. type: string
  13692. readOnly:
  13693. description: |-
  13694. readOnly here will force the ReadOnly setting in VolumeMounts.
  13695. Defaults to false.
  13696. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  13697. type: boolean
  13698. secretRef:
  13699. description: |-
  13700. secretRef is name of the authentication secret for RBDUser. If provided
  13701. overrides keyring.
  13702. Default is nil.
  13703. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  13704. properties:
  13705. name:
  13706. default: ""
  13707. description: |-
  13708. Name of the referent.
  13709. This field is effectively required, but due to backwards compatibility is
  13710. allowed to be empty. Instances of this type with an empty value here are
  13711. almost certainly wrong.
  13712. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  13713. type: string
  13714. type: object
  13715. x-kubernetes-map-type: atomic
  13716. user:
  13717. description: |-
  13718. user is the rados user name.
  13719. Default is admin.
  13720. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  13721. type: string
  13722. required:
  13723. - image
  13724. - monitors
  13725. type: object
  13726. scaleIO:
  13727. description: scaleIO represents a ScaleIO persistent
  13728. volume attached and mounted on Kubernetes nodes.
  13729. properties:
  13730. fsType:
  13731. description: |-
  13732. fsType is the filesystem type to mount.
  13733. Must be a filesystem type supported by the host operating system.
  13734. Ex. "ext4", "xfs", "ntfs".
  13735. Default is "xfs".
  13736. type: string
  13737. gateway:
  13738. description: gateway is the host address of
  13739. the ScaleIO API Gateway.
  13740. type: string
  13741. protectionDomain:
  13742. description: protectionDomain is the name of
  13743. the ScaleIO Protection Domain for the configured
  13744. storage.
  13745. type: string
  13746. readOnly:
  13747. description: |-
  13748. readOnly Defaults to false (read/write). ReadOnly here will force
  13749. the ReadOnly setting in VolumeMounts.
  13750. type: boolean
  13751. secretRef:
  13752. description: |-
  13753. secretRef references to the secret for ScaleIO user and other
  13754. sensitive information. If this is not provided, Login operation will fail.
  13755. properties:
  13756. name:
  13757. default: ""
  13758. description: |-
  13759. Name of the referent.
  13760. This field is effectively required, but due to backwards compatibility is
  13761. allowed to be empty. Instances of this type with an empty value here are
  13762. almost certainly wrong.
  13763. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  13764. type: string
  13765. type: object
  13766. x-kubernetes-map-type: atomic
  13767. sslEnabled:
  13768. description: sslEnabled Flag enable/disable
  13769. SSL communication with Gateway, default false
  13770. type: boolean
  13771. storageMode:
  13772. description: |-
  13773. storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
  13774. Default is ThinProvisioned.
  13775. type: string
  13776. storagePool:
  13777. description: storagePool is the ScaleIO Storage
  13778. Pool associated with the protection domain.
  13779. type: string
  13780. system:
  13781. description: system is the name of the storage
  13782. system as configured in ScaleIO.
  13783. type: string
  13784. volumeName:
  13785. description: |-
  13786. volumeName is the name of a volume already created in the ScaleIO system
  13787. that is associated with this volume source.
  13788. type: string
  13789. required:
  13790. - gateway
  13791. - secretRef
  13792. - system
  13793. type: object
  13794. secret:
  13795. description: |-
  13796. secret represents a secret that should populate this volume.
  13797. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  13798. properties:
  13799. defaultMode:
  13800. description: |-
  13801. defaultMode is Optional: mode bits used to set permissions on created files by default.
  13802. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  13803. YAML accepts both octal and decimal values, JSON requires decimal values
  13804. for mode bits. Defaults to 0644.
  13805. Directories within the path are not affected by this setting.
  13806. This might be in conflict with other options that affect the file
  13807. mode, like fsGroup, and the result can be other mode bits set.
  13808. format: int32
  13809. type: integer
  13810. items:
  13811. description: |-
  13812. items If unspecified, each key-value pair in the Data field of the referenced
  13813. Secret will be projected into the volume as a file whose name is the
  13814. key and content is the value. If specified, the listed keys will be
  13815. projected into the specified paths, and unlisted keys will not be
  13816. present. If a key is specified which is not present in the Secret,
  13817. the volume setup will error unless it is marked optional. Paths must be
  13818. relative and may not contain the '..' path or start with '..'.
  13819. items:
  13820. description: Maps a string key to a path within
  13821. a volume.
  13822. properties:
  13823. key:
  13824. description: key is the key to project.
  13825. type: string
  13826. mode:
  13827. description: |-
  13828. mode is Optional: mode bits used to set permissions on this file.
  13829. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  13830. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  13831. If not specified, the volume defaultMode will be used.
  13832. This might be in conflict with other options that affect the file
  13833. mode, like fsGroup, and the result can be other mode bits set.
  13834. format: int32
  13835. type: integer
  13836. path:
  13837. description: |-
  13838. path is the relative path of the file to map the key to.
  13839. May not be an absolute path.
  13840. May not contain the path element '..'.
  13841. May not start with the string '..'.
  13842. type: string
  13843. required:
  13844. - key
  13845. - path
  13846. type: object
  13847. type: array
  13848. x-kubernetes-list-type: atomic
  13849. optional:
  13850. description: optional field specify whether
  13851. the Secret or its keys must be defined
  13852. type: boolean
  13853. secretName:
  13854. description: |-
  13855. secretName is the name of the secret in the pod's namespace to use.
  13856. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  13857. type: string
  13858. type: object
  13859. storageos:
  13860. description: storageOS represents a StorageOS volume
  13861. attached and mounted on Kubernetes nodes.
  13862. properties:
  13863. fsType:
  13864. description: |-
  13865. fsType is the filesystem type to mount.
  13866. Must be a filesystem type supported by the host operating system.
  13867. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  13868. type: string
  13869. readOnly:
  13870. description: |-
  13871. readOnly defaults to false (read/write). ReadOnly here will force
  13872. the ReadOnly setting in VolumeMounts.
  13873. type: boolean
  13874. secretRef:
  13875. description: |-
  13876. secretRef specifies the secret to use for obtaining the StorageOS API
  13877. credentials. If not specified, default values will be attempted.
  13878. properties:
  13879. name:
  13880. default: ""
  13881. description: |-
  13882. Name of the referent.
  13883. This field is effectively required, but due to backwards compatibility is
  13884. allowed to be empty. Instances of this type with an empty value here are
  13885. almost certainly wrong.
  13886. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  13887. type: string
  13888. type: object
  13889. x-kubernetes-map-type: atomic
  13890. volumeName:
  13891. description: |-
  13892. volumeName is the human-readable name of the StorageOS volume. Volume
  13893. names are only unique within a namespace.
  13894. type: string
  13895. volumeNamespace:
  13896. description: |-
  13897. volumeNamespace specifies the scope of the volume within StorageOS. If no
  13898. namespace is specified then the Pod's namespace will be used. This allows the
  13899. Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
  13900. Set VolumeName to any name to override the default behaviour.
  13901. Set to "default" if you are not using namespaces within StorageOS.
  13902. Namespaces that do not pre-exist within StorageOS will be created.
  13903. type: string
  13904. type: object
  13905. vsphereVolume:
  13906. description: vsphereVolume represents a vSphere
  13907. volume attached and mounted on kubelets host machine
  13908. properties:
  13909. fsType:
  13910. description: |-
  13911. fsType is filesystem type to mount.
  13912. Must be a filesystem type supported by the host operating system.
  13913. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  13914. type: string
  13915. storagePolicyID:
  13916. description: storagePolicyID is the storage
  13917. Policy Based Management (SPBM) profile ID
  13918. associated with the StoragePolicyName.
  13919. type: string
  13920. storagePolicyName:
  13921. description: storagePolicyName is the storage
  13922. Policy Based Management (SPBM) profile name.
  13923. type: string
  13924. volumePath:
  13925. description: volumePath is the path that identifies
  13926. vSphere volume vmdk
  13927. type: string
  13928. required:
  13929. - volumePath
  13930. type: object
  13931. required:
  13932. - name
  13933. type: object
  13934. type: array
  13935. type: object
  13936. required:
  13937. - name
  13938. type: object
  13939. type: object
  13940. sharedVolumes:
  13941. description: sharedVolumes defines volumes that are shared across
  13942. all components of the stack.
  13943. items:
  13944. type: string
  13945. type: array
  13946. vectorStore:
  13947. description: vectorStore defines the configuration overrides for the
  13948. stack's vector store component.
  13949. properties:
  13950. enabled:
  13951. description: enabled indicates whether the component should be
  13952. deployed for the stack.
  13953. type: boolean
  13954. template:
  13955. description: template holds the configuration overrides for the
  13956. component.
  13957. properties:
  13958. metadata:
  13959. description: metadata is a standard object metadata.
  13960. type: object
  13961. name:
  13962. description: name selects a built-in preset.
  13963. type: string
  13964. spec:
  13965. description: spec holds the pod-level configuration for the
  13966. workload.
  13967. properties:
  13968. affinity:
  13969. description: affinity provides fine-grained node and pod
  13970. (anti-)affinity rules.
  13971. properties:
  13972. nodeAffinity:
  13973. description: Describes node affinity scheduling rules
  13974. for the pod.
  13975. properties:
  13976. preferredDuringSchedulingIgnoredDuringExecution:
  13977. description: |-
  13978. The scheduler will prefer to schedule pods to nodes that satisfy
  13979. the affinity expressions specified by this field, but it may choose
  13980. a node that violates one or more of the expressions. The node that is
  13981. most preferred is the one with the greatest sum of weights, i.e.
  13982. for each node that meets all of the scheduling requirements (resource
  13983. request, requiredDuringScheduling affinity expressions, etc.),
  13984. compute a sum by iterating through the elements of this field and adding
  13985. "weight" to the sum if the node matches the corresponding matchExpressions; the
  13986. node(s) with the highest sum are the most preferred.
  13987. items:
  13988. description: |-
  13989. An empty preferred scheduling term matches all objects with implicit weight 0
  13990. (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
  13991. properties:
  13992. preference:
  13993. description: A node selector term, associated
  13994. with the corresponding weight.
  13995. properties:
  13996. matchExpressions:
  13997. description: A list of node selector
  13998. requirements by node's labels.
  13999. items:
  14000. description: |-
  14001. A node selector requirement is a selector that contains values, a key, and an operator
  14002. that relates the key and values.
  14003. properties:
  14004. key:
  14005. description: The label key that
  14006. the selector applies to.
  14007. type: string
  14008. operator:
  14009. description: |-
  14010. Represents a key's relationship to a set of values.
  14011. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  14012. type: string
  14013. values:
  14014. description: |-
  14015. An array of string values. If the operator is In or NotIn,
  14016. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14017. the values array must be empty. If the operator is Gt or Lt, the values
  14018. array must have a single element, which will be interpreted as an integer.
  14019. This array is replaced during a strategic merge patch.
  14020. items:
  14021. type: string
  14022. type: array
  14023. x-kubernetes-list-type: atomic
  14024. required:
  14025. - key
  14026. - operator
  14027. type: object
  14028. type: array
  14029. x-kubernetes-list-type: atomic
  14030. matchFields:
  14031. description: A list of node selector
  14032. requirements by node's fields.
  14033. items:
  14034. description: |-
  14035. A node selector requirement is a selector that contains values, a key, and an operator
  14036. that relates the key and values.
  14037. properties:
  14038. key:
  14039. description: The label key that
  14040. the selector applies to.
  14041. type: string
  14042. operator:
  14043. description: |-
  14044. Represents a key's relationship to a set of values.
  14045. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  14046. type: string
  14047. values:
  14048. description: |-
  14049. An array of string values. If the operator is In or NotIn,
  14050. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14051. the values array must be empty. If the operator is Gt or Lt, the values
  14052. array must have a single element, which will be interpreted as an integer.
  14053. This array is replaced during a strategic merge patch.
  14054. items:
  14055. type: string
  14056. type: array
  14057. x-kubernetes-list-type: atomic
  14058. required:
  14059. - key
  14060. - operator
  14061. type: object
  14062. type: array
  14063. x-kubernetes-list-type: atomic
  14064. type: object
  14065. x-kubernetes-map-type: atomic
  14066. weight:
  14067. description: Weight associated with matching
  14068. the corresponding nodeSelectorTerm, in
  14069. the range 1-100.
  14070. format: int32
  14071. type: integer
  14072. required:
  14073. - preference
  14074. - weight
  14075. type: object
  14076. type: array
  14077. x-kubernetes-list-type: atomic
  14078. requiredDuringSchedulingIgnoredDuringExecution:
  14079. description: |-
  14080. If the affinity requirements specified by this field are not met at
  14081. scheduling time, the pod will not be scheduled onto the node.
  14082. If the affinity requirements specified by this field cease to be met
  14083. at some point during pod execution (e.g. due to an update), the system
  14084. may or may not try to eventually evict the pod from its node.
  14085. properties:
  14086. nodeSelectorTerms:
  14087. description: Required. A list of node selector
  14088. terms. The terms are ORed.
  14089. items:
  14090. description: |-
  14091. A null or empty node selector term matches no objects. The requirements of
  14092. them are ANDed.
  14093. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
  14094. properties:
  14095. matchExpressions:
  14096. description: A list of node selector
  14097. requirements by node's labels.
  14098. items:
  14099. description: |-
  14100. A node selector requirement is a selector that contains values, a key, and an operator
  14101. that relates the key and values.
  14102. properties:
  14103. key:
  14104. description: The label key that
  14105. the selector applies to.
  14106. type: string
  14107. operator:
  14108. description: |-
  14109. Represents a key's relationship to a set of values.
  14110. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  14111. type: string
  14112. values:
  14113. description: |-
  14114. An array of string values. If the operator is In or NotIn,
  14115. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14116. the values array must be empty. If the operator is Gt or Lt, the values
  14117. array must have a single element, which will be interpreted as an integer.
  14118. This array is replaced during a strategic merge patch.
  14119. items:
  14120. type: string
  14121. type: array
  14122. x-kubernetes-list-type: atomic
  14123. required:
  14124. - key
  14125. - operator
  14126. type: object
  14127. type: array
  14128. x-kubernetes-list-type: atomic
  14129. matchFields:
  14130. description: A list of node selector
  14131. requirements by node's fields.
  14132. items:
  14133. description: |-
  14134. A node selector requirement is a selector that contains values, a key, and an operator
  14135. that relates the key and values.
  14136. properties:
  14137. key:
  14138. description: The label key that
  14139. the selector applies to.
  14140. type: string
  14141. operator:
  14142. description: |-
  14143. Represents a key's relationship to a set of values.
  14144. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
  14145. type: string
  14146. values:
  14147. description: |-
  14148. An array of string values. If the operator is In or NotIn,
  14149. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14150. the values array must be empty. If the operator is Gt or Lt, the values
  14151. array must have a single element, which will be interpreted as an integer.
  14152. This array is replaced during a strategic merge patch.
  14153. items:
  14154. type: string
  14155. type: array
  14156. x-kubernetes-list-type: atomic
  14157. required:
  14158. - key
  14159. - operator
  14160. type: object
  14161. type: array
  14162. x-kubernetes-list-type: atomic
  14163. type: object
  14164. x-kubernetes-map-type: atomic
  14165. type: array
  14166. x-kubernetes-list-type: atomic
  14167. required:
  14168. - nodeSelectorTerms
  14169. type: object
  14170. x-kubernetes-map-type: atomic
  14171. type: object
  14172. podAffinity:
  14173. description: Describes pod affinity scheduling rules
  14174. (e.g. co-locate this pod in the same node, zone,
  14175. etc. as some other pod(s)).
  14176. properties:
  14177. preferredDuringSchedulingIgnoredDuringExecution:
  14178. description: |-
  14179. The scheduler will prefer to schedule pods to nodes that satisfy
  14180. the affinity expressions specified by this field, but it may choose
  14181. a node that violates one or more of the expressions. The node that is
  14182. most preferred is the one with the greatest sum of weights, i.e.
  14183. for each node that meets all of the scheduling requirements (resource
  14184. request, requiredDuringScheduling affinity expressions, etc.),
  14185. compute a sum by iterating through the elements of this field and adding
  14186. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  14187. node(s) with the highest sum are the most preferred.
  14188. items:
  14189. description: The weights of all of the matched
  14190. WeightedPodAffinityTerm fields are added per-node
  14191. to find the most preferred node(s)
  14192. properties:
  14193. podAffinityTerm:
  14194. description: Required. A pod affinity term,
  14195. associated with the corresponding weight.
  14196. properties:
  14197. labelSelector:
  14198. description: |-
  14199. A label query over a set of resources, in this case pods.
  14200. If it's null, this PodAffinityTerm matches with no Pods.
  14201. properties:
  14202. matchExpressions:
  14203. description: matchExpressions is
  14204. a list of label selector requirements.
  14205. The requirements are ANDed.
  14206. items:
  14207. description: |-
  14208. A label selector requirement is a selector that contains values, a key, and an operator that
  14209. relates the key and values.
  14210. properties:
  14211. key:
  14212. description: key is the label
  14213. key that the selector applies
  14214. to.
  14215. type: string
  14216. operator:
  14217. description: |-
  14218. operator represents a key's relationship to a set of values.
  14219. Valid operators are In, NotIn, Exists and DoesNotExist.
  14220. type: string
  14221. values:
  14222. description: |-
  14223. values is an array of string values. If the operator is In or NotIn,
  14224. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14225. the values array must be empty. This array is replaced during a strategic
  14226. merge patch.
  14227. items:
  14228. type: string
  14229. type: array
  14230. x-kubernetes-list-type: atomic
  14231. required:
  14232. - key
  14233. - operator
  14234. type: object
  14235. type: array
  14236. x-kubernetes-list-type: atomic
  14237. matchLabels:
  14238. additionalProperties:
  14239. type: string
  14240. description: |-
  14241. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14242. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14243. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14244. type: object
  14245. type: object
  14246. x-kubernetes-map-type: atomic
  14247. matchLabelKeys:
  14248. description: |-
  14249. MatchLabelKeys is a set of pod label keys to select which pods will
  14250. be taken into consideration. The keys are used to lookup values from the
  14251. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  14252. to select the group of existing pods which pods will be taken into consideration
  14253. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14254. pod labels will be ignored. The default value is empty.
  14255. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  14256. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  14257. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14258. items:
  14259. type: string
  14260. type: array
  14261. x-kubernetes-list-type: atomic
  14262. mismatchLabelKeys:
  14263. description: |-
  14264. MismatchLabelKeys is a set of pod label keys to select which pods will
  14265. be taken into consideration. The keys are used to lookup values from the
  14266. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  14267. to select the group of existing pods which pods will be taken into consideration
  14268. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14269. pod labels will be ignored. The default value is empty.
  14270. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  14271. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  14272. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14273. items:
  14274. type: string
  14275. type: array
  14276. x-kubernetes-list-type: atomic
  14277. namespaceSelector:
  14278. description: |-
  14279. A label query over the set of namespaces that the term applies to.
  14280. The term is applied to the union of the namespaces selected by this field
  14281. and the ones listed in the namespaces field.
  14282. null selector and null or empty namespaces list means "this pod's namespace".
  14283. An empty selector ({}) matches all namespaces.
  14284. properties:
  14285. matchExpressions:
  14286. description: matchExpressions is
  14287. a list of label selector requirements.
  14288. The requirements are ANDed.
  14289. items:
  14290. description: |-
  14291. A label selector requirement is a selector that contains values, a key, and an operator that
  14292. relates the key and values.
  14293. properties:
  14294. key:
  14295. description: key is the label
  14296. key that the selector applies
  14297. to.
  14298. type: string
  14299. operator:
  14300. description: |-
  14301. operator represents a key's relationship to a set of values.
  14302. Valid operators are In, NotIn, Exists and DoesNotExist.
  14303. type: string
  14304. values:
  14305. description: |-
  14306. values is an array of string values. If the operator is In or NotIn,
  14307. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14308. the values array must be empty. This array is replaced during a strategic
  14309. merge patch.
  14310. items:
  14311. type: string
  14312. type: array
  14313. x-kubernetes-list-type: atomic
  14314. required:
  14315. - key
  14316. - operator
  14317. type: object
  14318. type: array
  14319. x-kubernetes-list-type: atomic
  14320. matchLabels:
  14321. additionalProperties:
  14322. type: string
  14323. description: |-
  14324. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14325. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14326. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14327. type: object
  14328. type: object
  14329. x-kubernetes-map-type: atomic
  14330. namespaces:
  14331. description: |-
  14332. namespaces specifies a static list of namespace names that the term applies to.
  14333. The term is applied to the union of the namespaces listed in this field
  14334. and the ones selected by namespaceSelector.
  14335. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  14336. items:
  14337. type: string
  14338. type: array
  14339. x-kubernetes-list-type: atomic
  14340. topologyKey:
  14341. description: |-
  14342. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  14343. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  14344. whose value of the label with key topologyKey matches that of any node on which any of the
  14345. selected pods is running.
  14346. Empty topologyKey is not allowed.
  14347. type: string
  14348. required:
  14349. - topologyKey
  14350. type: object
  14351. weight:
  14352. description: |-
  14353. weight associated with matching the corresponding podAffinityTerm,
  14354. in the range 1-100.
  14355. format: int32
  14356. type: integer
  14357. required:
  14358. - podAffinityTerm
  14359. - weight
  14360. type: object
  14361. type: array
  14362. x-kubernetes-list-type: atomic
  14363. requiredDuringSchedulingIgnoredDuringExecution:
  14364. description: |-
  14365. If the affinity requirements specified by this field are not met at
  14366. scheduling time, the pod will not be scheduled onto the node.
  14367. If the affinity requirements specified by this field cease to be met
  14368. at some point during pod execution (e.g. due to a pod label update), the
  14369. system may or may not try to eventually evict the pod from its node.
  14370. When there are multiple elements, the lists of nodes corresponding to each
  14371. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  14372. items:
  14373. description: |-
  14374. Defines a set of pods (namely those matching the labelSelector
  14375. relative to the given namespace(s)) that this pod should be
  14376. co-located (affinity) or not co-located (anti-affinity) with,
  14377. where co-located is defined as running on a node whose value of
  14378. the label with key <topologyKey> matches that of any node on which
  14379. a pod of the set of pods is running
  14380. properties:
  14381. labelSelector:
  14382. description: |-
  14383. A label query over a set of resources, in this case pods.
  14384. If it's null, this PodAffinityTerm matches with no Pods.
  14385. properties:
  14386. matchExpressions:
  14387. description: matchExpressions is a list
  14388. of label selector requirements. The
  14389. requirements are ANDed.
  14390. items:
  14391. description: |-
  14392. A label selector requirement is a selector that contains values, a key, and an operator that
  14393. relates the key and values.
  14394. properties:
  14395. key:
  14396. description: key is the label
  14397. key that the selector applies
  14398. to.
  14399. type: string
  14400. operator:
  14401. description: |-
  14402. operator represents a key's relationship to a set of values.
  14403. Valid operators are In, NotIn, Exists and DoesNotExist.
  14404. type: string
  14405. values:
  14406. description: |-
  14407. values is an array of string values. If the operator is In or NotIn,
  14408. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14409. the values array must be empty. This array is replaced during a strategic
  14410. merge patch.
  14411. items:
  14412. type: string
  14413. type: array
  14414. x-kubernetes-list-type: atomic
  14415. required:
  14416. - key
  14417. - operator
  14418. type: object
  14419. type: array
  14420. x-kubernetes-list-type: atomic
  14421. matchLabels:
  14422. additionalProperties:
  14423. type: string
  14424. description: |-
  14425. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14426. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14427. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14428. type: object
  14429. type: object
  14430. x-kubernetes-map-type: atomic
  14431. matchLabelKeys:
  14432. description: |-
  14433. MatchLabelKeys is a set of pod label keys to select which pods will
  14434. be taken into consideration. The keys are used to lookup values from the
  14435. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  14436. to select the group of existing pods which pods will be taken into consideration
  14437. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14438. pod labels will be ignored. The default value is empty.
  14439. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  14440. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  14441. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14442. items:
  14443. type: string
  14444. type: array
  14445. x-kubernetes-list-type: atomic
  14446. mismatchLabelKeys:
  14447. description: |-
  14448. MismatchLabelKeys is a set of pod label keys to select which pods will
  14449. be taken into consideration. The keys are used to lookup values from the
  14450. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  14451. to select the group of existing pods which pods will be taken into consideration
  14452. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14453. pod labels will be ignored. The default value is empty.
  14454. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  14455. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  14456. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14457. items:
  14458. type: string
  14459. type: array
  14460. x-kubernetes-list-type: atomic
  14461. namespaceSelector:
  14462. description: |-
  14463. A label query over the set of namespaces that the term applies to.
  14464. The term is applied to the union of the namespaces selected by this field
  14465. and the ones listed in the namespaces field.
  14466. null selector and null or empty namespaces list means "this pod's namespace".
  14467. An empty selector ({}) matches all namespaces.
  14468. properties:
  14469. matchExpressions:
  14470. description: matchExpressions is a list
  14471. of label selector requirements. The
  14472. requirements are ANDed.
  14473. items:
  14474. description: |-
  14475. A label selector requirement is a selector that contains values, a key, and an operator that
  14476. relates the key and values.
  14477. properties:
  14478. key:
  14479. description: key is the label
  14480. key that the selector applies
  14481. to.
  14482. type: string
  14483. operator:
  14484. description: |-
  14485. operator represents a key's relationship to a set of values.
  14486. Valid operators are In, NotIn, Exists and DoesNotExist.
  14487. type: string
  14488. values:
  14489. description: |-
  14490. values is an array of string values. If the operator is In or NotIn,
  14491. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14492. the values array must be empty. This array is replaced during a strategic
  14493. merge patch.
  14494. items:
  14495. type: string
  14496. type: array
  14497. x-kubernetes-list-type: atomic
  14498. required:
  14499. - key
  14500. - operator
  14501. type: object
  14502. type: array
  14503. x-kubernetes-list-type: atomic
  14504. matchLabels:
  14505. additionalProperties:
  14506. type: string
  14507. description: |-
  14508. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14509. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14510. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14511. type: object
  14512. type: object
  14513. x-kubernetes-map-type: atomic
  14514. namespaces:
  14515. description: |-
  14516. namespaces specifies a static list of namespace names that the term applies to.
  14517. The term is applied to the union of the namespaces listed in this field
  14518. and the ones selected by namespaceSelector.
  14519. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  14520. items:
  14521. type: string
  14522. type: array
  14523. x-kubernetes-list-type: atomic
  14524. topologyKey:
  14525. description: |-
  14526. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  14527. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  14528. whose value of the label with key topologyKey matches that of any node on which any of the
  14529. selected pods is running.
  14530. Empty topologyKey is not allowed.
  14531. type: string
  14532. required:
  14533. - topologyKey
  14534. type: object
  14535. type: array
  14536. x-kubernetes-list-type: atomic
  14537. type: object
  14538. podAntiAffinity:
  14539. description: Describes pod anti-affinity scheduling
  14540. rules (e.g. avoid putting this pod in the same node,
  14541. zone, etc. as some other pod(s)).
  14542. properties:
  14543. preferredDuringSchedulingIgnoredDuringExecution:
  14544. description: |-
  14545. The scheduler will prefer to schedule pods to nodes that satisfy
  14546. the anti-affinity expressions specified by this field, but it may choose
  14547. a node that violates one or more of the expressions. The node that is
  14548. most preferred is the one with the greatest sum of weights, i.e.
  14549. for each node that meets all of the scheduling requirements (resource
  14550. request, requiredDuringScheduling anti-affinity expressions, etc.),
  14551. compute a sum by iterating through the elements of this field and adding
  14552. "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
  14553. node(s) with the highest sum are the most preferred.
  14554. items:
  14555. description: The weights of all of the matched
  14556. WeightedPodAffinityTerm fields are added per-node
  14557. to find the most preferred node(s)
  14558. properties:
  14559. podAffinityTerm:
  14560. description: Required. A pod affinity term,
  14561. associated with the corresponding weight.
  14562. properties:
  14563. labelSelector:
  14564. description: |-
  14565. A label query over a set of resources, in this case pods.
  14566. If it's null, this PodAffinityTerm matches with no Pods.
  14567. properties:
  14568. matchExpressions:
  14569. description: matchExpressions is
  14570. a list of label selector requirements.
  14571. The requirements are ANDed.
  14572. items:
  14573. description: |-
  14574. A label selector requirement is a selector that contains values, a key, and an operator that
  14575. relates the key and values.
  14576. properties:
  14577. key:
  14578. description: key is the label
  14579. key that the selector applies
  14580. to.
  14581. type: string
  14582. operator:
  14583. description: |-
  14584. operator represents a key's relationship to a set of values.
  14585. Valid operators are In, NotIn, Exists and DoesNotExist.
  14586. type: string
  14587. values:
  14588. description: |-
  14589. values is an array of string values. If the operator is In or NotIn,
  14590. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14591. the values array must be empty. This array is replaced during a strategic
  14592. merge patch.
  14593. items:
  14594. type: string
  14595. type: array
  14596. x-kubernetes-list-type: atomic
  14597. required:
  14598. - key
  14599. - operator
  14600. type: object
  14601. type: array
  14602. x-kubernetes-list-type: atomic
  14603. matchLabels:
  14604. additionalProperties:
  14605. type: string
  14606. description: |-
  14607. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14608. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14609. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14610. type: object
  14611. type: object
  14612. x-kubernetes-map-type: atomic
  14613. matchLabelKeys:
  14614. description: |-
  14615. MatchLabelKeys is a set of pod label keys to select which pods will
  14616. be taken into consideration. The keys are used to lookup values from the
  14617. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  14618. to select the group of existing pods which pods will be taken into consideration
  14619. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14620. pod labels will be ignored. The default value is empty.
  14621. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  14622. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  14623. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14624. items:
  14625. type: string
  14626. type: array
  14627. x-kubernetes-list-type: atomic
  14628. mismatchLabelKeys:
  14629. description: |-
  14630. MismatchLabelKeys is a set of pod label keys to select which pods will
  14631. be taken into consideration. The keys are used to lookup values from the
  14632. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  14633. to select the group of existing pods which pods will be taken into consideration
  14634. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14635. pod labels will be ignored. The default value is empty.
  14636. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  14637. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  14638. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14639. items:
  14640. type: string
  14641. type: array
  14642. x-kubernetes-list-type: atomic
  14643. namespaceSelector:
  14644. description: |-
  14645. A label query over the set of namespaces that the term applies to.
  14646. The term is applied to the union of the namespaces selected by this field
  14647. and the ones listed in the namespaces field.
  14648. null selector and null or empty namespaces list means "this pod's namespace".
  14649. An empty selector ({}) matches all namespaces.
  14650. properties:
  14651. matchExpressions:
  14652. description: matchExpressions is
  14653. a list of label selector requirements.
  14654. The requirements are ANDed.
  14655. items:
  14656. description: |-
  14657. A label selector requirement is a selector that contains values, a key, and an operator that
  14658. relates the key and values.
  14659. properties:
  14660. key:
  14661. description: key is the label
  14662. key that the selector applies
  14663. to.
  14664. type: string
  14665. operator:
  14666. description: |-
  14667. operator represents a key's relationship to a set of values.
  14668. Valid operators are In, NotIn, Exists and DoesNotExist.
  14669. type: string
  14670. values:
  14671. description: |-
  14672. values is an array of string values. If the operator is In or NotIn,
  14673. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14674. the values array must be empty. This array is replaced during a strategic
  14675. merge patch.
  14676. items:
  14677. type: string
  14678. type: array
  14679. x-kubernetes-list-type: atomic
  14680. required:
  14681. - key
  14682. - operator
  14683. type: object
  14684. type: array
  14685. x-kubernetes-list-type: atomic
  14686. matchLabels:
  14687. additionalProperties:
  14688. type: string
  14689. description: |-
  14690. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14691. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14692. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14693. type: object
  14694. type: object
  14695. x-kubernetes-map-type: atomic
  14696. namespaces:
  14697. description: |-
  14698. namespaces specifies a static list of namespace names that the term applies to.
  14699. The term is applied to the union of the namespaces listed in this field
  14700. and the ones selected by namespaceSelector.
  14701. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  14702. items:
  14703. type: string
  14704. type: array
  14705. x-kubernetes-list-type: atomic
  14706. topologyKey:
  14707. description: |-
  14708. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  14709. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  14710. whose value of the label with key topologyKey matches that of any node on which any of the
  14711. selected pods is running.
  14712. Empty topologyKey is not allowed.
  14713. type: string
  14714. required:
  14715. - topologyKey
  14716. type: object
  14717. weight:
  14718. description: |-
  14719. weight associated with matching the corresponding podAffinityTerm,
  14720. in the range 1-100.
  14721. format: int32
  14722. type: integer
  14723. required:
  14724. - podAffinityTerm
  14725. - weight
  14726. type: object
  14727. type: array
  14728. x-kubernetes-list-type: atomic
  14729. requiredDuringSchedulingIgnoredDuringExecution:
  14730. description: |-
  14731. If the anti-affinity requirements specified by this field are not met at
  14732. scheduling time, the pod will not be scheduled onto the node.
  14733. If the anti-affinity requirements specified by this field cease to be met
  14734. at some point during pod execution (e.g. due to a pod label update), the
  14735. system may or may not try to eventually evict the pod from its node.
  14736. When there are multiple elements, the lists of nodes corresponding to each
  14737. podAffinityTerm are intersected, i.e. all terms must be satisfied.
  14738. items:
  14739. description: |-
  14740. Defines a set of pods (namely those matching the labelSelector
  14741. relative to the given namespace(s)) that this pod should be
  14742. co-located (affinity) or not co-located (anti-affinity) with,
  14743. where co-located is defined as running on a node whose value of
  14744. the label with key <topologyKey> matches that of any node on which
  14745. a pod of the set of pods is running
  14746. properties:
  14747. labelSelector:
  14748. description: |-
  14749. A label query over a set of resources, in this case pods.
  14750. If it's null, this PodAffinityTerm matches with no Pods.
  14751. properties:
  14752. matchExpressions:
  14753. description: matchExpressions is a list
  14754. of label selector requirements. The
  14755. requirements are ANDed.
  14756. items:
  14757. description: |-
  14758. A label selector requirement is a selector that contains values, a key, and an operator that
  14759. relates the key and values.
  14760. properties:
  14761. key:
  14762. description: key is the label
  14763. key that the selector applies
  14764. to.
  14765. type: string
  14766. operator:
  14767. description: |-
  14768. operator represents a key's relationship to a set of values.
  14769. Valid operators are In, NotIn, Exists and DoesNotExist.
  14770. type: string
  14771. values:
  14772. description: |-
  14773. values is an array of string values. If the operator is In or NotIn,
  14774. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14775. the values array must be empty. This array is replaced during a strategic
  14776. merge patch.
  14777. items:
  14778. type: string
  14779. type: array
  14780. x-kubernetes-list-type: atomic
  14781. required:
  14782. - key
  14783. - operator
  14784. type: object
  14785. type: array
  14786. x-kubernetes-list-type: atomic
  14787. matchLabels:
  14788. additionalProperties:
  14789. type: string
  14790. description: |-
  14791. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14792. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14793. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14794. type: object
  14795. type: object
  14796. x-kubernetes-map-type: atomic
  14797. matchLabelKeys:
  14798. description: |-
  14799. MatchLabelKeys is a set of pod label keys to select which pods will
  14800. be taken into consideration. The keys are used to lookup values from the
  14801. incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
  14802. to select the group of existing pods which pods will be taken into consideration
  14803. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14804. pod labels will be ignored. The default value is empty.
  14805. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
  14806. Also, matchLabelKeys cannot be set when labelSelector isn't set.
  14807. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14808. items:
  14809. type: string
  14810. type: array
  14811. x-kubernetes-list-type: atomic
  14812. mismatchLabelKeys:
  14813. description: |-
  14814. MismatchLabelKeys is a set of pod label keys to select which pods will
  14815. be taken into consideration. The keys are used to lookup values from the
  14816. incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
  14817. to select the group of existing pods which pods will be taken into consideration
  14818. for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
  14819. pod labels will be ignored. The default value is empty.
  14820. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
  14821. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
  14822. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
  14823. items:
  14824. type: string
  14825. type: array
  14826. x-kubernetes-list-type: atomic
  14827. namespaceSelector:
  14828. description: |-
  14829. A label query over the set of namespaces that the term applies to.
  14830. The term is applied to the union of the namespaces selected by this field
  14831. and the ones listed in the namespaces field.
  14832. null selector and null or empty namespaces list means "this pod's namespace".
  14833. An empty selector ({}) matches all namespaces.
  14834. properties:
  14835. matchExpressions:
  14836. description: matchExpressions is a list
  14837. of label selector requirements. The
  14838. requirements are ANDed.
  14839. items:
  14840. description: |-
  14841. A label selector requirement is a selector that contains values, a key, and an operator that
  14842. relates the key and values.
  14843. properties:
  14844. key:
  14845. description: key is the label
  14846. key that the selector applies
  14847. to.
  14848. type: string
  14849. operator:
  14850. description: |-
  14851. operator represents a key's relationship to a set of values.
  14852. Valid operators are In, NotIn, Exists and DoesNotExist.
  14853. type: string
  14854. values:
  14855. description: |-
  14856. values is an array of string values. If the operator is In or NotIn,
  14857. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  14858. the values array must be empty. This array is replaced during a strategic
  14859. merge patch.
  14860. items:
  14861. type: string
  14862. type: array
  14863. x-kubernetes-list-type: atomic
  14864. required:
  14865. - key
  14866. - operator
  14867. type: object
  14868. type: array
  14869. x-kubernetes-list-type: atomic
  14870. matchLabels:
  14871. additionalProperties:
  14872. type: string
  14873. description: |-
  14874. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  14875. map is equivalent to an element of matchExpressions, whose key field is "key", the
  14876. operator is "In", and the values array contains only "value". The requirements are ANDed.
  14877. type: object
  14878. type: object
  14879. x-kubernetes-map-type: atomic
  14880. namespaces:
  14881. description: |-
  14882. namespaces specifies a static list of namespace names that the term applies to.
  14883. The term is applied to the union of the namespaces listed in this field
  14884. and the ones selected by namespaceSelector.
  14885. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
  14886. items:
  14887. type: string
  14888. type: array
  14889. x-kubernetes-list-type: atomic
  14890. topologyKey:
  14891. description: |-
  14892. This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
  14893. the labelSelector in the specified namespaces, where co-located is defined as running on a node
  14894. whose value of the label with key topologyKey matches that of any node on which any of the
  14895. selected pods is running.
  14896. Empty topologyKey is not allowed.
  14897. type: string
  14898. required:
  14899. - topologyKey
  14900. type: object
  14901. type: array
  14902. x-kubernetes-list-type: atomic
  14903. type: object
  14904. type: object
  14905. nodeSelector:
  14906. additionalProperties:
  14907. type: string
  14908. description: nodeSelector pins pods to nodes that match
  14909. all the specified labels.
  14910. type: object
  14911. resources:
  14912. description: resources sets per-container resource requests
  14913. and limits.
  14914. properties:
  14915. claims:
  14916. description: |-
  14917. Claims lists the names of resources, defined in spec.resourceClaims,
  14918. that are used by this container.
  14919. This is an alpha field and requires enabling the
  14920. DynamicResourceAllocation feature gate.
  14921. This field is immutable. It can only be set for containers.
  14922. items:
  14923. description: ResourceClaim references one entry
  14924. in PodSpec.ResourceClaims.
  14925. properties:
  14926. name:
  14927. description: |-
  14928. Name must match the name of one entry in pod.spec.resourceClaims of
  14929. the Pod where this field is used. It makes that resource available
  14930. inside a container.
  14931. type: string
  14932. required:
  14933. - name
  14934. type: object
  14935. type: array
  14936. x-kubernetes-list-map-keys:
  14937. - name
  14938. x-kubernetes-list-type: map
  14939. limits:
  14940. additionalProperties:
  14941. anyOf:
  14942. - type: integer
  14943. - type: string
  14944. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  14945. x-kubernetes-int-or-string: true
  14946. description: |-
  14947. Limits describes the maximum amount of compute resources allowed.
  14948. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  14949. type: object
  14950. requests:
  14951. additionalProperties:
  14952. anyOf:
  14953. - type: integer
  14954. - type: string
  14955. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  14956. x-kubernetes-int-or-string: true
  14957. description: |-
  14958. Requests describes the minimum amount of compute resources required.
  14959. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  14960. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  14961. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  14962. type: object
  14963. type: object
  14964. runtime:
  14965. description: runtime describes the container runtime to
  14966. use for the workload.
  14967. properties:
  14968. args:
  14969. description: args specifies or overrides the preset's
  14970. container command.
  14971. items:
  14972. type: string
  14973. type: array
  14974. command:
  14975. description: command specifies or overrides the preset's
  14976. container entrypoint.
  14977. items:
  14978. type: string
  14979. type: array
  14980. conditionalArgs:
  14981. description: conditionalArgs are appended to the preset
  14982. command conditionally.
  14983. items:
  14984. properties:
  14985. args:
  14986. description: args are appended to the preset
  14987. args.
  14988. items:
  14989. type: string
  14990. type: array
  14991. when:
  14992. description: when the value is not empty after
  14993. variable substitution, the args are appended
  14994. to the preset args.
  14995. type: string
  14996. required:
  14997. - args
  14998. - when
  14999. type: object
  15000. type: array
  15001. env:
  15002. description: env holds environment variables injected
  15003. into the container.
  15004. items:
  15005. description: EnvVar represents an environment variable
  15006. present in a Container.
  15007. properties:
  15008. name:
  15009. description: Name of the environment variable.
  15010. Must be a C_IDENTIFIER.
  15011. type: string
  15012. value:
  15013. description: |-
  15014. Variable references $(VAR_NAME) are expanded
  15015. using the previously defined environment variables in the container and
  15016. any service environment variables. If a variable cannot be resolved,
  15017. the reference in the input string will be unchanged. Double $$ are reduced
  15018. to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
  15019. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
  15020. Escaped references will never be expanded, regardless of whether the variable
  15021. exists or not.
  15022. Defaults to "".
  15023. type: string
  15024. valueFrom:
  15025. description: Source for the environment variable's
  15026. value. Cannot be used if value is not empty.
  15027. properties:
  15028. configMapKeyRef:
  15029. description: Selects a key of a ConfigMap.
  15030. properties:
  15031. key:
  15032. description: The key to select.
  15033. type: string
  15034. name:
  15035. default: ""
  15036. description: |-
  15037. Name of the referent.
  15038. This field is effectively required, but due to backwards compatibility is
  15039. allowed to be empty. Instances of this type with an empty value here are
  15040. almost certainly wrong.
  15041. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15042. type: string
  15043. optional:
  15044. description: Specify whether the ConfigMap
  15045. or its key must be defined
  15046. type: boolean
  15047. required:
  15048. - key
  15049. type: object
  15050. x-kubernetes-map-type: atomic
  15051. fieldRef:
  15052. description: |-
  15053. Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
  15054. spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
  15055. properties:
  15056. apiVersion:
  15057. description: Version of the schema the
  15058. FieldPath is written in terms of,
  15059. defaults to "v1".
  15060. type: string
  15061. fieldPath:
  15062. description: Path of the field to select
  15063. in the specified API version.
  15064. type: string
  15065. required:
  15066. - fieldPath
  15067. type: object
  15068. x-kubernetes-map-type: atomic
  15069. resourceFieldRef:
  15070. description: |-
  15071. Selects a resource of the container: only resources limits and requests
  15072. (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
  15073. properties:
  15074. containerName:
  15075. description: 'Container name: required
  15076. for volumes, optional for env vars'
  15077. type: string
  15078. divisor:
  15079. anyOf:
  15080. - type: integer
  15081. - type: string
  15082. description: Specifies the output format
  15083. of the exposed resources, defaults
  15084. to "1"
  15085. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  15086. x-kubernetes-int-or-string: true
  15087. resource:
  15088. description: 'Required: resource to
  15089. select'
  15090. type: string
  15091. required:
  15092. - resource
  15093. type: object
  15094. x-kubernetes-map-type: atomic
  15095. secretKeyRef:
  15096. description: Selects a key of a secret in
  15097. the pod's namespace
  15098. properties:
  15099. key:
  15100. description: The key of the secret to
  15101. select from. Must be a valid secret
  15102. key.
  15103. type: string
  15104. name:
  15105. default: ""
  15106. description: |-
  15107. Name of the referent.
  15108. This field is effectively required, but due to backwards compatibility is
  15109. allowed to be empty. Instances of this type with an empty value here are
  15110. almost certainly wrong.
  15111. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15112. type: string
  15113. optional:
  15114. description: Specify whether the Secret
  15115. or its key must be defined
  15116. type: boolean
  15117. required:
  15118. - key
  15119. type: object
  15120. x-kubernetes-map-type: atomic
  15121. type: object
  15122. required:
  15123. - name
  15124. type: object
  15125. type: array
  15126. envFrom:
  15127. description: envFrom references ConfigMaps or Secrets
  15128. whose key-value pairs are injected as environment
  15129. variables.
  15130. items:
  15131. description: EnvFromSource represents the source
  15132. of a set of ConfigMaps
  15133. properties:
  15134. configMapRef:
  15135. description: The ConfigMap to select from
  15136. properties:
  15137. name:
  15138. default: ""
  15139. description: |-
  15140. Name of the referent.
  15141. This field is effectively required, but due to backwards compatibility is
  15142. allowed to be empty. Instances of this type with an empty value here are
  15143. almost certainly wrong.
  15144. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15145. type: string
  15146. optional:
  15147. description: Specify whether the ConfigMap
  15148. must be defined
  15149. type: boolean
  15150. type: object
  15151. x-kubernetes-map-type: atomic
  15152. prefix:
  15153. description: An optional identifier to prepend
  15154. to each key in the ConfigMap. Must be a C_IDENTIFIER.
  15155. type: string
  15156. secretRef:
  15157. description: The Secret to select from
  15158. properties:
  15159. name:
  15160. default: ""
  15161. description: |-
  15162. Name of the referent.
  15163. This field is effectively required, but due to backwards compatibility is
  15164. allowed to be empty. Instances of this type with an empty value here are
  15165. almost certainly wrong.
  15166. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15167. type: string
  15168. optional:
  15169. description: Specify whether the Secret
  15170. must be defined
  15171. type: boolean
  15172. type: object
  15173. x-kubernetes-map-type: atomic
  15174. type: object
  15175. type: array
  15176. extraArgs:
  15177. description: extraArgs are appended to the preset
  15178. command.
  15179. items:
  15180. type: string
  15181. type: array
  15182. image:
  15183. description: |-
  15184. image specifies or overrides the preset's container image, e.g. to pin a specific tag
  15185. or pull from a private registry mirror.
  15186. type: string
  15187. name:
  15188. description: name selects a built-in runtime preset.
  15189. type: string
  15190. port:
  15191. description: port specifies or overrides the container
  15192. port the runtime listens on.
  15193. format: int32
  15194. type: integer
  15195. volumeMounts:
  15196. description: volumeMounts defines where pod volumes
  15197. are mounted inside the container.
  15198. items:
  15199. description: VolumeMount describes a mounting of
  15200. a Volume within a container.
  15201. properties:
  15202. mountPath:
  15203. description: |-
  15204. Path within the container at which the volume should be mounted. Must
  15205. not contain ':'.
  15206. type: string
  15207. mountPropagation:
  15208. description: |-
  15209. mountPropagation determines how mounts are propagated from the host
  15210. to container and the other way around.
  15211. When not set, MountPropagationNone is used.
  15212. This field is beta in 1.10.
  15213. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
  15214. (which defaults to None).
  15215. type: string
  15216. name:
  15217. description: This must match the Name of a Volume.
  15218. type: string
  15219. readOnly:
  15220. description: |-
  15221. Mounted read-only if true, read-write otherwise (false or unspecified).
  15222. Defaults to false.
  15223. type: boolean
  15224. recursiveReadOnly:
  15225. description: |-
  15226. RecursiveReadOnly specifies whether read-only mounts should be handled
  15227. recursively.
  15228. If ReadOnly is false, this field has no meaning and must be unspecified.
  15229. If ReadOnly is true, and this field is set to Disabled, the mount is not made
  15230. recursively read-only. If this field is set to IfPossible, the mount is made
  15231. recursively read-only, if it is supported by the container runtime. If this
  15232. field is set to Enabled, the mount is made recursively read-only if it is
  15233. supported by the container runtime, otherwise the pod will not be started and
  15234. an error will be generated to indicate the reason.
  15235. If this field is set to IfPossible or Enabled, MountPropagation must be set to
  15236. None (or be unspecified, which defaults to None).
  15237. If this field is not specified, it is treated as an equivalent of Disabled.
  15238. type: string
  15239. subPath:
  15240. description: |-
  15241. Path within the volume from which the container's volume should be mounted.
  15242. Defaults to "" (volume's root).
  15243. type: string
  15244. subPathExpr:
  15245. description: |-
  15246. Expanded path within the volume from which the container's volume should be mounted.
  15247. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
  15248. Defaults to "" (volume's root).
  15249. SubPathExpr and SubPath are mutually exclusive.
  15250. type: string
  15251. required:
  15252. - mountPath
  15253. - name
  15254. type: object
  15255. type: array
  15256. type: object
  15257. securityContext:
  15258. description: |-
  15259. securityContext sets pod-level security attributes such as runAsUser,
  15260. runAsGroup, fsGroup, and sysctls.
  15261. properties:
  15262. appArmorProfile:
  15263. description: |-
  15264. appArmorProfile is the AppArmor options to use by the containers in this pod.
  15265. Note that this field cannot be set when spec.os.name is windows.
  15266. properties:
  15267. localhostProfile:
  15268. description: |-
  15269. localhostProfile indicates a profile loaded on the node that should be used.
  15270. The profile must be preconfigured on the node to work.
  15271. Must match the loaded name of the profile.
  15272. Must be set if and only if type is "Localhost".
  15273. type: string
  15274. type:
  15275. description: |-
  15276. type indicates which kind of AppArmor profile will be applied.
  15277. Valid options are:
  15278. Localhost - a profile pre-loaded on the node.
  15279. RuntimeDefault - the container runtime's default profile.
  15280. Unconfined - no AppArmor enforcement.
  15281. type: string
  15282. required:
  15283. - type
  15284. type: object
  15285. fsGroup:
  15286. description: |-
  15287. A special supplemental group that applies to all containers in a pod.
  15288. Some volume types allow the Kubelet to change the ownership of that volume
  15289. to be owned by the pod:
  15290. 1. The owning GID will be the FSGroup
  15291. 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
  15292. 3. The permission bits are OR'd with rw-rw----
  15293. If unset, the Kubelet will not modify the ownership and permissions of any volume.
  15294. Note that this field cannot be set when spec.os.name is windows.
  15295. format: int64
  15296. type: integer
  15297. fsGroupChangePolicy:
  15298. description: |-
  15299. fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
  15300. before being exposed inside Pod. This field will only apply to
  15301. volume types which support fsGroup based ownership(and permissions).
  15302. It will have no effect on ephemeral volume types such as: secret, configmaps
  15303. and emptydir.
  15304. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
  15305. Note that this field cannot be set when spec.os.name is windows.
  15306. type: string
  15307. runAsGroup:
  15308. description: |-
  15309. The GID to run the entrypoint of the container process.
  15310. Uses runtime default if unset.
  15311. May also be set in SecurityContext. If set in both SecurityContext and
  15312. PodSecurityContext, the value specified in SecurityContext takes precedence
  15313. for that container.
  15314. Note that this field cannot be set when spec.os.name is windows.
  15315. format: int64
  15316. type: integer
  15317. runAsNonRoot:
  15318. description: |-
  15319. Indicates that the container must run as a non-root user.
  15320. If true, the Kubelet will validate the image at runtime to ensure that it
  15321. does not run as UID 0 (root) and fail to start the container if it does.
  15322. If unset or false, no such validation will be performed.
  15323. May also be set in SecurityContext. If set in both SecurityContext and
  15324. PodSecurityContext, the value specified in SecurityContext takes precedence.
  15325. type: boolean
  15326. runAsUser:
  15327. description: |-
  15328. The UID to run the entrypoint of the container process.
  15329. Defaults to user specified in image metadata if unspecified.
  15330. May also be set in SecurityContext. If set in both SecurityContext and
  15331. PodSecurityContext, the value specified in SecurityContext takes precedence
  15332. for that container.
  15333. Note that this field cannot be set when spec.os.name is windows.
  15334. format: int64
  15335. type: integer
  15336. seLinuxOptions:
  15337. description: |-
  15338. The SELinux context to be applied to all containers.
  15339. If unspecified, the container runtime will allocate a random SELinux context for each
  15340. container. May also be set in SecurityContext. If set in
  15341. both SecurityContext and PodSecurityContext, the value specified in SecurityContext
  15342. takes precedence for that container.
  15343. Note that this field cannot be set when spec.os.name is windows.
  15344. properties:
  15345. level:
  15346. description: Level is SELinux level label that
  15347. applies to the container.
  15348. type: string
  15349. role:
  15350. description: Role is a SELinux role label that
  15351. applies to the container.
  15352. type: string
  15353. type:
  15354. description: Type is a SELinux type label that
  15355. applies to the container.
  15356. type: string
  15357. user:
  15358. description: User is a SELinux user label that
  15359. applies to the container.
  15360. type: string
  15361. type: object
  15362. seccompProfile:
  15363. description: |-
  15364. The seccomp options to use by the containers in this pod.
  15365. Note that this field cannot be set when spec.os.name is windows.
  15366. properties:
  15367. localhostProfile:
  15368. description: |-
  15369. localhostProfile indicates a profile defined in a file on the node should be used.
  15370. The profile must be preconfigured on the node to work.
  15371. Must be a descending path, relative to the kubelet's configured seccomp profile location.
  15372. Must be set if type is "Localhost". Must NOT be set for any other type.
  15373. type: string
  15374. type:
  15375. description: |-
  15376. type indicates which kind of seccomp profile will be applied.
  15377. Valid options are:
  15378. Localhost - a profile defined in a file on the node should be used.
  15379. RuntimeDefault - the container runtime default profile should be used.
  15380. Unconfined - no profile should be applied.
  15381. type: string
  15382. required:
  15383. - type
  15384. type: object
  15385. supplementalGroups:
  15386. description: |-
  15387. A list of groups applied to the first process run in each container, in addition
  15388. to the container's primary GID, the fsGroup (if specified), and group memberships
  15389. defined in the container image for the uid of the container process. If unspecified,
  15390. no additional groups are added to any container. Note that group memberships
  15391. defined in the container image for the uid of the container process are still effective,
  15392. even if they are not included in this list.
  15393. Note that this field cannot be set when spec.os.name is windows.
  15394. items:
  15395. format: int64
  15396. type: integer
  15397. type: array
  15398. x-kubernetes-list-type: atomic
  15399. sysctls:
  15400. description: |-
  15401. Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
  15402. sysctls (by the container runtime) might fail to launch.
  15403. Note that this field cannot be set when spec.os.name is windows.
  15404. items:
  15405. description: Sysctl defines a kernel parameter to
  15406. be set
  15407. properties:
  15408. name:
  15409. description: Name of a property to set
  15410. type: string
  15411. value:
  15412. description: Value of a property to set
  15413. type: string
  15414. required:
  15415. - name
  15416. - value
  15417. type: object
  15418. type: array
  15419. x-kubernetes-list-type: atomic
  15420. windowsOptions:
  15421. description: |-
  15422. The Windows specific settings applied to all containers.
  15423. If unspecified, the options within a container's SecurityContext will be used.
  15424. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
  15425. Note that this field cannot be set when spec.os.name is linux.
  15426. properties:
  15427. gmsaCredentialSpec:
  15428. description: |-
  15429. GMSACredentialSpec is where the GMSA admission webhook
  15430. (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
  15431. GMSA credential spec named by the GMSACredentialSpecName field.
  15432. type: string
  15433. gmsaCredentialSpecName:
  15434. description: GMSACredentialSpecName is the name
  15435. of the GMSA credential spec to use.
  15436. type: string
  15437. hostProcess:
  15438. description: |-
  15439. HostProcess determines if a container should be run as a 'Host Process' container.
  15440. All of a Pod's containers must have the same effective HostProcess value
  15441. (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
  15442. In addition, if HostProcess is true then HostNetwork must also be set to true.
  15443. type: boolean
  15444. runAsUserName:
  15445. description: |-
  15446. The UserName in Windows to run the entrypoint of the container process.
  15447. Defaults to the user specified in image metadata if unspecified.
  15448. May also be set in PodSecurityContext. If set in both SecurityContext and
  15449. PodSecurityContext, the value specified in SecurityContext takes precedence.
  15450. type: string
  15451. type: object
  15452. type: object
  15453. tolerations:
  15454. description: tolerations allow pods to be scheduled onto
  15455. nodes with matching taints.
  15456. items:
  15457. description: |-
  15458. The pod this Toleration is attached to tolerates any taint that matches
  15459. the triple <key,value,effect> using the matching operator <operator>.
  15460. properties:
  15461. effect:
  15462. description: |-
  15463. Effect indicates the taint effect to match. Empty means match all taint effects.
  15464. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
  15465. type: string
  15466. key:
  15467. description: |-
  15468. Key is the taint key that the toleration applies to. Empty means match all taint keys.
  15469. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
  15470. type: string
  15471. operator:
  15472. description: |-
  15473. Operator represents a key's relationship to the value.
  15474. Valid operators are Exists and Equal. Defaults to Equal.
  15475. Exists is equivalent to wildcard for value, so that a pod can
  15476. tolerate all taints of a particular category.
  15477. type: string
  15478. tolerationSeconds:
  15479. description: |-
  15480. TolerationSeconds represents the period of time the toleration (which must be
  15481. of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
  15482. it is not set, which means tolerate the taint forever (do not evict). Zero and
  15483. negative values will be treated as 0 (evict immediately) by the system.
  15484. format: int64
  15485. type: integer
  15486. value:
  15487. description: |-
  15488. Value is the taint value the toleration matches to.
  15489. If the operator is Exists, the value should be empty, otherwise just a regular string.
  15490. type: string
  15491. type: object
  15492. type: array
  15493. topologySpreadConstraints:
  15494. description: |-
  15495. topologySpreadConstraints controls how pods are spread across failure
  15496. domains (zones, nodes). Prefer this over pod anti-affinity for HA spread.
  15497. items:
  15498. description: TopologySpreadConstraint specifies how
  15499. to spread matching pods among the given topology.
  15500. properties:
  15501. labelSelector:
  15502. description: |-
  15503. LabelSelector is used to find matching pods.
  15504. Pods that match this label selector are counted to determine the number of pods
  15505. in their corresponding topology domain.
  15506. properties:
  15507. matchExpressions:
  15508. description: matchExpressions is a list of label
  15509. selector requirements. The requirements are
  15510. ANDed.
  15511. items:
  15512. description: |-
  15513. A label selector requirement is a selector that contains values, a key, and an operator that
  15514. relates the key and values.
  15515. properties:
  15516. key:
  15517. description: key is the label key that
  15518. the selector applies to.
  15519. type: string
  15520. operator:
  15521. description: |-
  15522. operator represents a key's relationship to a set of values.
  15523. Valid operators are In, NotIn, Exists and DoesNotExist.
  15524. type: string
  15525. values:
  15526. description: |-
  15527. values is an array of string values. If the operator is In or NotIn,
  15528. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  15529. the values array must be empty. This array is replaced during a strategic
  15530. merge patch.
  15531. items:
  15532. type: string
  15533. type: array
  15534. x-kubernetes-list-type: atomic
  15535. required:
  15536. - key
  15537. - operator
  15538. type: object
  15539. type: array
  15540. x-kubernetes-list-type: atomic
  15541. matchLabels:
  15542. additionalProperties:
  15543. type: string
  15544. description: |-
  15545. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  15546. map is equivalent to an element of matchExpressions, whose key field is "key", the
  15547. operator is "In", and the values array contains only "value". The requirements are ANDed.
  15548. type: object
  15549. type: object
  15550. x-kubernetes-map-type: atomic
  15551. matchLabelKeys:
  15552. description: |-
  15553. MatchLabelKeys is a set of pod label keys to select the pods over which
  15554. spreading will be calculated. The keys are used to lookup values from the
  15555. incoming pod labels, those key-value labels are ANDed with labelSelector
  15556. to select the group of existing pods over which spreading will be calculated
  15557. for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
  15558. MatchLabelKeys cannot be set when LabelSelector isn't set.
  15559. Keys that don't exist in the incoming pod labels will
  15560. be ignored. A null or empty list means only match against labelSelector.
  15561. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
  15562. items:
  15563. type: string
  15564. type: array
  15565. x-kubernetes-list-type: atomic
  15566. maxSkew:
  15567. description: |-
  15568. MaxSkew describes the degree to which pods may be unevenly distributed.
  15569. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
  15570. between the number of matching pods in the target topology and the global minimum.
  15571. The global minimum is the minimum number of matching pods in an eligible domain
  15572. or zero if the number of eligible domains is less than MinDomains.
  15573. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  15574. labelSelector spread as 2/2/1:
  15575. In this case, the global minimum is 1.
  15576. | zone1 | zone2 | zone3 |
  15577. | P P | P P | P |
  15578. - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
  15579. scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
  15580. violate MaxSkew(1).
  15581. - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
  15582. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
  15583. to topologies that satisfy it.
  15584. It's a required field. Default value is 1 and 0 is not allowed.
  15585. format: int32
  15586. type: integer
  15587. minDomains:
  15588. description: |-
  15589. MinDomains indicates a minimum number of eligible domains.
  15590. When the number of eligible domains with matching topology keys is less than minDomains,
  15591. Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
  15592. And when the number of eligible domains with matching topology keys equals or greater than minDomains,
  15593. this value has no effect on scheduling.
  15594. As a result, when the number of eligible domains is less than minDomains,
  15595. scheduler won't schedule more than maxSkew Pods to those domains.
  15596. If value is nil, the constraint behaves as if MinDomains is equal to 1.
  15597. Valid values are integers greater than 0.
  15598. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
  15599. For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
  15600. labelSelector spread as 2/2/2:
  15601. | zone1 | zone2 | zone3 |
  15602. | P P | P P | P P |
  15603. The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
  15604. In this situation, new pod with the same labelSelector cannot be scheduled,
  15605. because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
  15606. it will violate MaxSkew.
  15607. format: int32
  15608. type: integer
  15609. nodeAffinityPolicy:
  15610. description: |-
  15611. NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
  15612. when calculating pod topology spread skew. Options are:
  15613. - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
  15614. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
  15615. If this value is nil, the behavior is equivalent to the Honor policy.
  15616. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  15617. type: string
  15618. nodeTaintsPolicy:
  15619. description: |-
  15620. NodeTaintsPolicy indicates how we will treat node taints when calculating
  15621. pod topology spread skew. Options are:
  15622. - Honor: nodes without taints, along with tainted nodes for which the incoming pod
  15623. has a toleration, are included.
  15624. - Ignore: node taints are ignored. All nodes are included.
  15625. If this value is nil, the behavior is equivalent to the Ignore policy.
  15626. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
  15627. type: string
  15628. topologyKey:
  15629. description: |-
  15630. TopologyKey is the key of node labels. Nodes that have a label with this key
  15631. and identical values are considered to be in the same topology.
  15632. We consider each <key, value> as a "bucket", and try to put balanced number
  15633. of pods into each bucket.
  15634. We define a domain as a particular instance of a topology.
  15635. Also, we define an eligible domain as a domain whose nodes meet the requirements of
  15636. nodeAffinityPolicy and nodeTaintsPolicy.
  15637. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
  15638. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
  15639. It's a required field.
  15640. type: string
  15641. whenUnsatisfiable:
  15642. description: |-
  15643. WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
  15644. the spread constraint.
  15645. - DoNotSchedule (default) tells the scheduler not to schedule it.
  15646. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
  15647. but giving higher precedence to topologies that would help reduce the
  15648. skew.
  15649. A constraint is considered "Unsatisfiable" for an incoming pod
  15650. if and only if every possible node assignment for that pod would violate
  15651. "MaxSkew" on some topology.
  15652. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
  15653. labelSelector spread as 3/1/1:
  15654. | zone1 | zone2 | zone3 |
  15655. | P P P | P | P |
  15656. If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
  15657. to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
  15658. MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
  15659. won't make it *more* imbalanced.
  15660. It's a required field.
  15661. type: string
  15662. required:
  15663. - maxSkew
  15664. - topologyKey
  15665. - whenUnsatisfiable
  15666. type: object
  15667. type: array
  15668. volumes:
  15669. description: volumes defines additional pod volumes available
  15670. to the runtime container.
  15671. items:
  15672. description: Volume represents a named volume in a pod
  15673. that may be accessed by any container in the pod.
  15674. properties:
  15675. awsElasticBlockStore:
  15676. description: |-
  15677. awsElasticBlockStore represents an AWS Disk resource that is attached to a
  15678. kubelet's host machine and then exposed to the pod.
  15679. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  15680. properties:
  15681. fsType:
  15682. description: |-
  15683. fsType is the filesystem type of the volume that you want to mount.
  15684. Tip: Ensure that the filesystem type is supported by the host operating system.
  15685. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  15686. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  15687. type: string
  15688. partition:
  15689. description: |-
  15690. partition is the partition in the volume that you want to mount.
  15691. If omitted, the default is to mount by volume name.
  15692. Examples: For volume /dev/sda1, you specify the partition as "1".
  15693. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  15694. format: int32
  15695. type: integer
  15696. readOnly:
  15697. description: |-
  15698. readOnly value true will force the readOnly setting in VolumeMounts.
  15699. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  15700. type: boolean
  15701. volumeID:
  15702. description: |-
  15703. volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
  15704. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
  15705. type: string
  15706. required:
  15707. - volumeID
  15708. type: object
  15709. azureDisk:
  15710. description: azureDisk represents an Azure Data
  15711. Disk mount on the host and bind mount to the pod.
  15712. properties:
  15713. cachingMode:
  15714. description: 'cachingMode is the Host Caching
  15715. mode: None, Read Only, Read Write.'
  15716. type: string
  15717. diskName:
  15718. description: diskName is the Name of the data
  15719. disk in the blob storage
  15720. type: string
  15721. diskURI:
  15722. description: diskURI is the URI of data disk
  15723. in the blob storage
  15724. type: string
  15725. fsType:
  15726. description: |-
  15727. fsType is Filesystem type to mount.
  15728. Must be a filesystem type supported by the host operating system.
  15729. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  15730. type: string
  15731. kind:
  15732. description: 'kind expected values are Shared:
  15733. multiple blob disks per storage account Dedicated:
  15734. single blob disk per storage account Managed:
  15735. azure managed data disk (only in managed availability
  15736. set). defaults to shared'
  15737. type: string
  15738. readOnly:
  15739. description: |-
  15740. readOnly Defaults to false (read/write). ReadOnly here will force
  15741. the ReadOnly setting in VolumeMounts.
  15742. type: boolean
  15743. required:
  15744. - diskName
  15745. - diskURI
  15746. type: object
  15747. azureFile:
  15748. description: azureFile represents an Azure File
  15749. Service mount on the host and bind mount to the
  15750. pod.
  15751. properties:
  15752. readOnly:
  15753. description: |-
  15754. readOnly defaults to false (read/write). ReadOnly here will force
  15755. the ReadOnly setting in VolumeMounts.
  15756. type: boolean
  15757. secretName:
  15758. description: secretName is the name of secret
  15759. that contains Azure Storage Account Name and
  15760. Key
  15761. type: string
  15762. shareName:
  15763. description: shareName is the azure share Name
  15764. type: string
  15765. required:
  15766. - secretName
  15767. - shareName
  15768. type: object
  15769. cephfs:
  15770. description: cephFS represents a Ceph FS mount on
  15771. the host that shares a pod's lifetime
  15772. properties:
  15773. monitors:
  15774. description: |-
  15775. monitors is Required: Monitors is a collection of Ceph monitors
  15776. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  15777. items:
  15778. type: string
  15779. type: array
  15780. x-kubernetes-list-type: atomic
  15781. path:
  15782. description: 'path is Optional: Used as the
  15783. mounted root, rather than the full Ceph tree,
  15784. default is /'
  15785. type: string
  15786. readOnly:
  15787. description: |-
  15788. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  15789. the ReadOnly setting in VolumeMounts.
  15790. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  15791. type: boolean
  15792. secretFile:
  15793. description: |-
  15794. secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
  15795. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  15796. type: string
  15797. secretRef:
  15798. description: |-
  15799. secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
  15800. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  15801. properties:
  15802. name:
  15803. default: ""
  15804. description: |-
  15805. Name of the referent.
  15806. This field is effectively required, but due to backwards compatibility is
  15807. allowed to be empty. Instances of this type with an empty value here are
  15808. almost certainly wrong.
  15809. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15810. type: string
  15811. type: object
  15812. x-kubernetes-map-type: atomic
  15813. user:
  15814. description: |-
  15815. user is optional: User is the rados user name, default is admin
  15816. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
  15817. type: string
  15818. required:
  15819. - monitors
  15820. type: object
  15821. cinder:
  15822. description: |-
  15823. cinder represents a cinder volume attached and mounted on kubelets host machine.
  15824. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  15825. properties:
  15826. fsType:
  15827. description: |-
  15828. fsType is the filesystem type to mount.
  15829. Must be a filesystem type supported by the host operating system.
  15830. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  15831. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  15832. type: string
  15833. readOnly:
  15834. description: |-
  15835. readOnly defaults to false (read/write). ReadOnly here will force
  15836. the ReadOnly setting in VolumeMounts.
  15837. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  15838. type: boolean
  15839. secretRef:
  15840. description: |-
  15841. secretRef is optional: points to a secret object containing parameters used to connect
  15842. to OpenStack.
  15843. properties:
  15844. name:
  15845. default: ""
  15846. description: |-
  15847. Name of the referent.
  15848. This field is effectively required, but due to backwards compatibility is
  15849. allowed to be empty. Instances of this type with an empty value here are
  15850. almost certainly wrong.
  15851. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15852. type: string
  15853. type: object
  15854. x-kubernetes-map-type: atomic
  15855. volumeID:
  15856. description: |-
  15857. volumeID used to identify the volume in cinder.
  15858. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  15859. type: string
  15860. required:
  15861. - volumeID
  15862. type: object
  15863. configMap:
  15864. description: configMap represents a configMap that
  15865. should populate this volume
  15866. properties:
  15867. defaultMode:
  15868. description: |-
  15869. defaultMode is optional: mode bits used to set permissions on created files by default.
  15870. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  15871. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  15872. Defaults to 0644.
  15873. Directories within the path are not affected by this setting.
  15874. This might be in conflict with other options that affect the file
  15875. mode, like fsGroup, and the result can be other mode bits set.
  15876. format: int32
  15877. type: integer
  15878. items:
  15879. description: |-
  15880. items if unspecified, each key-value pair in the Data field of the referenced
  15881. ConfigMap will be projected into the volume as a file whose name is the
  15882. key and content is the value. If specified, the listed keys will be
  15883. projected into the specified paths, and unlisted keys will not be
  15884. present. If a key is specified which is not present in the ConfigMap,
  15885. the volume setup will error unless it is marked optional. Paths must be
  15886. relative and may not contain the '..' path or start with '..'.
  15887. items:
  15888. description: Maps a string key to a path within
  15889. a volume.
  15890. properties:
  15891. key:
  15892. description: key is the key to project.
  15893. type: string
  15894. mode:
  15895. description: |-
  15896. mode is Optional: mode bits used to set permissions on this file.
  15897. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  15898. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  15899. If not specified, the volume defaultMode will be used.
  15900. This might be in conflict with other options that affect the file
  15901. mode, like fsGroup, and the result can be other mode bits set.
  15902. format: int32
  15903. type: integer
  15904. path:
  15905. description: |-
  15906. path is the relative path of the file to map the key to.
  15907. May not be an absolute path.
  15908. May not contain the path element '..'.
  15909. May not start with the string '..'.
  15910. type: string
  15911. required:
  15912. - key
  15913. - path
  15914. type: object
  15915. type: array
  15916. x-kubernetes-list-type: atomic
  15917. name:
  15918. default: ""
  15919. description: |-
  15920. Name of the referent.
  15921. This field is effectively required, but due to backwards compatibility is
  15922. allowed to be empty. Instances of this type with an empty value here are
  15923. almost certainly wrong.
  15924. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15925. type: string
  15926. optional:
  15927. description: optional specify whether the ConfigMap
  15928. or its keys must be defined
  15929. type: boolean
  15930. type: object
  15931. x-kubernetes-map-type: atomic
  15932. csi:
  15933. description: csi (Container Storage Interface) represents
  15934. ephemeral storage that is handled by certain external
  15935. CSI drivers (Beta feature).
  15936. properties:
  15937. driver:
  15938. description: |-
  15939. driver is the name of the CSI driver that handles this volume.
  15940. Consult with your admin for the correct name as registered in the cluster.
  15941. type: string
  15942. fsType:
  15943. description: |-
  15944. fsType to mount. Ex. "ext4", "xfs", "ntfs".
  15945. If not provided, the empty value is passed to the associated CSI driver
  15946. which will determine the default filesystem to apply.
  15947. type: string
  15948. nodePublishSecretRef:
  15949. description: |-
  15950. nodePublishSecretRef is a reference to the secret object containing
  15951. sensitive information to pass to the CSI driver to complete the CSI
  15952. NodePublishVolume and NodeUnpublishVolume calls.
  15953. This field is optional, and may be empty if no secret is required. If the
  15954. secret object contains more than one secret, all secret references are passed.
  15955. properties:
  15956. name:
  15957. default: ""
  15958. description: |-
  15959. Name of the referent.
  15960. This field is effectively required, but due to backwards compatibility is
  15961. allowed to be empty. Instances of this type with an empty value here are
  15962. almost certainly wrong.
  15963. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  15964. type: string
  15965. type: object
  15966. x-kubernetes-map-type: atomic
  15967. readOnly:
  15968. description: |-
  15969. readOnly specifies a read-only configuration for the volume.
  15970. Defaults to false (read/write).
  15971. type: boolean
  15972. volumeAttributes:
  15973. additionalProperties:
  15974. type: string
  15975. description: |-
  15976. volumeAttributes stores driver-specific properties that are passed to the CSI
  15977. driver. Consult your driver's documentation for supported values.
  15978. type: object
  15979. required:
  15980. - driver
  15981. type: object
  15982. downwardAPI:
  15983. description: downwardAPI represents downward API
  15984. about the pod that should populate this volume
  15985. properties:
  15986. defaultMode:
  15987. description: |-
  15988. Optional: mode bits to use on created files by default. Must be a
  15989. Optional: mode bits used to set permissions on created files by default.
  15990. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  15991. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  15992. Defaults to 0644.
  15993. Directories within the path are not affected by this setting.
  15994. This might be in conflict with other options that affect the file
  15995. mode, like fsGroup, and the result can be other mode bits set.
  15996. format: int32
  15997. type: integer
  15998. items:
  15999. description: Items is a list of downward API
  16000. volume file
  16001. items:
  16002. description: DownwardAPIVolumeFile represents
  16003. information to create the file containing
  16004. the pod field
  16005. properties:
  16006. fieldRef:
  16007. description: 'Required: Selects a field
  16008. of the pod: only annotations, labels,
  16009. name, namespace and uid are supported.'
  16010. properties:
  16011. apiVersion:
  16012. description: Version of the schema
  16013. the FieldPath is written in terms
  16014. of, defaults to "v1".
  16015. type: string
  16016. fieldPath:
  16017. description: Path of the field to
  16018. select in the specified API version.
  16019. type: string
  16020. required:
  16021. - fieldPath
  16022. type: object
  16023. x-kubernetes-map-type: atomic
  16024. mode:
  16025. description: |-
  16026. Optional: mode bits used to set permissions on this file, must be an octal value
  16027. between 0000 and 0777 or a decimal value between 0 and 511.
  16028. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  16029. If not specified, the volume defaultMode will be used.
  16030. This might be in conflict with other options that affect the file
  16031. mode, like fsGroup, and the result can be other mode bits set.
  16032. format: int32
  16033. type: integer
  16034. path:
  16035. description: 'Required: Path is the relative
  16036. path name of the file to be created.
  16037. Must not be absolute or contain the
  16038. ''..'' path. Must be utf-8 encoded.
  16039. The first item of the relative path
  16040. must not start with ''..'''
  16041. type: string
  16042. resourceFieldRef:
  16043. description: |-
  16044. Selects a resource of the container: only resources limits and requests
  16045. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  16046. properties:
  16047. containerName:
  16048. description: 'Container name: required
  16049. for volumes, optional for env vars'
  16050. type: string
  16051. divisor:
  16052. anyOf:
  16053. - type: integer
  16054. - type: string
  16055. description: Specifies the output
  16056. format of the exposed resources,
  16057. defaults to "1"
  16058. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  16059. x-kubernetes-int-or-string: true
  16060. resource:
  16061. description: 'Required: resource to
  16062. select'
  16063. type: string
  16064. required:
  16065. - resource
  16066. type: object
  16067. x-kubernetes-map-type: atomic
  16068. required:
  16069. - path
  16070. type: object
  16071. type: array
  16072. x-kubernetes-list-type: atomic
  16073. type: object
  16074. emptyDir:
  16075. description: |-
  16076. emptyDir represents a temporary directory that shares a pod's lifetime.
  16077. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  16078. properties:
  16079. medium:
  16080. description: |-
  16081. medium represents what type of storage medium should back this directory.
  16082. The default is "" which means to use the node's default medium.
  16083. Must be an empty string (default) or Memory.
  16084. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  16085. type: string
  16086. sizeLimit:
  16087. anyOf:
  16088. - type: integer
  16089. - type: string
  16090. description: |-
  16091. sizeLimit is the total amount of local storage required for this EmptyDir volume.
  16092. The size limit is also applicable for memory medium.
  16093. The maximum usage on memory medium EmptyDir would be the minimum value between
  16094. the SizeLimit specified here and the sum of memory limits of all containers in a pod.
  16095. The default is nil which means that the limit is undefined.
  16096. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
  16097. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  16098. x-kubernetes-int-or-string: true
  16099. type: object
  16100. ephemeral:
  16101. description: |-
  16102. ephemeral represents a volume that is handled by a cluster storage driver.
  16103. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
  16104. and deleted when the pod is removed.
  16105. Use this if:
  16106. a) the volume is only needed while the pod runs,
  16107. b) features of normal volumes like restoring from snapshot or capacity
  16108. tracking are needed,
  16109. c) the storage driver is specified through a storage class, and
  16110. d) the storage driver supports dynamic volume provisioning through
  16111. a PersistentVolumeClaim (see EphemeralVolumeSource for more
  16112. information on the connection between this volume type
  16113. and PersistentVolumeClaim).
  16114. Use PersistentVolumeClaim or one of the vendor-specific
  16115. APIs for volumes that persist for longer than the lifecycle
  16116. of an individual pod.
  16117. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
  16118. be used that way - see the documentation of the driver for
  16119. more information.
  16120. A pod can use both types of ephemeral volumes and
  16121. persistent volumes at the same time.
  16122. properties:
  16123. volumeClaimTemplate:
  16124. description: |-
  16125. Will be used to create a stand-alone PVC to provision the volume.
  16126. The pod in which this EphemeralVolumeSource is embedded will be the
  16127. owner of the PVC, i.e. the PVC will be deleted together with the
  16128. pod. The name of the PVC will be `<pod name>-<volume name>` where
  16129. `<volume name>` is the name from the `PodSpec.Volumes` array
  16130. entry. Pod validation will reject the pod if the concatenated name
  16131. is not valid for a PVC (for example, too long).
  16132. An existing PVC with that name that is not owned by the pod
  16133. will *not* be used for the pod to avoid using an unrelated
  16134. volume by mistake. Starting the pod is then blocked until
  16135. the unrelated PVC is removed. If such a pre-created PVC is
  16136. meant to be used by the pod, the PVC has to updated with an
  16137. owner reference to the pod once the pod exists. Normally
  16138. this should not be necessary, but it may be useful when
  16139. manually reconstructing a broken cluster.
  16140. This field is read-only and no changes will be made by Kubernetes
  16141. to the PVC after it has been created.
  16142. Required, must not be nil.
  16143. properties:
  16144. metadata:
  16145. description: |-
  16146. May contain labels and annotations that will be copied into the PVC
  16147. when creating it. No other fields are allowed and will be rejected during
  16148. validation.
  16149. type: object
  16150. spec:
  16151. description: |-
  16152. The specification for the PersistentVolumeClaim. The entire content is
  16153. copied unchanged into the PVC that gets created from this
  16154. template. The same fields as in a PersistentVolumeClaim
  16155. are also valid here.
  16156. properties:
  16157. accessModes:
  16158. description: |-
  16159. accessModes contains the desired access modes the volume should have.
  16160. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
  16161. items:
  16162. type: string
  16163. type: array
  16164. x-kubernetes-list-type: atomic
  16165. dataSource:
  16166. description: |-
  16167. dataSource field can be used to specify either:
  16168. * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
  16169. * An existing PVC (PersistentVolumeClaim)
  16170. If the provisioner or an external controller can support the specified data source,
  16171. it will create a new volume based on the contents of the specified data source.
  16172. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
  16173. and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
  16174. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
  16175. properties:
  16176. apiGroup:
  16177. description: |-
  16178. APIGroup is the group for the resource being referenced.
  16179. If APIGroup is not specified, the specified Kind must be in the core API group.
  16180. For any other third-party types, APIGroup is required.
  16181. type: string
  16182. kind:
  16183. description: Kind is the type of
  16184. resource being referenced
  16185. type: string
  16186. name:
  16187. description: Name is the name of
  16188. resource being referenced
  16189. type: string
  16190. required:
  16191. - kind
  16192. - name
  16193. type: object
  16194. x-kubernetes-map-type: atomic
  16195. dataSourceRef:
  16196. description: |-
  16197. dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
  16198. volume is desired. This may be any object from a non-empty API group (non
  16199. core object) or a PersistentVolumeClaim object.
  16200. When this field is specified, volume binding will only succeed if the type of
  16201. the specified object matches some installed volume populator or dynamic
  16202. provisioner.
  16203. This field will replace the functionality of the dataSource field and as such
  16204. if both fields are non-empty, they must have the same value. For backwards
  16205. compatibility, when namespace isn't specified in dataSourceRef,
  16206. both fields (dataSource and dataSourceRef) will be set to the same
  16207. value automatically if one of them is empty and the other is non-empty.
  16208. When namespace is specified in dataSourceRef,
  16209. dataSource isn't set to the same value and must be empty.
  16210. There are three important differences between dataSource and dataSourceRef:
  16211. * While dataSource only allows two specific types of objects, dataSourceRef
  16212. allows any non-core object, as well as PersistentVolumeClaim objects.
  16213. * While dataSource ignores disallowed values (dropping them), dataSourceRef
  16214. preserves all values, and generates an error if a disallowed value is
  16215. specified.
  16216. * While dataSource only allows local objects, dataSourceRef allows objects
  16217. in any namespaces.
  16218. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
  16219. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  16220. properties:
  16221. apiGroup:
  16222. description: |-
  16223. APIGroup is the group for the resource being referenced.
  16224. If APIGroup is not specified, the specified Kind must be in the core API group.
  16225. For any other third-party types, APIGroup is required.
  16226. type: string
  16227. kind:
  16228. description: Kind is the type of
  16229. resource being referenced
  16230. type: string
  16231. name:
  16232. description: Name is the name of
  16233. resource being referenced
  16234. type: string
  16235. namespace:
  16236. description: |-
  16237. Namespace is the namespace of resource being referenced
  16238. Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
  16239. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
  16240. type: string
  16241. required:
  16242. - kind
  16243. - name
  16244. type: object
  16245. resources:
  16246. description: |-
  16247. resources represents the minimum resources the volume should have.
  16248. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements
  16249. that are lower than previous value but must still be higher than capacity recorded in the
  16250. status field of the claim.
  16251. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
  16252. properties:
  16253. limits:
  16254. additionalProperties:
  16255. anyOf:
  16256. - type: integer
  16257. - type: string
  16258. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  16259. x-kubernetes-int-or-string: true
  16260. description: |-
  16261. Limits describes the maximum amount of compute resources allowed.
  16262. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  16263. type: object
  16264. requests:
  16265. additionalProperties:
  16266. anyOf:
  16267. - type: integer
  16268. - type: string
  16269. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  16270. x-kubernetes-int-or-string: true
  16271. description: |-
  16272. Requests describes the minimum amount of compute resources required.
  16273. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
  16274. otherwise to an implementation-defined value. Requests cannot exceed Limits.
  16275. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
  16276. type: object
  16277. type: object
  16278. selector:
  16279. description: selector is a label query
  16280. over volumes to consider for binding.
  16281. properties:
  16282. matchExpressions:
  16283. description: matchExpressions is
  16284. a list of label selector requirements.
  16285. The requirements are ANDed.
  16286. items:
  16287. description: |-
  16288. A label selector requirement is a selector that contains values, a key, and an operator that
  16289. relates the key and values.
  16290. properties:
  16291. key:
  16292. description: key is the label
  16293. key that the selector applies
  16294. to.
  16295. type: string
  16296. operator:
  16297. description: |-
  16298. operator represents a key's relationship to a set of values.
  16299. Valid operators are In, NotIn, Exists and DoesNotExist.
  16300. type: string
  16301. values:
  16302. description: |-
  16303. values is an array of string values. If the operator is In or NotIn,
  16304. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  16305. the values array must be empty. This array is replaced during a strategic
  16306. merge patch.
  16307. items:
  16308. type: string
  16309. type: array
  16310. x-kubernetes-list-type: atomic
  16311. required:
  16312. - key
  16313. - operator
  16314. type: object
  16315. type: array
  16316. x-kubernetes-list-type: atomic
  16317. matchLabels:
  16318. additionalProperties:
  16319. type: string
  16320. description: |-
  16321. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  16322. map is equivalent to an element of matchExpressions, whose key field is "key", the
  16323. operator is "In", and the values array contains only "value". The requirements are ANDed.
  16324. type: object
  16325. type: object
  16326. x-kubernetes-map-type: atomic
  16327. storageClassName:
  16328. description: |-
  16329. storageClassName is the name of the StorageClass required by the claim.
  16330. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
  16331. type: string
  16332. volumeAttributesClassName:
  16333. description: |-
  16334. volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
  16335. If specified, the CSI driver will create or update the volume with the attributes defined
  16336. in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
  16337. it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
  16338. will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
  16339. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
  16340. will be set by the persistentvolume controller if it exists.
  16341. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
  16342. set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
  16343. exists.
  16344. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
  16345. (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
  16346. type: string
  16347. volumeMode:
  16348. description: |-
  16349. volumeMode defines what type of volume is required by the claim.
  16350. Value of Filesystem is implied when not included in claim spec.
  16351. type: string
  16352. volumeName:
  16353. description: volumeName is the binding
  16354. reference to the PersistentVolume
  16355. backing this claim.
  16356. type: string
  16357. type: object
  16358. required:
  16359. - spec
  16360. type: object
  16361. type: object
  16362. fc:
  16363. description: fc represents a Fibre Channel resource
  16364. that is attached to a kubelet's host machine and
  16365. then exposed to the pod.
  16366. properties:
  16367. fsType:
  16368. description: |-
  16369. fsType is the filesystem type to mount.
  16370. Must be a filesystem type supported by the host operating system.
  16371. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  16372. type: string
  16373. lun:
  16374. description: 'lun is Optional: FC target lun
  16375. number'
  16376. format: int32
  16377. type: integer
  16378. readOnly:
  16379. description: |-
  16380. readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
  16381. the ReadOnly setting in VolumeMounts.
  16382. type: boolean
  16383. targetWWNs:
  16384. description: 'targetWWNs is Optional: FC target
  16385. worldwide names (WWNs)'
  16386. items:
  16387. type: string
  16388. type: array
  16389. x-kubernetes-list-type: atomic
  16390. wwids:
  16391. description: |-
  16392. wwids Optional: FC volume world wide identifiers (wwids)
  16393. Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
  16394. items:
  16395. type: string
  16396. type: array
  16397. x-kubernetes-list-type: atomic
  16398. type: object
  16399. flexVolume:
  16400. description: |-
  16401. flexVolume represents a generic volume resource that is
  16402. provisioned/attached using an exec based plugin.
  16403. properties:
  16404. driver:
  16405. description: driver is the name of the driver
  16406. to use for this volume.
  16407. type: string
  16408. fsType:
  16409. description: |-
  16410. fsType is the filesystem type to mount.
  16411. Must be a filesystem type supported by the host operating system.
  16412. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
  16413. type: string
  16414. options:
  16415. additionalProperties:
  16416. type: string
  16417. description: 'options is Optional: this field
  16418. holds extra command options if any.'
  16419. type: object
  16420. readOnly:
  16421. description: |-
  16422. readOnly is Optional: defaults to false (read/write). ReadOnly here will force
  16423. the ReadOnly setting in VolumeMounts.
  16424. type: boolean
  16425. secretRef:
  16426. description: |-
  16427. secretRef is Optional: secretRef is reference to the secret object containing
  16428. sensitive information to pass to the plugin scripts. This may be
  16429. empty if no secret object is specified. If the secret object
  16430. contains more than one secret, all secrets are passed to the plugin
  16431. scripts.
  16432. properties:
  16433. name:
  16434. default: ""
  16435. description: |-
  16436. Name of the referent.
  16437. This field is effectively required, but due to backwards compatibility is
  16438. allowed to be empty. Instances of this type with an empty value here are
  16439. almost certainly wrong.
  16440. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  16441. type: string
  16442. type: object
  16443. x-kubernetes-map-type: atomic
  16444. required:
  16445. - driver
  16446. type: object
  16447. flocker:
  16448. description: flocker represents a Flocker volume
  16449. attached to a kubelet's host machine. This depends
  16450. on the Flocker control service being running
  16451. properties:
  16452. datasetName:
  16453. description: |-
  16454. datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
  16455. should be considered as deprecated
  16456. type: string
  16457. datasetUUID:
  16458. description: datasetUUID is the UUID of the
  16459. dataset. This is unique identifier of a Flocker
  16460. dataset
  16461. type: string
  16462. type: object
  16463. gcePersistentDisk:
  16464. description: |-
  16465. gcePersistentDisk represents a GCE Disk resource that is attached to a
  16466. kubelet's host machine and then exposed to the pod.
  16467. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  16468. properties:
  16469. fsType:
  16470. description: |-
  16471. fsType is filesystem type of the volume that you want to mount.
  16472. Tip: Ensure that the filesystem type is supported by the host operating system.
  16473. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  16474. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  16475. type: string
  16476. partition:
  16477. description: |-
  16478. partition is the partition in the volume that you want to mount.
  16479. If omitted, the default is to mount by volume name.
  16480. Examples: For volume /dev/sda1, you specify the partition as "1".
  16481. Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
  16482. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  16483. format: int32
  16484. type: integer
  16485. pdName:
  16486. description: |-
  16487. pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
  16488. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  16489. type: string
  16490. readOnly:
  16491. description: |-
  16492. readOnly here will force the ReadOnly setting in VolumeMounts.
  16493. Defaults to false.
  16494. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
  16495. type: boolean
  16496. required:
  16497. - pdName
  16498. type: object
  16499. gitRepo:
  16500. description: |-
  16501. gitRepo represents a git repository at a particular revision.
  16502. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
  16503. EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
  16504. into the Pod's container.
  16505. properties:
  16506. directory:
  16507. description: |-
  16508. directory is the target directory name.
  16509. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
  16510. git repository. Otherwise, if specified, the volume will contain the git repository in
  16511. the subdirectory with the given name.
  16512. type: string
  16513. repository:
  16514. description: repository is the URL
  16515. type: string
  16516. revision:
  16517. description: revision is the commit hash for
  16518. the specified revision.
  16519. type: string
  16520. required:
  16521. - repository
  16522. type: object
  16523. glusterfs:
  16524. description: |-
  16525. glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
  16526. More info: https://examples.k8s.io/volumes/glusterfs/README.md
  16527. properties:
  16528. endpoints:
  16529. description: |-
  16530. endpoints is the endpoint name that details Glusterfs topology.
  16531. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  16532. type: string
  16533. path:
  16534. description: |-
  16535. path is the Glusterfs volume path.
  16536. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  16537. type: string
  16538. readOnly:
  16539. description: |-
  16540. readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
  16541. Defaults to false.
  16542. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
  16543. type: boolean
  16544. required:
  16545. - endpoints
  16546. - path
  16547. type: object
  16548. hostPath:
  16549. description: |-
  16550. hostPath represents a pre-existing file or directory on the host
  16551. machine that is directly exposed to the container. This is generally
  16552. used for system agents or other privileged things that are allowed
  16553. to see the host machine. Most containers will NOT need this.
  16554. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  16555. properties:
  16556. path:
  16557. description: |-
  16558. path of the directory on the host.
  16559. If the path is a symlink, it will follow the link to the real path.
  16560. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  16561. type: string
  16562. type:
  16563. description: |-
  16564. type for HostPath Volume
  16565. Defaults to ""
  16566. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
  16567. type: string
  16568. required:
  16569. - path
  16570. type: object
  16571. iscsi:
  16572. description: |-
  16573. iscsi represents an ISCSI Disk resource that is attached to a
  16574. kubelet's host machine and then exposed to the pod.
  16575. More info: https://examples.k8s.io/volumes/iscsi/README.md
  16576. properties:
  16577. chapAuthDiscovery:
  16578. description: chapAuthDiscovery defines whether
  16579. support iSCSI Discovery CHAP authentication
  16580. type: boolean
  16581. chapAuthSession:
  16582. description: chapAuthSession defines whether
  16583. support iSCSI Session CHAP authentication
  16584. type: boolean
  16585. fsType:
  16586. description: |-
  16587. fsType is the filesystem type of the volume that you want to mount.
  16588. Tip: Ensure that the filesystem type is supported by the host operating system.
  16589. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  16590. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
  16591. type: string
  16592. initiatorName:
  16593. description: |-
  16594. initiatorName is the custom iSCSI Initiator Name.
  16595. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
  16596. <target portal>:<volume name> will be created for the connection.
  16597. type: string
  16598. iqn:
  16599. description: iqn is the target iSCSI Qualified
  16600. Name.
  16601. type: string
  16602. iscsiInterface:
  16603. description: |-
  16604. iscsiInterface is the interface Name that uses an iSCSI transport.
  16605. Defaults to 'default' (tcp).
  16606. type: string
  16607. lun:
  16608. description: lun represents iSCSI Target Lun
  16609. number.
  16610. format: int32
  16611. type: integer
  16612. portals:
  16613. description: |-
  16614. portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
  16615. is other than default (typically TCP ports 860 and 3260).
  16616. items:
  16617. type: string
  16618. type: array
  16619. x-kubernetes-list-type: atomic
  16620. readOnly:
  16621. description: |-
  16622. readOnly here will force the ReadOnly setting in VolumeMounts.
  16623. Defaults to false.
  16624. type: boolean
  16625. secretRef:
  16626. description: secretRef is the CHAP Secret for
  16627. iSCSI target and initiator authentication
  16628. properties:
  16629. name:
  16630. default: ""
  16631. description: |-
  16632. Name of the referent.
  16633. This field is effectively required, but due to backwards compatibility is
  16634. allowed to be empty. Instances of this type with an empty value here are
  16635. almost certainly wrong.
  16636. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  16637. type: string
  16638. type: object
  16639. x-kubernetes-map-type: atomic
  16640. targetPortal:
  16641. description: |-
  16642. targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
  16643. is other than default (typically TCP ports 860 and 3260).
  16644. type: string
  16645. required:
  16646. - iqn
  16647. - lun
  16648. - targetPortal
  16649. type: object
  16650. name:
  16651. description: |-
  16652. name of the volume.
  16653. Must be a DNS_LABEL and unique within the pod.
  16654. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  16655. type: string
  16656. nfs:
  16657. description: |-
  16658. nfs represents an NFS mount on the host that shares a pod's lifetime
  16659. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  16660. properties:
  16661. path:
  16662. description: |-
  16663. path that is exported by the NFS server.
  16664. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  16665. type: string
  16666. readOnly:
  16667. description: |-
  16668. readOnly here will force the NFS export to be mounted with read-only permissions.
  16669. Defaults to false.
  16670. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  16671. type: boolean
  16672. server:
  16673. description: |-
  16674. server is the hostname or IP address of the NFS server.
  16675. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
  16676. type: string
  16677. required:
  16678. - path
  16679. - server
  16680. type: object
  16681. persistentVolumeClaim:
  16682. description: |-
  16683. persistentVolumeClaimVolumeSource represents a reference to a
  16684. PersistentVolumeClaim in the same namespace.
  16685. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  16686. properties:
  16687. claimName:
  16688. description: |-
  16689. claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
  16690. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  16691. type: string
  16692. readOnly:
  16693. description: |-
  16694. readOnly Will force the ReadOnly setting in VolumeMounts.
  16695. Default false.
  16696. type: boolean
  16697. required:
  16698. - claimName
  16699. type: object
  16700. photonPersistentDisk:
  16701. description: photonPersistentDisk represents a PhotonController
  16702. persistent disk attached and mounted on kubelets
  16703. host machine
  16704. properties:
  16705. fsType:
  16706. description: |-
  16707. fsType is the filesystem type to mount.
  16708. Must be a filesystem type supported by the host operating system.
  16709. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  16710. type: string
  16711. pdID:
  16712. description: pdID is the ID that identifies
  16713. Photon Controller persistent disk
  16714. type: string
  16715. required:
  16716. - pdID
  16717. type: object
  16718. portworxVolume:
  16719. description: portworxVolume represents a portworx
  16720. volume attached and mounted on kubelets host machine
  16721. properties:
  16722. fsType:
  16723. description: |-
  16724. fSType represents the filesystem type to mount
  16725. Must be a filesystem type supported by the host operating system.
  16726. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
  16727. type: string
  16728. readOnly:
  16729. description: |-
  16730. readOnly defaults to false (read/write). ReadOnly here will force
  16731. the ReadOnly setting in VolumeMounts.
  16732. type: boolean
  16733. volumeID:
  16734. description: volumeID uniquely identifies a
  16735. Portworx volume
  16736. type: string
  16737. required:
  16738. - volumeID
  16739. type: object
  16740. projected:
  16741. description: projected items for all in one resources
  16742. secrets, configmaps, and downward API
  16743. properties:
  16744. defaultMode:
  16745. description: |-
  16746. defaultMode are the mode bits used to set permissions on created files by default.
  16747. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  16748. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  16749. Directories within the path are not affected by this setting.
  16750. This might be in conflict with other options that affect the file
  16751. mode, like fsGroup, and the result can be other mode bits set.
  16752. format: int32
  16753. type: integer
  16754. sources:
  16755. description: sources is the list of volume projections
  16756. items:
  16757. description: Projection that may be projected
  16758. along with other supported volume types
  16759. properties:
  16760. clusterTrustBundle:
  16761. description: |-
  16762. ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
  16763. of ClusterTrustBundle objects in an auto-updating file.
  16764. Alpha, gated by the ClusterTrustBundleProjection feature gate.
  16765. ClusterTrustBundle objects can either be selected by name, or by the
  16766. combination of signer name and a label selector.
  16767. Kubelet performs aggressive normalization of the PEM contents written
  16768. into the pod filesystem. Esoteric PEM features such as inter-block
  16769. comments and block headers are stripped. Certificates are deduplicated.
  16770. The ordering of certificates within the file is arbitrary, and Kubelet
  16771. may change the order over time.
  16772. properties:
  16773. labelSelector:
  16774. description: |-
  16775. Select all ClusterTrustBundles that match this label selector. Only has
  16776. effect if signerName is set. Mutually-exclusive with name. If unset,
  16777. interpreted as "match nothing". If set but empty, interpreted as "match
  16778. everything".
  16779. properties:
  16780. matchExpressions:
  16781. description: matchExpressions
  16782. is a list of label selector
  16783. requirements. The requirements
  16784. are ANDed.
  16785. items:
  16786. description: |-
  16787. A label selector requirement is a selector that contains values, a key, and an operator that
  16788. relates the key and values.
  16789. properties:
  16790. key:
  16791. description: key is the
  16792. label key that the selector
  16793. applies to.
  16794. type: string
  16795. operator:
  16796. description: |-
  16797. operator represents a key's relationship to a set of values.
  16798. Valid operators are In, NotIn, Exists and DoesNotExist.
  16799. type: string
  16800. values:
  16801. description: |-
  16802. values is an array of string values. If the operator is In or NotIn,
  16803. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  16804. the values array must be empty. This array is replaced during a strategic
  16805. merge patch.
  16806. items:
  16807. type: string
  16808. type: array
  16809. x-kubernetes-list-type: atomic
  16810. required:
  16811. - key
  16812. - operator
  16813. type: object
  16814. type: array
  16815. x-kubernetes-list-type: atomic
  16816. matchLabels:
  16817. additionalProperties:
  16818. type: string
  16819. description: |-
  16820. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  16821. map is equivalent to an element of matchExpressions, whose key field is "key", the
  16822. operator is "In", and the values array contains only "value". The requirements are ANDed.
  16823. type: object
  16824. type: object
  16825. x-kubernetes-map-type: atomic
  16826. name:
  16827. description: |-
  16828. Select a single ClusterTrustBundle by object name. Mutually-exclusive
  16829. with signerName and labelSelector.
  16830. type: string
  16831. optional:
  16832. description: |-
  16833. If true, don't block pod startup if the referenced ClusterTrustBundle(s)
  16834. aren't available. If using name, then the named ClusterTrustBundle is
  16835. allowed not to exist. If using signerName, then the combination of
  16836. signerName and labelSelector is allowed to match zero
  16837. ClusterTrustBundles.
  16838. type: boolean
  16839. path:
  16840. description: Relative path from the
  16841. volume root to write the bundle.
  16842. type: string
  16843. signerName:
  16844. description: |-
  16845. Select all ClusterTrustBundles that match this signer name.
  16846. Mutually-exclusive with name. The contents of all selected
  16847. ClusterTrustBundles will be unified and deduplicated.
  16848. type: string
  16849. required:
  16850. - path
  16851. type: object
  16852. configMap:
  16853. description: configMap information about
  16854. the configMap data to project
  16855. properties:
  16856. items:
  16857. description: |-
  16858. items if unspecified, each key-value pair in the Data field of the referenced
  16859. ConfigMap will be projected into the volume as a file whose name is the
  16860. key and content is the value. If specified, the listed keys will be
  16861. projected into the specified paths, and unlisted keys will not be
  16862. present. If a key is specified which is not present in the ConfigMap,
  16863. the volume setup will error unless it is marked optional. Paths must be
  16864. relative and may not contain the '..' path or start with '..'.
  16865. items:
  16866. description: Maps a string key to
  16867. a path within a volume.
  16868. properties:
  16869. key:
  16870. description: key is the key
  16871. to project.
  16872. type: string
  16873. mode:
  16874. description: |-
  16875. mode is Optional: mode bits used to set permissions on this file.
  16876. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  16877. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  16878. If not specified, the volume defaultMode will be used.
  16879. This might be in conflict with other options that affect the file
  16880. mode, like fsGroup, and the result can be other mode bits set.
  16881. format: int32
  16882. type: integer
  16883. path:
  16884. description: |-
  16885. path is the relative path of the file to map the key to.
  16886. May not be an absolute path.
  16887. May not contain the path element '..'.
  16888. May not start with the string '..'.
  16889. type: string
  16890. required:
  16891. - key
  16892. - path
  16893. type: object
  16894. type: array
  16895. x-kubernetes-list-type: atomic
  16896. name:
  16897. default: ""
  16898. description: |-
  16899. Name of the referent.
  16900. This field is effectively required, but due to backwards compatibility is
  16901. allowed to be empty. Instances of this type with an empty value here are
  16902. almost certainly wrong.
  16903. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  16904. type: string
  16905. optional:
  16906. description: optional specify whether
  16907. the ConfigMap or its keys must be
  16908. defined
  16909. type: boolean
  16910. type: object
  16911. x-kubernetes-map-type: atomic
  16912. downwardAPI:
  16913. description: downwardAPI information about
  16914. the downwardAPI data to project
  16915. properties:
  16916. items:
  16917. description: Items is a list of DownwardAPIVolume
  16918. file
  16919. items:
  16920. description: DownwardAPIVolumeFile
  16921. represents information to create
  16922. the file containing the pod field
  16923. properties:
  16924. fieldRef:
  16925. description: 'Required: Selects
  16926. a field of the pod: only annotations,
  16927. labels, name, namespace and
  16928. uid are supported.'
  16929. properties:
  16930. apiVersion:
  16931. description: Version of
  16932. the schema the FieldPath
  16933. is written in terms of,
  16934. defaults to "v1".
  16935. type: string
  16936. fieldPath:
  16937. description: Path of the
  16938. field to select in the
  16939. specified API version.
  16940. type: string
  16941. required:
  16942. - fieldPath
  16943. type: object
  16944. x-kubernetes-map-type: atomic
  16945. mode:
  16946. description: |-
  16947. Optional: mode bits used to set permissions on this file, must be an octal value
  16948. between 0000 and 0777 or a decimal value between 0 and 511.
  16949. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  16950. If not specified, the volume defaultMode will be used.
  16951. This might be in conflict with other options that affect the file
  16952. mode, like fsGroup, and the result can be other mode bits set.
  16953. format: int32
  16954. type: integer
  16955. path:
  16956. description: 'Required: Path
  16957. is the relative path name
  16958. of the file to be created.
  16959. Must not be absolute or contain
  16960. the ''..'' path. Must be utf-8
  16961. encoded. The first item of
  16962. the relative path must not
  16963. start with ''..'''
  16964. type: string
  16965. resourceFieldRef:
  16966. description: |-
  16967. Selects a resource of the container: only resources limits and requests
  16968. (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
  16969. properties:
  16970. containerName:
  16971. description: 'Container
  16972. name: required for volumes,
  16973. optional for env vars'
  16974. type: string
  16975. divisor:
  16976. anyOf:
  16977. - type: integer
  16978. - type: string
  16979. description: Specifies the
  16980. output format of the exposed
  16981. resources, defaults to
  16982. "1"
  16983. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  16984. x-kubernetes-int-or-string: true
  16985. resource:
  16986. description: 'Required:
  16987. resource to select'
  16988. type: string
  16989. required:
  16990. - resource
  16991. type: object
  16992. x-kubernetes-map-type: atomic
  16993. required:
  16994. - path
  16995. type: object
  16996. type: array
  16997. x-kubernetes-list-type: atomic
  16998. type: object
  16999. secret:
  17000. description: secret information about
  17001. the secret data to project
  17002. properties:
  17003. items:
  17004. description: |-
  17005. items if unspecified, each key-value pair in the Data field of the referenced
  17006. Secret will be projected into the volume as a file whose name is the
  17007. key and content is the value. If specified, the listed keys will be
  17008. projected into the specified paths, and unlisted keys will not be
  17009. present. If a key is specified which is not present in the Secret,
  17010. the volume setup will error unless it is marked optional. Paths must be
  17011. relative and may not contain the '..' path or start with '..'.
  17012. items:
  17013. description: Maps a string key to
  17014. a path within a volume.
  17015. properties:
  17016. key:
  17017. description: key is the key
  17018. to project.
  17019. type: string
  17020. mode:
  17021. description: |-
  17022. mode is Optional: mode bits used to set permissions on this file.
  17023. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  17024. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  17025. If not specified, the volume defaultMode will be used.
  17026. This might be in conflict with other options that affect the file
  17027. mode, like fsGroup, and the result can be other mode bits set.
  17028. format: int32
  17029. type: integer
  17030. path:
  17031. description: |-
  17032. path is the relative path of the file to map the key to.
  17033. May not be an absolute path.
  17034. May not contain the path element '..'.
  17035. May not start with the string '..'.
  17036. type: string
  17037. required:
  17038. - key
  17039. - path
  17040. type: object
  17041. type: array
  17042. x-kubernetes-list-type: atomic
  17043. name:
  17044. default: ""
  17045. description: |-
  17046. Name of the referent.
  17047. This field is effectively required, but due to backwards compatibility is
  17048. allowed to be empty. Instances of this type with an empty value here are
  17049. almost certainly wrong.
  17050. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  17051. type: string
  17052. optional:
  17053. description: optional field specify
  17054. whether the Secret or its key must
  17055. be defined
  17056. type: boolean
  17057. type: object
  17058. x-kubernetes-map-type: atomic
  17059. serviceAccountToken:
  17060. description: serviceAccountToken is information
  17061. about the serviceAccountToken data to
  17062. project
  17063. properties:
  17064. audience:
  17065. description: |-
  17066. audience is the intended audience of the token. A recipient of a token
  17067. must identify itself with an identifier specified in the audience of the
  17068. token, and otherwise should reject the token. The audience defaults to the
  17069. identifier of the apiserver.
  17070. type: string
  17071. expirationSeconds:
  17072. description: |-
  17073. expirationSeconds is the requested duration of validity of the service
  17074. account token. As the token approaches expiration, the kubelet volume
  17075. plugin will proactively rotate the service account token. The kubelet will
  17076. start trying to rotate the token if the token is older than 80 percent of
  17077. its time to live or if the token is older than 24 hours.Defaults to 1 hour
  17078. and must be at least 10 minutes.
  17079. format: int64
  17080. type: integer
  17081. path:
  17082. description: |-
  17083. path is the path relative to the mount point of the file to project the
  17084. token into.
  17085. type: string
  17086. required:
  17087. - path
  17088. type: object
  17089. type: object
  17090. type: array
  17091. x-kubernetes-list-type: atomic
  17092. type: object
  17093. quobyte:
  17094. description: quobyte represents a Quobyte mount
  17095. on the host that shares a pod's lifetime
  17096. properties:
  17097. group:
  17098. description: |-
  17099. group to map volume access to
  17100. Default is no group
  17101. type: string
  17102. readOnly:
  17103. description: |-
  17104. readOnly here will force the Quobyte volume to be mounted with read-only permissions.
  17105. Defaults to false.
  17106. type: boolean
  17107. registry:
  17108. description: |-
  17109. registry represents a single or multiple Quobyte Registry services
  17110. specified as a string as host:port pair (multiple entries are separated with commas)
  17111. which acts as the central registry for volumes
  17112. type: string
  17113. tenant:
  17114. description: |-
  17115. tenant owning the given Quobyte volume in the Backend
  17116. Used with dynamically provisioned Quobyte volumes, value is set by the plugin
  17117. type: string
  17118. user:
  17119. description: |-
  17120. user to map volume access to
  17121. Defaults to serivceaccount user
  17122. type: string
  17123. volume:
  17124. description: volume is a string that references
  17125. an already created Quobyte volume by name.
  17126. type: string
  17127. required:
  17128. - registry
  17129. - volume
  17130. type: object
  17131. rbd:
  17132. description: |-
  17133. rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
  17134. More info: https://examples.k8s.io/volumes/rbd/README.md
  17135. properties:
  17136. fsType:
  17137. description: |-
  17138. fsType is the filesystem type of the volume that you want to mount.
  17139. Tip: Ensure that the filesystem type is supported by the host operating system.
  17140. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  17141. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
  17142. type: string
  17143. image:
  17144. description: |-
  17145. image is the rados image name.
  17146. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  17147. type: string
  17148. keyring:
  17149. description: |-
  17150. keyring is the path to key ring for RBDUser.
  17151. Default is /etc/ceph/keyring.
  17152. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  17153. type: string
  17154. monitors:
  17155. description: |-
  17156. monitors is a collection of Ceph monitors.
  17157. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  17158. items:
  17159. type: string
  17160. type: array
  17161. x-kubernetes-list-type: atomic
  17162. pool:
  17163. description: |-
  17164. pool is the rados pool name.
  17165. Default is rbd.
  17166. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  17167. type: string
  17168. readOnly:
  17169. description: |-
  17170. readOnly here will force the ReadOnly setting in VolumeMounts.
  17171. Defaults to false.
  17172. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  17173. type: boolean
  17174. secretRef:
  17175. description: |-
  17176. secretRef is name of the authentication secret for RBDUser. If provided
  17177. overrides keyring.
  17178. Default is nil.
  17179. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  17180. properties:
  17181. name:
  17182. default: ""
  17183. description: |-
  17184. Name of the referent.
  17185. This field is effectively required, but due to backwards compatibility is
  17186. allowed to be empty. Instances of this type with an empty value here are
  17187. almost certainly wrong.
  17188. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  17189. type: string
  17190. type: object
  17191. x-kubernetes-map-type: atomic
  17192. user:
  17193. description: |-
  17194. user is the rados user name.
  17195. Default is admin.
  17196. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
  17197. type: string
  17198. required:
  17199. - image
  17200. - monitors
  17201. type: object
  17202. scaleIO:
  17203. description: scaleIO represents a ScaleIO persistent
  17204. volume attached and mounted on Kubernetes nodes.
  17205. properties:
  17206. fsType:
  17207. description: |-
  17208. fsType is the filesystem type to mount.
  17209. Must be a filesystem type supported by the host operating system.
  17210. Ex. "ext4", "xfs", "ntfs".
  17211. Default is "xfs".
  17212. type: string
  17213. gateway:
  17214. description: gateway is the host address of
  17215. the ScaleIO API Gateway.
  17216. type: string
  17217. protectionDomain:
  17218. description: protectionDomain is the name of
  17219. the ScaleIO Protection Domain for the configured
  17220. storage.
  17221. type: string
  17222. readOnly:
  17223. description: |-
  17224. readOnly Defaults to false (read/write). ReadOnly here will force
  17225. the ReadOnly setting in VolumeMounts.
  17226. type: boolean
  17227. secretRef:
  17228. description: |-
  17229. secretRef references to the secret for ScaleIO user and other
  17230. sensitive information. If this is not provided, Login operation will fail.
  17231. properties:
  17232. name:
  17233. default: ""
  17234. description: |-
  17235. Name of the referent.
  17236. This field is effectively required, but due to backwards compatibility is
  17237. allowed to be empty. Instances of this type with an empty value here are
  17238. almost certainly wrong.
  17239. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  17240. type: string
  17241. type: object
  17242. x-kubernetes-map-type: atomic
  17243. sslEnabled:
  17244. description: sslEnabled Flag enable/disable
  17245. SSL communication with Gateway, default false
  17246. type: boolean
  17247. storageMode:
  17248. description: |-
  17249. storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
  17250. Default is ThinProvisioned.
  17251. type: string
  17252. storagePool:
  17253. description: storagePool is the ScaleIO Storage
  17254. Pool associated with the protection domain.
  17255. type: string
  17256. system:
  17257. description: system is the name of the storage
  17258. system as configured in ScaleIO.
  17259. type: string
  17260. volumeName:
  17261. description: |-
  17262. volumeName is the name of a volume already created in the ScaleIO system
  17263. that is associated with this volume source.
  17264. type: string
  17265. required:
  17266. - gateway
  17267. - secretRef
  17268. - system
  17269. type: object
  17270. secret:
  17271. description: |-
  17272. secret represents a secret that should populate this volume.
  17273. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  17274. properties:
  17275. defaultMode:
  17276. description: |-
  17277. defaultMode is Optional: mode bits used to set permissions on created files by default.
  17278. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  17279. YAML accepts both octal and decimal values, JSON requires decimal values
  17280. for mode bits. Defaults to 0644.
  17281. Directories within the path are not affected by this setting.
  17282. This might be in conflict with other options that affect the file
  17283. mode, like fsGroup, and the result can be other mode bits set.
  17284. format: int32
  17285. type: integer
  17286. items:
  17287. description: |-
  17288. items If unspecified, each key-value pair in the Data field of the referenced
  17289. Secret will be projected into the volume as a file whose name is the
  17290. key and content is the value. If specified, the listed keys will be
  17291. projected into the specified paths, and unlisted keys will not be
  17292. present. If a key is specified which is not present in the Secret,
  17293. the volume setup will error unless it is marked optional. Paths must be
  17294. relative and may not contain the '..' path or start with '..'.
  17295. items:
  17296. description: Maps a string key to a path within
  17297. a volume.
  17298. properties:
  17299. key:
  17300. description: key is the key to project.
  17301. type: string
  17302. mode:
  17303. description: |-
  17304. mode is Optional: mode bits used to set permissions on this file.
  17305. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
  17306. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
  17307. If not specified, the volume defaultMode will be used.
  17308. This might be in conflict with other options that affect the file
  17309. mode, like fsGroup, and the result can be other mode bits set.
  17310. format: int32
  17311. type: integer
  17312. path:
  17313. description: |-
  17314. path is the relative path of the file to map the key to.
  17315. May not be an absolute path.
  17316. May not contain the path element '..'.
  17317. May not start with the string '..'.
  17318. type: string
  17319. required:
  17320. - key
  17321. - path
  17322. type: object
  17323. type: array
  17324. x-kubernetes-list-type: atomic
  17325. optional:
  17326. description: optional field specify whether
  17327. the Secret or its keys must be defined
  17328. type: boolean
  17329. secretName:
  17330. description: |-
  17331. secretName is the name of the secret in the pod's namespace to use.
  17332. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
  17333. type: string
  17334. type: object
  17335. storageos:
  17336. description: storageOS represents a StorageOS volume
  17337. attached and mounted on Kubernetes nodes.
  17338. properties:
  17339. fsType:
  17340. description: |-
  17341. fsType is the filesystem type to mount.
  17342. Must be a filesystem type supported by the host operating system.
  17343. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  17344. type: string
  17345. readOnly:
  17346. description: |-
  17347. readOnly defaults to false (read/write). ReadOnly here will force
  17348. the ReadOnly setting in VolumeMounts.
  17349. type: boolean
  17350. secretRef:
  17351. description: |-
  17352. secretRef specifies the secret to use for obtaining the StorageOS API
  17353. credentials. If not specified, default values will be attempted.
  17354. properties:
  17355. name:
  17356. default: ""
  17357. description: |-
  17358. Name of the referent.
  17359. This field is effectively required, but due to backwards compatibility is
  17360. allowed to be empty. Instances of this type with an empty value here are
  17361. almost certainly wrong.
  17362. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  17363. type: string
  17364. type: object
  17365. x-kubernetes-map-type: atomic
  17366. volumeName:
  17367. description: |-
  17368. volumeName is the human-readable name of the StorageOS volume. Volume
  17369. names are only unique within a namespace.
  17370. type: string
  17371. volumeNamespace:
  17372. description: |-
  17373. volumeNamespace specifies the scope of the volume within StorageOS. If no
  17374. namespace is specified then the Pod's namespace will be used. This allows the
  17375. Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
  17376. Set VolumeName to any name to override the default behaviour.
  17377. Set to "default" if you are not using namespaces within StorageOS.
  17378. Namespaces that do not pre-exist within StorageOS will be created.
  17379. type: string
  17380. type: object
  17381. vsphereVolume:
  17382. description: vsphereVolume represents a vSphere
  17383. volume attached and mounted on kubelets host machine
  17384. properties:
  17385. fsType:
  17386. description: |-
  17387. fsType is filesystem type to mount.
  17388. Must be a filesystem type supported by the host operating system.
  17389. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
  17390. type: string
  17391. storagePolicyID:
  17392. description: storagePolicyID is the storage
  17393. Policy Based Management (SPBM) profile ID
  17394. associated with the StoragePolicyName.
  17395. type: string
  17396. storagePolicyName:
  17397. description: storagePolicyName is the storage
  17398. Policy Based Management (SPBM) profile name.
  17399. type: string
  17400. volumePath:
  17401. description: volumePath is the path that identifies
  17402. vSphere volume vmdk
  17403. type: string
  17404. required:
  17405. - volumePath
  17406. type: object
  17407. required:
  17408. - name
  17409. type: object
  17410. type: array
  17411. type: object
  17412. required:
  17413. - name
  17414. type: object
  17415. type: object
  17416. type: object
  17417. status:
  17418. description: status defines the observed state of Stack
  17419. properties:
  17420. componentStatus:
  17421. description: componentStatus reports the effective template for each
  17422. stack component.
  17423. properties:
  17424. database:
  17425. description: database is the resolved database template name,
  17426. or "disabled".
  17427. type: string
  17428. gateway:
  17429. description: gateway is the resolved gateway template name, or
  17430. "disabled".
  17431. type: string
  17432. graphStore:
  17433. description: graphStore is the resolved graph store template name,
  17434. or "disabled".
  17435. type: string
  17436. observability:
  17437. description: observability is the resolved observability template
  17438. name, or "disabled".
  17439. type: string
  17440. vectorStore:
  17441. description: vectorStore is the resolved vector store template
  17442. name, or "disabled".
  17443. type: string
  17444. type: object
  17445. conditions:
  17446. description: |-
  17447. conditions represent the current state of the Stack resource.
  17448. Each condition has a unique type and reflects the status of a specific aspect of the resource.
  17449. Standard condition types include:
  17450. - "Available": the resource is fully functional
  17451. - "Progressing": the resource is being created or updated
  17452. - "Degraded": the resource failed to reach or maintain its desired state
  17453. The status of each condition is one of True, False, or Unknown.
  17454. items:
  17455. description: Condition contains details for one aspect of the current
  17456. state of this API Resource.
  17457. properties:
  17458. lastTransitionTime:
  17459. description: |-
  17460. lastTransitionTime is the last time the condition transitioned from one status to another.
  17461. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
  17462. format: date-time
  17463. type: string
  17464. message:
  17465. description: |-
  17466. message is a human readable message indicating details about the transition.
  17467. This may be an empty string.
  17468. maxLength: 32768
  17469. type: string
  17470. observedGeneration:
  17471. description: |-
  17472. observedGeneration represents the .metadata.generation that the condition was set based upon.
  17473. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
  17474. with respect to the current state of the instance.
  17475. format: int64
  17476. minimum: 0
  17477. type: integer
  17478. reason:
  17479. description: |-
  17480. reason contains a programmatic identifier indicating the reason for the condition's last transition.
  17481. Producers of specific condition types may define expected values and meanings for this field,
  17482. and whether the values are considered a guaranteed API.
  17483. The value should be a CamelCase string.
  17484. This field may not be empty.
  17485. maxLength: 1024
  17486. minLength: 1
  17487. pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
  17488. type: string
  17489. status:
  17490. description: status of the condition, one of True, False, Unknown.
  17491. enum:
  17492. - "True"
  17493. - "False"
  17494. - Unknown
  17495. type: string
  17496. type:
  17497. description: type of condition in CamelCase or in foo.example.com/CamelCase.
  17498. maxLength: 316
  17499. pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
  17500. type: string
  17501. required:
  17502. - lastTransitionTime
  17503. - message
  17504. - reason
  17505. - status
  17506. - type
  17507. type: object
  17508. type: array
  17509. x-kubernetes-list-map-keys:
  17510. - type
  17511. x-kubernetes-list-type: map
  17512. observedGeneration:
  17513. description: observedGeneration is the .metadata.generation last reconciled.
  17514. format: int64
  17515. type: integer
  17516. type: object
  17517. required:
  17518. - spec
  17519. type: object
  17520. served: true
  17521. storage: true
  17522. subresources:
  17523. status: {}