opentelemetry-operator.yaml 662 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228
  1. apiVersion: v1
  2. kind: Namespace
  3. metadata:
  4. labels:
  5. app.kubernetes.io/name: opentelemetry-operator
  6. control-plane: controller-manager
  7. name: opentelemetry-operator-system
  8. ---
  9. apiVersion: apiextensions.k8s.io/v1
  10. kind: CustomResourceDefinition
  11. metadata:
  12. annotations:
  13. controller-gen.kubebuilder.io/version: v0.12.0
  14. labels:
  15. app.kubernetes.io/name: opentelemetry-operator
  16. name: instrumentations.opentelemetry.io
  17. spec:
  18. group: opentelemetry.io
  19. names:
  20. kind: Instrumentation
  21. listKind: InstrumentationList
  22. plural: instrumentations
  23. shortNames:
  24. - otelinst
  25. - otelinsts
  26. singular: instrumentation
  27. scope: Namespaced
  28. versions:
  29. - additionalPrinterColumns:
  30. - jsonPath: .metadata.creationTimestamp
  31. name: Age
  32. type: date
  33. - jsonPath: .spec.exporter.endpoint
  34. name: Endpoint
  35. type: string
  36. - jsonPath: .spec.sampler.type
  37. name: Sampler
  38. type: string
  39. - jsonPath: .spec.sampler.argument
  40. name: Sampler Arg
  41. type: string
  42. name: v1alpha1
  43. schema:
  44. openAPIV3Schema:
  45. description: Instrumentation is the spec for OpenTelemetry instrumentation.
  46. properties:
  47. apiVersion:
  48. description: APIVersion defines the versioned schema of this representation
  49. of an object. Servers should convert recognized schemas to the latest
  50. internal value, and may reject unrecognized values.
  51. type: string
  52. kind:
  53. description: Kind is a string value representing the REST resource this
  54. object represents. Servers may infer this from the endpoint the client
  55. submits requests to. Cannot be updated. In CamelCase.
  56. type: string
  57. metadata:
  58. type: object
  59. spec:
  60. description: InstrumentationSpec defines the desired state of OpenTelemetry
  61. SDK and instrumentation.
  62. properties:
  63. apacheHttpd:
  64. description: ApacheHttpd defines configuration for Apache HTTPD auto-instrumentation.
  65. properties:
  66. attrs:
  67. description: 'Attrs defines Apache HTTPD agent specific attributes.
  68. The precedence is: `agent default attributes` > `instrument
  69. spec attributes` . Attributes are documented at https://github.'
  70. items:
  71. description: EnvVar represents an environment variable present
  72. in a Container.
  73. properties:
  74. name:
  75. description: Name of the environment variable. Must be a
  76. C_IDENTIFIER.
  77. type: string
  78. value:
  79. description: Variable references $(VAR_NAME) are expanded
  80. using the previously defined environment variables in
  81. the container and any service environment variables.
  82. type: string
  83. valueFrom:
  84. description: Source for the environment variable's value.
  85. Cannot be used if value is not empty.
  86. properties:
  87. configMapKeyRef:
  88. description: Selects a key of a ConfigMap.
  89. properties:
  90. key:
  91. description: The key to select.
  92. type: string
  93. name:
  94. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  95. TODO: Add other useful fields. apiVersion, kind,
  96. uid?'
  97. type: string
  98. optional:
  99. description: Specify whether the ConfigMap or its
  100. key must be defined
  101. type: boolean
  102. required:
  103. - key
  104. type: object
  105. x-kubernetes-map-type: atomic
  106. fieldRef:
  107. description: 'Selects a field of the pod: supports metadata.name,
  108. metadata.namespace, `metadata.labels[''<KEY>'']`,
  109. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  110. spec.serviceAccountName, status.hostIP, status.'
  111. properties:
  112. apiVersion:
  113. description: Version of the schema the FieldPath
  114. is written in terms of, defaults to "v1".
  115. type: string
  116. fieldPath:
  117. description: Path of the field to select in the
  118. specified API version.
  119. type: string
  120. required:
  121. - fieldPath
  122. type: object
  123. x-kubernetes-map-type: atomic
  124. resourceFieldRef:
  125. description: 'Selects a resource of the container: only
  126. resources limits and requests (limits.cpu, limits.memory,
  127. limits.ephemeral-storage, requests.cpu, requests.memory
  128. and requests.'
  129. properties:
  130. containerName:
  131. description: 'Container name: required for volumes,
  132. optional for env vars'
  133. type: string
  134. divisor:
  135. anyOf:
  136. - type: integer
  137. - type: string
  138. description: Specifies the output format of the
  139. exposed resources, defaults to "1"
  140. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  141. x-kubernetes-int-or-string: true
  142. resource:
  143. description: 'Required: resource to select'
  144. type: string
  145. required:
  146. - resource
  147. type: object
  148. x-kubernetes-map-type: atomic
  149. secretKeyRef:
  150. description: Selects a key of a secret in the pod's
  151. namespace
  152. properties:
  153. key:
  154. description: The key of the secret to select from. Must
  155. be a valid secret key.
  156. type: string
  157. name:
  158. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  159. TODO: Add other useful fields. apiVersion, kind,
  160. uid?'
  161. type: string
  162. optional:
  163. description: Specify whether the Secret or its key
  164. must be defined
  165. type: boolean
  166. required:
  167. - key
  168. type: object
  169. x-kubernetes-map-type: atomic
  170. type: object
  171. required:
  172. - name
  173. type: object
  174. type: array
  175. configPath:
  176. description: Location of Apache HTTPD server configuration. Needed
  177. only if different from default "/usr/local/apache2/conf"
  178. type: string
  179. env:
  180. description: Env defines Apache HTTPD specific env vars.
  181. items:
  182. description: EnvVar represents an environment variable present
  183. in a Container.
  184. properties:
  185. name:
  186. description: Name of the environment variable. Must be a
  187. C_IDENTIFIER.
  188. type: string
  189. value:
  190. description: Variable references $(VAR_NAME) are expanded
  191. using the previously defined environment variables in
  192. the container and any service environment variables.
  193. type: string
  194. valueFrom:
  195. description: Source for the environment variable's value.
  196. Cannot be used if value is not empty.
  197. properties:
  198. configMapKeyRef:
  199. description: Selects a key of a ConfigMap.
  200. properties:
  201. key:
  202. description: The key to select.
  203. type: string
  204. name:
  205. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  206. TODO: Add other useful fields. apiVersion, kind,
  207. uid?'
  208. type: string
  209. optional:
  210. description: Specify whether the ConfigMap or its
  211. key must be defined
  212. type: boolean
  213. required:
  214. - key
  215. type: object
  216. x-kubernetes-map-type: atomic
  217. fieldRef:
  218. description: 'Selects a field of the pod: supports metadata.name,
  219. metadata.namespace, `metadata.labels[''<KEY>'']`,
  220. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  221. spec.serviceAccountName, status.hostIP, status.'
  222. properties:
  223. apiVersion:
  224. description: Version of the schema the FieldPath
  225. is written in terms of, defaults to "v1".
  226. type: string
  227. fieldPath:
  228. description: Path of the field to select in the
  229. specified API version.
  230. type: string
  231. required:
  232. - fieldPath
  233. type: object
  234. x-kubernetes-map-type: atomic
  235. resourceFieldRef:
  236. description: 'Selects a resource of the container: only
  237. resources limits and requests (limits.cpu, limits.memory,
  238. limits.ephemeral-storage, requests.cpu, requests.memory
  239. and requests.'
  240. properties:
  241. containerName:
  242. description: 'Container name: required for volumes,
  243. optional for env vars'
  244. type: string
  245. divisor:
  246. anyOf:
  247. - type: integer
  248. - type: string
  249. description: Specifies the output format of the
  250. exposed resources, defaults to "1"
  251. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  252. x-kubernetes-int-or-string: true
  253. resource:
  254. description: 'Required: resource to select'
  255. type: string
  256. required:
  257. - resource
  258. type: object
  259. x-kubernetes-map-type: atomic
  260. secretKeyRef:
  261. description: Selects a key of a secret in the pod's
  262. namespace
  263. properties:
  264. key:
  265. description: The key of the secret to select from. Must
  266. be a valid secret key.
  267. type: string
  268. name:
  269. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  270. TODO: Add other useful fields. apiVersion, kind,
  271. uid?'
  272. type: string
  273. optional:
  274. description: Specify whether the Secret or its key
  275. must be defined
  276. type: boolean
  277. required:
  278. - key
  279. type: object
  280. x-kubernetes-map-type: atomic
  281. type: object
  282. required:
  283. - name
  284. type: object
  285. type: array
  286. image:
  287. description: Image is a container image with Apache SDK and auto-instrumentation.
  288. type: string
  289. resourceRequirements:
  290. description: Resources describes the compute resource requirements.
  291. properties:
  292. claims:
  293. description: "Claims lists the names of resources, defined
  294. in spec.resourceClaims, that are used by this container.
  295. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  296. feature gate."
  297. items:
  298. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  299. properties:
  300. name:
  301. description: Name must match the name of one entry in
  302. pod.spec.resourceClaims of the Pod where this field
  303. is used. It makes that resource available inside a
  304. container.
  305. type: string
  306. required:
  307. - name
  308. type: object
  309. type: array
  310. x-kubernetes-list-map-keys:
  311. - name
  312. x-kubernetes-list-type: map
  313. limits:
  314. additionalProperties:
  315. anyOf:
  316. - type: integer
  317. - type: string
  318. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  319. x-kubernetes-int-or-string: true
  320. description: 'Limits describes the maximum amount of compute
  321. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  322. type: object
  323. requests:
  324. additionalProperties:
  325. anyOf:
  326. - type: integer
  327. - type: string
  328. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  329. x-kubernetes-int-or-string: true
  330. description: Requests describes the minimum amount of compute
  331. resources required.
  332. type: object
  333. type: object
  334. version:
  335. description: Apache HTTPD server version. One of 2.4 or 2.2. Default
  336. is 2.4
  337. type: string
  338. volumeLimitSize:
  339. anyOf:
  340. - type: integer
  341. - type: string
  342. description: VolumeSizeLimit defines size limit for volume used
  343. for auto-instrumentation. The default size is 200Mi.
  344. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  345. x-kubernetes-int-or-string: true
  346. type: object
  347. dotnet:
  348. description: DotNet defines configuration for DotNet auto-instrumentation.
  349. properties:
  350. env:
  351. description: Env defines DotNet specific env vars.
  352. items:
  353. description: EnvVar represents an environment variable present
  354. in a Container.
  355. properties:
  356. name:
  357. description: Name of the environment variable. Must be a
  358. C_IDENTIFIER.
  359. type: string
  360. value:
  361. description: Variable references $(VAR_NAME) are expanded
  362. using the previously defined environment variables in
  363. the container and any service environment variables.
  364. type: string
  365. valueFrom:
  366. description: Source for the environment variable's value.
  367. Cannot be used if value is not empty.
  368. properties:
  369. configMapKeyRef:
  370. description: Selects a key of a ConfigMap.
  371. properties:
  372. key:
  373. description: The key to select.
  374. type: string
  375. name:
  376. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  377. TODO: Add other useful fields. apiVersion, kind,
  378. uid?'
  379. type: string
  380. optional:
  381. description: Specify whether the ConfigMap or its
  382. key must be defined
  383. type: boolean
  384. required:
  385. - key
  386. type: object
  387. x-kubernetes-map-type: atomic
  388. fieldRef:
  389. description: 'Selects a field of the pod: supports metadata.name,
  390. metadata.namespace, `metadata.labels[''<KEY>'']`,
  391. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  392. spec.serviceAccountName, status.hostIP, status.'
  393. properties:
  394. apiVersion:
  395. description: Version of the schema the FieldPath
  396. is written in terms of, defaults to "v1".
  397. type: string
  398. fieldPath:
  399. description: Path of the field to select in the
  400. specified API version.
  401. type: string
  402. required:
  403. - fieldPath
  404. type: object
  405. x-kubernetes-map-type: atomic
  406. resourceFieldRef:
  407. description: 'Selects a resource of the container: only
  408. resources limits and requests (limits.cpu, limits.memory,
  409. limits.ephemeral-storage, requests.cpu, requests.memory
  410. and requests.'
  411. properties:
  412. containerName:
  413. description: 'Container name: required for volumes,
  414. optional for env vars'
  415. type: string
  416. divisor:
  417. anyOf:
  418. - type: integer
  419. - type: string
  420. description: Specifies the output format of the
  421. exposed resources, defaults to "1"
  422. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  423. x-kubernetes-int-or-string: true
  424. resource:
  425. description: 'Required: resource to select'
  426. type: string
  427. required:
  428. - resource
  429. type: object
  430. x-kubernetes-map-type: atomic
  431. secretKeyRef:
  432. description: Selects a key of a secret in the pod's
  433. namespace
  434. properties:
  435. key:
  436. description: The key of the secret to select from. Must
  437. be a valid secret key.
  438. type: string
  439. name:
  440. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  441. TODO: Add other useful fields. apiVersion, kind,
  442. uid?'
  443. type: string
  444. optional:
  445. description: Specify whether the Secret or its key
  446. must be defined
  447. type: boolean
  448. required:
  449. - key
  450. type: object
  451. x-kubernetes-map-type: atomic
  452. type: object
  453. required:
  454. - name
  455. type: object
  456. type: array
  457. image:
  458. description: Image is a container image with DotNet SDK and auto-instrumentation.
  459. type: string
  460. resourceRequirements:
  461. description: Resources describes the compute resource requirements.
  462. properties:
  463. claims:
  464. description: "Claims lists the names of resources, defined
  465. in spec.resourceClaims, that are used by this container.
  466. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  467. feature gate."
  468. items:
  469. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  470. properties:
  471. name:
  472. description: Name must match the name of one entry in
  473. pod.spec.resourceClaims of the Pod where this field
  474. is used. It makes that resource available inside a
  475. container.
  476. type: string
  477. required:
  478. - name
  479. type: object
  480. type: array
  481. x-kubernetes-list-map-keys:
  482. - name
  483. x-kubernetes-list-type: map
  484. limits:
  485. additionalProperties:
  486. anyOf:
  487. - type: integer
  488. - type: string
  489. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  490. x-kubernetes-int-or-string: true
  491. description: 'Limits describes the maximum amount of compute
  492. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  493. type: object
  494. requests:
  495. additionalProperties:
  496. anyOf:
  497. - type: integer
  498. - type: string
  499. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  500. x-kubernetes-int-or-string: true
  501. description: Requests describes the minimum amount of compute
  502. resources required.
  503. type: object
  504. type: object
  505. volumeLimitSize:
  506. anyOf:
  507. - type: integer
  508. - type: string
  509. description: VolumeSizeLimit defines size limit for volume used
  510. for auto-instrumentation. The default size is 200Mi.
  511. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  512. x-kubernetes-int-or-string: true
  513. type: object
  514. env:
  515. description: Env defines common env vars.
  516. items:
  517. description: EnvVar represents an environment variable present in
  518. a Container.
  519. properties:
  520. name:
  521. description: Name of the environment variable. Must be a C_IDENTIFIER.
  522. type: string
  523. value:
  524. description: Variable references $(VAR_NAME) are expanded using
  525. the previously defined environment variables in the container
  526. and any service environment variables.
  527. type: string
  528. valueFrom:
  529. description: Source for the environment variable's value. Cannot
  530. be used if value is not empty.
  531. properties:
  532. configMapKeyRef:
  533. description: Selects a key of a ConfigMap.
  534. properties:
  535. key:
  536. description: The key to select.
  537. type: string
  538. name:
  539. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  540. TODO: Add other useful fields. apiVersion, kind, uid?'
  541. type: string
  542. optional:
  543. description: Specify whether the ConfigMap or its key
  544. must be defined
  545. type: boolean
  546. required:
  547. - key
  548. type: object
  549. x-kubernetes-map-type: atomic
  550. fieldRef:
  551. description: 'Selects a field of the pod: supports metadata.name,
  552. metadata.namespace, `metadata.labels[''<KEY>'']`, `metadata.annotations[''<KEY>'']`,
  553. spec.nodeName, spec.serviceAccountName, status.hostIP,
  554. status.'
  555. properties:
  556. apiVersion:
  557. description: Version of the schema the FieldPath is
  558. written in terms of, defaults to "v1".
  559. type: string
  560. fieldPath:
  561. description: Path of the field to select in the specified
  562. API version.
  563. type: string
  564. required:
  565. - fieldPath
  566. type: object
  567. x-kubernetes-map-type: atomic
  568. resourceFieldRef:
  569. description: 'Selects a resource of the container: only
  570. resources limits and requests (limits.cpu, limits.memory,
  571. limits.ephemeral-storage, requests.cpu, requests.memory
  572. and requests.'
  573. properties:
  574. containerName:
  575. description: 'Container name: required for volumes,
  576. optional for env vars'
  577. type: string
  578. divisor:
  579. anyOf:
  580. - type: integer
  581. - type: string
  582. description: Specifies the output format of the exposed
  583. resources, defaults to "1"
  584. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  585. x-kubernetes-int-or-string: true
  586. resource:
  587. description: 'Required: resource to select'
  588. type: string
  589. required:
  590. - resource
  591. type: object
  592. x-kubernetes-map-type: atomic
  593. secretKeyRef:
  594. description: Selects a key of a secret in the pod's namespace
  595. properties:
  596. key:
  597. description: The key of the secret to select from. Must
  598. be a valid secret key.
  599. type: string
  600. name:
  601. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  602. TODO: Add other useful fields. apiVersion, kind, uid?'
  603. type: string
  604. optional:
  605. description: Specify whether the Secret or its key must
  606. be defined
  607. type: boolean
  608. required:
  609. - key
  610. type: object
  611. x-kubernetes-map-type: atomic
  612. type: object
  613. required:
  614. - name
  615. type: object
  616. type: array
  617. exporter:
  618. description: Exporter defines exporter configuration.
  619. properties:
  620. endpoint:
  621. description: Endpoint is address of the collector with OTLP endpoint.
  622. type: string
  623. type: object
  624. go:
  625. description: Go defines configuration for Go auto-instrumentation.
  626. properties:
  627. env:
  628. description: Env defines Go specific env vars.
  629. items:
  630. description: EnvVar represents an environment variable present
  631. in a Container.
  632. properties:
  633. name:
  634. description: Name of the environment variable. Must be a
  635. C_IDENTIFIER.
  636. type: string
  637. value:
  638. description: Variable references $(VAR_NAME) are expanded
  639. using the previously defined environment variables in
  640. the container and any service environment variables.
  641. type: string
  642. valueFrom:
  643. description: Source for the environment variable's value.
  644. Cannot be used if value is not empty.
  645. properties:
  646. configMapKeyRef:
  647. description: Selects a key of a ConfigMap.
  648. properties:
  649. key:
  650. description: The key to select.
  651. type: string
  652. name:
  653. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  654. TODO: Add other useful fields. apiVersion, kind,
  655. uid?'
  656. type: string
  657. optional:
  658. description: Specify whether the ConfigMap or its
  659. key must be defined
  660. type: boolean
  661. required:
  662. - key
  663. type: object
  664. x-kubernetes-map-type: atomic
  665. fieldRef:
  666. description: 'Selects a field of the pod: supports metadata.name,
  667. metadata.namespace, `metadata.labels[''<KEY>'']`,
  668. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  669. spec.serviceAccountName, status.hostIP, status.'
  670. properties:
  671. apiVersion:
  672. description: Version of the schema the FieldPath
  673. is written in terms of, defaults to "v1".
  674. type: string
  675. fieldPath:
  676. description: Path of the field to select in the
  677. specified API version.
  678. type: string
  679. required:
  680. - fieldPath
  681. type: object
  682. x-kubernetes-map-type: atomic
  683. resourceFieldRef:
  684. description: 'Selects a resource of the container: only
  685. resources limits and requests (limits.cpu, limits.memory,
  686. limits.ephemeral-storage, requests.cpu, requests.memory
  687. and requests.'
  688. properties:
  689. containerName:
  690. description: 'Container name: required for volumes,
  691. optional for env vars'
  692. type: string
  693. divisor:
  694. anyOf:
  695. - type: integer
  696. - type: string
  697. description: Specifies the output format of the
  698. exposed resources, defaults to "1"
  699. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  700. x-kubernetes-int-or-string: true
  701. resource:
  702. description: 'Required: resource to select'
  703. type: string
  704. required:
  705. - resource
  706. type: object
  707. x-kubernetes-map-type: atomic
  708. secretKeyRef:
  709. description: Selects a key of a secret in the pod's
  710. namespace
  711. properties:
  712. key:
  713. description: The key of the secret to select from. Must
  714. be a valid secret key.
  715. type: string
  716. name:
  717. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  718. TODO: Add other useful fields. apiVersion, kind,
  719. uid?'
  720. type: string
  721. optional:
  722. description: Specify whether the Secret or its key
  723. must be defined
  724. type: boolean
  725. required:
  726. - key
  727. type: object
  728. x-kubernetes-map-type: atomic
  729. type: object
  730. required:
  731. - name
  732. type: object
  733. type: array
  734. image:
  735. description: Image is a container image with Go SDK and auto-instrumentation.
  736. type: string
  737. resourceRequirements:
  738. description: Resources describes the compute resource requirements.
  739. properties:
  740. claims:
  741. description: "Claims lists the names of resources, defined
  742. in spec.resourceClaims, that are used by this container.
  743. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  744. feature gate."
  745. items:
  746. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  747. properties:
  748. name:
  749. description: Name must match the name of one entry in
  750. pod.spec.resourceClaims of the Pod where this field
  751. is used. It makes that resource available inside a
  752. container.
  753. type: string
  754. required:
  755. - name
  756. type: object
  757. type: array
  758. x-kubernetes-list-map-keys:
  759. - name
  760. x-kubernetes-list-type: map
  761. limits:
  762. additionalProperties:
  763. anyOf:
  764. - type: integer
  765. - type: string
  766. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  767. x-kubernetes-int-or-string: true
  768. description: 'Limits describes the maximum amount of compute
  769. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  770. type: object
  771. requests:
  772. additionalProperties:
  773. anyOf:
  774. - type: integer
  775. - type: string
  776. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  777. x-kubernetes-int-or-string: true
  778. description: Requests describes the minimum amount of compute
  779. resources required.
  780. type: object
  781. type: object
  782. volumeLimitSize:
  783. anyOf:
  784. - type: integer
  785. - type: string
  786. description: VolumeSizeLimit defines size limit for volume used
  787. for auto-instrumentation. The default size is 200Mi.
  788. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  789. x-kubernetes-int-or-string: true
  790. type: object
  791. java:
  792. description: Java defines configuration for java auto-instrumentation.
  793. properties:
  794. env:
  795. description: Env defines java specific env vars.
  796. items:
  797. description: EnvVar represents an environment variable present
  798. in a Container.
  799. properties:
  800. name:
  801. description: Name of the environment variable. Must be a
  802. C_IDENTIFIER.
  803. type: string
  804. value:
  805. description: Variable references $(VAR_NAME) are expanded
  806. using the previously defined environment variables in
  807. the container and any service environment variables.
  808. type: string
  809. valueFrom:
  810. description: Source for the environment variable's value.
  811. Cannot be used if value is not empty.
  812. properties:
  813. configMapKeyRef:
  814. description: Selects a key of a ConfigMap.
  815. properties:
  816. key:
  817. description: The key to select.
  818. type: string
  819. name:
  820. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  821. TODO: Add other useful fields. apiVersion, kind,
  822. uid?'
  823. type: string
  824. optional:
  825. description: Specify whether the ConfigMap or its
  826. key must be defined
  827. type: boolean
  828. required:
  829. - key
  830. type: object
  831. x-kubernetes-map-type: atomic
  832. fieldRef:
  833. description: 'Selects a field of the pod: supports metadata.name,
  834. metadata.namespace, `metadata.labels[''<KEY>'']`,
  835. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  836. spec.serviceAccountName, status.hostIP, status.'
  837. properties:
  838. apiVersion:
  839. description: Version of the schema the FieldPath
  840. is written in terms of, defaults to "v1".
  841. type: string
  842. fieldPath:
  843. description: Path of the field to select in the
  844. specified API version.
  845. type: string
  846. required:
  847. - fieldPath
  848. type: object
  849. x-kubernetes-map-type: atomic
  850. resourceFieldRef:
  851. description: 'Selects a resource of the container: only
  852. resources limits and requests (limits.cpu, limits.memory,
  853. limits.ephemeral-storage, requests.cpu, requests.memory
  854. and requests.'
  855. properties:
  856. containerName:
  857. description: 'Container name: required for volumes,
  858. optional for env vars'
  859. type: string
  860. divisor:
  861. anyOf:
  862. - type: integer
  863. - type: string
  864. description: Specifies the output format of the
  865. exposed resources, defaults to "1"
  866. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  867. x-kubernetes-int-or-string: true
  868. resource:
  869. description: 'Required: resource to select'
  870. type: string
  871. required:
  872. - resource
  873. type: object
  874. x-kubernetes-map-type: atomic
  875. secretKeyRef:
  876. description: Selects a key of a secret in the pod's
  877. namespace
  878. properties:
  879. key:
  880. description: The key of the secret to select from. Must
  881. be a valid secret key.
  882. type: string
  883. name:
  884. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  885. TODO: Add other useful fields. apiVersion, kind,
  886. uid?'
  887. type: string
  888. optional:
  889. description: Specify whether the Secret or its key
  890. must be defined
  891. type: boolean
  892. required:
  893. - key
  894. type: object
  895. x-kubernetes-map-type: atomic
  896. type: object
  897. required:
  898. - name
  899. type: object
  900. type: array
  901. image:
  902. description: Image is a container image with javaagent auto-instrumentation
  903. JAR.
  904. type: string
  905. resources:
  906. description: Resources describes the compute resource requirements.
  907. properties:
  908. claims:
  909. description: "Claims lists the names of resources, defined
  910. in spec.resourceClaims, that are used by this container.
  911. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  912. feature gate."
  913. items:
  914. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  915. properties:
  916. name:
  917. description: Name must match the name of one entry in
  918. pod.spec.resourceClaims of the Pod where this field
  919. is used. It makes that resource available inside a
  920. container.
  921. type: string
  922. required:
  923. - name
  924. type: object
  925. type: array
  926. x-kubernetes-list-map-keys:
  927. - name
  928. x-kubernetes-list-type: map
  929. limits:
  930. additionalProperties:
  931. anyOf:
  932. - type: integer
  933. - type: string
  934. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  935. x-kubernetes-int-or-string: true
  936. description: 'Limits describes the maximum amount of compute
  937. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  938. type: object
  939. requests:
  940. additionalProperties:
  941. anyOf:
  942. - type: integer
  943. - type: string
  944. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  945. x-kubernetes-int-or-string: true
  946. description: Requests describes the minimum amount of compute
  947. resources required.
  948. type: object
  949. type: object
  950. volumeLimitSize:
  951. anyOf:
  952. - type: integer
  953. - type: string
  954. description: VolumeSizeLimit defines size limit for volume used
  955. for auto-instrumentation. The default size is 200Mi.
  956. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  957. x-kubernetes-int-or-string: true
  958. type: object
  959. nginx:
  960. description: Nginx defines configuration for Nginx auto-instrumentation.
  961. properties:
  962. attrs:
  963. description: 'Attrs defines Nginx agent specific attributes. The
  964. precedence order is: `agent default attributes` > `instrument
  965. spec attributes` . Attributes are documented at https://github.'
  966. items:
  967. description: EnvVar represents an environment variable present
  968. in a Container.
  969. properties:
  970. name:
  971. description: Name of the environment variable. Must be a
  972. C_IDENTIFIER.
  973. type: string
  974. value:
  975. description: Variable references $(VAR_NAME) are expanded
  976. using the previously defined environment variables in
  977. the container and any service environment variables.
  978. type: string
  979. valueFrom:
  980. description: Source for the environment variable's value.
  981. Cannot be used if value is not empty.
  982. properties:
  983. configMapKeyRef:
  984. description: Selects a key of a ConfigMap.
  985. properties:
  986. key:
  987. description: The key to select.
  988. type: string
  989. name:
  990. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  991. TODO: Add other useful fields. apiVersion, kind,
  992. uid?'
  993. type: string
  994. optional:
  995. description: Specify whether the ConfigMap or its
  996. key must be defined
  997. type: boolean
  998. required:
  999. - key
  1000. type: object
  1001. x-kubernetes-map-type: atomic
  1002. fieldRef:
  1003. description: 'Selects a field of the pod: supports metadata.name,
  1004. metadata.namespace, `metadata.labels[''<KEY>'']`,
  1005. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  1006. spec.serviceAccountName, status.hostIP, status.'
  1007. properties:
  1008. apiVersion:
  1009. description: Version of the schema the FieldPath
  1010. is written in terms of, defaults to "v1".
  1011. type: string
  1012. fieldPath:
  1013. description: Path of the field to select in the
  1014. specified API version.
  1015. type: string
  1016. required:
  1017. - fieldPath
  1018. type: object
  1019. x-kubernetes-map-type: atomic
  1020. resourceFieldRef:
  1021. description: 'Selects a resource of the container: only
  1022. resources limits and requests (limits.cpu, limits.memory,
  1023. limits.ephemeral-storage, requests.cpu, requests.memory
  1024. and requests.'
  1025. properties:
  1026. containerName:
  1027. description: 'Container name: required for volumes,
  1028. optional for env vars'
  1029. type: string
  1030. divisor:
  1031. anyOf:
  1032. - type: integer
  1033. - type: string
  1034. description: Specifies the output format of the
  1035. exposed resources, defaults to "1"
  1036. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1037. x-kubernetes-int-or-string: true
  1038. resource:
  1039. description: 'Required: resource to select'
  1040. type: string
  1041. required:
  1042. - resource
  1043. type: object
  1044. x-kubernetes-map-type: atomic
  1045. secretKeyRef:
  1046. description: Selects a key of a secret in the pod's
  1047. namespace
  1048. properties:
  1049. key:
  1050. description: The key of the secret to select from. Must
  1051. be a valid secret key.
  1052. type: string
  1053. name:
  1054. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1055. TODO: Add other useful fields. apiVersion, kind,
  1056. uid?'
  1057. type: string
  1058. optional:
  1059. description: Specify whether the Secret or its key
  1060. must be defined
  1061. type: boolean
  1062. required:
  1063. - key
  1064. type: object
  1065. x-kubernetes-map-type: atomic
  1066. type: object
  1067. required:
  1068. - name
  1069. type: object
  1070. type: array
  1071. configFile:
  1072. description: Location of Nginx configuration file. Needed only
  1073. if different from default "/etx/nginx/nginx.conf"
  1074. type: string
  1075. env:
  1076. description: Env defines Nginx specific env vars.
  1077. items:
  1078. description: EnvVar represents an environment variable present
  1079. in a Container.
  1080. properties:
  1081. name:
  1082. description: Name of the environment variable. Must be a
  1083. C_IDENTIFIER.
  1084. type: string
  1085. value:
  1086. description: Variable references $(VAR_NAME) are expanded
  1087. using the previously defined environment variables in
  1088. the container and any service environment variables.
  1089. type: string
  1090. valueFrom:
  1091. description: Source for the environment variable's value.
  1092. Cannot be used if value is not empty.
  1093. properties:
  1094. configMapKeyRef:
  1095. description: Selects a key of a ConfigMap.
  1096. properties:
  1097. key:
  1098. description: The key to select.
  1099. type: string
  1100. name:
  1101. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1102. TODO: Add other useful fields. apiVersion, kind,
  1103. uid?'
  1104. type: string
  1105. optional:
  1106. description: Specify whether the ConfigMap or its
  1107. key must be defined
  1108. type: boolean
  1109. required:
  1110. - key
  1111. type: object
  1112. x-kubernetes-map-type: atomic
  1113. fieldRef:
  1114. description: 'Selects a field of the pod: supports metadata.name,
  1115. metadata.namespace, `metadata.labels[''<KEY>'']`,
  1116. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  1117. spec.serviceAccountName, status.hostIP, status.'
  1118. properties:
  1119. apiVersion:
  1120. description: Version of the schema the FieldPath
  1121. is written in terms of, defaults to "v1".
  1122. type: string
  1123. fieldPath:
  1124. description: Path of the field to select in the
  1125. specified API version.
  1126. type: string
  1127. required:
  1128. - fieldPath
  1129. type: object
  1130. x-kubernetes-map-type: atomic
  1131. resourceFieldRef:
  1132. description: 'Selects a resource of the container: only
  1133. resources limits and requests (limits.cpu, limits.memory,
  1134. limits.ephemeral-storage, requests.cpu, requests.memory
  1135. and requests.'
  1136. properties:
  1137. containerName:
  1138. description: 'Container name: required for volumes,
  1139. optional for env vars'
  1140. type: string
  1141. divisor:
  1142. anyOf:
  1143. - type: integer
  1144. - type: string
  1145. description: Specifies the output format of the
  1146. exposed resources, defaults to "1"
  1147. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1148. x-kubernetes-int-or-string: true
  1149. resource:
  1150. description: 'Required: resource to select'
  1151. type: string
  1152. required:
  1153. - resource
  1154. type: object
  1155. x-kubernetes-map-type: atomic
  1156. secretKeyRef:
  1157. description: Selects a key of a secret in the pod's
  1158. namespace
  1159. properties:
  1160. key:
  1161. description: The key of the secret to select from. Must
  1162. be a valid secret key.
  1163. type: string
  1164. name:
  1165. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1166. TODO: Add other useful fields. apiVersion, kind,
  1167. uid?'
  1168. type: string
  1169. optional:
  1170. description: Specify whether the Secret or its key
  1171. must be defined
  1172. type: boolean
  1173. required:
  1174. - key
  1175. type: object
  1176. x-kubernetes-map-type: atomic
  1177. type: object
  1178. required:
  1179. - name
  1180. type: object
  1181. type: array
  1182. image:
  1183. description: Image is a container image with Nginx SDK and auto-instrumentation.
  1184. type: string
  1185. resourceRequirements:
  1186. description: Resources describes the compute resource requirements.
  1187. properties:
  1188. claims:
  1189. description: "Claims lists the names of resources, defined
  1190. in spec.resourceClaims, that are used by this container.
  1191. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  1192. feature gate."
  1193. items:
  1194. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  1195. properties:
  1196. name:
  1197. description: Name must match the name of one entry in
  1198. pod.spec.resourceClaims of the Pod where this field
  1199. is used. It makes that resource available inside a
  1200. container.
  1201. type: string
  1202. required:
  1203. - name
  1204. type: object
  1205. type: array
  1206. x-kubernetes-list-map-keys:
  1207. - name
  1208. x-kubernetes-list-type: map
  1209. limits:
  1210. additionalProperties:
  1211. anyOf:
  1212. - type: integer
  1213. - type: string
  1214. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1215. x-kubernetes-int-or-string: true
  1216. description: 'Limits describes the maximum amount of compute
  1217. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  1218. type: object
  1219. requests:
  1220. additionalProperties:
  1221. anyOf:
  1222. - type: integer
  1223. - type: string
  1224. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1225. x-kubernetes-int-or-string: true
  1226. description: Requests describes the minimum amount of compute
  1227. resources required.
  1228. type: object
  1229. type: object
  1230. volumeLimitSize:
  1231. anyOf:
  1232. - type: integer
  1233. - type: string
  1234. description: VolumeSizeLimit defines size limit for volume used
  1235. for auto-instrumentation. The default size is 200Mi.
  1236. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1237. x-kubernetes-int-or-string: true
  1238. type: object
  1239. nodejs:
  1240. description: NodeJS defines configuration for nodejs auto-instrumentation.
  1241. properties:
  1242. env:
  1243. description: Env defines nodejs specific env vars.
  1244. items:
  1245. description: EnvVar represents an environment variable present
  1246. in a Container.
  1247. properties:
  1248. name:
  1249. description: Name of the environment variable. Must be a
  1250. C_IDENTIFIER.
  1251. type: string
  1252. value:
  1253. description: Variable references $(VAR_NAME) are expanded
  1254. using the previously defined environment variables in
  1255. the container and any service environment variables.
  1256. type: string
  1257. valueFrom:
  1258. description: Source for the environment variable's value.
  1259. Cannot be used if value is not empty.
  1260. properties:
  1261. configMapKeyRef:
  1262. description: Selects a key of a ConfigMap.
  1263. properties:
  1264. key:
  1265. description: The key to select.
  1266. type: string
  1267. name:
  1268. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1269. TODO: Add other useful fields. apiVersion, kind,
  1270. uid?'
  1271. type: string
  1272. optional:
  1273. description: Specify whether the ConfigMap or its
  1274. key must be defined
  1275. type: boolean
  1276. required:
  1277. - key
  1278. type: object
  1279. x-kubernetes-map-type: atomic
  1280. fieldRef:
  1281. description: 'Selects a field of the pod: supports metadata.name,
  1282. metadata.namespace, `metadata.labels[''<KEY>'']`,
  1283. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  1284. spec.serviceAccountName, status.hostIP, status.'
  1285. properties:
  1286. apiVersion:
  1287. description: Version of the schema the FieldPath
  1288. is written in terms of, defaults to "v1".
  1289. type: string
  1290. fieldPath:
  1291. description: Path of the field to select in the
  1292. specified API version.
  1293. type: string
  1294. required:
  1295. - fieldPath
  1296. type: object
  1297. x-kubernetes-map-type: atomic
  1298. resourceFieldRef:
  1299. description: 'Selects a resource of the container: only
  1300. resources limits and requests (limits.cpu, limits.memory,
  1301. limits.ephemeral-storage, requests.cpu, requests.memory
  1302. and requests.'
  1303. properties:
  1304. containerName:
  1305. description: 'Container name: required for volumes,
  1306. optional for env vars'
  1307. type: string
  1308. divisor:
  1309. anyOf:
  1310. - type: integer
  1311. - type: string
  1312. description: Specifies the output format of the
  1313. exposed resources, defaults to "1"
  1314. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1315. x-kubernetes-int-or-string: true
  1316. resource:
  1317. description: 'Required: resource to select'
  1318. type: string
  1319. required:
  1320. - resource
  1321. type: object
  1322. x-kubernetes-map-type: atomic
  1323. secretKeyRef:
  1324. description: Selects a key of a secret in the pod's
  1325. namespace
  1326. properties:
  1327. key:
  1328. description: The key of the secret to select from. Must
  1329. be a valid secret key.
  1330. type: string
  1331. name:
  1332. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1333. TODO: Add other useful fields. apiVersion, kind,
  1334. uid?'
  1335. type: string
  1336. optional:
  1337. description: Specify whether the Secret or its key
  1338. must be defined
  1339. type: boolean
  1340. required:
  1341. - key
  1342. type: object
  1343. x-kubernetes-map-type: atomic
  1344. type: object
  1345. required:
  1346. - name
  1347. type: object
  1348. type: array
  1349. image:
  1350. description: Image is a container image with NodeJS SDK and auto-instrumentation.
  1351. type: string
  1352. resourceRequirements:
  1353. description: Resources describes the compute resource requirements.
  1354. properties:
  1355. claims:
  1356. description: "Claims lists the names of resources, defined
  1357. in spec.resourceClaims, that are used by this container.
  1358. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  1359. feature gate."
  1360. items:
  1361. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  1362. properties:
  1363. name:
  1364. description: Name must match the name of one entry in
  1365. pod.spec.resourceClaims of the Pod where this field
  1366. is used. It makes that resource available inside a
  1367. container.
  1368. type: string
  1369. required:
  1370. - name
  1371. type: object
  1372. type: array
  1373. x-kubernetes-list-map-keys:
  1374. - name
  1375. x-kubernetes-list-type: map
  1376. limits:
  1377. additionalProperties:
  1378. anyOf:
  1379. - type: integer
  1380. - type: string
  1381. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1382. x-kubernetes-int-or-string: true
  1383. description: 'Limits describes the maximum amount of compute
  1384. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  1385. type: object
  1386. requests:
  1387. additionalProperties:
  1388. anyOf:
  1389. - type: integer
  1390. - type: string
  1391. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1392. x-kubernetes-int-or-string: true
  1393. description: Requests describes the minimum amount of compute
  1394. resources required.
  1395. type: object
  1396. type: object
  1397. volumeLimitSize:
  1398. anyOf:
  1399. - type: integer
  1400. - type: string
  1401. description: VolumeSizeLimit defines size limit for volume used
  1402. for auto-instrumentation. The default size is 200Mi.
  1403. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1404. x-kubernetes-int-or-string: true
  1405. type: object
  1406. propagators:
  1407. description: Propagators defines inter-process context propagation
  1408. configuration. Values in this list will be set in the OTEL_PROPAGATORS
  1409. env var. Enum=tracecontext;baggage;b3;b3multi;jaeger;xray;ottrace;none
  1410. items:
  1411. description: Propagator represents the propagation type.
  1412. enum:
  1413. - tracecontext
  1414. - baggage
  1415. - b3
  1416. - b3multi
  1417. - jaeger
  1418. - xray
  1419. - ottrace
  1420. - none
  1421. type: string
  1422. type: array
  1423. python:
  1424. description: Python defines configuration for python auto-instrumentation.
  1425. properties:
  1426. env:
  1427. description: Env defines python specific env vars.
  1428. items:
  1429. description: EnvVar represents an environment variable present
  1430. in a Container.
  1431. properties:
  1432. name:
  1433. description: Name of the environment variable. Must be a
  1434. C_IDENTIFIER.
  1435. type: string
  1436. value:
  1437. description: Variable references $(VAR_NAME) are expanded
  1438. using the previously defined environment variables in
  1439. the container and any service environment variables.
  1440. type: string
  1441. valueFrom:
  1442. description: Source for the environment variable's value.
  1443. Cannot be used if value is not empty.
  1444. properties:
  1445. configMapKeyRef:
  1446. description: Selects a key of a ConfigMap.
  1447. properties:
  1448. key:
  1449. description: The key to select.
  1450. type: string
  1451. name:
  1452. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1453. TODO: Add other useful fields. apiVersion, kind,
  1454. uid?'
  1455. type: string
  1456. optional:
  1457. description: Specify whether the ConfigMap or its
  1458. key must be defined
  1459. type: boolean
  1460. required:
  1461. - key
  1462. type: object
  1463. x-kubernetes-map-type: atomic
  1464. fieldRef:
  1465. description: 'Selects a field of the pod: supports metadata.name,
  1466. metadata.namespace, `metadata.labels[''<KEY>'']`,
  1467. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  1468. spec.serviceAccountName, status.hostIP, status.'
  1469. properties:
  1470. apiVersion:
  1471. description: Version of the schema the FieldPath
  1472. is written in terms of, defaults to "v1".
  1473. type: string
  1474. fieldPath:
  1475. description: Path of the field to select in the
  1476. specified API version.
  1477. type: string
  1478. required:
  1479. - fieldPath
  1480. type: object
  1481. x-kubernetes-map-type: atomic
  1482. resourceFieldRef:
  1483. description: 'Selects a resource of the container: only
  1484. resources limits and requests (limits.cpu, limits.memory,
  1485. limits.ephemeral-storage, requests.cpu, requests.memory
  1486. and requests.'
  1487. properties:
  1488. containerName:
  1489. description: 'Container name: required for volumes,
  1490. optional for env vars'
  1491. type: string
  1492. divisor:
  1493. anyOf:
  1494. - type: integer
  1495. - type: string
  1496. description: Specifies the output format of the
  1497. exposed resources, defaults to "1"
  1498. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1499. x-kubernetes-int-or-string: true
  1500. resource:
  1501. description: 'Required: resource to select'
  1502. type: string
  1503. required:
  1504. - resource
  1505. type: object
  1506. x-kubernetes-map-type: atomic
  1507. secretKeyRef:
  1508. description: Selects a key of a secret in the pod's
  1509. namespace
  1510. properties:
  1511. key:
  1512. description: The key of the secret to select from. Must
  1513. be a valid secret key.
  1514. type: string
  1515. name:
  1516. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1517. TODO: Add other useful fields. apiVersion, kind,
  1518. uid?'
  1519. type: string
  1520. optional:
  1521. description: Specify whether the Secret or its key
  1522. must be defined
  1523. type: boolean
  1524. required:
  1525. - key
  1526. type: object
  1527. x-kubernetes-map-type: atomic
  1528. type: object
  1529. required:
  1530. - name
  1531. type: object
  1532. type: array
  1533. image:
  1534. description: Image is a container image with Python SDK and auto-instrumentation.
  1535. type: string
  1536. resourceRequirements:
  1537. description: Resources describes the compute resource requirements.
  1538. properties:
  1539. claims:
  1540. description: "Claims lists the names of resources, defined
  1541. in spec.resourceClaims, that are used by this container.
  1542. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  1543. feature gate."
  1544. items:
  1545. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  1546. properties:
  1547. name:
  1548. description: Name must match the name of one entry in
  1549. pod.spec.resourceClaims of the Pod where this field
  1550. is used. It makes that resource available inside a
  1551. container.
  1552. type: string
  1553. required:
  1554. - name
  1555. type: object
  1556. type: array
  1557. x-kubernetes-list-map-keys:
  1558. - name
  1559. x-kubernetes-list-type: map
  1560. limits:
  1561. additionalProperties:
  1562. anyOf:
  1563. - type: integer
  1564. - type: string
  1565. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1566. x-kubernetes-int-or-string: true
  1567. description: 'Limits describes the maximum amount of compute
  1568. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  1569. type: object
  1570. requests:
  1571. additionalProperties:
  1572. anyOf:
  1573. - type: integer
  1574. - type: string
  1575. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1576. x-kubernetes-int-or-string: true
  1577. description: Requests describes the minimum amount of compute
  1578. resources required.
  1579. type: object
  1580. type: object
  1581. volumeLimitSize:
  1582. anyOf:
  1583. - type: integer
  1584. - type: string
  1585. description: VolumeSizeLimit defines size limit for volume used
  1586. for auto-instrumentation. The default size is 200Mi.
  1587. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  1588. x-kubernetes-int-or-string: true
  1589. type: object
  1590. resource:
  1591. description: Resource defines the configuration for the resource attributes,
  1592. as defined by the OpenTelemetry specification.
  1593. properties:
  1594. addK8sUIDAttributes:
  1595. description: AddK8sUIDAttributes defines whether K8s UID attributes
  1596. should be collected (e.g. k8s.deployment.uid).
  1597. type: boolean
  1598. resourceAttributes:
  1599. additionalProperties:
  1600. type: string
  1601. description: 'Attributes defines attributes that are added to
  1602. the resource. For example environment: dev'
  1603. type: object
  1604. type: object
  1605. sampler:
  1606. description: Sampler defines sampling configuration.
  1607. properties:
  1608. argument:
  1609. description: Argument defines sampler argument. The value depends
  1610. on the sampler type. For instance for parentbased_traceidratio
  1611. sampler type it is a number in range [0..1] e.g. 0.25.
  1612. type: string
  1613. type:
  1614. description: Type defines sampler type. The value will be set
  1615. in the OTEL_TRACES_SAMPLER env var. The value can be for instance
  1616. parentbased_always_on, parentbased_always_off, parentbased_traceidratio...
  1617. enum:
  1618. - always_on
  1619. - always_off
  1620. - traceidratio
  1621. - parentbased_always_on
  1622. - parentbased_always_off
  1623. - parentbased_traceidratio
  1624. - jaeger_remote
  1625. - xray
  1626. type: string
  1627. type: object
  1628. type: object
  1629. status:
  1630. description: InstrumentationStatus defines status of the instrumentation.
  1631. type: object
  1632. type: object
  1633. served: true
  1634. storage: true
  1635. subresources:
  1636. status: {}
  1637. ---
  1638. apiVersion: apiextensions.k8s.io/v1
  1639. kind: CustomResourceDefinition
  1640. metadata:
  1641. annotations:
  1642. cert-manager.io/inject-ca-from: opentelemetry-operator-system/opentelemetry-operator-serving-cert
  1643. controller-gen.kubebuilder.io/version: v0.12.0
  1644. labels:
  1645. app.kubernetes.io/name: opentelemetry-operator
  1646. name: opampbridges.opentelemetry.io
  1647. spec:
  1648. group: opentelemetry.io
  1649. names:
  1650. kind: OpAMPBridge
  1651. listKind: OpAMPBridgeList
  1652. plural: opampbridges
  1653. singular: opampbridge
  1654. scope: Namespaced
  1655. versions:
  1656. - additionalPrinterColumns:
  1657. - jsonPath: .metadata.creationTimestamp
  1658. name: Age
  1659. type: date
  1660. - description: OpenTelemetry Version
  1661. jsonPath: .status.version
  1662. name: Version
  1663. type: string
  1664. - jsonPath: .spec.endpoint
  1665. name: Endpoint
  1666. type: string
  1667. name: v1alpha1
  1668. schema:
  1669. openAPIV3Schema:
  1670. description: OpAMPBridge is the Schema for the opampbridges API.
  1671. properties:
  1672. apiVersion:
  1673. description: APIVersion defines the versioned schema of this representation
  1674. of an object. Servers should convert recognized schemas to the latest
  1675. internal value, and may reject unrecognized values.
  1676. type: string
  1677. kind:
  1678. description: Kind is a string value representing the REST resource this
  1679. object represents. Servers may infer this from the endpoint the client
  1680. submits requests to. Cannot be updated. In CamelCase.
  1681. type: string
  1682. metadata:
  1683. type: object
  1684. spec:
  1685. description: OpAMPBridgeSpec defines the desired state of OpAMPBridge.
  1686. properties:
  1687. affinity:
  1688. description: If specified, indicates the pod's scheduling constraints
  1689. properties:
  1690. nodeAffinity:
  1691. description: Describes node affinity scheduling rules for the
  1692. pod.
  1693. properties:
  1694. preferredDuringSchedulingIgnoredDuringExecution:
  1695. description: The scheduler will prefer to schedule pods to
  1696. nodes that satisfy the affinity expressions specified by
  1697. this field, but it may choose a node that violates one or
  1698. more of the expressions.
  1699. items:
  1700. description: An empty preferred scheduling term matches
  1701. all objects with implicit weight 0 (i.e. it's a no-op).
  1702. A null preferred scheduling term matches no objects (i.e.
  1703. is also a no-op).
  1704. properties:
  1705. preference:
  1706. description: A node selector term, associated with the
  1707. corresponding weight.
  1708. properties:
  1709. matchExpressions:
  1710. description: A list of node selector requirements
  1711. by node's labels.
  1712. items:
  1713. description: A node selector requirement is a
  1714. selector that contains values, a key, and an
  1715. operator that relates the key and values.
  1716. properties:
  1717. key:
  1718. description: The label key that the selector
  1719. applies to.
  1720. type: string
  1721. operator:
  1722. description: Represents a key's relationship
  1723. to a set of values. Valid operators are
  1724. In, NotIn, Exists, DoesNotExist. Gt, and
  1725. Lt.
  1726. type: string
  1727. values:
  1728. description: An array of string values. If
  1729. the operator is In or NotIn, the values
  1730. array must be non-empty. If the operator
  1731. is Exists or DoesNotExist, the values array
  1732. must be empty.
  1733. items:
  1734. type: string
  1735. type: array
  1736. required:
  1737. - key
  1738. - operator
  1739. type: object
  1740. type: array
  1741. matchFields:
  1742. description: A list of node selector requirements
  1743. by node's fields.
  1744. items:
  1745. description: A node selector requirement is a
  1746. selector that contains values, a key, and an
  1747. operator that relates the key and values.
  1748. properties:
  1749. key:
  1750. description: The label key that the selector
  1751. applies to.
  1752. type: string
  1753. operator:
  1754. description: Represents a key's relationship
  1755. to a set of values. Valid operators are
  1756. In, NotIn, Exists, DoesNotExist. Gt, and
  1757. Lt.
  1758. type: string
  1759. values:
  1760. description: An array of string values. If
  1761. the operator is In or NotIn, the values
  1762. array must be non-empty. If the operator
  1763. is Exists or DoesNotExist, the values array
  1764. must be empty.
  1765. items:
  1766. type: string
  1767. type: array
  1768. required:
  1769. - key
  1770. - operator
  1771. type: object
  1772. type: array
  1773. type: object
  1774. x-kubernetes-map-type: atomic
  1775. weight:
  1776. description: Weight associated with matching the corresponding
  1777. nodeSelectorTerm, in the range 1-100.
  1778. format: int32
  1779. type: integer
  1780. required:
  1781. - preference
  1782. - weight
  1783. type: object
  1784. type: array
  1785. requiredDuringSchedulingIgnoredDuringExecution:
  1786. description: If the affinity requirements specified by this
  1787. field are not met at scheduling time, the pod will not be
  1788. scheduled onto the node.
  1789. properties:
  1790. nodeSelectorTerms:
  1791. description: Required. A list of node selector terms.
  1792. The terms are ORed.
  1793. items:
  1794. description: A null or empty node selector term matches
  1795. no objects. The requirements of them are ANDed. The
  1796. TopologySelectorTerm type implements a subset of the
  1797. NodeSelectorTerm.
  1798. properties:
  1799. matchExpressions:
  1800. description: A list of node selector requirements
  1801. by node's labels.
  1802. items:
  1803. description: A node selector requirement is a
  1804. selector that contains values, a key, and an
  1805. operator that relates the key and values.
  1806. properties:
  1807. key:
  1808. description: The label key that the selector
  1809. applies to.
  1810. type: string
  1811. operator:
  1812. description: Represents a key's relationship
  1813. to a set of values. Valid operators are
  1814. In, NotIn, Exists, DoesNotExist. Gt, and
  1815. Lt.
  1816. type: string
  1817. values:
  1818. description: An array of string values. If
  1819. the operator is In or NotIn, the values
  1820. array must be non-empty. If the operator
  1821. is Exists or DoesNotExist, the values array
  1822. must be empty.
  1823. items:
  1824. type: string
  1825. type: array
  1826. required:
  1827. - key
  1828. - operator
  1829. type: object
  1830. type: array
  1831. matchFields:
  1832. description: A list of node selector requirements
  1833. by node's fields.
  1834. items:
  1835. description: A node selector requirement is a
  1836. selector that contains values, a key, and an
  1837. operator that relates the key and values.
  1838. properties:
  1839. key:
  1840. description: The label key that the selector
  1841. applies to.
  1842. type: string
  1843. operator:
  1844. description: Represents a key's relationship
  1845. to a set of values. Valid operators are
  1846. In, NotIn, Exists, DoesNotExist. Gt, and
  1847. Lt.
  1848. type: string
  1849. values:
  1850. description: An array of string values. If
  1851. the operator is In or NotIn, the values
  1852. array must be non-empty. If the operator
  1853. is Exists or DoesNotExist, the values array
  1854. must be empty.
  1855. items:
  1856. type: string
  1857. type: array
  1858. required:
  1859. - key
  1860. - operator
  1861. type: object
  1862. type: array
  1863. type: object
  1864. x-kubernetes-map-type: atomic
  1865. type: array
  1866. required:
  1867. - nodeSelectorTerms
  1868. type: object
  1869. x-kubernetes-map-type: atomic
  1870. type: object
  1871. podAffinity:
  1872. description: Describes pod affinity scheduling rules (e.g. co-locate
  1873. this pod in the same node, zone, etc. as some other pod(s)).
  1874. properties:
  1875. preferredDuringSchedulingIgnoredDuringExecution:
  1876. description: The scheduler will prefer to schedule pods to
  1877. nodes that satisfy the affinity expressions specified by
  1878. this field, but it may choose a node that violates one or
  1879. more of the expressions.
  1880. items:
  1881. description: The weights of all of the matched WeightedPodAffinityTerm
  1882. fields are added per-node to find the most preferred node(s)
  1883. properties:
  1884. podAffinityTerm:
  1885. description: Required. A pod affinity term, associated
  1886. with the corresponding weight.
  1887. properties:
  1888. labelSelector:
  1889. description: A label query over a set of resources,
  1890. in this case pods.
  1891. properties:
  1892. matchExpressions:
  1893. description: matchExpressions is a list of label
  1894. selector requirements. The requirements are
  1895. ANDed.
  1896. items:
  1897. description: A label selector requirement
  1898. is a selector that contains values, a key,
  1899. and an operator that relates the key and
  1900. values.
  1901. properties:
  1902. key:
  1903. description: key is the label key that
  1904. the selector applies to.
  1905. type: string
  1906. operator:
  1907. description: operator represents a key's
  1908. relationship to a set of values. Valid
  1909. operators are In, NotIn, Exists and
  1910. DoesNotExist.
  1911. type: string
  1912. values:
  1913. description: values is an array of string
  1914. values. If the operator is In or NotIn,
  1915. the values array must be non-empty.
  1916. If the operator is Exists or DoesNotExist,
  1917. the values array must be empty.
  1918. items:
  1919. type: string
  1920. type: array
  1921. required:
  1922. - key
  1923. - operator
  1924. type: object
  1925. type: array
  1926. matchLabels:
  1927. additionalProperties:
  1928. type: string
  1929. description: matchLabels is a map of {key,value}
  1930. pairs.
  1931. type: object
  1932. type: object
  1933. x-kubernetes-map-type: atomic
  1934. namespaceSelector:
  1935. description: A label query over the set of namespaces
  1936. that the term applies to. The term is applied
  1937. to the union of the namespaces selected by this
  1938. field and the ones listed in the namespaces field.
  1939. properties:
  1940. matchExpressions:
  1941. description: matchExpressions is a list of label
  1942. selector requirements. The requirements are
  1943. ANDed.
  1944. items:
  1945. description: A label selector requirement
  1946. is a selector that contains values, a key,
  1947. and an operator that relates the key and
  1948. values.
  1949. properties:
  1950. key:
  1951. description: key is the label key that
  1952. the selector applies to.
  1953. type: string
  1954. operator:
  1955. description: operator represents a key's
  1956. relationship to a set of values. Valid
  1957. operators are In, NotIn, Exists and
  1958. DoesNotExist.
  1959. type: string
  1960. values:
  1961. description: values is an array of string
  1962. values. If the operator is In or NotIn,
  1963. the values array must be non-empty.
  1964. If the operator is Exists or DoesNotExist,
  1965. the values array must be empty.
  1966. items:
  1967. type: string
  1968. type: array
  1969. required:
  1970. - key
  1971. - operator
  1972. type: object
  1973. type: array
  1974. matchLabels:
  1975. additionalProperties:
  1976. type: string
  1977. description: matchLabels is a map of {key,value}
  1978. pairs.
  1979. type: object
  1980. type: object
  1981. x-kubernetes-map-type: atomic
  1982. namespaces:
  1983. description: namespaces specifies a static list
  1984. of namespace names that the term applies to. The
  1985. term is applied to the union of the namespaces
  1986. listed in this field and the ones selected by
  1987. namespaceSelector.
  1988. items:
  1989. type: string
  1990. type: array
  1991. topologyKey:
  1992. description: 'This pod should be co-located (affinity)
  1993. or not co-located (anti-affinity) with the pods
  1994. matching the labelSelector in the specified namespaces,
  1995. where co-located is defined as running on a node
  1996. whose '
  1997. type: string
  1998. required:
  1999. - topologyKey
  2000. type: object
  2001. weight:
  2002. description: weight associated with matching the corresponding
  2003. podAffinityTerm, in the range 1-100.
  2004. format: int32
  2005. type: integer
  2006. required:
  2007. - podAffinityTerm
  2008. - weight
  2009. type: object
  2010. type: array
  2011. requiredDuringSchedulingIgnoredDuringExecution:
  2012. description: If the affinity requirements specified by this
  2013. field are not met at scheduling time, the pod will not be
  2014. scheduled onto the node.
  2015. items:
  2016. description: Defines a set of pods (namely those matching
  2017. the labelSelector relative to the given namespace(s))
  2018. that this pod should be co-located (affinity) or not co-located
  2019. (anti-affinity) with, where co-locate
  2020. properties:
  2021. labelSelector:
  2022. description: A label query over a set of resources,
  2023. in this case pods.
  2024. properties:
  2025. matchExpressions:
  2026. description: matchExpressions is a list of label
  2027. selector requirements. The requirements are ANDed.
  2028. items:
  2029. description: A label selector requirement is a
  2030. selector that contains values, a key, and an
  2031. operator that relates the key and values.
  2032. properties:
  2033. key:
  2034. description: key is the label key that the
  2035. selector applies to.
  2036. type: string
  2037. operator:
  2038. description: operator represents a key's relationship
  2039. to a set of values. Valid operators are
  2040. In, NotIn, Exists and DoesNotExist.
  2041. type: string
  2042. values:
  2043. description: values is an array of string
  2044. values. If the operator is In or NotIn,
  2045. the values array must be non-empty. If the
  2046. operator is Exists or DoesNotExist, the
  2047. values array must be empty.
  2048. items:
  2049. type: string
  2050. type: array
  2051. required:
  2052. - key
  2053. - operator
  2054. type: object
  2055. type: array
  2056. matchLabels:
  2057. additionalProperties:
  2058. type: string
  2059. description: matchLabels is a map of {key,value}
  2060. pairs.
  2061. type: object
  2062. type: object
  2063. x-kubernetes-map-type: atomic
  2064. namespaceSelector:
  2065. description: A label query over the set of namespaces
  2066. that the term applies to. The term is applied to the
  2067. union of the namespaces selected by this field and
  2068. the ones listed in the namespaces field.
  2069. properties:
  2070. matchExpressions:
  2071. description: matchExpressions is a list of label
  2072. selector requirements. The requirements are ANDed.
  2073. items:
  2074. description: A label selector requirement is a
  2075. selector that contains values, a key, and an
  2076. operator that relates the key and values.
  2077. properties:
  2078. key:
  2079. description: key is the label key that the
  2080. selector applies to.
  2081. type: string
  2082. operator:
  2083. description: operator represents a key's relationship
  2084. to a set of values. Valid operators are
  2085. In, NotIn, Exists and DoesNotExist.
  2086. type: string
  2087. values:
  2088. description: values is an array of string
  2089. values. If the operator is In or NotIn,
  2090. the values array must be non-empty. If the
  2091. operator is Exists or DoesNotExist, the
  2092. values array must be empty.
  2093. items:
  2094. type: string
  2095. type: array
  2096. required:
  2097. - key
  2098. - operator
  2099. type: object
  2100. type: array
  2101. matchLabels:
  2102. additionalProperties:
  2103. type: string
  2104. description: matchLabels is a map of {key,value}
  2105. pairs.
  2106. type: object
  2107. type: object
  2108. x-kubernetes-map-type: atomic
  2109. namespaces:
  2110. description: namespaces specifies a static list of namespace
  2111. names that the term applies to. The term is applied
  2112. to the union of the namespaces listed in this field
  2113. and the ones selected by namespaceSelector.
  2114. items:
  2115. type: string
  2116. type: array
  2117. topologyKey:
  2118. description: 'This pod should be co-located (affinity)
  2119. or not co-located (anti-affinity) with the pods matching
  2120. the labelSelector in the specified namespaces, where
  2121. co-located is defined as running on a node whose '
  2122. type: string
  2123. required:
  2124. - topologyKey
  2125. type: object
  2126. type: array
  2127. type: object
  2128. podAntiAffinity:
  2129. description: Describes pod anti-affinity scheduling rules (e.g.
  2130. avoid putting this pod in the same node, zone, etc. as some
  2131. other pod(s)).
  2132. properties:
  2133. preferredDuringSchedulingIgnoredDuringExecution:
  2134. description: The scheduler will prefer to schedule pods to
  2135. nodes that satisfy the anti-affinity expressions specified
  2136. by this field, but it may choose a node that violates one
  2137. or more of the expressions.
  2138. items:
  2139. description: The weights of all of the matched WeightedPodAffinityTerm
  2140. fields are added per-node to find the most preferred node(s)
  2141. properties:
  2142. podAffinityTerm:
  2143. description: Required. A pod affinity term, associated
  2144. with the corresponding weight.
  2145. properties:
  2146. labelSelector:
  2147. description: A label query over a set of resources,
  2148. in this case pods.
  2149. properties:
  2150. matchExpressions:
  2151. description: matchExpressions is a list of label
  2152. selector requirements. The requirements are
  2153. ANDed.
  2154. items:
  2155. description: A label selector requirement
  2156. is a selector that contains values, a key,
  2157. and an operator that relates the key and
  2158. values.
  2159. properties:
  2160. key:
  2161. description: key is the label key that
  2162. the selector applies to.
  2163. type: string
  2164. operator:
  2165. description: operator represents a key's
  2166. relationship to a set of values. Valid
  2167. operators are In, NotIn, Exists and
  2168. DoesNotExist.
  2169. type: string
  2170. values:
  2171. description: values is an array of string
  2172. values. If the operator is In or NotIn,
  2173. the values array must be non-empty.
  2174. If the operator is Exists or DoesNotExist,
  2175. the values array must be empty.
  2176. items:
  2177. type: string
  2178. type: array
  2179. required:
  2180. - key
  2181. - operator
  2182. type: object
  2183. type: array
  2184. matchLabels:
  2185. additionalProperties:
  2186. type: string
  2187. description: matchLabels is a map of {key,value}
  2188. pairs.
  2189. type: object
  2190. type: object
  2191. x-kubernetes-map-type: atomic
  2192. namespaceSelector:
  2193. description: A label query over the set of namespaces
  2194. that the term applies to. The term is applied
  2195. to the union of the namespaces selected by this
  2196. field and the ones listed in the namespaces field.
  2197. properties:
  2198. matchExpressions:
  2199. description: matchExpressions is a list of label
  2200. selector requirements. The requirements are
  2201. ANDed.
  2202. items:
  2203. description: A label selector requirement
  2204. is a selector that contains values, a key,
  2205. and an operator that relates the key and
  2206. values.
  2207. properties:
  2208. key:
  2209. description: key is the label key that
  2210. the selector applies to.
  2211. type: string
  2212. operator:
  2213. description: operator represents a key's
  2214. relationship to a set of values. Valid
  2215. operators are In, NotIn, Exists and
  2216. DoesNotExist.
  2217. type: string
  2218. values:
  2219. description: values is an array of string
  2220. values. If the operator is In or NotIn,
  2221. the values array must be non-empty.
  2222. If the operator is Exists or DoesNotExist,
  2223. the values array must be empty.
  2224. items:
  2225. type: string
  2226. type: array
  2227. required:
  2228. - key
  2229. - operator
  2230. type: object
  2231. type: array
  2232. matchLabels:
  2233. additionalProperties:
  2234. type: string
  2235. description: matchLabels is a map of {key,value}
  2236. pairs.
  2237. type: object
  2238. type: object
  2239. x-kubernetes-map-type: atomic
  2240. namespaces:
  2241. description: namespaces specifies a static list
  2242. of namespace names that the term applies to. The
  2243. term is applied to the union of the namespaces
  2244. listed in this field and the ones selected by
  2245. namespaceSelector.
  2246. items:
  2247. type: string
  2248. type: array
  2249. topologyKey:
  2250. description: 'This pod should be co-located (affinity)
  2251. or not co-located (anti-affinity) with the pods
  2252. matching the labelSelector in the specified namespaces,
  2253. where co-located is defined as running on a node
  2254. whose '
  2255. type: string
  2256. required:
  2257. - topologyKey
  2258. type: object
  2259. weight:
  2260. description: weight associated with matching the corresponding
  2261. podAffinityTerm, in the range 1-100.
  2262. format: int32
  2263. type: integer
  2264. required:
  2265. - podAffinityTerm
  2266. - weight
  2267. type: object
  2268. type: array
  2269. requiredDuringSchedulingIgnoredDuringExecution:
  2270. description: If the anti-affinity requirements specified by
  2271. this field are not met at scheduling time, the pod will
  2272. not be scheduled onto the node.
  2273. items:
  2274. description: Defines a set of pods (namely those matching
  2275. the labelSelector relative to the given namespace(s))
  2276. that this pod should be co-located (affinity) or not co-located
  2277. (anti-affinity) with, where co-locate
  2278. properties:
  2279. labelSelector:
  2280. description: A label query over a set of resources,
  2281. in this case pods.
  2282. properties:
  2283. matchExpressions:
  2284. description: matchExpressions is a list of label
  2285. selector requirements. The requirements are ANDed.
  2286. items:
  2287. description: A label selector requirement is a
  2288. selector that contains values, a key, and an
  2289. operator that relates the key and values.
  2290. properties:
  2291. key:
  2292. description: key is the label key that the
  2293. selector applies to.
  2294. type: string
  2295. operator:
  2296. description: operator represents a key's relationship
  2297. to a set of values. Valid operators are
  2298. In, NotIn, Exists and DoesNotExist.
  2299. type: string
  2300. values:
  2301. description: values is an array of string
  2302. values. If the operator is In or NotIn,
  2303. the values array must be non-empty. If the
  2304. operator is Exists or DoesNotExist, the
  2305. values array must be empty.
  2306. items:
  2307. type: string
  2308. type: array
  2309. required:
  2310. - key
  2311. - operator
  2312. type: object
  2313. type: array
  2314. matchLabels:
  2315. additionalProperties:
  2316. type: string
  2317. description: matchLabels is a map of {key,value}
  2318. pairs.
  2319. type: object
  2320. type: object
  2321. x-kubernetes-map-type: atomic
  2322. namespaceSelector:
  2323. description: A label query over the set of namespaces
  2324. that the term applies to. The term is applied to the
  2325. union of the namespaces selected by this field and
  2326. the ones listed in the namespaces field.
  2327. properties:
  2328. matchExpressions:
  2329. description: matchExpressions is a list of label
  2330. selector requirements. The requirements are ANDed.
  2331. items:
  2332. description: A label selector requirement is a
  2333. selector that contains values, a key, and an
  2334. operator that relates the key and values.
  2335. properties:
  2336. key:
  2337. description: key is the label key that the
  2338. selector applies to.
  2339. type: string
  2340. operator:
  2341. description: operator represents a key's relationship
  2342. to a set of values. Valid operators are
  2343. In, NotIn, Exists and DoesNotExist.
  2344. type: string
  2345. values:
  2346. description: values is an array of string
  2347. values. If the operator is In or NotIn,
  2348. the values array must be non-empty. If the
  2349. operator is Exists or DoesNotExist, the
  2350. values array must be empty.
  2351. items:
  2352. type: string
  2353. type: array
  2354. required:
  2355. - key
  2356. - operator
  2357. type: object
  2358. type: array
  2359. matchLabels:
  2360. additionalProperties:
  2361. type: string
  2362. description: matchLabels is a map of {key,value}
  2363. pairs.
  2364. type: object
  2365. type: object
  2366. x-kubernetes-map-type: atomic
  2367. namespaces:
  2368. description: namespaces specifies a static list of namespace
  2369. names that the term applies to. The term is applied
  2370. to the union of the namespaces listed in this field
  2371. and the ones selected by namespaceSelector.
  2372. items:
  2373. type: string
  2374. type: array
  2375. topologyKey:
  2376. description: 'This pod should be co-located (affinity)
  2377. or not co-located (anti-affinity) with the pods matching
  2378. the labelSelector in the specified namespaces, where
  2379. co-located is defined as running on a node whose '
  2380. type: string
  2381. required:
  2382. - topologyKey
  2383. type: object
  2384. type: array
  2385. type: object
  2386. type: object
  2387. capabilities:
  2388. additionalProperties:
  2389. type: boolean
  2390. description: Capabilities supported by the OpAMP Bridge
  2391. type: object
  2392. componentsAllowed:
  2393. additionalProperties:
  2394. items:
  2395. type: string
  2396. type: array
  2397. description: ComponentsAllowed is a list of allowed OpenTelemetry
  2398. components for each pipeline type (receiver, processor, etc.)
  2399. type: object
  2400. endpoint:
  2401. description: OpAMP backend Server endpoint
  2402. type: string
  2403. env:
  2404. description: ENV vars to set on the OpAMPBridge Pods.
  2405. items:
  2406. description: EnvVar represents an environment variable present in
  2407. a Container.
  2408. properties:
  2409. name:
  2410. description: Name of the environment variable. Must be a C_IDENTIFIER.
  2411. type: string
  2412. value:
  2413. description: Variable references $(VAR_NAME) are expanded using
  2414. the previously defined environment variables in the container
  2415. and any service environment variables.
  2416. type: string
  2417. valueFrom:
  2418. description: Source for the environment variable's value. Cannot
  2419. be used if value is not empty.
  2420. properties:
  2421. configMapKeyRef:
  2422. description: Selects a key of a ConfigMap.
  2423. properties:
  2424. key:
  2425. description: The key to select.
  2426. type: string
  2427. name:
  2428. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2429. TODO: Add other useful fields. apiVersion, kind, uid?'
  2430. type: string
  2431. optional:
  2432. description: Specify whether the ConfigMap or its key
  2433. must be defined
  2434. type: boolean
  2435. required:
  2436. - key
  2437. type: object
  2438. x-kubernetes-map-type: atomic
  2439. fieldRef:
  2440. description: 'Selects a field of the pod: supports metadata.name,
  2441. metadata.namespace, `metadata.labels[''<KEY>'']`, `metadata.annotations[''<KEY>'']`,
  2442. spec.nodeName, spec.serviceAccountName, status.hostIP,
  2443. status.'
  2444. properties:
  2445. apiVersion:
  2446. description: Version of the schema the FieldPath is
  2447. written in terms of, defaults to "v1".
  2448. type: string
  2449. fieldPath:
  2450. description: Path of the field to select in the specified
  2451. API version.
  2452. type: string
  2453. required:
  2454. - fieldPath
  2455. type: object
  2456. x-kubernetes-map-type: atomic
  2457. resourceFieldRef:
  2458. description: 'Selects a resource of the container: only
  2459. resources limits and requests (limits.cpu, limits.memory,
  2460. limits.ephemeral-storage, requests.cpu, requests.memory
  2461. and requests.'
  2462. properties:
  2463. containerName:
  2464. description: 'Container name: required for volumes,
  2465. optional for env vars'
  2466. type: string
  2467. divisor:
  2468. anyOf:
  2469. - type: integer
  2470. - type: string
  2471. description: Specifies the output format of the exposed
  2472. resources, defaults to "1"
  2473. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2474. x-kubernetes-int-or-string: true
  2475. resource:
  2476. description: 'Required: resource to select'
  2477. type: string
  2478. required:
  2479. - resource
  2480. type: object
  2481. x-kubernetes-map-type: atomic
  2482. secretKeyRef:
  2483. description: Selects a key of a secret in the pod's namespace
  2484. properties:
  2485. key:
  2486. description: The key of the secret to select from. Must
  2487. be a valid secret key.
  2488. type: string
  2489. name:
  2490. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2491. TODO: Add other useful fields. apiVersion, kind, uid?'
  2492. type: string
  2493. optional:
  2494. description: Specify whether the Secret or its key must
  2495. be defined
  2496. type: boolean
  2497. required:
  2498. - key
  2499. type: object
  2500. x-kubernetes-map-type: atomic
  2501. type: object
  2502. required:
  2503. - name
  2504. type: object
  2505. type: array
  2506. envFrom:
  2507. description: List of sources to populate environment variables on
  2508. the OpAMPBridge Pods.
  2509. items:
  2510. description: EnvFromSource represents the source of a set of ConfigMaps
  2511. properties:
  2512. configMapRef:
  2513. description: The ConfigMap to select from
  2514. properties:
  2515. name:
  2516. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2517. TODO: Add other useful fields. apiVersion, kind, uid?'
  2518. type: string
  2519. optional:
  2520. description: Specify whether the ConfigMap must be defined
  2521. type: boolean
  2522. type: object
  2523. x-kubernetes-map-type: atomic
  2524. prefix:
  2525. description: An optional identifier to prepend to each key in
  2526. the ConfigMap. Must be a C_IDENTIFIER.
  2527. type: string
  2528. secretRef:
  2529. description: The Secret to select from
  2530. properties:
  2531. name:
  2532. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  2533. TODO: Add other useful fields. apiVersion, kind, uid?'
  2534. type: string
  2535. optional:
  2536. description: Specify whether the Secret must be defined
  2537. type: boolean
  2538. type: object
  2539. x-kubernetes-map-type: atomic
  2540. type: object
  2541. type: array
  2542. hostNetwork:
  2543. description: HostNetwork indicates if the pod should run in the host
  2544. networking namespace.
  2545. type: boolean
  2546. image:
  2547. description: Image indicates the container image to use for the OpAMPBridge.
  2548. type: string
  2549. imagePullPolicy:
  2550. description: ImagePullPolicy indicates the pull policy to be used
  2551. for retrieving the container image (Always, Never, IfNotPresent)
  2552. type: string
  2553. nodeSelector:
  2554. additionalProperties:
  2555. type: string
  2556. description: NodeSelector to schedule OpAMPBridge pods.
  2557. type: object
  2558. podAnnotations:
  2559. additionalProperties:
  2560. type: string
  2561. description: PodAnnotations is the set of annotations that will be
  2562. attached to OpAMPBridge pods.
  2563. type: object
  2564. podSecurityContext:
  2565. description: PodSecurityContext will be set as the pod security context.
  2566. properties:
  2567. fsGroup:
  2568. description: "A special supplemental group that applies to all
  2569. containers in a pod. Some volume types allow the Kubelet to
  2570. change the ownership of that volume to be owned by the pod:
  2571. \n 1."
  2572. format: int64
  2573. type: integer
  2574. fsGroupChangePolicy:
  2575. description: fsGroupChangePolicy defines behavior of changing
  2576. ownership and permission of the volume before being exposed
  2577. inside Pod.
  2578. type: string
  2579. runAsGroup:
  2580. description: The GID to run the entrypoint of the container process.
  2581. Uses runtime default if unset. May also be set in SecurityContext.
  2582. format: int64
  2583. type: integer
  2584. runAsNonRoot:
  2585. description: Indicates that the container must run as a non-root
  2586. user.
  2587. type: boolean
  2588. runAsUser:
  2589. description: The UID to run the entrypoint of the container process.
  2590. Defaults to user specified in image metadata if unspecified.
  2591. May also be set in SecurityContext.
  2592. format: int64
  2593. type: integer
  2594. seLinuxOptions:
  2595. description: The SELinux context to be applied to all containers.
  2596. If unspecified, the container runtime will allocate a random
  2597. SELinux context for each container. May also be set in SecurityContext.
  2598. properties:
  2599. level:
  2600. description: Level is SELinux level label that applies to
  2601. the container.
  2602. type: string
  2603. role:
  2604. description: Role is a SELinux role label that applies to
  2605. the container.
  2606. type: string
  2607. type:
  2608. description: Type is a SELinux type label that applies to
  2609. the container.
  2610. type: string
  2611. user:
  2612. description: User is a SELinux user label that applies to
  2613. the container.
  2614. type: string
  2615. type: object
  2616. seccompProfile:
  2617. description: The seccomp options to use by the containers in this
  2618. pod. Note that this field cannot be set when spec.os.name is
  2619. windows.
  2620. properties:
  2621. localhostProfile:
  2622. description: localhostProfile indicates a profile defined
  2623. in a file on the node should be used. The profile must be
  2624. preconfigured on the node to work.
  2625. type: string
  2626. type:
  2627. description: "type indicates which kind of seccomp profile
  2628. will be applied. Valid options are: \n Localhost - a profile
  2629. defined in a file on the node should be used."
  2630. type: string
  2631. required:
  2632. - type
  2633. type: object
  2634. supplementalGroups:
  2635. description: A list of groups applied to the first process run
  2636. in each container, in addition to the container's primary GID,
  2637. the fsGroup (if specified), and group memberships defined in
  2638. the container image for th
  2639. items:
  2640. format: int64
  2641. type: integer
  2642. type: array
  2643. sysctls:
  2644. description: Sysctls hold a list of namespaced sysctls used for
  2645. the pod. Pods with unsupported sysctls (by the container runtime)
  2646. might fail to launch. Note that this field cannot be set when
  2647. spec.os.
  2648. items:
  2649. description: Sysctl defines a kernel parameter to be set
  2650. properties:
  2651. name:
  2652. description: Name of a property to set
  2653. type: string
  2654. value:
  2655. description: Value of a property to set
  2656. type: string
  2657. required:
  2658. - name
  2659. - value
  2660. type: object
  2661. type: array
  2662. windowsOptions:
  2663. description: The Windows specific settings applied to all containers.
  2664. If unspecified, the options within a container's SecurityContext
  2665. will be used.
  2666. properties:
  2667. gmsaCredentialSpec:
  2668. description: GMSACredentialSpec is where the GMSA admission
  2669. webhook (https://github.com/kubernetes-sigs/windows-gmsa)
  2670. inlines the contents of the GMSA credential spec named by
  2671. the GMSACredentialSpecName field.
  2672. type: string
  2673. gmsaCredentialSpecName:
  2674. description: GMSACredentialSpecName is the name of the GMSA
  2675. credential spec to use.
  2676. type: string
  2677. hostProcess:
  2678. description: HostProcess determines if a container should
  2679. be run as a 'Host Process' container.
  2680. type: boolean
  2681. runAsUserName:
  2682. description: The UserName in Windows to run the entrypoint
  2683. of the container process. Defaults to the user specified
  2684. in image metadata if unspecified. May also be set in PodSecurityContext.
  2685. type: string
  2686. type: object
  2687. type: object
  2688. ports:
  2689. description: Ports allows a set of ports to be exposed by the underlying
  2690. v1.Service.
  2691. items:
  2692. description: ServicePort contains information on service's port.
  2693. properties:
  2694. appProtocol:
  2695. description: The application protocol for this port. This is
  2696. used as a hint for implementations to offer richer behavior
  2697. for protocols that they understand. This field follows standard
  2698. Kubernetes label syntax.
  2699. type: string
  2700. name:
  2701. description: The name of this port within the service. This
  2702. must be a DNS_LABEL. All ports within a ServiceSpec must have
  2703. unique names.
  2704. type: string
  2705. nodePort:
  2706. description: The port on each node on which this service is
  2707. exposed when type is NodePort or LoadBalancer. Usually assigned
  2708. by the system.
  2709. format: int32
  2710. type: integer
  2711. port:
  2712. description: The port that will be exposed by this service.
  2713. format: int32
  2714. type: integer
  2715. protocol:
  2716. default: TCP
  2717. description: The IP protocol for this port. Supports "TCP",
  2718. "UDP", and "SCTP". Default is TCP.
  2719. type: string
  2720. targetPort:
  2721. anyOf:
  2722. - type: integer
  2723. - type: string
  2724. description: Number or name of the port to access on the pods
  2725. targeted by the service. Number must be in the range 1 to
  2726. 65535. Name must be an IANA_SVC_NAME.
  2727. x-kubernetes-int-or-string: true
  2728. required:
  2729. - port
  2730. type: object
  2731. type: array
  2732. x-kubernetes-list-type: atomic
  2733. priorityClassName:
  2734. description: If specified, indicates the pod's priority. If not specified,
  2735. the pod priority will be default or zero if there is no default.
  2736. type: string
  2737. replicas:
  2738. description: Replicas is the number of pod instances for the OpAMPBridge.
  2739. format: int32
  2740. maximum: 1
  2741. type: integer
  2742. resources:
  2743. description: Resources to set on the OpAMPBridge pods.
  2744. properties:
  2745. claims:
  2746. description: "Claims lists the names of resources, defined in
  2747. spec.resourceClaims, that are used by this container. \n This
  2748. is an alpha field and requires enabling the DynamicResourceAllocation
  2749. feature gate."
  2750. items:
  2751. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  2752. properties:
  2753. name:
  2754. description: Name must match the name of one entry in pod.spec.resourceClaims
  2755. of the Pod where this field is used. It makes that resource
  2756. available inside a container.
  2757. type: string
  2758. required:
  2759. - name
  2760. type: object
  2761. type: array
  2762. x-kubernetes-list-map-keys:
  2763. - name
  2764. x-kubernetes-list-type: map
  2765. limits:
  2766. additionalProperties:
  2767. anyOf:
  2768. - type: integer
  2769. - type: string
  2770. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2771. x-kubernetes-int-or-string: true
  2772. description: 'Limits describes the maximum amount of compute resources
  2773. allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  2774. type: object
  2775. requests:
  2776. additionalProperties:
  2777. anyOf:
  2778. - type: integer
  2779. - type: string
  2780. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  2781. x-kubernetes-int-or-string: true
  2782. description: Requests describes the minimum amount of compute
  2783. resources required.
  2784. type: object
  2785. type: object
  2786. securityContext:
  2787. description: SecurityContext will be set as the container security
  2788. context.
  2789. properties:
  2790. allowPrivilegeEscalation:
  2791. description: AllowPrivilegeEscalation controls whether a process
  2792. can gain more privileges than its parent process. This bool
  2793. directly controls if the no_new_privs flag will be set on the
  2794. container process.
  2795. type: boolean
  2796. capabilities:
  2797. description: The capabilities to add/drop when running containers.
  2798. Defaults to the default set of capabilities granted by the container
  2799. runtime. Note that this field cannot be set when spec.os.name
  2800. is windows.
  2801. properties:
  2802. add:
  2803. description: Added capabilities
  2804. items:
  2805. description: Capability represent POSIX capabilities type
  2806. type: string
  2807. type: array
  2808. drop:
  2809. description: Removed capabilities
  2810. items:
  2811. description: Capability represent POSIX capabilities type
  2812. type: string
  2813. type: array
  2814. type: object
  2815. privileged:
  2816. description: Run container in privileged mode. Processes in privileged
  2817. containers are essentially equivalent to root on the host. Defaults
  2818. to false. Note that this field cannot be set when spec.os.name
  2819. is windows.
  2820. type: boolean
  2821. procMount:
  2822. description: procMount denotes the type of proc mount to use for
  2823. the containers. The default is DefaultProcMount which uses the
  2824. container runtime defaults for readonly paths and masked paths.
  2825. type: string
  2826. readOnlyRootFilesystem:
  2827. description: Whether this container has a read-only root filesystem.
  2828. Default is false. Note that this field cannot be set when spec.os.name
  2829. is windows.
  2830. type: boolean
  2831. runAsGroup:
  2832. description: The GID to run the entrypoint of the container process.
  2833. Uses runtime default if unset. May also be set in PodSecurityContext.
  2834. format: int64
  2835. type: integer
  2836. runAsNonRoot:
  2837. description: Indicates that the container must run as a non-root
  2838. user.
  2839. type: boolean
  2840. runAsUser:
  2841. description: The UID to run the entrypoint of the container process.
  2842. Defaults to user specified in image metadata if unspecified.
  2843. May also be set in PodSecurityContext.
  2844. format: int64
  2845. type: integer
  2846. seLinuxOptions:
  2847. description: The SELinux context to be applied to the container.
  2848. If unspecified, the container runtime will allocate a random
  2849. SELinux context for each container. May also be set in PodSecurityContext.
  2850. properties:
  2851. level:
  2852. description: Level is SELinux level label that applies to
  2853. the container.
  2854. type: string
  2855. role:
  2856. description: Role is a SELinux role label that applies to
  2857. the container.
  2858. type: string
  2859. type:
  2860. description: Type is a SELinux type label that applies to
  2861. the container.
  2862. type: string
  2863. user:
  2864. description: User is a SELinux user label that applies to
  2865. the container.
  2866. type: string
  2867. type: object
  2868. seccompProfile:
  2869. description: The seccomp options to use by this container. If
  2870. seccomp options are provided at both the pod & container level,
  2871. the container options override the pod options.
  2872. properties:
  2873. localhostProfile:
  2874. description: localhostProfile indicates a profile defined
  2875. in a file on the node should be used. The profile must be
  2876. preconfigured on the node to work.
  2877. type: string
  2878. type:
  2879. description: "type indicates which kind of seccomp profile
  2880. will be applied. Valid options are: \n Localhost - a profile
  2881. defined in a file on the node should be used."
  2882. type: string
  2883. required:
  2884. - type
  2885. type: object
  2886. windowsOptions:
  2887. description: The Windows specific settings applied to all containers.
  2888. If unspecified, the options from the PodSecurityContext will
  2889. be used.
  2890. properties:
  2891. gmsaCredentialSpec:
  2892. description: GMSACredentialSpec is where the GMSA admission
  2893. webhook (https://github.com/kubernetes-sigs/windows-gmsa)
  2894. inlines the contents of the GMSA credential spec named by
  2895. the GMSACredentialSpecName field.
  2896. type: string
  2897. gmsaCredentialSpecName:
  2898. description: GMSACredentialSpecName is the name of the GMSA
  2899. credential spec to use.
  2900. type: string
  2901. hostProcess:
  2902. description: HostProcess determines if a container should
  2903. be run as a 'Host Process' container.
  2904. type: boolean
  2905. runAsUserName:
  2906. description: The UserName in Windows to run the entrypoint
  2907. of the container process. Defaults to the user specified
  2908. in image metadata if unspecified. May also be set in PodSecurityContext.
  2909. type: string
  2910. type: object
  2911. type: object
  2912. serviceAccount:
  2913. description: ServiceAccount indicates the name of an existing service
  2914. account to use with this instance. When set, the operator will not
  2915. automatically create a ServiceAccount for the OpAMPBridge.
  2916. type: string
  2917. tolerations:
  2918. description: Toleration to schedule OpAMPBridge pods.
  2919. items:
  2920. description: The pod this Toleration is attached to tolerates any
  2921. taint that matches the triple <key,value,effect> using the matching
  2922. operator <operator>.
  2923. properties:
  2924. effect:
  2925. description: Effect indicates the taint effect to match. Empty
  2926. means match all taint effects. When specified, allowed values
  2927. are NoSchedule, PreferNoSchedule and NoExecute.
  2928. type: string
  2929. key:
  2930. description: Key is the taint key that the toleration applies
  2931. to. Empty means match all taint keys. If the key is empty,
  2932. operator must be Exists; this combination means to match all
  2933. values and all keys.
  2934. type: string
  2935. operator:
  2936. description: Operator represents a key's relationship to the
  2937. value. Valid operators are Exists and Equal. Defaults to Equal.
  2938. type: string
  2939. tolerationSeconds:
  2940. description: TolerationSeconds represents the period of time
  2941. the toleration (which must be of effect NoExecute, otherwise
  2942. this field is ignored) tolerates the taint.
  2943. format: int64
  2944. type: integer
  2945. value:
  2946. description: Value is the taint value the toleration matches
  2947. to. If the operator is Exists, the value should be empty,
  2948. otherwise just a regular string.
  2949. type: string
  2950. type: object
  2951. type: array
  2952. topologySpreadConstraints:
  2953. description: TopologySpreadConstraints embedded kubernetes pod configuration
  2954. option, controls how pods are spread across your cluster among failure-domains
  2955. such as regions, zones, nodes, and other user-defined top
  2956. items:
  2957. description: TopologySpreadConstraint specifies how to spread matching
  2958. pods among the given topology.
  2959. properties:
  2960. labelSelector:
  2961. description: LabelSelector is used to find matching pods. Pods
  2962. that match this label selector are counted to determine the
  2963. number of pods in their corresponding topology domain.
  2964. properties:
  2965. matchExpressions:
  2966. description: matchExpressions is a list of label selector
  2967. requirements. The requirements are ANDed.
  2968. items:
  2969. description: A label selector requirement is a selector
  2970. that contains values, a key, and an operator that relates
  2971. the key and values.
  2972. properties:
  2973. key:
  2974. description: key is the label key that the selector
  2975. applies to.
  2976. type: string
  2977. operator:
  2978. description: operator represents a key's relationship
  2979. to a set of values. Valid operators are In, NotIn,
  2980. Exists and DoesNotExist.
  2981. type: string
  2982. values:
  2983. description: values is an array of string values.
  2984. If the operator is In or NotIn, the values array
  2985. must be non-empty. If the operator is Exists or
  2986. DoesNotExist, the values array must be empty.
  2987. items:
  2988. type: string
  2989. type: array
  2990. required:
  2991. - key
  2992. - operator
  2993. type: object
  2994. type: array
  2995. matchLabels:
  2996. additionalProperties:
  2997. type: string
  2998. description: matchLabels is a map of {key,value} pairs.
  2999. type: object
  3000. type: object
  3001. x-kubernetes-map-type: atomic
  3002. matchLabelKeys:
  3003. description: MatchLabelKeys is a set of pod label keys to select
  3004. the pods over which spreading will be calculated.
  3005. items:
  3006. type: string
  3007. type: array
  3008. x-kubernetes-list-type: atomic
  3009. maxSkew:
  3010. description: MaxSkew describes the degree to which pods may
  3011. be unevenly distributed.
  3012. format: int32
  3013. type: integer
  3014. minDomains:
  3015. description: MinDomains indicates a minimum number of eligible
  3016. domains.
  3017. format: int32
  3018. type: integer
  3019. nodeAffinityPolicy:
  3020. description: NodeAffinityPolicy indicates how we will treat
  3021. Pod's nodeAffinity/nodeSelector when calculating pod topology
  3022. spread skew.
  3023. type: string
  3024. nodeTaintsPolicy:
  3025. description: NodeTaintsPolicy indicates how we will treat node
  3026. taints when calculating pod topology spread skew.
  3027. type: string
  3028. topologyKey:
  3029. description: TopologyKey is the key of node labels. Nodes that
  3030. have a label with this key and identical values are considered
  3031. to be in the same topology.
  3032. type: string
  3033. whenUnsatisfiable:
  3034. description: WhenUnsatisfiable indicates how to deal with a
  3035. pod if it doesn't satisfy the spread constraint. - DoNotSchedule
  3036. (default) tells the scheduler not to schedule it.
  3037. type: string
  3038. required:
  3039. - maxSkew
  3040. - topologyKey
  3041. - whenUnsatisfiable
  3042. type: object
  3043. type: array
  3044. upgradeStrategy:
  3045. description: UpgradeStrategy represents how the operator will handle
  3046. upgrades to the CR when a newer version of the operator is deployed
  3047. enum:
  3048. - automatic
  3049. - none
  3050. type: string
  3051. volumeMounts:
  3052. description: VolumeMounts represents the mount points to use in the
  3053. underlying OpAMPBridge deployment(s)
  3054. items:
  3055. description: VolumeMount describes a mounting of a Volume within
  3056. a container.
  3057. properties:
  3058. mountPath:
  3059. description: Path within the container at which the volume should
  3060. be mounted. Must not contain ':'.
  3061. type: string
  3062. mountPropagation:
  3063. description: mountPropagation determines how mounts are propagated
  3064. from the host to container and the other way around. When
  3065. not set, MountPropagationNone is used. This field is beta
  3066. in 1.10.
  3067. type: string
  3068. name:
  3069. description: This must match the Name of a Volume.
  3070. type: string
  3071. readOnly:
  3072. description: Mounted read-only if true, read-write otherwise
  3073. (false or unspecified). Defaults to false.
  3074. type: boolean
  3075. subPath:
  3076. description: Path within the volume from which the container's
  3077. volume should be mounted. Defaults to "" (volume's root).
  3078. type: string
  3079. subPathExpr:
  3080. description: Expanded path within the volume from which the
  3081. container's volume should be mounted.
  3082. type: string
  3083. required:
  3084. - mountPath
  3085. - name
  3086. type: object
  3087. type: array
  3088. x-kubernetes-list-type: atomic
  3089. volumes:
  3090. description: Volumes represents which volumes to use in the underlying
  3091. OpAMPBridge deployment(s).
  3092. items:
  3093. description: Volume represents a named volume in a pod that may
  3094. be accessed by any container in the pod.
  3095. properties:
  3096. awsElasticBlockStore:
  3097. description: 'awsElasticBlockStore represents an AWS Disk resource
  3098. that is attached to a kubelet''s host machine and then exposed
  3099. to the pod. More info: https://kubernetes.'
  3100. properties:
  3101. fsType:
  3102. description: 'fsType is the filesystem type of the volume
  3103. that you want to mount. Tip: Ensure that the filesystem
  3104. type is supported by the host operating system. Examples:
  3105. "ext4", "xfs", "ntfs".'
  3106. type: string
  3107. partition:
  3108. description: 'partition is the partition in the volume that
  3109. you want to mount. If omitted, the default is to mount
  3110. by volume name. Examples: For volume /dev/sda1, you specify
  3111. the partition as "1".'
  3112. format: int32
  3113. type: integer
  3114. readOnly:
  3115. description: 'readOnly value true will force the readOnly
  3116. setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore'
  3117. type: boolean
  3118. volumeID:
  3119. description: 'volumeID is unique ID of the persistent disk
  3120. resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore'
  3121. type: string
  3122. required:
  3123. - volumeID
  3124. type: object
  3125. azureDisk:
  3126. description: azureDisk represents an Azure Data Disk mount on
  3127. the host and bind mount to the pod.
  3128. properties:
  3129. cachingMode:
  3130. description: 'cachingMode is the Host Caching mode: None,
  3131. Read Only, Read Write.'
  3132. type: string
  3133. diskName:
  3134. description: diskName is the Name of the data disk in the
  3135. blob storage
  3136. type: string
  3137. diskURI:
  3138. description: diskURI is the URI of data disk in the blob
  3139. storage
  3140. type: string
  3141. fsType:
  3142. description: fsType is Filesystem type to mount. Must be
  3143. a filesystem type supported by the host operating system.
  3144. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  3145. if unspecified.
  3146. type: string
  3147. kind:
  3148. description: 'kind expected values are Shared: multiple
  3149. blob disks per storage account Dedicated: single blob
  3150. disk per storage account Managed: azure managed data
  3151. disk (only in managed availability set).'
  3152. type: string
  3153. readOnly:
  3154. description: readOnly Defaults to false (read/write). ReadOnly
  3155. here will force the ReadOnly setting in VolumeMounts.
  3156. type: boolean
  3157. required:
  3158. - diskName
  3159. - diskURI
  3160. type: object
  3161. azureFile:
  3162. description: azureFile represents an Azure File Service mount
  3163. on the host and bind mount to the pod.
  3164. properties:
  3165. readOnly:
  3166. description: readOnly defaults to false (read/write). ReadOnly
  3167. here will force the ReadOnly setting in VolumeMounts.
  3168. type: boolean
  3169. secretName:
  3170. description: secretName is the name of secret that contains
  3171. Azure Storage Account Name and Key
  3172. type: string
  3173. shareName:
  3174. description: shareName is the azure share Name
  3175. type: string
  3176. required:
  3177. - secretName
  3178. - shareName
  3179. type: object
  3180. cephfs:
  3181. description: cephFS represents a Ceph FS mount on the host that
  3182. shares a pod's lifetime
  3183. properties:
  3184. monitors:
  3185. description: 'monitors is Required: Monitors is a collection
  3186. of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  3187. items:
  3188. type: string
  3189. type: array
  3190. path:
  3191. description: 'path is Optional: Used as the mounted root,
  3192. rather than the full Ceph tree, default is /'
  3193. type: string
  3194. readOnly:
  3195. description: 'readOnly is Optional: Defaults to false (read/write).
  3196. ReadOnly here will force the ReadOnly setting in VolumeMounts.
  3197. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  3198. type: boolean
  3199. secretFile:
  3200. description: 'secretFile is Optional: SecretFile is the
  3201. path to key ring for User, default is /etc/ceph/user.secret
  3202. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  3203. type: string
  3204. secretRef:
  3205. description: 'secretRef is Optional: SecretRef is reference
  3206. to the authentication secret for User, default is empty.
  3207. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  3208. properties:
  3209. name:
  3210. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3211. TODO: Add other useful fields. apiVersion, kind, uid?'
  3212. type: string
  3213. type: object
  3214. x-kubernetes-map-type: atomic
  3215. user:
  3216. description: 'user is optional: User is the rados user name,
  3217. default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  3218. type: string
  3219. required:
  3220. - monitors
  3221. type: object
  3222. cinder:
  3223. description: 'cinder represents a cinder volume attached and
  3224. mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
  3225. properties:
  3226. fsType:
  3227. description: 'fsType is the filesystem type to mount. Must
  3228. be a filesystem type supported by the host operating system.
  3229. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to
  3230. be "ext4" if unspecified.'
  3231. type: string
  3232. readOnly:
  3233. description: 'readOnly defaults to false (read/write). ReadOnly
  3234. here will force the ReadOnly setting in VolumeMounts.
  3235. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
  3236. type: boolean
  3237. secretRef:
  3238. description: 'secretRef is optional: points to a secret
  3239. object containing parameters used to connect to OpenStack.'
  3240. properties:
  3241. name:
  3242. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3243. TODO: Add other useful fields. apiVersion, kind, uid?'
  3244. type: string
  3245. type: object
  3246. x-kubernetes-map-type: atomic
  3247. volumeID:
  3248. description: 'volumeID used to identify the volume in cinder.
  3249. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
  3250. type: string
  3251. required:
  3252. - volumeID
  3253. type: object
  3254. configMap:
  3255. description: configMap represents a configMap that should populate
  3256. this volume
  3257. properties:
  3258. defaultMode:
  3259. description: 'defaultMode is optional: mode bits used to
  3260. set permissions on created files by default. Must be an
  3261. octal value between 0000 and 0777 or a decimal value between
  3262. 0 and 511.'
  3263. format: int32
  3264. type: integer
  3265. items:
  3266. description: items if unspecified, each key-value pair in
  3267. the Data field of the referenced ConfigMap will be projected
  3268. into the volume as a file whose name is the key and content
  3269. is the value.
  3270. items:
  3271. description: Maps a string key to a path within a volume.
  3272. properties:
  3273. key:
  3274. description: key is the key to project.
  3275. type: string
  3276. mode:
  3277. description: 'mode is Optional: mode bits used to
  3278. set permissions on this file. Must be an octal value
  3279. between 0000 and 0777 or a decimal value between
  3280. 0 and 511.'
  3281. format: int32
  3282. type: integer
  3283. path:
  3284. description: path is the relative path of the file
  3285. to map the key to. May not be an absolute path.
  3286. May not contain the path element '..'. May not start
  3287. with the string '..'.
  3288. type: string
  3289. required:
  3290. - key
  3291. - path
  3292. type: object
  3293. type: array
  3294. name:
  3295. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3296. TODO: Add other useful fields. apiVersion, kind, uid?'
  3297. type: string
  3298. optional:
  3299. description: optional specify whether the ConfigMap or its
  3300. keys must be defined
  3301. type: boolean
  3302. type: object
  3303. x-kubernetes-map-type: atomic
  3304. csi:
  3305. description: csi (Container Storage Interface) represents ephemeral
  3306. storage that is handled by certain external CSI drivers (Beta
  3307. feature).
  3308. properties:
  3309. driver:
  3310. description: driver is the name of the CSI driver that handles
  3311. this volume. Consult with your admin for the correct name
  3312. as registered in the cluster.
  3313. type: string
  3314. fsType:
  3315. description: fsType to mount. Ex. "ext4", "xfs", "ntfs".
  3316. If not provided, the empty value is passed to the associated
  3317. CSI driver which will determine the default filesystem
  3318. to apply.
  3319. type: string
  3320. nodePublishSecretRef:
  3321. description: nodePublishSecretRef is a reference to the
  3322. secret object containing sensitive information to pass
  3323. to the CSI driver to complete the CSI NodePublishVolume
  3324. and NodeUnpublishVolume calls.
  3325. properties:
  3326. name:
  3327. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3328. TODO: Add other useful fields. apiVersion, kind, uid?'
  3329. type: string
  3330. type: object
  3331. x-kubernetes-map-type: atomic
  3332. readOnly:
  3333. description: readOnly specifies a read-only configuration
  3334. for the volume. Defaults to false (read/write).
  3335. type: boolean
  3336. volumeAttributes:
  3337. additionalProperties:
  3338. type: string
  3339. description: volumeAttributes stores driver-specific properties
  3340. that are passed to the CSI driver. Consult your driver's
  3341. documentation for supported values.
  3342. type: object
  3343. required:
  3344. - driver
  3345. type: object
  3346. downwardAPI:
  3347. description: downwardAPI represents downward API about the pod
  3348. that should populate this volume
  3349. properties:
  3350. defaultMode:
  3351. description: 'Optional: mode bits to use on created files
  3352. by default. Must be a Optional: mode bits used to set
  3353. permissions on created files by default.'
  3354. format: int32
  3355. type: integer
  3356. items:
  3357. description: Items is a list of downward API volume file
  3358. items:
  3359. description: DownwardAPIVolumeFile represents information
  3360. to create the file containing the pod field
  3361. properties:
  3362. fieldRef:
  3363. description: 'Required: Selects a field of the pod:
  3364. only annotations, labels, name and namespace are
  3365. supported.'
  3366. properties:
  3367. apiVersion:
  3368. description: Version of the schema the FieldPath
  3369. is written in terms of, defaults to "v1".
  3370. type: string
  3371. fieldPath:
  3372. description: Path of the field to select in the
  3373. specified API version.
  3374. type: string
  3375. required:
  3376. - fieldPath
  3377. type: object
  3378. x-kubernetes-map-type: atomic
  3379. mode:
  3380. description: 'Optional: mode bits used to set permissions
  3381. on this file, must be an octal value between 0000
  3382. and 0777 or a decimal value between 0 and 511.'
  3383. format: int32
  3384. type: integer
  3385. path:
  3386. description: 'Required: Path is the relative path
  3387. name of the file to be created. Must not be absolute
  3388. or contain the ''..'' path. Must be utf-8 encoded.
  3389. The first item of the relative path must not start
  3390. with ''..'''
  3391. type: string
  3392. resourceFieldRef:
  3393. description: 'Selects a resource of the container:
  3394. only resources limits and requests (limits.cpu,
  3395. limits.memory, requests.cpu and requests.memory)
  3396. are currently supported.'
  3397. properties:
  3398. containerName:
  3399. description: 'Container name: required for volumes,
  3400. optional for env vars'
  3401. type: string
  3402. divisor:
  3403. anyOf:
  3404. - type: integer
  3405. - type: string
  3406. description: Specifies the output format of the
  3407. exposed resources, defaults to "1"
  3408. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  3409. x-kubernetes-int-or-string: true
  3410. resource:
  3411. description: 'Required: resource to select'
  3412. type: string
  3413. required:
  3414. - resource
  3415. type: object
  3416. x-kubernetes-map-type: atomic
  3417. required:
  3418. - path
  3419. type: object
  3420. type: array
  3421. type: object
  3422. emptyDir:
  3423. description: 'emptyDir represents a temporary directory that
  3424. shares a pod''s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
  3425. properties:
  3426. medium:
  3427. description: medium represents what type of storage medium
  3428. should back this directory. The default is "" which means
  3429. to use the node's default medium. Must be an empty string
  3430. (default) or Memory.
  3431. type: string
  3432. sizeLimit:
  3433. anyOf:
  3434. - type: integer
  3435. - type: string
  3436. description: sizeLimit is the total amount of local storage
  3437. required for this EmptyDir volume. The size limit is also
  3438. applicable for memory medium.
  3439. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  3440. x-kubernetes-int-or-string: true
  3441. type: object
  3442. ephemeral:
  3443. description: ephemeral represents a volume that is handled by
  3444. a cluster storage driver.
  3445. properties:
  3446. volumeClaimTemplate:
  3447. description: Will be used to create a stand-alone PVC to
  3448. provision the volume. The pod in which this EphemeralVolumeSource
  3449. is embedded will be the owner of the PVC, i.e.
  3450. properties:
  3451. metadata:
  3452. description: May contain labels and annotations that
  3453. will be copied into the PVC when creating it. No other
  3454. fields are allowed and will be rejected during validation.
  3455. properties:
  3456. annotations:
  3457. additionalProperties:
  3458. type: string
  3459. type: object
  3460. finalizers:
  3461. items:
  3462. type: string
  3463. type: array
  3464. labels:
  3465. additionalProperties:
  3466. type: string
  3467. type: object
  3468. name:
  3469. type: string
  3470. namespace:
  3471. type: string
  3472. type: object
  3473. spec:
  3474. description: The specification for the PersistentVolumeClaim.
  3475. The entire content is copied unchanged into the PVC
  3476. that gets created from this template.
  3477. properties:
  3478. accessModes:
  3479. description: 'accessModes contains the desired access
  3480. modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  3481. items:
  3482. type: string
  3483. type: array
  3484. dataSource:
  3485. description: 'dataSource field can be used to specify
  3486. either: * An existing VolumeSnapshot object (snapshot.storage.k8s.'
  3487. properties:
  3488. apiGroup:
  3489. description: APIGroup is the group for the resource
  3490. being referenced. If APIGroup is not specified,
  3491. the specified Kind must be in the core API
  3492. group. For any other third-party types, APIGroup
  3493. is required.
  3494. type: string
  3495. kind:
  3496. description: Kind is the type of resource being
  3497. referenced
  3498. type: string
  3499. name:
  3500. description: Name is the name of resource being
  3501. referenced
  3502. type: string
  3503. required:
  3504. - kind
  3505. - name
  3506. type: object
  3507. x-kubernetes-map-type: atomic
  3508. dataSourceRef:
  3509. description: dataSourceRef specifies the object
  3510. from which to populate the volume with data, if
  3511. a non-empty volume is desired.
  3512. properties:
  3513. apiGroup:
  3514. description: APIGroup is the group for the resource
  3515. being referenced. If APIGroup is not specified,
  3516. the specified Kind must be in the core API
  3517. group. For any other third-party types, APIGroup
  3518. is required.
  3519. type: string
  3520. kind:
  3521. description: Kind is the type of resource being
  3522. referenced
  3523. type: string
  3524. name:
  3525. description: Name is the name of resource being
  3526. referenced
  3527. type: string
  3528. namespace:
  3529. description: Namespace is the namespace of resource
  3530. being referenced Note that when a namespace
  3531. is specified, a gateway.networking.k8s.
  3532. type: string
  3533. required:
  3534. - kind
  3535. - name
  3536. type: object
  3537. resources:
  3538. description: resources represents the minimum resources
  3539. the volume should have.
  3540. properties:
  3541. claims:
  3542. description: "Claims lists the names of resources,
  3543. defined in spec.resourceClaims, that are used
  3544. by this container. \n This is an alpha field
  3545. and requires enabling the DynamicResourceAllocation
  3546. feature gate."
  3547. items:
  3548. description: ResourceClaim references one
  3549. entry in PodSpec.ResourceClaims.
  3550. properties:
  3551. name:
  3552. description: Name must match the name
  3553. of one entry in pod.spec.resourceClaims
  3554. of the Pod where this field is used.
  3555. It makes that resource available inside
  3556. a container.
  3557. type: string
  3558. required:
  3559. - name
  3560. type: object
  3561. type: array
  3562. x-kubernetes-list-map-keys:
  3563. - name
  3564. x-kubernetes-list-type: map
  3565. limits:
  3566. additionalProperties:
  3567. anyOf:
  3568. - type: integer
  3569. - type: string
  3570. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  3571. x-kubernetes-int-or-string: true
  3572. description: 'Limits describes the maximum amount
  3573. of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  3574. type: object
  3575. requests:
  3576. additionalProperties:
  3577. anyOf:
  3578. - type: integer
  3579. - type: string
  3580. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  3581. x-kubernetes-int-or-string: true
  3582. description: Requests describes the minimum
  3583. amount of compute resources required.
  3584. type: object
  3585. type: object
  3586. selector:
  3587. description: selector is a label query over volumes
  3588. to consider for binding.
  3589. properties:
  3590. matchExpressions:
  3591. description: matchExpressions is a list of label
  3592. selector requirements. The requirements are
  3593. ANDed.
  3594. items:
  3595. description: A label selector requirement
  3596. is a selector that contains values, a key,
  3597. and an operator that relates the key and
  3598. values.
  3599. properties:
  3600. key:
  3601. description: key is the label key that
  3602. the selector applies to.
  3603. type: string
  3604. operator:
  3605. description: operator represents a key's
  3606. relationship to a set of values. Valid
  3607. operators are In, NotIn, Exists and
  3608. DoesNotExist.
  3609. type: string
  3610. values:
  3611. description: values is an array of string
  3612. values. If the operator is In or NotIn,
  3613. the values array must be non-empty.
  3614. If the operator is Exists or DoesNotExist,
  3615. the values array must be empty.
  3616. items:
  3617. type: string
  3618. type: array
  3619. required:
  3620. - key
  3621. - operator
  3622. type: object
  3623. type: array
  3624. matchLabels:
  3625. additionalProperties:
  3626. type: string
  3627. description: matchLabels is a map of {key,value}
  3628. pairs.
  3629. type: object
  3630. type: object
  3631. x-kubernetes-map-type: atomic
  3632. storageClassName:
  3633. description: 'storageClassName is the name of the
  3634. StorageClass required by the claim. More info:
  3635. https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
  3636. type: string
  3637. volumeMode:
  3638. description: volumeMode defines what type of volume
  3639. is required by the claim. Value of Filesystem
  3640. is implied when not included in claim spec.
  3641. type: string
  3642. volumeName:
  3643. description: volumeName is the binding reference
  3644. to the PersistentVolume backing this claim.
  3645. type: string
  3646. type: object
  3647. required:
  3648. - spec
  3649. type: object
  3650. type: object
  3651. fc:
  3652. description: fc represents a Fibre Channel resource that is
  3653. attached to a kubelet's host machine and then exposed to the
  3654. pod.
  3655. properties:
  3656. fsType:
  3657. description: fsType is the filesystem type to mount. Must
  3658. be a filesystem type supported by the host operating system.
  3659. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  3660. if unspecified.
  3661. type: string
  3662. lun:
  3663. description: 'lun is Optional: FC target lun number'
  3664. format: int32
  3665. type: integer
  3666. readOnly:
  3667. description: 'readOnly is Optional: Defaults to false (read/write).
  3668. ReadOnly here will force the ReadOnly setting in VolumeMounts.'
  3669. type: boolean
  3670. targetWWNs:
  3671. description: 'targetWWNs is Optional: FC target worldwide
  3672. names (WWNs)'
  3673. items:
  3674. type: string
  3675. type: array
  3676. wwids:
  3677. description: 'wwids Optional: FC volume world wide identifiers
  3678. (wwids) Either wwids or combination of targetWWNs and
  3679. lun must be set, but not both simultaneously.'
  3680. items:
  3681. type: string
  3682. type: array
  3683. type: object
  3684. flexVolume:
  3685. description: flexVolume represents a generic volume resource
  3686. that is provisioned/attached using an exec based plugin.
  3687. properties:
  3688. driver:
  3689. description: driver is the name of the driver to use for
  3690. this volume.
  3691. type: string
  3692. fsType:
  3693. description: fsType is the filesystem type to mount. Must
  3694. be a filesystem type supported by the host operating system.
  3695. Ex. "ext4", "xfs", "ntfs". The default filesystem depends
  3696. on FlexVolume script.
  3697. type: string
  3698. options:
  3699. additionalProperties:
  3700. type: string
  3701. description: 'options is Optional: this field holds extra
  3702. command options if any.'
  3703. type: object
  3704. readOnly:
  3705. description: 'readOnly is Optional: defaults to false (read/write).
  3706. ReadOnly here will force the ReadOnly setting in VolumeMounts.'
  3707. type: boolean
  3708. secretRef:
  3709. description: 'secretRef is Optional: secretRef is reference
  3710. to the secret object containing sensitive information
  3711. to pass to the plugin scripts. This may be empty if no
  3712. secret object is specified.'
  3713. properties:
  3714. name:
  3715. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3716. TODO: Add other useful fields. apiVersion, kind, uid?'
  3717. type: string
  3718. type: object
  3719. x-kubernetes-map-type: atomic
  3720. required:
  3721. - driver
  3722. type: object
  3723. flocker:
  3724. description: flocker represents a Flocker volume attached to
  3725. a kubelet's host machine. This depends on the Flocker control
  3726. service being running
  3727. properties:
  3728. datasetName:
  3729. description: datasetName is Name of the dataset stored as
  3730. metadata -> name on the dataset for Flocker should be
  3731. considered as deprecated
  3732. type: string
  3733. datasetUUID:
  3734. description: datasetUUID is the UUID of the dataset. This
  3735. is unique identifier of a Flocker dataset
  3736. type: string
  3737. type: object
  3738. gcePersistentDisk:
  3739. description: 'gcePersistentDisk represents a GCE Disk resource
  3740. that is attached to a kubelet''s host machine and then exposed
  3741. to the pod. More info: https://kubernetes.'
  3742. properties:
  3743. fsType:
  3744. description: 'fsType is filesystem type of the volume that
  3745. you want to mount. Tip: Ensure that the filesystem type
  3746. is supported by the host operating system. Examples: "ext4",
  3747. "xfs", "ntfs".'
  3748. type: string
  3749. partition:
  3750. description: 'partition is the partition in the volume that
  3751. you want to mount. If omitted, the default is to mount
  3752. by volume name. Examples: For volume /dev/sda1, you specify
  3753. the partition as "1".'
  3754. format: int32
  3755. type: integer
  3756. pdName:
  3757. description: 'pdName is unique name of the PD resource in
  3758. GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
  3759. type: string
  3760. readOnly:
  3761. description: 'readOnly here will force the ReadOnly setting
  3762. in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
  3763. type: boolean
  3764. required:
  3765. - pdName
  3766. type: object
  3767. gitRepo:
  3768. description: 'gitRepo represents a git repository at a particular
  3769. revision. DEPRECATED: GitRepo is deprecated.'
  3770. properties:
  3771. directory:
  3772. description: directory is the target directory name. Must
  3773. not contain or start with '..'. If '.' is supplied, the
  3774. volume directory will be the git repository.
  3775. type: string
  3776. repository:
  3777. description: repository is the URL
  3778. type: string
  3779. revision:
  3780. description: revision is the commit hash for the specified
  3781. revision.
  3782. type: string
  3783. required:
  3784. - repository
  3785. type: object
  3786. glusterfs:
  3787. description: 'glusterfs represents a Glusterfs mount on the
  3788. host that shares a pod''s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md'
  3789. properties:
  3790. endpoints:
  3791. description: 'endpoints is the endpoint name that details
  3792. Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
  3793. type: string
  3794. path:
  3795. description: 'path is the Glusterfs volume path. More info:
  3796. https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
  3797. type: string
  3798. readOnly:
  3799. description: 'readOnly here will force the Glusterfs volume
  3800. to be mounted with read-only permissions. Defaults to
  3801. false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
  3802. type: boolean
  3803. required:
  3804. - endpoints
  3805. - path
  3806. type: object
  3807. hostPath:
  3808. description: hostPath represents a pre-existing file or directory
  3809. on the host machine that is directly exposed to the container.
  3810. properties:
  3811. path:
  3812. description: 'path of the directory on the host. If the
  3813. path is a symlink, it will follow the link to the real
  3814. path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath'
  3815. type: string
  3816. type:
  3817. description: 'type for HostPath Volume Defaults to "" More
  3818. info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath'
  3819. type: string
  3820. required:
  3821. - path
  3822. type: object
  3823. iscsi:
  3824. description: 'iscsi represents an ISCSI Disk resource that is
  3825. attached to a kubelet''s host machine and then exposed to
  3826. the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md'
  3827. properties:
  3828. chapAuthDiscovery:
  3829. description: chapAuthDiscovery defines whether support iSCSI
  3830. Discovery CHAP authentication
  3831. type: boolean
  3832. chapAuthSession:
  3833. description: chapAuthSession defines whether support iSCSI
  3834. Session CHAP authentication
  3835. type: boolean
  3836. fsType:
  3837. description: 'fsType is the filesystem type of the volume
  3838. that you want to mount. Tip: Ensure that the filesystem
  3839. type is supported by the host operating system. Examples:
  3840. "ext4", "xfs", "ntfs".'
  3841. type: string
  3842. initiatorName:
  3843. description: initiatorName is the custom iSCSI Initiator
  3844. Name.
  3845. type: string
  3846. iqn:
  3847. description: iqn is the target iSCSI Qualified Name.
  3848. type: string
  3849. iscsiInterface:
  3850. description: iscsiInterface is the interface Name that uses
  3851. an iSCSI transport. Defaults to 'default' (tcp).
  3852. type: string
  3853. lun:
  3854. description: lun represents iSCSI Target Lun number.
  3855. format: int32
  3856. type: integer
  3857. portals:
  3858. description: portals is the iSCSI Target Portal List. The
  3859. portal is either an IP or ip_addr:port if the port is
  3860. other than default (typically TCP ports 860 and 3260).
  3861. items:
  3862. type: string
  3863. type: array
  3864. readOnly:
  3865. description: readOnly here will force the ReadOnly setting
  3866. in VolumeMounts. Defaults to false.
  3867. type: boolean
  3868. secretRef:
  3869. description: secretRef is the CHAP Secret for iSCSI target
  3870. and initiator authentication
  3871. properties:
  3872. name:
  3873. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  3874. TODO: Add other useful fields. apiVersion, kind, uid?'
  3875. type: string
  3876. type: object
  3877. x-kubernetes-map-type: atomic
  3878. targetPortal:
  3879. description: targetPortal is iSCSI Target Portal. The Portal
  3880. is either an IP or ip_addr:port if the port is other than
  3881. default (typically TCP ports 860 and 3260).
  3882. type: string
  3883. required:
  3884. - iqn
  3885. - lun
  3886. - targetPortal
  3887. type: object
  3888. name:
  3889. description: 'name of the volume. Must be a DNS_LABEL and unique
  3890. within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  3891. type: string
  3892. nfs:
  3893. description: 'nfs represents an NFS mount on the host that shares
  3894. a pod''s lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  3895. properties:
  3896. path:
  3897. description: 'path that is exported by the NFS server. More
  3898. info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  3899. type: string
  3900. readOnly:
  3901. description: 'readOnly here will force the NFS export to
  3902. be mounted with read-only permissions. Defaults to false.
  3903. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  3904. type: boolean
  3905. server:
  3906. description: 'server is the hostname or IP address of the
  3907. NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  3908. type: string
  3909. required:
  3910. - path
  3911. - server
  3912. type: object
  3913. persistentVolumeClaim:
  3914. description: 'persistentVolumeClaimVolumeSource represents a
  3915. reference to a PersistentVolumeClaim in the same namespace.
  3916. More info: https://kubernetes.'
  3917. properties:
  3918. claimName:
  3919. description: 'claimName is the name of a PersistentVolumeClaim
  3920. in the same namespace as the pod using this volume. More
  3921. info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
  3922. type: string
  3923. readOnly:
  3924. description: readOnly Will force the ReadOnly setting in
  3925. VolumeMounts. Default false.
  3926. type: boolean
  3927. required:
  3928. - claimName
  3929. type: object
  3930. photonPersistentDisk:
  3931. description: photonPersistentDisk represents a PhotonController
  3932. persistent disk attached and mounted on kubelets host machine
  3933. properties:
  3934. fsType:
  3935. description: fsType is the filesystem type to mount. Must
  3936. be a filesystem type supported by the host operating system.
  3937. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  3938. if unspecified.
  3939. type: string
  3940. pdID:
  3941. description: pdID is the ID that identifies Photon Controller
  3942. persistent disk
  3943. type: string
  3944. required:
  3945. - pdID
  3946. type: object
  3947. portworxVolume:
  3948. description: portworxVolume represents a portworx volume attached
  3949. and mounted on kubelets host machine
  3950. properties:
  3951. fsType:
  3952. description: fSType represents the filesystem type to mount
  3953. Must be a filesystem type supported by the host operating
  3954. system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4"
  3955. if unspecified.
  3956. type: string
  3957. readOnly:
  3958. description: readOnly defaults to false (read/write). ReadOnly
  3959. here will force the ReadOnly setting in VolumeMounts.
  3960. type: boolean
  3961. volumeID:
  3962. description: volumeID uniquely identifies a Portworx volume
  3963. type: string
  3964. required:
  3965. - volumeID
  3966. type: object
  3967. projected:
  3968. description: projected items for all in one resources secrets,
  3969. configmaps, and downward API
  3970. properties:
  3971. defaultMode:
  3972. description: defaultMode are the mode bits used to set permissions
  3973. on created files by default. Must be an octal value between
  3974. 0000 and 0777 or a decimal value between 0 and 511.
  3975. format: int32
  3976. type: integer
  3977. sources:
  3978. description: sources is the list of volume projections
  3979. items:
  3980. description: Projection that may be projected along with
  3981. other supported volume types
  3982. properties:
  3983. configMap:
  3984. description: configMap information about the configMap
  3985. data to project
  3986. properties:
  3987. items:
  3988. description: items if unspecified, each key-value
  3989. pair in the Data field of the referenced ConfigMap
  3990. will be projected into the volume as a file
  3991. whose name is the key and content is the value.
  3992. items:
  3993. description: Maps a string key to a path within
  3994. a volume.
  3995. properties:
  3996. key:
  3997. description: key is the key to project.
  3998. type: string
  3999. mode:
  4000. description: 'mode is Optional: mode bits
  4001. used to set permissions on this file.
  4002. Must be an octal value between 0000 and
  4003. 0777 or a decimal value between 0 and
  4004. 511.'
  4005. format: int32
  4006. type: integer
  4007. path:
  4008. description: path is the relative path of
  4009. the file to map the key to. May not be
  4010. an absolute path. May not contain the
  4011. path element '..'. May not start with
  4012. the string '..'.
  4013. type: string
  4014. required:
  4015. - key
  4016. - path
  4017. type: object
  4018. type: array
  4019. name:
  4020. description: 'Name of the referent. More info:
  4021. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4022. TODO: Add other useful fields. apiVersion, kind,
  4023. uid?'
  4024. type: string
  4025. optional:
  4026. description: optional specify whether the ConfigMap
  4027. or its keys must be defined
  4028. type: boolean
  4029. type: object
  4030. x-kubernetes-map-type: atomic
  4031. downwardAPI:
  4032. description: downwardAPI information about the downwardAPI
  4033. data to project
  4034. properties:
  4035. items:
  4036. description: Items is a list of DownwardAPIVolume
  4037. file
  4038. items:
  4039. description: DownwardAPIVolumeFile represents
  4040. information to create the file containing
  4041. the pod field
  4042. properties:
  4043. fieldRef:
  4044. description: 'Required: Selects a field
  4045. of the pod: only annotations, labels,
  4046. name and namespace are supported.'
  4047. properties:
  4048. apiVersion:
  4049. description: Version of the schema the
  4050. FieldPath is written in terms of,
  4051. defaults to "v1".
  4052. type: string
  4053. fieldPath:
  4054. description: Path of the field to select
  4055. in the specified API version.
  4056. type: string
  4057. required:
  4058. - fieldPath
  4059. type: object
  4060. x-kubernetes-map-type: atomic
  4061. mode:
  4062. description: 'Optional: mode bits used to
  4063. set permissions on this file, must be
  4064. an octal value between 0000 and 0777 or
  4065. a decimal value between 0 and 511.'
  4066. format: int32
  4067. type: integer
  4068. path:
  4069. description: 'Required: Path is the relative
  4070. path name of the file to be created. Must
  4071. not be absolute or contain the ''..''
  4072. path. Must be utf-8 encoded. The first
  4073. item of the relative path must not start
  4074. with ''..'''
  4075. type: string
  4076. resourceFieldRef:
  4077. description: 'Selects a resource of the
  4078. container: only resources limits and requests
  4079. (limits.cpu, limits.memory, requests.cpu
  4080. and requests.memory) are currently supported.'
  4081. properties:
  4082. containerName:
  4083. description: 'Container name: required
  4084. for volumes, optional for env vars'
  4085. type: string
  4086. divisor:
  4087. anyOf:
  4088. - type: integer
  4089. - type: string
  4090. description: Specifies the output format
  4091. of the exposed resources, defaults
  4092. to "1"
  4093. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  4094. x-kubernetes-int-or-string: true
  4095. resource:
  4096. description: 'Required: resource to
  4097. select'
  4098. type: string
  4099. required:
  4100. - resource
  4101. type: object
  4102. x-kubernetes-map-type: atomic
  4103. required:
  4104. - path
  4105. type: object
  4106. type: array
  4107. type: object
  4108. secret:
  4109. description: secret information about the secret data
  4110. to project
  4111. properties:
  4112. items:
  4113. description: items if unspecified, each key-value
  4114. pair in the Data field of the referenced Secret
  4115. will be projected into the volume as a file
  4116. whose name is the key and content is the value.
  4117. items:
  4118. description: Maps a string key to a path within
  4119. a volume.
  4120. properties:
  4121. key:
  4122. description: key is the key to project.
  4123. type: string
  4124. mode:
  4125. description: 'mode is Optional: mode bits
  4126. used to set permissions on this file.
  4127. Must be an octal value between 0000 and
  4128. 0777 or a decimal value between 0 and
  4129. 511.'
  4130. format: int32
  4131. type: integer
  4132. path:
  4133. description: path is the relative path of
  4134. the file to map the key to. May not be
  4135. an absolute path. May not contain the
  4136. path element '..'. May not start with
  4137. the string '..'.
  4138. type: string
  4139. required:
  4140. - key
  4141. - path
  4142. type: object
  4143. type: array
  4144. name:
  4145. description: 'Name of the referent. More info:
  4146. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4147. TODO: Add other useful fields. apiVersion, kind,
  4148. uid?'
  4149. type: string
  4150. optional:
  4151. description: optional field specify whether the
  4152. Secret or its key must be defined
  4153. type: boolean
  4154. type: object
  4155. x-kubernetes-map-type: atomic
  4156. serviceAccountToken:
  4157. description: serviceAccountToken is information about
  4158. the serviceAccountToken data to project
  4159. properties:
  4160. audience:
  4161. description: audience is the intended audience
  4162. of the token. A recipient of a token must identify
  4163. itself with an identifier specified in the audience
  4164. of the token, and otherwise should reject the
  4165. token.
  4166. type: string
  4167. expirationSeconds:
  4168. description: expirationSeconds is the requested
  4169. duration of validity of the service account
  4170. token. As the token approaches expiration, the
  4171. kubelet volume plugin will proactively rotate
  4172. the service account token.
  4173. format: int64
  4174. type: integer
  4175. path:
  4176. description: path is the path relative to the
  4177. mount point of the file to project the token
  4178. into.
  4179. type: string
  4180. required:
  4181. - path
  4182. type: object
  4183. type: object
  4184. type: array
  4185. type: object
  4186. quobyte:
  4187. description: quobyte represents a Quobyte mount on the host
  4188. that shares a pod's lifetime
  4189. properties:
  4190. group:
  4191. description: group to map volume access to Default is no
  4192. group
  4193. type: string
  4194. readOnly:
  4195. description: readOnly here will force the Quobyte volume
  4196. to be mounted with read-only permissions. Defaults to
  4197. false.
  4198. type: boolean
  4199. registry:
  4200. description: registry represents a single or multiple Quobyte
  4201. Registry services specified as a string as host:port pair
  4202. (multiple entries are separated with commas) which acts
  4203. as the central registry for volumes
  4204. type: string
  4205. tenant:
  4206. description: tenant owning the given Quobyte volume in the
  4207. Backend Used with dynamically provisioned Quobyte volumes,
  4208. value is set by the plugin
  4209. type: string
  4210. user:
  4211. description: user to map volume access to Defaults to serivceaccount
  4212. user
  4213. type: string
  4214. volume:
  4215. description: volume is a string that references an already
  4216. created Quobyte volume by name.
  4217. type: string
  4218. required:
  4219. - registry
  4220. - volume
  4221. type: object
  4222. rbd:
  4223. description: 'rbd represents a Rados Block Device mount on the
  4224. host that shares a pod''s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md'
  4225. properties:
  4226. fsType:
  4227. description: 'fsType is the filesystem type of the volume
  4228. that you want to mount. Tip: Ensure that the filesystem
  4229. type is supported by the host operating system. Examples:
  4230. "ext4", "xfs", "ntfs".'
  4231. type: string
  4232. image:
  4233. description: 'image is the rados image name. More info:
  4234. https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  4235. type: string
  4236. keyring:
  4237. description: 'keyring is the path to key ring for RBDUser.
  4238. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  4239. type: string
  4240. monitors:
  4241. description: 'monitors is a collection of Ceph monitors.
  4242. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  4243. items:
  4244. type: string
  4245. type: array
  4246. pool:
  4247. description: 'pool is the rados pool name. Default is rbd.
  4248. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  4249. type: string
  4250. readOnly:
  4251. description: 'readOnly here will force the ReadOnly setting
  4252. in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  4253. type: boolean
  4254. secretRef:
  4255. description: 'secretRef is name of the authentication secret
  4256. for RBDUser. If provided overrides keyring. Default is
  4257. nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  4258. properties:
  4259. name:
  4260. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4261. TODO: Add other useful fields. apiVersion, kind, uid?'
  4262. type: string
  4263. type: object
  4264. x-kubernetes-map-type: atomic
  4265. user:
  4266. description: 'user is the rados user name. Default is admin.
  4267. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  4268. type: string
  4269. required:
  4270. - image
  4271. - monitors
  4272. type: object
  4273. scaleIO:
  4274. description: scaleIO represents a ScaleIO persistent volume
  4275. attached and mounted on Kubernetes nodes.
  4276. properties:
  4277. fsType:
  4278. description: fsType is the filesystem type to mount. Must
  4279. be a filesystem type supported by the host operating system.
  4280. Ex. "ext4", "xfs", "ntfs". Default is "xfs".
  4281. type: string
  4282. gateway:
  4283. description: gateway is the host address of the ScaleIO
  4284. API Gateway.
  4285. type: string
  4286. protectionDomain:
  4287. description: protectionDomain is the name of the ScaleIO
  4288. Protection Domain for the configured storage.
  4289. type: string
  4290. readOnly:
  4291. description: readOnly Defaults to false (read/write). ReadOnly
  4292. here will force the ReadOnly setting in VolumeMounts.
  4293. type: boolean
  4294. secretRef:
  4295. description: secretRef references to the secret for ScaleIO
  4296. user and other sensitive information. If this is not provided,
  4297. Login operation will fail.
  4298. properties:
  4299. name:
  4300. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4301. TODO: Add other useful fields. apiVersion, kind, uid?'
  4302. type: string
  4303. type: object
  4304. x-kubernetes-map-type: atomic
  4305. sslEnabled:
  4306. description: sslEnabled Flag enable/disable SSL communication
  4307. with Gateway, default false
  4308. type: boolean
  4309. storageMode:
  4310. description: storageMode indicates whether the storage for
  4311. a volume should be ThickProvisioned or ThinProvisioned.
  4312. Default is ThinProvisioned.
  4313. type: string
  4314. storagePool:
  4315. description: storagePool is the ScaleIO Storage Pool associated
  4316. with the protection domain.
  4317. type: string
  4318. system:
  4319. description: system is the name of the storage system as
  4320. configured in ScaleIO.
  4321. type: string
  4322. volumeName:
  4323. description: volumeName is the name of a volume already
  4324. created in the ScaleIO system that is associated with
  4325. this volume source.
  4326. type: string
  4327. required:
  4328. - gateway
  4329. - secretRef
  4330. - system
  4331. type: object
  4332. secret:
  4333. description: 'secret represents a secret that should populate
  4334. this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
  4335. properties:
  4336. defaultMode:
  4337. description: 'defaultMode is Optional: mode bits used to
  4338. set permissions on created files by default. Must be an
  4339. octal value between 0000 and 0777 or a decimal value between
  4340. 0 and 511.'
  4341. format: int32
  4342. type: integer
  4343. items:
  4344. description: items If unspecified, each key-value pair in
  4345. the Data field of the referenced Secret will be projected
  4346. into the volume as a file whose name is the key and content
  4347. is the value.
  4348. items:
  4349. description: Maps a string key to a path within a volume.
  4350. properties:
  4351. key:
  4352. description: key is the key to project.
  4353. type: string
  4354. mode:
  4355. description: 'mode is Optional: mode bits used to
  4356. set permissions on this file. Must be an octal value
  4357. between 0000 and 0777 or a decimal value between
  4358. 0 and 511.'
  4359. format: int32
  4360. type: integer
  4361. path:
  4362. description: path is the relative path of the file
  4363. to map the key to. May not be an absolute path.
  4364. May not contain the path element '..'. May not start
  4365. with the string '..'.
  4366. type: string
  4367. required:
  4368. - key
  4369. - path
  4370. type: object
  4371. type: array
  4372. optional:
  4373. description: optional field specify whether the Secret or
  4374. its keys must be defined
  4375. type: boolean
  4376. secretName:
  4377. description: 'secretName is the name of the secret in the
  4378. pod''s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
  4379. type: string
  4380. type: object
  4381. storageos:
  4382. description: storageOS represents a StorageOS volume attached
  4383. and mounted on Kubernetes nodes.
  4384. properties:
  4385. fsType:
  4386. description: fsType is the filesystem type to mount. Must
  4387. be a filesystem type supported by the host operating system.
  4388. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  4389. if unspecified.
  4390. type: string
  4391. readOnly:
  4392. description: readOnly defaults to false (read/write). ReadOnly
  4393. here will force the ReadOnly setting in VolumeMounts.
  4394. type: boolean
  4395. secretRef:
  4396. description: secretRef specifies the secret to use for obtaining
  4397. the StorageOS API credentials. If not specified, default
  4398. values will be attempted.
  4399. properties:
  4400. name:
  4401. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4402. TODO: Add other useful fields. apiVersion, kind, uid?'
  4403. type: string
  4404. type: object
  4405. x-kubernetes-map-type: atomic
  4406. volumeName:
  4407. description: volumeName is the human-readable name of the
  4408. StorageOS volume. Volume names are only unique within
  4409. a namespace.
  4410. type: string
  4411. volumeNamespace:
  4412. description: volumeNamespace specifies the scope of the
  4413. volume within StorageOS. If no namespace is specified
  4414. then the Pod's namespace will be used.
  4415. type: string
  4416. type: object
  4417. vsphereVolume:
  4418. description: vsphereVolume represents a vSphere volume attached
  4419. and mounted on kubelets host machine
  4420. properties:
  4421. fsType:
  4422. description: fsType is filesystem type to mount. Must be
  4423. a filesystem type supported by the host operating system.
  4424. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  4425. if unspecified.
  4426. type: string
  4427. storagePolicyID:
  4428. description: storagePolicyID is the storage Policy Based
  4429. Management (SPBM) profile ID associated with the StoragePolicyName.
  4430. type: string
  4431. storagePolicyName:
  4432. description: storagePolicyName is the storage Policy Based
  4433. Management (SPBM) profile name.
  4434. type: string
  4435. volumePath:
  4436. description: volumePath is the path that identifies vSphere
  4437. volume vmdk
  4438. type: string
  4439. required:
  4440. - volumePath
  4441. type: object
  4442. required:
  4443. - name
  4444. type: object
  4445. type: array
  4446. x-kubernetes-list-type: atomic
  4447. required:
  4448. - capabilities
  4449. - endpoint
  4450. type: object
  4451. status:
  4452. description: OpAMPBridgeStatus defines the observed state of OpAMPBridge.
  4453. properties:
  4454. version:
  4455. description: Version of the managed OpAMP Bridge (operand)
  4456. type: string
  4457. type: object
  4458. type: object
  4459. served: true
  4460. storage: true
  4461. subresources:
  4462. status: {}
  4463. ---
  4464. apiVersion: apiextensions.k8s.io/v1
  4465. kind: CustomResourceDefinition
  4466. metadata:
  4467. annotations:
  4468. cert-manager.io/inject-ca-from: opentelemetry-operator-system/opentelemetry-operator-serving-cert
  4469. controller-gen.kubebuilder.io/version: v0.12.0
  4470. labels:
  4471. app.kubernetes.io/name: opentelemetry-operator
  4472. name: opentelemetrycollectors.opentelemetry.io
  4473. spec:
  4474. group: opentelemetry.io
  4475. names:
  4476. kind: OpenTelemetryCollector
  4477. listKind: OpenTelemetryCollectorList
  4478. plural: opentelemetrycollectors
  4479. shortNames:
  4480. - otelcol
  4481. - otelcols
  4482. singular: opentelemetrycollector
  4483. scope: Namespaced
  4484. versions:
  4485. - additionalPrinterColumns:
  4486. - description: Deployment Mode
  4487. jsonPath: .spec.mode
  4488. name: Mode
  4489. type: string
  4490. - description: OpenTelemetry Version
  4491. jsonPath: .status.version
  4492. name: Version
  4493. type: string
  4494. - jsonPath: .status.scale.statusReplicas
  4495. name: Ready
  4496. type: string
  4497. - jsonPath: .metadata.creationTimestamp
  4498. name: Age
  4499. type: date
  4500. - jsonPath: .status.image
  4501. name: Image
  4502. type: string
  4503. - description: Management State
  4504. jsonPath: .spec.managementState
  4505. name: Management
  4506. type: string
  4507. name: v1alpha1
  4508. schema:
  4509. openAPIV3Schema:
  4510. description: OpenTelemetryCollector is the Schema for the opentelemetrycollectors
  4511. API.
  4512. properties:
  4513. apiVersion:
  4514. description: APIVersion defines the versioned schema of this representation
  4515. of an object. Servers should convert recognized schemas to the latest
  4516. internal value, and may reject unrecognized values.
  4517. type: string
  4518. kind:
  4519. description: Kind is a string value representing the REST resource this
  4520. object represents. Servers may infer this from the endpoint the client
  4521. submits requests to. Cannot be updated. In CamelCase.
  4522. type: string
  4523. metadata:
  4524. type: object
  4525. spec:
  4526. description: OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector.
  4527. properties:
  4528. additionalContainers:
  4529. description: AdditionalContainers allows injecting additional containers
  4530. into the Collector's pod definition.
  4531. items:
  4532. description: A single application container that you want to run
  4533. within a pod.
  4534. properties:
  4535. args:
  4536. description: Arguments to the entrypoint. The container image's
  4537. CMD is used if this is not provided. Variable references $(VAR_NAME)
  4538. are expanded using the container's environment.
  4539. items:
  4540. type: string
  4541. type: array
  4542. command:
  4543. description: Entrypoint array. Not executed within a shell.
  4544. The container image's ENTRYPOINT is used if this is not provided.
  4545. Variable references $(VAR_NAME) are expanded using the container's
  4546. environment.
  4547. items:
  4548. type: string
  4549. type: array
  4550. env:
  4551. description: List of environment variables to set in the container.
  4552. Cannot be updated.
  4553. items:
  4554. description: EnvVar represents an environment variable present
  4555. in a Container.
  4556. properties:
  4557. name:
  4558. description: Name of the environment variable. Must be
  4559. a C_IDENTIFIER.
  4560. type: string
  4561. value:
  4562. description: Variable references $(VAR_NAME) are expanded
  4563. using the previously defined environment variables in
  4564. the container and any service environment variables.
  4565. type: string
  4566. valueFrom:
  4567. description: Source for the environment variable's value.
  4568. Cannot be used if value is not empty.
  4569. properties:
  4570. configMapKeyRef:
  4571. description: Selects a key of a ConfigMap.
  4572. properties:
  4573. key:
  4574. description: The key to select.
  4575. type: string
  4576. name:
  4577. description: 'Name of the referent. More info:
  4578. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4579. TODO: Add other useful fields. apiVersion, kind,
  4580. uid?'
  4581. type: string
  4582. optional:
  4583. description: Specify whether the ConfigMap or
  4584. its key must be defined
  4585. type: boolean
  4586. required:
  4587. - key
  4588. type: object
  4589. x-kubernetes-map-type: atomic
  4590. fieldRef:
  4591. description: 'Selects a field of the pod: supports
  4592. metadata.name, metadata.namespace, `metadata.labels[''<KEY>'']`,
  4593. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  4594. spec.serviceAccountName, status.hostIP, status.'
  4595. properties:
  4596. apiVersion:
  4597. description: Version of the schema the FieldPath
  4598. is written in terms of, defaults to "v1".
  4599. type: string
  4600. fieldPath:
  4601. description: Path of the field to select in the
  4602. specified API version.
  4603. type: string
  4604. required:
  4605. - fieldPath
  4606. type: object
  4607. x-kubernetes-map-type: atomic
  4608. resourceFieldRef:
  4609. description: 'Selects a resource of the container:
  4610. only resources limits and requests (limits.cpu,
  4611. limits.memory, limits.ephemeral-storage, requests.cpu,
  4612. requests.memory and requests.'
  4613. properties:
  4614. containerName:
  4615. description: 'Container name: required for volumes,
  4616. optional for env vars'
  4617. type: string
  4618. divisor:
  4619. anyOf:
  4620. - type: integer
  4621. - type: string
  4622. description: Specifies the output format of the
  4623. exposed resources, defaults to "1"
  4624. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  4625. x-kubernetes-int-or-string: true
  4626. resource:
  4627. description: 'Required: resource to select'
  4628. type: string
  4629. required:
  4630. - resource
  4631. type: object
  4632. x-kubernetes-map-type: atomic
  4633. secretKeyRef:
  4634. description: Selects a key of a secret in the pod's
  4635. namespace
  4636. properties:
  4637. key:
  4638. description: The key of the secret to select from. Must
  4639. be a valid secret key.
  4640. type: string
  4641. name:
  4642. description: 'Name of the referent. More info:
  4643. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4644. TODO: Add other useful fields. apiVersion, kind,
  4645. uid?'
  4646. type: string
  4647. optional:
  4648. description: Specify whether the Secret or its
  4649. key must be defined
  4650. type: boolean
  4651. required:
  4652. - key
  4653. type: object
  4654. x-kubernetes-map-type: atomic
  4655. type: object
  4656. required:
  4657. - name
  4658. type: object
  4659. type: array
  4660. envFrom:
  4661. description: List of sources to populate environment variables
  4662. in the container. The keys defined within a source must be
  4663. a C_IDENTIFIER.
  4664. items:
  4665. description: EnvFromSource represents the source of a set
  4666. of ConfigMaps
  4667. properties:
  4668. configMapRef:
  4669. description: The ConfigMap to select from
  4670. properties:
  4671. name:
  4672. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4673. TODO: Add other useful fields. apiVersion, kind,
  4674. uid?'
  4675. type: string
  4676. optional:
  4677. description: Specify whether the ConfigMap must be
  4678. defined
  4679. type: boolean
  4680. type: object
  4681. x-kubernetes-map-type: atomic
  4682. prefix:
  4683. description: An optional identifier to prepend to each
  4684. key in the ConfigMap. Must be a C_IDENTIFIER.
  4685. type: string
  4686. secretRef:
  4687. description: The Secret to select from
  4688. properties:
  4689. name:
  4690. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  4691. TODO: Add other useful fields. apiVersion, kind,
  4692. uid?'
  4693. type: string
  4694. optional:
  4695. description: Specify whether the Secret must be defined
  4696. type: boolean
  4697. type: object
  4698. x-kubernetes-map-type: atomic
  4699. type: object
  4700. type: array
  4701. image:
  4702. description: 'Container image name. More info: https://kubernetes.'
  4703. type: string
  4704. imagePullPolicy:
  4705. description: 'Image pull policy. One of Always, Never, IfNotPresent.
  4706. Defaults to Always if :latest tag is specified, or IfNotPresent
  4707. otherwise. Cannot be updated. More info: https://kubernetes.'
  4708. type: string
  4709. lifecycle:
  4710. description: Actions that the management system should take
  4711. in response to container lifecycle events. Cannot be updated.
  4712. properties:
  4713. postStart:
  4714. description: PostStart is called immediately after a container
  4715. is created. If the handler fails, the container is terminated
  4716. and restarted according to its restart policy.
  4717. properties:
  4718. exec:
  4719. description: Exec specifies the action to take.
  4720. properties:
  4721. command:
  4722. description: Command is the command line to execute
  4723. inside the container, the working directory for
  4724. the command is root ('/') in the container's
  4725. filesystem.
  4726. items:
  4727. type: string
  4728. type: array
  4729. type: object
  4730. httpGet:
  4731. description: HTTPGet specifies the http request to perform.
  4732. properties:
  4733. host:
  4734. description: Host name to connect to, defaults to
  4735. the pod IP. You probably want to set "Host" in
  4736. httpHeaders instead.
  4737. type: string
  4738. httpHeaders:
  4739. description: Custom headers to set in the request.
  4740. HTTP allows repeated headers.
  4741. items:
  4742. description: HTTPHeader describes a custom header
  4743. to be used in HTTP probes
  4744. properties:
  4745. name:
  4746. description: The header field name. This will
  4747. be canonicalized upon output, so case-variant
  4748. names will be understood as the same header.
  4749. type: string
  4750. value:
  4751. description: The header field value
  4752. type: string
  4753. required:
  4754. - name
  4755. - value
  4756. type: object
  4757. type: array
  4758. path:
  4759. description: Path to access on the HTTP server.
  4760. type: string
  4761. port:
  4762. anyOf:
  4763. - type: integer
  4764. - type: string
  4765. description: Name or number of the port to access
  4766. on the container. Number must be in the range
  4767. 1 to 65535. Name must be an IANA_SVC_NAME.
  4768. x-kubernetes-int-or-string: true
  4769. scheme:
  4770. description: Scheme to use for connecting to the
  4771. host. Defaults to HTTP.
  4772. type: string
  4773. required:
  4774. - port
  4775. type: object
  4776. tcpSocket:
  4777. description: Deprecated. TCPSocket is NOT supported
  4778. as a LifecycleHandler and kept for the backward compatibility.
  4779. properties:
  4780. host:
  4781. description: 'Optional: Host name to connect to,
  4782. defaults to the pod IP.'
  4783. type: string
  4784. port:
  4785. anyOf:
  4786. - type: integer
  4787. - type: string
  4788. description: Number or name of the port to access
  4789. on the container. Number must be in the range
  4790. 1 to 65535. Name must be an IANA_SVC_NAME.
  4791. x-kubernetes-int-or-string: true
  4792. required:
  4793. - port
  4794. type: object
  4795. type: object
  4796. preStop:
  4797. description: PreStop is called immediately before a container
  4798. is terminated due to an API request or management event
  4799. such as liveness/startup probe failure, preemption, resource
  4800. contention, etc.
  4801. properties:
  4802. exec:
  4803. description: Exec specifies the action to take.
  4804. properties:
  4805. command:
  4806. description: Command is the command line to execute
  4807. inside the container, the working directory for
  4808. the command is root ('/') in the container's
  4809. filesystem.
  4810. items:
  4811. type: string
  4812. type: array
  4813. type: object
  4814. httpGet:
  4815. description: HTTPGet specifies the http request to perform.
  4816. properties:
  4817. host:
  4818. description: Host name to connect to, defaults to
  4819. the pod IP. You probably want to set "Host" in
  4820. httpHeaders instead.
  4821. type: string
  4822. httpHeaders:
  4823. description: Custom headers to set in the request.
  4824. HTTP allows repeated headers.
  4825. items:
  4826. description: HTTPHeader describes a custom header
  4827. to be used in HTTP probes
  4828. properties:
  4829. name:
  4830. description: The header field name. This will
  4831. be canonicalized upon output, so case-variant
  4832. names will be understood as the same header.
  4833. type: string
  4834. value:
  4835. description: The header field value
  4836. type: string
  4837. required:
  4838. - name
  4839. - value
  4840. type: object
  4841. type: array
  4842. path:
  4843. description: Path to access on the HTTP server.
  4844. type: string
  4845. port:
  4846. anyOf:
  4847. - type: integer
  4848. - type: string
  4849. description: Name or number of the port to access
  4850. on the container. Number must be in the range
  4851. 1 to 65535. Name must be an IANA_SVC_NAME.
  4852. x-kubernetes-int-or-string: true
  4853. scheme:
  4854. description: Scheme to use for connecting to the
  4855. host. Defaults to HTTP.
  4856. type: string
  4857. required:
  4858. - port
  4859. type: object
  4860. tcpSocket:
  4861. description: Deprecated. TCPSocket is NOT supported
  4862. as a LifecycleHandler and kept for the backward compatibility.
  4863. properties:
  4864. host:
  4865. description: 'Optional: Host name to connect to,
  4866. defaults to the pod IP.'
  4867. type: string
  4868. port:
  4869. anyOf:
  4870. - type: integer
  4871. - type: string
  4872. description: Number or name of the port to access
  4873. on the container. Number must be in the range
  4874. 1 to 65535. Name must be an IANA_SVC_NAME.
  4875. x-kubernetes-int-or-string: true
  4876. required:
  4877. - port
  4878. type: object
  4879. type: object
  4880. type: object
  4881. livenessProbe:
  4882. description: 'Periodic probe of container liveness. Container
  4883. will be restarted if the probe fails. Cannot be updated. More
  4884. info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  4885. properties:
  4886. exec:
  4887. description: Exec specifies the action to take.
  4888. properties:
  4889. command:
  4890. description: Command is the command line to execute
  4891. inside the container, the working directory for the
  4892. command is root ('/') in the container's filesystem.
  4893. items:
  4894. type: string
  4895. type: array
  4896. type: object
  4897. failureThreshold:
  4898. description: Minimum consecutive failures for the probe
  4899. to be considered failed after having succeeded. Defaults
  4900. to 3. Minimum value is 1.
  4901. format: int32
  4902. type: integer
  4903. grpc:
  4904. description: GRPC specifies an action involving a GRPC port.
  4905. properties:
  4906. port:
  4907. description: Port number of the gRPC service. Number
  4908. must be in the range 1 to 65535.
  4909. format: int32
  4910. type: integer
  4911. service:
  4912. description: Service is the name of the service to place
  4913. in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
  4914. type: string
  4915. required:
  4916. - port
  4917. type: object
  4918. httpGet:
  4919. description: HTTPGet specifies the http request to perform.
  4920. properties:
  4921. host:
  4922. description: Host name to connect to, defaults to the
  4923. pod IP. You probably want to set "Host" in httpHeaders
  4924. instead.
  4925. type: string
  4926. httpHeaders:
  4927. description: Custom headers to set in the request. HTTP
  4928. allows repeated headers.
  4929. items:
  4930. description: HTTPHeader describes a custom header
  4931. to be used in HTTP probes
  4932. properties:
  4933. name:
  4934. description: The header field name. This will
  4935. be canonicalized upon output, so case-variant
  4936. names will be understood as the same header.
  4937. type: string
  4938. value:
  4939. description: The header field value
  4940. type: string
  4941. required:
  4942. - name
  4943. - value
  4944. type: object
  4945. type: array
  4946. path:
  4947. description: Path to access on the HTTP server.
  4948. type: string
  4949. port:
  4950. anyOf:
  4951. - type: integer
  4952. - type: string
  4953. description: Name or number of the port to access on
  4954. the container. Number must be in the range 1 to 65535.
  4955. Name must be an IANA_SVC_NAME.
  4956. x-kubernetes-int-or-string: true
  4957. scheme:
  4958. description: Scheme to use for connecting to the host.
  4959. Defaults to HTTP.
  4960. type: string
  4961. required:
  4962. - port
  4963. type: object
  4964. initialDelaySeconds:
  4965. description: 'Number of seconds after the container has
  4966. started before liveness probes are initiated. More info:
  4967. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  4968. format: int32
  4969. type: integer
  4970. periodSeconds:
  4971. description: How often (in seconds) to perform the probe.
  4972. Default to 10 seconds. Minimum value is 1.
  4973. format: int32
  4974. type: integer
  4975. successThreshold:
  4976. description: Minimum consecutive successes for the probe
  4977. to be considered successful after having failed. Defaults
  4978. to 1. Must be 1 for liveness and startup. Minimum value
  4979. is 1.
  4980. format: int32
  4981. type: integer
  4982. tcpSocket:
  4983. description: TCPSocket specifies an action involving a TCP
  4984. port.
  4985. properties:
  4986. host:
  4987. description: 'Optional: Host name to connect to, defaults
  4988. to the pod IP.'
  4989. type: string
  4990. port:
  4991. anyOf:
  4992. - type: integer
  4993. - type: string
  4994. description: Number or name of the port to access on
  4995. the container. Number must be in the range 1 to 65535.
  4996. Name must be an IANA_SVC_NAME.
  4997. x-kubernetes-int-or-string: true
  4998. required:
  4999. - port
  5000. type: object
  5001. terminationGracePeriodSeconds:
  5002. description: Optional duration in seconds the pod needs
  5003. to terminate gracefully upon probe failure.
  5004. format: int64
  5005. type: integer
  5006. timeoutSeconds:
  5007. description: 'Number of seconds after which the probe times
  5008. out. Defaults to 1 second. Minimum value is 1. More info:
  5009. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  5010. format: int32
  5011. type: integer
  5012. type: object
  5013. name:
  5014. description: Name of the container specified as a DNS_LABEL.
  5015. Each container in a pod must have a unique name (DNS_LABEL).
  5016. Cannot be updated.
  5017. type: string
  5018. ports:
  5019. description: List of ports to expose from the container. Not
  5020. specifying a port here DOES NOT prevent that port from being
  5021. exposed. Any port which is listening on the default "0.0.0.
  5022. items:
  5023. description: ContainerPort represents a network port in a
  5024. single container.
  5025. properties:
  5026. containerPort:
  5027. description: Number of port to expose on the pod's IP
  5028. address. This must be a valid port number, 0 < x < 65536.
  5029. format: int32
  5030. type: integer
  5031. hostIP:
  5032. description: What host IP to bind the external port to.
  5033. type: string
  5034. hostPort:
  5035. description: Number of port to expose on the host. If
  5036. specified, this must be a valid port number, 0 < x <
  5037. 65536. If HostNetwork is specified, this must match
  5038. ContainerPort. Most containers do not need this.
  5039. format: int32
  5040. type: integer
  5041. name:
  5042. description: If specified, this must be an IANA_SVC_NAME
  5043. and unique within the pod. Each named port in a pod
  5044. must have a unique name. Name for the port that can
  5045. be referred to by services.
  5046. type: string
  5047. protocol:
  5048. default: TCP
  5049. description: Protocol for port. Must be UDP, TCP, or SCTP.
  5050. Defaults to "TCP".
  5051. type: string
  5052. required:
  5053. - containerPort
  5054. type: object
  5055. type: array
  5056. x-kubernetes-list-map-keys:
  5057. - containerPort
  5058. - protocol
  5059. x-kubernetes-list-type: map
  5060. readinessProbe:
  5061. description: 'Periodic probe of container service readiness.
  5062. Container will be removed from service endpoints if the probe
  5063. fails. Cannot be updated. More info: https://kubernetes.'
  5064. properties:
  5065. exec:
  5066. description: Exec specifies the action to take.
  5067. properties:
  5068. command:
  5069. description: Command is the command line to execute
  5070. inside the container, the working directory for the
  5071. command is root ('/') in the container's filesystem.
  5072. items:
  5073. type: string
  5074. type: array
  5075. type: object
  5076. failureThreshold:
  5077. description: Minimum consecutive failures for the probe
  5078. to be considered failed after having succeeded. Defaults
  5079. to 3. Minimum value is 1.
  5080. format: int32
  5081. type: integer
  5082. grpc:
  5083. description: GRPC specifies an action involving a GRPC port.
  5084. properties:
  5085. port:
  5086. description: Port number of the gRPC service. Number
  5087. must be in the range 1 to 65535.
  5088. format: int32
  5089. type: integer
  5090. service:
  5091. description: Service is the name of the service to place
  5092. in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
  5093. type: string
  5094. required:
  5095. - port
  5096. type: object
  5097. httpGet:
  5098. description: HTTPGet specifies the http request to perform.
  5099. properties:
  5100. host:
  5101. description: Host name to connect to, defaults to the
  5102. pod IP. You probably want to set "Host" in httpHeaders
  5103. instead.
  5104. type: string
  5105. httpHeaders:
  5106. description: Custom headers to set in the request. HTTP
  5107. allows repeated headers.
  5108. items:
  5109. description: HTTPHeader describes a custom header
  5110. to be used in HTTP probes
  5111. properties:
  5112. name:
  5113. description: The header field name. This will
  5114. be canonicalized upon output, so case-variant
  5115. names will be understood as the same header.
  5116. type: string
  5117. value:
  5118. description: The header field value
  5119. type: string
  5120. required:
  5121. - name
  5122. - value
  5123. type: object
  5124. type: array
  5125. path:
  5126. description: Path to access on the HTTP server.
  5127. type: string
  5128. port:
  5129. anyOf:
  5130. - type: integer
  5131. - type: string
  5132. description: Name or number of the port to access on
  5133. the container. Number must be in the range 1 to 65535.
  5134. Name must be an IANA_SVC_NAME.
  5135. x-kubernetes-int-or-string: true
  5136. scheme:
  5137. description: Scheme to use for connecting to the host.
  5138. Defaults to HTTP.
  5139. type: string
  5140. required:
  5141. - port
  5142. type: object
  5143. initialDelaySeconds:
  5144. description: 'Number of seconds after the container has
  5145. started before liveness probes are initiated. More info:
  5146. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  5147. format: int32
  5148. type: integer
  5149. periodSeconds:
  5150. description: How often (in seconds) to perform the probe.
  5151. Default to 10 seconds. Minimum value is 1.
  5152. format: int32
  5153. type: integer
  5154. successThreshold:
  5155. description: Minimum consecutive successes for the probe
  5156. to be considered successful after having failed. Defaults
  5157. to 1. Must be 1 for liveness and startup. Minimum value
  5158. is 1.
  5159. format: int32
  5160. type: integer
  5161. tcpSocket:
  5162. description: TCPSocket specifies an action involving a TCP
  5163. port.
  5164. properties:
  5165. host:
  5166. description: 'Optional: Host name to connect to, defaults
  5167. to the pod IP.'
  5168. type: string
  5169. port:
  5170. anyOf:
  5171. - type: integer
  5172. - type: string
  5173. description: Number or name of the port to access on
  5174. the container. Number must be in the range 1 to 65535.
  5175. Name must be an IANA_SVC_NAME.
  5176. x-kubernetes-int-or-string: true
  5177. required:
  5178. - port
  5179. type: object
  5180. terminationGracePeriodSeconds:
  5181. description: Optional duration in seconds the pod needs
  5182. to terminate gracefully upon probe failure.
  5183. format: int64
  5184. type: integer
  5185. timeoutSeconds:
  5186. description: 'Number of seconds after which the probe times
  5187. out. Defaults to 1 second. Minimum value is 1. More info:
  5188. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  5189. format: int32
  5190. type: integer
  5191. type: object
  5192. resizePolicy:
  5193. description: Resources resize policy for the container.
  5194. items:
  5195. description: ContainerResizePolicy represents resource resize
  5196. policy for the container.
  5197. properties:
  5198. resourceName:
  5199. description: 'Name of the resource to which this resource
  5200. resize policy applies. Supported values: cpu, memory.'
  5201. type: string
  5202. restartPolicy:
  5203. description: Restart policy to apply when specified resource
  5204. is resized. If not specified, it defaults to NotRequired.
  5205. type: string
  5206. required:
  5207. - resourceName
  5208. - restartPolicy
  5209. type: object
  5210. type: array
  5211. x-kubernetes-list-type: atomic
  5212. resources:
  5213. description: 'Compute Resources required by this container.
  5214. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  5215. properties:
  5216. claims:
  5217. description: "Claims lists the names of resources, defined
  5218. in spec.resourceClaims, that are used by this container.
  5219. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  5220. feature gate."
  5221. items:
  5222. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  5223. properties:
  5224. name:
  5225. description: Name must match the name of one entry
  5226. in pod.spec.resourceClaims of the Pod where this
  5227. field is used. It makes that resource available
  5228. inside a container.
  5229. type: string
  5230. required:
  5231. - name
  5232. type: object
  5233. type: array
  5234. x-kubernetes-list-map-keys:
  5235. - name
  5236. x-kubernetes-list-type: map
  5237. limits:
  5238. additionalProperties:
  5239. anyOf:
  5240. - type: integer
  5241. - type: string
  5242. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  5243. x-kubernetes-int-or-string: true
  5244. description: 'Limits describes the maximum amount of compute
  5245. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  5246. type: object
  5247. requests:
  5248. additionalProperties:
  5249. anyOf:
  5250. - type: integer
  5251. - type: string
  5252. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  5253. x-kubernetes-int-or-string: true
  5254. description: Requests describes the minimum amount of compute
  5255. resources required.
  5256. type: object
  5257. type: object
  5258. restartPolicy:
  5259. description: RestartPolicy defines the restart behavior of individual
  5260. containers in a pod. This field may only be set for init containers,
  5261. and the only allowed value is "Always".
  5262. type: string
  5263. securityContext:
  5264. description: SecurityContext defines the security options the
  5265. container should be run with. If set, the fields of SecurityContext
  5266. override the equivalent fields of PodSecurityContext.
  5267. properties:
  5268. allowPrivilegeEscalation:
  5269. description: AllowPrivilegeEscalation controls whether a
  5270. process can gain more privileges than its parent process.
  5271. This bool directly controls if the no_new_privs flag will
  5272. be set on the container process.
  5273. type: boolean
  5274. capabilities:
  5275. description: The capabilities to add/drop when running containers.
  5276. Defaults to the default set of capabilities granted by
  5277. the container runtime. Note that this field cannot be
  5278. set when spec.os.name is windows.
  5279. properties:
  5280. add:
  5281. description: Added capabilities
  5282. items:
  5283. description: Capability represent POSIX capabilities
  5284. type
  5285. type: string
  5286. type: array
  5287. drop:
  5288. description: Removed capabilities
  5289. items:
  5290. description: Capability represent POSIX capabilities
  5291. type
  5292. type: string
  5293. type: array
  5294. type: object
  5295. privileged:
  5296. description: Run container in privileged mode. Processes
  5297. in privileged containers are essentially equivalent to
  5298. root on the host. Defaults to false. Note that this field
  5299. cannot be set when spec.os.name is windows.
  5300. type: boolean
  5301. procMount:
  5302. description: procMount denotes the type of proc mount to
  5303. use for the containers. The default is DefaultProcMount
  5304. which uses the container runtime defaults for readonly
  5305. paths and masked paths.
  5306. type: string
  5307. readOnlyRootFilesystem:
  5308. description: Whether this container has a read-only root
  5309. filesystem. Default is false. Note that this field cannot
  5310. be set when spec.os.name is windows.
  5311. type: boolean
  5312. runAsGroup:
  5313. description: The GID to run the entrypoint of the container
  5314. process. Uses runtime default if unset. May also be set
  5315. in PodSecurityContext.
  5316. format: int64
  5317. type: integer
  5318. runAsNonRoot:
  5319. description: Indicates that the container must run as a
  5320. non-root user.
  5321. type: boolean
  5322. runAsUser:
  5323. description: The UID to run the entrypoint of the container
  5324. process. Defaults to user specified in image metadata
  5325. if unspecified. May also be set in PodSecurityContext.
  5326. format: int64
  5327. type: integer
  5328. seLinuxOptions:
  5329. description: The SELinux context to be applied to the container.
  5330. If unspecified, the container runtime will allocate a
  5331. random SELinux context for each container. May also be
  5332. set in PodSecurityContext.
  5333. properties:
  5334. level:
  5335. description: Level is SELinux level label that applies
  5336. to the container.
  5337. type: string
  5338. role:
  5339. description: Role is a SELinux role label that applies
  5340. to the container.
  5341. type: string
  5342. type:
  5343. description: Type is a SELinux type label that applies
  5344. to the container.
  5345. type: string
  5346. user:
  5347. description: User is a SELinux user label that applies
  5348. to the container.
  5349. type: string
  5350. type: object
  5351. seccompProfile:
  5352. description: The seccomp options to use by this container.
  5353. If seccomp options are provided at both the pod & container
  5354. level, the container options override the pod options.
  5355. properties:
  5356. localhostProfile:
  5357. description: localhostProfile indicates a profile defined
  5358. in a file on the node should be used. The profile
  5359. must be preconfigured on the node to work.
  5360. type: string
  5361. type:
  5362. description: "type indicates which kind of seccomp profile
  5363. will be applied. Valid options are: \n Localhost -
  5364. a profile defined in a file on the node should be
  5365. used."
  5366. type: string
  5367. required:
  5368. - type
  5369. type: object
  5370. windowsOptions:
  5371. description: The Windows specific settings applied to all
  5372. containers. If unspecified, the options from the PodSecurityContext
  5373. will be used.
  5374. properties:
  5375. gmsaCredentialSpec:
  5376. description: GMSACredentialSpec is where the GMSA admission
  5377. webhook (https://github.com/kubernetes-sigs/windows-gmsa)
  5378. inlines the contents of the GMSA credential spec named
  5379. by the GMSACredentialSpecName field.
  5380. type: string
  5381. gmsaCredentialSpecName:
  5382. description: GMSACredentialSpecName is the name of the
  5383. GMSA credential spec to use.
  5384. type: string
  5385. hostProcess:
  5386. description: HostProcess determines if a container should
  5387. be run as a 'Host Process' container.
  5388. type: boolean
  5389. runAsUserName:
  5390. description: The UserName in Windows to run the entrypoint
  5391. of the container process. Defaults to the user specified
  5392. in image metadata if unspecified. May also be set
  5393. in PodSecurityContext.
  5394. type: string
  5395. type: object
  5396. type: object
  5397. startupProbe:
  5398. description: StartupProbe indicates that the Pod has successfully
  5399. initialized. If specified, no other probes are executed until
  5400. this completes successfully.
  5401. properties:
  5402. exec:
  5403. description: Exec specifies the action to take.
  5404. properties:
  5405. command:
  5406. description: Command is the command line to execute
  5407. inside the container, the working directory for the
  5408. command is root ('/') in the container's filesystem.
  5409. items:
  5410. type: string
  5411. type: array
  5412. type: object
  5413. failureThreshold:
  5414. description: Minimum consecutive failures for the probe
  5415. to be considered failed after having succeeded. Defaults
  5416. to 3. Minimum value is 1.
  5417. format: int32
  5418. type: integer
  5419. grpc:
  5420. description: GRPC specifies an action involving a GRPC port.
  5421. properties:
  5422. port:
  5423. description: Port number of the gRPC service. Number
  5424. must be in the range 1 to 65535.
  5425. format: int32
  5426. type: integer
  5427. service:
  5428. description: Service is the name of the service to place
  5429. in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
  5430. type: string
  5431. required:
  5432. - port
  5433. type: object
  5434. httpGet:
  5435. description: HTTPGet specifies the http request to perform.
  5436. properties:
  5437. host:
  5438. description: Host name to connect to, defaults to the
  5439. pod IP. You probably want to set "Host" in httpHeaders
  5440. instead.
  5441. type: string
  5442. httpHeaders:
  5443. description: Custom headers to set in the request. HTTP
  5444. allows repeated headers.
  5445. items:
  5446. description: HTTPHeader describes a custom header
  5447. to be used in HTTP probes
  5448. properties:
  5449. name:
  5450. description: The header field name. This will
  5451. be canonicalized upon output, so case-variant
  5452. names will be understood as the same header.
  5453. type: string
  5454. value:
  5455. description: The header field value
  5456. type: string
  5457. required:
  5458. - name
  5459. - value
  5460. type: object
  5461. type: array
  5462. path:
  5463. description: Path to access on the HTTP server.
  5464. type: string
  5465. port:
  5466. anyOf:
  5467. - type: integer
  5468. - type: string
  5469. description: Name or number of the port to access on
  5470. the container. Number must be in the range 1 to 65535.
  5471. Name must be an IANA_SVC_NAME.
  5472. x-kubernetes-int-or-string: true
  5473. scheme:
  5474. description: Scheme to use for connecting to the host.
  5475. Defaults to HTTP.
  5476. type: string
  5477. required:
  5478. - port
  5479. type: object
  5480. initialDelaySeconds:
  5481. description: 'Number of seconds after the container has
  5482. started before liveness probes are initiated. More info:
  5483. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  5484. format: int32
  5485. type: integer
  5486. periodSeconds:
  5487. description: How often (in seconds) to perform the probe.
  5488. Default to 10 seconds. Minimum value is 1.
  5489. format: int32
  5490. type: integer
  5491. successThreshold:
  5492. description: Minimum consecutive successes for the probe
  5493. to be considered successful after having failed. Defaults
  5494. to 1. Must be 1 for liveness and startup. Minimum value
  5495. is 1.
  5496. format: int32
  5497. type: integer
  5498. tcpSocket:
  5499. description: TCPSocket specifies an action involving a TCP
  5500. port.
  5501. properties:
  5502. host:
  5503. description: 'Optional: Host name to connect to, defaults
  5504. to the pod IP.'
  5505. type: string
  5506. port:
  5507. anyOf:
  5508. - type: integer
  5509. - type: string
  5510. description: Number or name of the port to access on
  5511. the container. Number must be in the range 1 to 65535.
  5512. Name must be an IANA_SVC_NAME.
  5513. x-kubernetes-int-or-string: true
  5514. required:
  5515. - port
  5516. type: object
  5517. terminationGracePeriodSeconds:
  5518. description: Optional duration in seconds the pod needs
  5519. to terminate gracefully upon probe failure.
  5520. format: int64
  5521. type: integer
  5522. timeoutSeconds:
  5523. description: 'Number of seconds after which the probe times
  5524. out. Defaults to 1 second. Minimum value is 1. More info:
  5525. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  5526. format: int32
  5527. type: integer
  5528. type: object
  5529. stdin:
  5530. description: Whether this container should allocate a buffer
  5531. for stdin in the container runtime. If this is not set, reads
  5532. from stdin in the container will always result in EOF. Default
  5533. is false.
  5534. type: boolean
  5535. stdinOnce:
  5536. description: Whether the container runtime should close the
  5537. stdin channel after it has been opened by a single attach.
  5538. When stdin is true the stdin stream will remain open across
  5539. multiple attach sessions.
  5540. type: boolean
  5541. terminationMessagePath:
  5542. description: 'Optional: Path at which the file to which the
  5543. container''s termination message will be written is mounted
  5544. into the container''s filesystem.'
  5545. type: string
  5546. terminationMessagePolicy:
  5547. description: Indicate how the termination message should be
  5548. populated. File will use the contents of terminationMessagePath
  5549. to populate the container status message on both success and
  5550. failure.
  5551. type: string
  5552. tty:
  5553. description: Whether this container should allocate a TTY for
  5554. itself, also requires 'stdin' to be true. Default is false.
  5555. type: boolean
  5556. volumeDevices:
  5557. description: volumeDevices is the list of block devices to be
  5558. used by the container.
  5559. items:
  5560. description: volumeDevice describes a mapping of a raw block
  5561. device within a container.
  5562. properties:
  5563. devicePath:
  5564. description: devicePath is the path inside of the container
  5565. that the device will be mapped to.
  5566. type: string
  5567. name:
  5568. description: name must match the name of a persistentVolumeClaim
  5569. in the pod
  5570. type: string
  5571. required:
  5572. - devicePath
  5573. - name
  5574. type: object
  5575. type: array
  5576. volumeMounts:
  5577. description: Pod volumes to mount into the container's filesystem.
  5578. Cannot be updated.
  5579. items:
  5580. description: VolumeMount describes a mounting of a Volume
  5581. within a container.
  5582. properties:
  5583. mountPath:
  5584. description: Path within the container at which the volume
  5585. should be mounted. Must not contain ':'.
  5586. type: string
  5587. mountPropagation:
  5588. description: mountPropagation determines how mounts are
  5589. propagated from the host to container and the other
  5590. way around. When not set, MountPropagationNone is used.
  5591. This field is beta in 1.10.
  5592. type: string
  5593. name:
  5594. description: This must match the Name of a Volume.
  5595. type: string
  5596. readOnly:
  5597. description: Mounted read-only if true, read-write otherwise
  5598. (false or unspecified). Defaults to false.
  5599. type: boolean
  5600. subPath:
  5601. description: Path within the volume from which the container's
  5602. volume should be mounted. Defaults to "" (volume's root).
  5603. type: string
  5604. subPathExpr:
  5605. description: Expanded path within the volume from which
  5606. the container's volume should be mounted.
  5607. type: string
  5608. required:
  5609. - mountPath
  5610. - name
  5611. type: object
  5612. type: array
  5613. workingDir:
  5614. description: Container's working directory. If not specified,
  5615. the container runtime's default will be used, which might
  5616. be configured in the container image. Cannot be updated.
  5617. type: string
  5618. required:
  5619. - name
  5620. type: object
  5621. type: array
  5622. affinity:
  5623. description: If specified, indicates the pod's scheduling constraints
  5624. properties:
  5625. nodeAffinity:
  5626. description: Describes node affinity scheduling rules for the
  5627. pod.
  5628. properties:
  5629. preferredDuringSchedulingIgnoredDuringExecution:
  5630. description: The scheduler will prefer to schedule pods to
  5631. nodes that satisfy the affinity expressions specified by
  5632. this field, but it may choose a node that violates one or
  5633. more of the expressions.
  5634. items:
  5635. description: An empty preferred scheduling term matches
  5636. all objects with implicit weight 0 (i.e. it's a no-op).
  5637. A null preferred scheduling term matches no objects (i.e.
  5638. is also a no-op).
  5639. properties:
  5640. preference:
  5641. description: A node selector term, associated with the
  5642. corresponding weight.
  5643. properties:
  5644. matchExpressions:
  5645. description: A list of node selector requirements
  5646. by node's labels.
  5647. items:
  5648. description: A node selector requirement is a
  5649. selector that contains values, a key, and an
  5650. operator that relates the key and values.
  5651. properties:
  5652. key:
  5653. description: The label key that the selector
  5654. applies to.
  5655. type: string
  5656. operator:
  5657. description: Represents a key's relationship
  5658. to a set of values. Valid operators are
  5659. In, NotIn, Exists, DoesNotExist. Gt, and
  5660. Lt.
  5661. type: string
  5662. values:
  5663. description: An array of string values. If
  5664. the operator is In or NotIn, the values
  5665. array must be non-empty. If the operator
  5666. is Exists or DoesNotExist, the values array
  5667. must be empty.
  5668. items:
  5669. type: string
  5670. type: array
  5671. required:
  5672. - key
  5673. - operator
  5674. type: object
  5675. type: array
  5676. matchFields:
  5677. description: A list of node selector requirements
  5678. by node's fields.
  5679. items:
  5680. description: A node selector requirement is a
  5681. selector that contains values, a key, and an
  5682. operator that relates the key and values.
  5683. properties:
  5684. key:
  5685. description: The label key that the selector
  5686. applies to.
  5687. type: string
  5688. operator:
  5689. description: Represents a key's relationship
  5690. to a set of values. Valid operators are
  5691. In, NotIn, Exists, DoesNotExist. Gt, and
  5692. Lt.
  5693. type: string
  5694. values:
  5695. description: An array of string values. If
  5696. the operator is In or NotIn, the values
  5697. array must be non-empty. If the operator
  5698. is Exists or DoesNotExist, the values array
  5699. must be empty.
  5700. items:
  5701. type: string
  5702. type: array
  5703. required:
  5704. - key
  5705. - operator
  5706. type: object
  5707. type: array
  5708. type: object
  5709. x-kubernetes-map-type: atomic
  5710. weight:
  5711. description: Weight associated with matching the corresponding
  5712. nodeSelectorTerm, in the range 1-100.
  5713. format: int32
  5714. type: integer
  5715. required:
  5716. - preference
  5717. - weight
  5718. type: object
  5719. type: array
  5720. requiredDuringSchedulingIgnoredDuringExecution:
  5721. description: If the affinity requirements specified by this
  5722. field are not met at scheduling time, the pod will not be
  5723. scheduled onto the node.
  5724. properties:
  5725. nodeSelectorTerms:
  5726. description: Required. A list of node selector terms.
  5727. The terms are ORed.
  5728. items:
  5729. description: A null or empty node selector term matches
  5730. no objects. The requirements of them are ANDed. The
  5731. TopologySelectorTerm type implements a subset of the
  5732. NodeSelectorTerm.
  5733. properties:
  5734. matchExpressions:
  5735. description: A list of node selector requirements
  5736. by node's labels.
  5737. items:
  5738. description: A node selector requirement is a
  5739. selector that contains values, a key, and an
  5740. operator that relates the key and values.
  5741. properties:
  5742. key:
  5743. description: The label key that the selector
  5744. applies to.
  5745. type: string
  5746. operator:
  5747. description: Represents a key's relationship
  5748. to a set of values. Valid operators are
  5749. In, NotIn, Exists, DoesNotExist. Gt, and
  5750. Lt.
  5751. type: string
  5752. values:
  5753. description: An array of string values. If
  5754. the operator is In or NotIn, the values
  5755. array must be non-empty. If the operator
  5756. is Exists or DoesNotExist, the values array
  5757. must be empty.
  5758. items:
  5759. type: string
  5760. type: array
  5761. required:
  5762. - key
  5763. - operator
  5764. type: object
  5765. type: array
  5766. matchFields:
  5767. description: A list of node selector requirements
  5768. by node's fields.
  5769. items:
  5770. description: A node selector requirement is a
  5771. selector that contains values, a key, and an
  5772. operator that relates the key and values.
  5773. properties:
  5774. key:
  5775. description: The label key that the selector
  5776. applies to.
  5777. type: string
  5778. operator:
  5779. description: Represents a key's relationship
  5780. to a set of values. Valid operators are
  5781. In, NotIn, Exists, DoesNotExist. Gt, and
  5782. Lt.
  5783. type: string
  5784. values:
  5785. description: An array of string values. If
  5786. the operator is In or NotIn, the values
  5787. array must be non-empty. If the operator
  5788. is Exists or DoesNotExist, the values array
  5789. must be empty.
  5790. items:
  5791. type: string
  5792. type: array
  5793. required:
  5794. - key
  5795. - operator
  5796. type: object
  5797. type: array
  5798. type: object
  5799. x-kubernetes-map-type: atomic
  5800. type: array
  5801. required:
  5802. - nodeSelectorTerms
  5803. type: object
  5804. x-kubernetes-map-type: atomic
  5805. type: object
  5806. podAffinity:
  5807. description: Describes pod affinity scheduling rules (e.g. co-locate
  5808. this pod in the same node, zone, etc. as some other pod(s)).
  5809. properties:
  5810. preferredDuringSchedulingIgnoredDuringExecution:
  5811. description: The scheduler will prefer to schedule pods to
  5812. nodes that satisfy the affinity expressions specified by
  5813. this field, but it may choose a node that violates one or
  5814. more of the expressions.
  5815. items:
  5816. description: The weights of all of the matched WeightedPodAffinityTerm
  5817. fields are added per-node to find the most preferred node(s)
  5818. properties:
  5819. podAffinityTerm:
  5820. description: Required. A pod affinity term, associated
  5821. with the corresponding weight.
  5822. properties:
  5823. labelSelector:
  5824. description: A label query over a set of resources,
  5825. in this case pods.
  5826. properties:
  5827. matchExpressions:
  5828. description: matchExpressions is a list of label
  5829. selector requirements. The requirements are
  5830. ANDed.
  5831. items:
  5832. description: A label selector requirement
  5833. is a selector that contains values, a key,
  5834. and an operator that relates the key and
  5835. values.
  5836. properties:
  5837. key:
  5838. description: key is the label key that
  5839. the selector applies to.
  5840. type: string
  5841. operator:
  5842. description: operator represents a key's
  5843. relationship to a set of values. Valid
  5844. operators are In, NotIn, Exists and
  5845. DoesNotExist.
  5846. type: string
  5847. values:
  5848. description: values is an array of string
  5849. values. If the operator is In or NotIn,
  5850. the values array must be non-empty.
  5851. If the operator is Exists or DoesNotExist,
  5852. the values array must be empty.
  5853. items:
  5854. type: string
  5855. type: array
  5856. required:
  5857. - key
  5858. - operator
  5859. type: object
  5860. type: array
  5861. matchLabels:
  5862. additionalProperties:
  5863. type: string
  5864. description: matchLabels is a map of {key,value}
  5865. pairs.
  5866. type: object
  5867. type: object
  5868. x-kubernetes-map-type: atomic
  5869. namespaceSelector:
  5870. description: A label query over the set of namespaces
  5871. that the term applies to. The term is applied
  5872. to the union of the namespaces selected by this
  5873. field and the ones listed in the namespaces field.
  5874. properties:
  5875. matchExpressions:
  5876. description: matchExpressions is a list of label
  5877. selector requirements. The requirements are
  5878. ANDed.
  5879. items:
  5880. description: A label selector requirement
  5881. is a selector that contains values, a key,
  5882. and an operator that relates the key and
  5883. values.
  5884. properties:
  5885. key:
  5886. description: key is the label key that
  5887. the selector applies to.
  5888. type: string
  5889. operator:
  5890. description: operator represents a key's
  5891. relationship to a set of values. Valid
  5892. operators are In, NotIn, Exists and
  5893. DoesNotExist.
  5894. type: string
  5895. values:
  5896. description: values is an array of string
  5897. values. If the operator is In or NotIn,
  5898. the values array must be non-empty.
  5899. If the operator is Exists or DoesNotExist,
  5900. the values array must be empty.
  5901. items:
  5902. type: string
  5903. type: array
  5904. required:
  5905. - key
  5906. - operator
  5907. type: object
  5908. type: array
  5909. matchLabels:
  5910. additionalProperties:
  5911. type: string
  5912. description: matchLabels is a map of {key,value}
  5913. pairs.
  5914. type: object
  5915. type: object
  5916. x-kubernetes-map-type: atomic
  5917. namespaces:
  5918. description: namespaces specifies a static list
  5919. of namespace names that the term applies to. The
  5920. term is applied to the union of the namespaces
  5921. listed in this field and the ones selected by
  5922. namespaceSelector.
  5923. items:
  5924. type: string
  5925. type: array
  5926. topologyKey:
  5927. description: 'This pod should be co-located (affinity)
  5928. or not co-located (anti-affinity) with the pods
  5929. matching the labelSelector in the specified namespaces,
  5930. where co-located is defined as running on a node
  5931. whose '
  5932. type: string
  5933. required:
  5934. - topologyKey
  5935. type: object
  5936. weight:
  5937. description: weight associated with matching the corresponding
  5938. podAffinityTerm, in the range 1-100.
  5939. format: int32
  5940. type: integer
  5941. required:
  5942. - podAffinityTerm
  5943. - weight
  5944. type: object
  5945. type: array
  5946. requiredDuringSchedulingIgnoredDuringExecution:
  5947. description: If the affinity requirements specified by this
  5948. field are not met at scheduling time, the pod will not be
  5949. scheduled onto the node.
  5950. items:
  5951. description: Defines a set of pods (namely those matching
  5952. the labelSelector relative to the given namespace(s))
  5953. that this pod should be co-located (affinity) or not co-located
  5954. (anti-affinity) with, where co-locate
  5955. properties:
  5956. labelSelector:
  5957. description: A label query over a set of resources,
  5958. in this case pods.
  5959. properties:
  5960. matchExpressions:
  5961. description: matchExpressions is a list of label
  5962. selector requirements. The requirements are ANDed.
  5963. items:
  5964. description: A label selector requirement is a
  5965. selector that contains values, a key, and an
  5966. operator that relates the key and values.
  5967. properties:
  5968. key:
  5969. description: key is the label key that the
  5970. selector applies to.
  5971. type: string
  5972. operator:
  5973. description: operator represents a key's relationship
  5974. to a set of values. Valid operators are
  5975. In, NotIn, Exists and DoesNotExist.
  5976. type: string
  5977. values:
  5978. description: values is an array of string
  5979. values. If the operator is In or NotIn,
  5980. the values array must be non-empty. If the
  5981. operator is Exists or DoesNotExist, the
  5982. values array must be empty.
  5983. items:
  5984. type: string
  5985. type: array
  5986. required:
  5987. - key
  5988. - operator
  5989. type: object
  5990. type: array
  5991. matchLabels:
  5992. additionalProperties:
  5993. type: string
  5994. description: matchLabels is a map of {key,value}
  5995. pairs.
  5996. type: object
  5997. type: object
  5998. x-kubernetes-map-type: atomic
  5999. namespaceSelector:
  6000. description: A label query over the set of namespaces
  6001. that the term applies to. The term is applied to the
  6002. union of the namespaces selected by this field and
  6003. the ones listed in the namespaces field.
  6004. properties:
  6005. matchExpressions:
  6006. description: matchExpressions is a list of label
  6007. selector requirements. The requirements are ANDed.
  6008. items:
  6009. description: A label selector requirement is a
  6010. selector that contains values, a key, and an
  6011. operator that relates the key and values.
  6012. properties:
  6013. key:
  6014. description: key is the label key that the
  6015. selector applies to.
  6016. type: string
  6017. operator:
  6018. description: operator represents a key's relationship
  6019. to a set of values. Valid operators are
  6020. In, NotIn, Exists and DoesNotExist.
  6021. type: string
  6022. values:
  6023. description: values is an array of string
  6024. values. If the operator is In or NotIn,
  6025. the values array must be non-empty. If the
  6026. operator is Exists or DoesNotExist, the
  6027. values array must be empty.
  6028. items:
  6029. type: string
  6030. type: array
  6031. required:
  6032. - key
  6033. - operator
  6034. type: object
  6035. type: array
  6036. matchLabels:
  6037. additionalProperties:
  6038. type: string
  6039. description: matchLabels is a map of {key,value}
  6040. pairs.
  6041. type: object
  6042. type: object
  6043. x-kubernetes-map-type: atomic
  6044. namespaces:
  6045. description: namespaces specifies a static list of namespace
  6046. names that the term applies to. The term is applied
  6047. to the union of the namespaces listed in this field
  6048. and the ones selected by namespaceSelector.
  6049. items:
  6050. type: string
  6051. type: array
  6052. topologyKey:
  6053. description: 'This pod should be co-located (affinity)
  6054. or not co-located (anti-affinity) with the pods matching
  6055. the labelSelector in the specified namespaces, where
  6056. co-located is defined as running on a node whose '
  6057. type: string
  6058. required:
  6059. - topologyKey
  6060. type: object
  6061. type: array
  6062. type: object
  6063. podAntiAffinity:
  6064. description: Describes pod anti-affinity scheduling rules (e.g.
  6065. avoid putting this pod in the same node, zone, etc. as some
  6066. other pod(s)).
  6067. properties:
  6068. preferredDuringSchedulingIgnoredDuringExecution:
  6069. description: The scheduler will prefer to schedule pods to
  6070. nodes that satisfy the anti-affinity expressions specified
  6071. by this field, but it may choose a node that violates one
  6072. or more of the expressions.
  6073. items:
  6074. description: The weights of all of the matched WeightedPodAffinityTerm
  6075. fields are added per-node to find the most preferred node(s)
  6076. properties:
  6077. podAffinityTerm:
  6078. description: Required. A pod affinity term, associated
  6079. with the corresponding weight.
  6080. properties:
  6081. labelSelector:
  6082. description: A label query over a set of resources,
  6083. in this case pods.
  6084. properties:
  6085. matchExpressions:
  6086. description: matchExpressions is a list of label
  6087. selector requirements. The requirements are
  6088. ANDed.
  6089. items:
  6090. description: A label selector requirement
  6091. is a selector that contains values, a key,
  6092. and an operator that relates the key and
  6093. values.
  6094. properties:
  6095. key:
  6096. description: key is the label key that
  6097. the selector applies to.
  6098. type: string
  6099. operator:
  6100. description: operator represents a key's
  6101. relationship to a set of values. Valid
  6102. operators are In, NotIn, Exists and
  6103. DoesNotExist.
  6104. type: string
  6105. values:
  6106. description: values is an array of string
  6107. values. If the operator is In or NotIn,
  6108. the values array must be non-empty.
  6109. If the operator is Exists or DoesNotExist,
  6110. the values array must be empty.
  6111. items:
  6112. type: string
  6113. type: array
  6114. required:
  6115. - key
  6116. - operator
  6117. type: object
  6118. type: array
  6119. matchLabels:
  6120. additionalProperties:
  6121. type: string
  6122. description: matchLabels is a map of {key,value}
  6123. pairs.
  6124. type: object
  6125. type: object
  6126. x-kubernetes-map-type: atomic
  6127. namespaceSelector:
  6128. description: A label query over the set of namespaces
  6129. that the term applies to. The term is applied
  6130. to the union of the namespaces selected by this
  6131. field and the ones listed in the namespaces field.
  6132. properties:
  6133. matchExpressions:
  6134. description: matchExpressions is a list of label
  6135. selector requirements. The requirements are
  6136. ANDed.
  6137. items:
  6138. description: A label selector requirement
  6139. is a selector that contains values, a key,
  6140. and an operator that relates the key and
  6141. values.
  6142. properties:
  6143. key:
  6144. description: key is the label key that
  6145. the selector applies to.
  6146. type: string
  6147. operator:
  6148. description: operator represents a key's
  6149. relationship to a set of values. Valid
  6150. operators are In, NotIn, Exists and
  6151. DoesNotExist.
  6152. type: string
  6153. values:
  6154. description: values is an array of string
  6155. values. If the operator is In or NotIn,
  6156. the values array must be non-empty.
  6157. If the operator is Exists or DoesNotExist,
  6158. the values array must be empty.
  6159. items:
  6160. type: string
  6161. type: array
  6162. required:
  6163. - key
  6164. - operator
  6165. type: object
  6166. type: array
  6167. matchLabels:
  6168. additionalProperties:
  6169. type: string
  6170. description: matchLabels is a map of {key,value}
  6171. pairs.
  6172. type: object
  6173. type: object
  6174. x-kubernetes-map-type: atomic
  6175. namespaces:
  6176. description: namespaces specifies a static list
  6177. of namespace names that the term applies to. The
  6178. term is applied to the union of the namespaces
  6179. listed in this field and the ones selected by
  6180. namespaceSelector.
  6181. items:
  6182. type: string
  6183. type: array
  6184. topologyKey:
  6185. description: 'This pod should be co-located (affinity)
  6186. or not co-located (anti-affinity) with the pods
  6187. matching the labelSelector in the specified namespaces,
  6188. where co-located is defined as running on a node
  6189. whose '
  6190. type: string
  6191. required:
  6192. - topologyKey
  6193. type: object
  6194. weight:
  6195. description: weight associated with matching the corresponding
  6196. podAffinityTerm, in the range 1-100.
  6197. format: int32
  6198. type: integer
  6199. required:
  6200. - podAffinityTerm
  6201. - weight
  6202. type: object
  6203. type: array
  6204. requiredDuringSchedulingIgnoredDuringExecution:
  6205. description: If the anti-affinity requirements specified by
  6206. this field are not met at scheduling time, the pod will
  6207. not be scheduled onto the node.
  6208. items:
  6209. description: Defines a set of pods (namely those matching
  6210. the labelSelector relative to the given namespace(s))
  6211. that this pod should be co-located (affinity) or not co-located
  6212. (anti-affinity) with, where co-locate
  6213. properties:
  6214. labelSelector:
  6215. description: A label query over a set of resources,
  6216. in this case pods.
  6217. properties:
  6218. matchExpressions:
  6219. description: matchExpressions is a list of label
  6220. selector requirements. The requirements are ANDed.
  6221. items:
  6222. description: A label selector requirement is a
  6223. selector that contains values, a key, and an
  6224. operator that relates the key and values.
  6225. properties:
  6226. key:
  6227. description: key is the label key that the
  6228. selector applies to.
  6229. type: string
  6230. operator:
  6231. description: operator represents a key's relationship
  6232. to a set of values. Valid operators are
  6233. In, NotIn, Exists and DoesNotExist.
  6234. type: string
  6235. values:
  6236. description: values is an array of string
  6237. values. If the operator is In or NotIn,
  6238. the values array must be non-empty. If the
  6239. operator is Exists or DoesNotExist, the
  6240. values array must be empty.
  6241. items:
  6242. type: string
  6243. type: array
  6244. required:
  6245. - key
  6246. - operator
  6247. type: object
  6248. type: array
  6249. matchLabels:
  6250. additionalProperties:
  6251. type: string
  6252. description: matchLabels is a map of {key,value}
  6253. pairs.
  6254. type: object
  6255. type: object
  6256. x-kubernetes-map-type: atomic
  6257. namespaceSelector:
  6258. description: A label query over the set of namespaces
  6259. that the term applies to. The term is applied to the
  6260. union of the namespaces selected by this field and
  6261. the ones listed in the namespaces field.
  6262. properties:
  6263. matchExpressions:
  6264. description: matchExpressions is a list of label
  6265. selector requirements. The requirements are ANDed.
  6266. items:
  6267. description: A label selector requirement is a
  6268. selector that contains values, a key, and an
  6269. operator that relates the key and values.
  6270. properties:
  6271. key:
  6272. description: key is the label key that the
  6273. selector applies to.
  6274. type: string
  6275. operator:
  6276. description: operator represents a key's relationship
  6277. to a set of values. Valid operators are
  6278. In, NotIn, Exists and DoesNotExist.
  6279. type: string
  6280. values:
  6281. description: values is an array of string
  6282. values. If the operator is In or NotIn,
  6283. the values array must be non-empty. If the
  6284. operator is Exists or DoesNotExist, the
  6285. values array must be empty.
  6286. items:
  6287. type: string
  6288. type: array
  6289. required:
  6290. - key
  6291. - operator
  6292. type: object
  6293. type: array
  6294. matchLabels:
  6295. additionalProperties:
  6296. type: string
  6297. description: matchLabels is a map of {key,value}
  6298. pairs.
  6299. type: object
  6300. type: object
  6301. x-kubernetes-map-type: atomic
  6302. namespaces:
  6303. description: namespaces specifies a static list of namespace
  6304. names that the term applies to. The term is applied
  6305. to the union of the namespaces listed in this field
  6306. and the ones selected by namespaceSelector.
  6307. items:
  6308. type: string
  6309. type: array
  6310. topologyKey:
  6311. description: 'This pod should be co-located (affinity)
  6312. or not co-located (anti-affinity) with the pods matching
  6313. the labelSelector in the specified namespaces, where
  6314. co-located is defined as running on a node whose '
  6315. type: string
  6316. required:
  6317. - topologyKey
  6318. type: object
  6319. type: array
  6320. type: object
  6321. type: object
  6322. args:
  6323. additionalProperties:
  6324. type: string
  6325. description: Args is the set of arguments to pass to the OpenTelemetry
  6326. Collector binary
  6327. type: object
  6328. autoscaler:
  6329. description: Autoscaler specifies the pod autoscaling configuration
  6330. to use for the OpenTelemetryCollector workload.
  6331. properties:
  6332. behavior:
  6333. description: HorizontalPodAutoscalerBehavior configures the scaling
  6334. behavior of the target in both Up and Down directions (scaleUp
  6335. and scaleDown fields respectively).
  6336. properties:
  6337. scaleDown:
  6338. description: scaleDown is scaling policy for scaling Down.
  6339. If not set, the default value is to allow to scale down
  6340. to minReplicas pods, with a 300 second stabilization window
  6341. (i.e.
  6342. properties:
  6343. policies:
  6344. description: policies is a list of potential scaling polices
  6345. which can be used during scaling. At least one policy
  6346. must be specified, otherwise the HPAScalingRules will
  6347. be discarded as invalid
  6348. items:
  6349. description: HPAScalingPolicy is a single policy which
  6350. must hold true for a specified past interval.
  6351. properties:
  6352. periodSeconds:
  6353. description: periodSeconds specifies the window
  6354. of time for which the policy should hold true.
  6355. PeriodSeconds must be greater than zero and less
  6356. than or equal to 1800 (30 min).
  6357. format: int32
  6358. type: integer
  6359. type:
  6360. description: type is used to specify the scaling
  6361. policy.
  6362. type: string
  6363. value:
  6364. description: value contains the amount of change
  6365. which is permitted by the policy. It must be greater
  6366. than zero
  6367. format: int32
  6368. type: integer
  6369. required:
  6370. - periodSeconds
  6371. - type
  6372. - value
  6373. type: object
  6374. type: array
  6375. x-kubernetes-list-type: atomic
  6376. selectPolicy:
  6377. description: selectPolicy is used to specify which policy
  6378. should be used. If not set, the default value Max is
  6379. used.
  6380. type: string
  6381. stabilizationWindowSeconds:
  6382. description: stabilizationWindowSeconds is the number
  6383. of seconds for which past recommendations should be
  6384. considered while scaling up or scaling down.
  6385. format: int32
  6386. type: integer
  6387. type: object
  6388. scaleUp:
  6389. description: scaleUp is scaling policy for scaling Up.
  6390. properties:
  6391. policies:
  6392. description: policies is a list of potential scaling polices
  6393. which can be used during scaling. At least one policy
  6394. must be specified, otherwise the HPAScalingRules will
  6395. be discarded as invalid
  6396. items:
  6397. description: HPAScalingPolicy is a single policy which
  6398. must hold true for a specified past interval.
  6399. properties:
  6400. periodSeconds:
  6401. description: periodSeconds specifies the window
  6402. of time for which the policy should hold true.
  6403. PeriodSeconds must be greater than zero and less
  6404. than or equal to 1800 (30 min).
  6405. format: int32
  6406. type: integer
  6407. type:
  6408. description: type is used to specify the scaling
  6409. policy.
  6410. type: string
  6411. value:
  6412. description: value contains the amount of change
  6413. which is permitted by the policy. It must be greater
  6414. than zero
  6415. format: int32
  6416. type: integer
  6417. required:
  6418. - periodSeconds
  6419. - type
  6420. - value
  6421. type: object
  6422. type: array
  6423. x-kubernetes-list-type: atomic
  6424. selectPolicy:
  6425. description: selectPolicy is used to specify which policy
  6426. should be used. If not set, the default value Max is
  6427. used.
  6428. type: string
  6429. stabilizationWindowSeconds:
  6430. description: stabilizationWindowSeconds is the number
  6431. of seconds for which past recommendations should be
  6432. considered while scaling up or scaling down.
  6433. format: int32
  6434. type: integer
  6435. type: object
  6436. type: object
  6437. maxReplicas:
  6438. description: MaxReplicas sets an upper bound to the autoscaling
  6439. feature. If MaxReplicas is set autoscaling is enabled.
  6440. format: int32
  6441. type: integer
  6442. metrics:
  6443. description: Metrics is meant to provide a customizable way to
  6444. configure HPA metrics. currently the only supported custom metrics
  6445. is type=Pod.
  6446. items:
  6447. description: MetricSpec defines a subset of metrics to be defined
  6448. for the HPA's metric array more metric type can be supported
  6449. as needed. See https://pkg.go.dev/k8s.io/api/autoscaling/v2#MetricSpec
  6450. for reference.
  6451. properties:
  6452. pods:
  6453. description: PodsMetricSource indicates how to scale on
  6454. a metric describing each pod in the current scale target
  6455. (for example, transactions-processed-per-second).
  6456. properties:
  6457. metric:
  6458. description: metric identifies the target metric by
  6459. name and selector
  6460. properties:
  6461. name:
  6462. description: name is the name of the given metric
  6463. type: string
  6464. selector:
  6465. description: selector is the string-encoded form
  6466. of a standard kubernetes label selector for the
  6467. given metric When set, it is passed as an additional
  6468. parameter to the metrics server for more specific
  6469. metrics scopi
  6470. properties:
  6471. matchExpressions:
  6472. description: matchExpressions is a list of label
  6473. selector requirements. The requirements are
  6474. ANDed.
  6475. items:
  6476. description: A label selector requirement
  6477. is a selector that contains values, a key,
  6478. and an operator that relates the key and
  6479. values.
  6480. properties:
  6481. key:
  6482. description: key is the label key that
  6483. the selector applies to.
  6484. type: string
  6485. operator:
  6486. description: operator represents a key's
  6487. relationship to a set of values. Valid
  6488. operators are In, NotIn, Exists and
  6489. DoesNotExist.
  6490. type: string
  6491. values:
  6492. description: values is an array of string
  6493. values. If the operator is In or NotIn,
  6494. the values array must be non-empty.
  6495. If the operator is Exists or DoesNotExist,
  6496. the values array must be empty.
  6497. items:
  6498. type: string
  6499. type: array
  6500. required:
  6501. - key
  6502. - operator
  6503. type: object
  6504. type: array
  6505. matchLabels:
  6506. additionalProperties:
  6507. type: string
  6508. description: matchLabels is a map of {key,value}
  6509. pairs.
  6510. type: object
  6511. type: object
  6512. x-kubernetes-map-type: atomic
  6513. required:
  6514. - name
  6515. type: object
  6516. target:
  6517. description: target specifies the target value for the
  6518. given metric
  6519. properties:
  6520. averageUtilization:
  6521. description: averageUtilization is the target value
  6522. of the average of the resource metric across all
  6523. relevant pods, represented as a percentage of
  6524. the requested value of the resource for the pods.
  6525. format: int32
  6526. type: integer
  6527. averageValue:
  6528. anyOf:
  6529. - type: integer
  6530. - type: string
  6531. description: averageValue is the target value of
  6532. the average of the metric across all relevant
  6533. pods (as a quantity)
  6534. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  6535. x-kubernetes-int-or-string: true
  6536. type:
  6537. description: type represents whether the metric
  6538. type is Utilization, Value, or AverageValue
  6539. type: string
  6540. value:
  6541. anyOf:
  6542. - type: integer
  6543. - type: string
  6544. description: value is the target value of the metric
  6545. (as a quantity).
  6546. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  6547. x-kubernetes-int-or-string: true
  6548. required:
  6549. - type
  6550. type: object
  6551. required:
  6552. - metric
  6553. - target
  6554. type: object
  6555. type:
  6556. description: MetricSourceType indicates the type of metric.
  6557. type: string
  6558. required:
  6559. - type
  6560. type: object
  6561. type: array
  6562. minReplicas:
  6563. description: MinReplicas sets a lower bound to the autoscaling
  6564. feature. Set this if your are using autoscaling. It must be
  6565. at least 1
  6566. format: int32
  6567. type: integer
  6568. targetCPUUtilization:
  6569. description: TargetCPUUtilization sets the target average CPU
  6570. used across all replicas. If average CPU exceeds this value,
  6571. the HPA will scale up. Defaults to 90 percent.
  6572. format: int32
  6573. type: integer
  6574. targetMemoryUtilization:
  6575. description: TargetMemoryUtilization sets the target average memory
  6576. utilization across all replicas
  6577. format: int32
  6578. type: integer
  6579. type: object
  6580. config:
  6581. description: Config is the raw JSON to be used as the collector's
  6582. configuration. Refer to the OpenTelemetry Collector documentation
  6583. for details.
  6584. type: string
  6585. configmaps:
  6586. description: ConfigMaps is a list of ConfigMaps in the same namespace
  6587. as the OpenTelemetryCollector object, which shall be mounted into
  6588. the Collector Pods.
  6589. items:
  6590. properties:
  6591. mountpath:
  6592. type: string
  6593. name:
  6594. description: Configmap defines name and path where the configMaps
  6595. should be mounted.
  6596. type: string
  6597. required:
  6598. - mountpath
  6599. - name
  6600. type: object
  6601. type: array
  6602. env:
  6603. description: ENV vars to set on the OpenTelemetry Collector's Pods.
  6604. These can then in certain cases be consumed in the config file for
  6605. the Collector.
  6606. items:
  6607. description: EnvVar represents an environment variable present in
  6608. a Container.
  6609. properties:
  6610. name:
  6611. description: Name of the environment variable. Must be a C_IDENTIFIER.
  6612. type: string
  6613. value:
  6614. description: Variable references $(VAR_NAME) are expanded using
  6615. the previously defined environment variables in the container
  6616. and any service environment variables.
  6617. type: string
  6618. valueFrom:
  6619. description: Source for the environment variable's value. Cannot
  6620. be used if value is not empty.
  6621. properties:
  6622. configMapKeyRef:
  6623. description: Selects a key of a ConfigMap.
  6624. properties:
  6625. key:
  6626. description: The key to select.
  6627. type: string
  6628. name:
  6629. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6630. TODO: Add other useful fields. apiVersion, kind, uid?'
  6631. type: string
  6632. optional:
  6633. description: Specify whether the ConfigMap or its key
  6634. must be defined
  6635. type: boolean
  6636. required:
  6637. - key
  6638. type: object
  6639. x-kubernetes-map-type: atomic
  6640. fieldRef:
  6641. description: 'Selects a field of the pod: supports metadata.name,
  6642. metadata.namespace, `metadata.labels[''<KEY>'']`, `metadata.annotations[''<KEY>'']`,
  6643. spec.nodeName, spec.serviceAccountName, status.hostIP,
  6644. status.'
  6645. properties:
  6646. apiVersion:
  6647. description: Version of the schema the FieldPath is
  6648. written in terms of, defaults to "v1".
  6649. type: string
  6650. fieldPath:
  6651. description: Path of the field to select in the specified
  6652. API version.
  6653. type: string
  6654. required:
  6655. - fieldPath
  6656. type: object
  6657. x-kubernetes-map-type: atomic
  6658. resourceFieldRef:
  6659. description: 'Selects a resource of the container: only
  6660. resources limits and requests (limits.cpu, limits.memory,
  6661. limits.ephemeral-storage, requests.cpu, requests.memory
  6662. and requests.'
  6663. properties:
  6664. containerName:
  6665. description: 'Container name: required for volumes,
  6666. optional for env vars'
  6667. type: string
  6668. divisor:
  6669. anyOf:
  6670. - type: integer
  6671. - type: string
  6672. description: Specifies the output format of the exposed
  6673. resources, defaults to "1"
  6674. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  6675. x-kubernetes-int-or-string: true
  6676. resource:
  6677. description: 'Required: resource to select'
  6678. type: string
  6679. required:
  6680. - resource
  6681. type: object
  6682. x-kubernetes-map-type: atomic
  6683. secretKeyRef:
  6684. description: Selects a key of a secret in the pod's namespace
  6685. properties:
  6686. key:
  6687. description: The key of the secret to select from. Must
  6688. be a valid secret key.
  6689. type: string
  6690. name:
  6691. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6692. TODO: Add other useful fields. apiVersion, kind, uid?'
  6693. type: string
  6694. optional:
  6695. description: Specify whether the Secret or its key must
  6696. be defined
  6697. type: boolean
  6698. required:
  6699. - key
  6700. type: object
  6701. x-kubernetes-map-type: atomic
  6702. type: object
  6703. required:
  6704. - name
  6705. type: object
  6706. type: array
  6707. envFrom:
  6708. description: List of sources to populate environment variables on
  6709. the OpenTelemetry Collector's Pods. These can then in certain cases
  6710. be consumed in the config file for the Collector.
  6711. items:
  6712. description: EnvFromSource represents the source of a set of ConfigMaps
  6713. properties:
  6714. configMapRef:
  6715. description: The ConfigMap to select from
  6716. properties:
  6717. name:
  6718. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6719. TODO: Add other useful fields. apiVersion, kind, uid?'
  6720. type: string
  6721. optional:
  6722. description: Specify whether the ConfigMap must be defined
  6723. type: boolean
  6724. type: object
  6725. x-kubernetes-map-type: atomic
  6726. prefix:
  6727. description: An optional identifier to prepend to each key in
  6728. the ConfigMap. Must be a C_IDENTIFIER.
  6729. type: string
  6730. secretRef:
  6731. description: The Secret to select from
  6732. properties:
  6733. name:
  6734. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6735. TODO: Add other useful fields. apiVersion, kind, uid?'
  6736. type: string
  6737. optional:
  6738. description: Specify whether the Secret must be defined
  6739. type: boolean
  6740. type: object
  6741. x-kubernetes-map-type: atomic
  6742. type: object
  6743. type: array
  6744. hostNetwork:
  6745. description: HostNetwork indicates if the pod should run in the host
  6746. networking namespace.
  6747. type: boolean
  6748. image:
  6749. description: Image indicates the container image to use for the OpenTelemetry
  6750. Collector.
  6751. type: string
  6752. imagePullPolicy:
  6753. description: ImagePullPolicy indicates the pull policy to be used
  6754. for retrieving the container image (Always, Never, IfNotPresent)
  6755. type: string
  6756. ingress:
  6757. description: 'Ingress is used to specify how OpenTelemetry Collector
  6758. is exposed. This functionality is only available if one of the valid
  6759. modes is set. Valid modes are: deployment, daemonset and statefulset.'
  6760. properties:
  6761. annotations:
  6762. additionalProperties:
  6763. type: string
  6764. description: 'Annotations to add to ingress. e.g. ''cert-manager.io/cluster-issuer:
  6765. "letsencrypt"'''
  6766. type: object
  6767. hostname:
  6768. description: Hostname by which the ingress proxy can be reached.
  6769. type: string
  6770. ingressClassName:
  6771. description: IngressClassName is the name of an IngressClass cluster
  6772. resource. Ingress controller implementations use this field
  6773. to know whether they should be serving this Ingress resource.
  6774. type: string
  6775. route:
  6776. description: Route is an OpenShift specific section that is only
  6777. considered when type "route" is used.
  6778. properties:
  6779. termination:
  6780. description: Termination indicates termination type. By default
  6781. "edge" is used.
  6782. enum:
  6783. - insecure
  6784. - edge
  6785. - passthrough
  6786. - reencrypt
  6787. type: string
  6788. type: object
  6789. ruleType:
  6790. description: RuleType defines how Ingress exposes collector receivers.
  6791. IngressRuleTypePath ("path") exposes each receiver port on a
  6792. unique path on single domain defined in Hostname.
  6793. enum:
  6794. - path
  6795. - subdomain
  6796. type: string
  6797. tls:
  6798. description: TLS configuration.
  6799. items:
  6800. description: IngressTLS describes the transport layer security
  6801. associated with an ingress.
  6802. properties:
  6803. hosts:
  6804. description: hosts is a list of hosts included in the TLS
  6805. certificate. The values in this list must match the name/s
  6806. used in the tlsSecret.
  6807. items:
  6808. type: string
  6809. type: array
  6810. x-kubernetes-list-type: atomic
  6811. secretName:
  6812. description: secretName is the name of the secret used to
  6813. terminate TLS traffic on port 443. Field is left optional
  6814. to allow TLS routing based on SNI hostname alone.
  6815. type: string
  6816. type: object
  6817. type: array
  6818. type:
  6819. description: 'Type default value is: "" Supported types are: ingress,
  6820. route'
  6821. enum:
  6822. - ingress
  6823. - route
  6824. type: string
  6825. type: object
  6826. initContainers:
  6827. description: InitContainers allows injecting initContainers to the
  6828. Collector's pod definition.
  6829. items:
  6830. description: A single application container that you want to run
  6831. within a pod.
  6832. properties:
  6833. args:
  6834. description: Arguments to the entrypoint. The container image's
  6835. CMD is used if this is not provided. Variable references $(VAR_NAME)
  6836. are expanded using the container's environment.
  6837. items:
  6838. type: string
  6839. type: array
  6840. command:
  6841. description: Entrypoint array. Not executed within a shell.
  6842. The container image's ENTRYPOINT is used if this is not provided.
  6843. Variable references $(VAR_NAME) are expanded using the container's
  6844. environment.
  6845. items:
  6846. type: string
  6847. type: array
  6848. env:
  6849. description: List of environment variables to set in the container.
  6850. Cannot be updated.
  6851. items:
  6852. description: EnvVar represents an environment variable present
  6853. in a Container.
  6854. properties:
  6855. name:
  6856. description: Name of the environment variable. Must be
  6857. a C_IDENTIFIER.
  6858. type: string
  6859. value:
  6860. description: Variable references $(VAR_NAME) are expanded
  6861. using the previously defined environment variables in
  6862. the container and any service environment variables.
  6863. type: string
  6864. valueFrom:
  6865. description: Source for the environment variable's value.
  6866. Cannot be used if value is not empty.
  6867. properties:
  6868. configMapKeyRef:
  6869. description: Selects a key of a ConfigMap.
  6870. properties:
  6871. key:
  6872. description: The key to select.
  6873. type: string
  6874. name:
  6875. description: 'Name of the referent. More info:
  6876. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6877. TODO: Add other useful fields. apiVersion, kind,
  6878. uid?'
  6879. type: string
  6880. optional:
  6881. description: Specify whether the ConfigMap or
  6882. its key must be defined
  6883. type: boolean
  6884. required:
  6885. - key
  6886. type: object
  6887. x-kubernetes-map-type: atomic
  6888. fieldRef:
  6889. description: 'Selects a field of the pod: supports
  6890. metadata.name, metadata.namespace, `metadata.labels[''<KEY>'']`,
  6891. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  6892. spec.serviceAccountName, status.hostIP, status.'
  6893. properties:
  6894. apiVersion:
  6895. description: Version of the schema the FieldPath
  6896. is written in terms of, defaults to "v1".
  6897. type: string
  6898. fieldPath:
  6899. description: Path of the field to select in the
  6900. specified API version.
  6901. type: string
  6902. required:
  6903. - fieldPath
  6904. type: object
  6905. x-kubernetes-map-type: atomic
  6906. resourceFieldRef:
  6907. description: 'Selects a resource of the container:
  6908. only resources limits and requests (limits.cpu,
  6909. limits.memory, limits.ephemeral-storage, requests.cpu,
  6910. requests.memory and requests.'
  6911. properties:
  6912. containerName:
  6913. description: 'Container name: required for volumes,
  6914. optional for env vars'
  6915. type: string
  6916. divisor:
  6917. anyOf:
  6918. - type: integer
  6919. - type: string
  6920. description: Specifies the output format of the
  6921. exposed resources, defaults to "1"
  6922. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  6923. x-kubernetes-int-or-string: true
  6924. resource:
  6925. description: 'Required: resource to select'
  6926. type: string
  6927. required:
  6928. - resource
  6929. type: object
  6930. x-kubernetes-map-type: atomic
  6931. secretKeyRef:
  6932. description: Selects a key of a secret in the pod's
  6933. namespace
  6934. properties:
  6935. key:
  6936. description: The key of the secret to select from. Must
  6937. be a valid secret key.
  6938. type: string
  6939. name:
  6940. description: 'Name of the referent. More info:
  6941. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6942. TODO: Add other useful fields. apiVersion, kind,
  6943. uid?'
  6944. type: string
  6945. optional:
  6946. description: Specify whether the Secret or its
  6947. key must be defined
  6948. type: boolean
  6949. required:
  6950. - key
  6951. type: object
  6952. x-kubernetes-map-type: atomic
  6953. type: object
  6954. required:
  6955. - name
  6956. type: object
  6957. type: array
  6958. envFrom:
  6959. description: List of sources to populate environment variables
  6960. in the container. The keys defined within a source must be
  6961. a C_IDENTIFIER.
  6962. items:
  6963. description: EnvFromSource represents the source of a set
  6964. of ConfigMaps
  6965. properties:
  6966. configMapRef:
  6967. description: The ConfigMap to select from
  6968. properties:
  6969. name:
  6970. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6971. TODO: Add other useful fields. apiVersion, kind,
  6972. uid?'
  6973. type: string
  6974. optional:
  6975. description: Specify whether the ConfigMap must be
  6976. defined
  6977. type: boolean
  6978. type: object
  6979. x-kubernetes-map-type: atomic
  6980. prefix:
  6981. description: An optional identifier to prepend to each
  6982. key in the ConfigMap. Must be a C_IDENTIFIER.
  6983. type: string
  6984. secretRef:
  6985. description: The Secret to select from
  6986. properties:
  6987. name:
  6988. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  6989. TODO: Add other useful fields. apiVersion, kind,
  6990. uid?'
  6991. type: string
  6992. optional:
  6993. description: Specify whether the Secret must be defined
  6994. type: boolean
  6995. type: object
  6996. x-kubernetes-map-type: atomic
  6997. type: object
  6998. type: array
  6999. image:
  7000. description: 'Container image name. More info: https://kubernetes.'
  7001. type: string
  7002. imagePullPolicy:
  7003. description: 'Image pull policy. One of Always, Never, IfNotPresent.
  7004. Defaults to Always if :latest tag is specified, or IfNotPresent
  7005. otherwise. Cannot be updated. More info: https://kubernetes.'
  7006. type: string
  7007. lifecycle:
  7008. description: Actions that the management system should take
  7009. in response to container lifecycle events. Cannot be updated.
  7010. properties:
  7011. postStart:
  7012. description: PostStart is called immediately after a container
  7013. is created. If the handler fails, the container is terminated
  7014. and restarted according to its restart policy.
  7015. properties:
  7016. exec:
  7017. description: Exec specifies the action to take.
  7018. properties:
  7019. command:
  7020. description: Command is the command line to execute
  7021. inside the container, the working directory for
  7022. the command is root ('/') in the container's
  7023. filesystem.
  7024. items:
  7025. type: string
  7026. type: array
  7027. type: object
  7028. httpGet:
  7029. description: HTTPGet specifies the http request to perform.
  7030. properties:
  7031. host:
  7032. description: Host name to connect to, defaults to
  7033. the pod IP. You probably want to set "Host" in
  7034. httpHeaders instead.
  7035. type: string
  7036. httpHeaders:
  7037. description: Custom headers to set in the request.
  7038. HTTP allows repeated headers.
  7039. items:
  7040. description: HTTPHeader describes a custom header
  7041. to be used in HTTP probes
  7042. properties:
  7043. name:
  7044. description: The header field name. This will
  7045. be canonicalized upon output, so case-variant
  7046. names will be understood as the same header.
  7047. type: string
  7048. value:
  7049. description: The header field value
  7050. type: string
  7051. required:
  7052. - name
  7053. - value
  7054. type: object
  7055. type: array
  7056. path:
  7057. description: Path to access on the HTTP server.
  7058. type: string
  7059. port:
  7060. anyOf:
  7061. - type: integer
  7062. - type: string
  7063. description: Name or number of the port to access
  7064. on the container. Number must be in the range
  7065. 1 to 65535. Name must be an IANA_SVC_NAME.
  7066. x-kubernetes-int-or-string: true
  7067. scheme:
  7068. description: Scheme to use for connecting to the
  7069. host. Defaults to HTTP.
  7070. type: string
  7071. required:
  7072. - port
  7073. type: object
  7074. tcpSocket:
  7075. description: Deprecated. TCPSocket is NOT supported
  7076. as a LifecycleHandler and kept for the backward compatibility.
  7077. properties:
  7078. host:
  7079. description: 'Optional: Host name to connect to,
  7080. defaults to the pod IP.'
  7081. type: string
  7082. port:
  7083. anyOf:
  7084. - type: integer
  7085. - type: string
  7086. description: Number or name of the port to access
  7087. on the container. Number must be in the range
  7088. 1 to 65535. Name must be an IANA_SVC_NAME.
  7089. x-kubernetes-int-or-string: true
  7090. required:
  7091. - port
  7092. type: object
  7093. type: object
  7094. preStop:
  7095. description: PreStop is called immediately before a container
  7096. is terminated due to an API request or management event
  7097. such as liveness/startup probe failure, preemption, resource
  7098. contention, etc.
  7099. properties:
  7100. exec:
  7101. description: Exec specifies the action to take.
  7102. properties:
  7103. command:
  7104. description: Command is the command line to execute
  7105. inside the container, the working directory for
  7106. the command is root ('/') in the container's
  7107. filesystem.
  7108. items:
  7109. type: string
  7110. type: array
  7111. type: object
  7112. httpGet:
  7113. description: HTTPGet specifies the http request to perform.
  7114. properties:
  7115. host:
  7116. description: Host name to connect to, defaults to
  7117. the pod IP. You probably want to set "Host" in
  7118. httpHeaders instead.
  7119. type: string
  7120. httpHeaders:
  7121. description: Custom headers to set in the request.
  7122. HTTP allows repeated headers.
  7123. items:
  7124. description: HTTPHeader describes a custom header
  7125. to be used in HTTP probes
  7126. properties:
  7127. name:
  7128. description: The header field name. This will
  7129. be canonicalized upon output, so case-variant
  7130. names will be understood as the same header.
  7131. type: string
  7132. value:
  7133. description: The header field value
  7134. type: string
  7135. required:
  7136. - name
  7137. - value
  7138. type: object
  7139. type: array
  7140. path:
  7141. description: Path to access on the HTTP server.
  7142. type: string
  7143. port:
  7144. anyOf:
  7145. - type: integer
  7146. - type: string
  7147. description: Name or number of the port to access
  7148. on the container. Number must be in the range
  7149. 1 to 65535. Name must be an IANA_SVC_NAME.
  7150. x-kubernetes-int-or-string: true
  7151. scheme:
  7152. description: Scheme to use for connecting to the
  7153. host. Defaults to HTTP.
  7154. type: string
  7155. required:
  7156. - port
  7157. type: object
  7158. tcpSocket:
  7159. description: Deprecated. TCPSocket is NOT supported
  7160. as a LifecycleHandler and kept for the backward compatibility.
  7161. properties:
  7162. host:
  7163. description: 'Optional: Host name to connect to,
  7164. defaults to the pod IP.'
  7165. type: string
  7166. port:
  7167. anyOf:
  7168. - type: integer
  7169. - type: string
  7170. description: Number or name of the port to access
  7171. on the container. Number must be in the range
  7172. 1 to 65535. Name must be an IANA_SVC_NAME.
  7173. x-kubernetes-int-or-string: true
  7174. required:
  7175. - port
  7176. type: object
  7177. type: object
  7178. type: object
  7179. livenessProbe:
  7180. description: 'Periodic probe of container liveness. Container
  7181. will be restarted if the probe fails. Cannot be updated. More
  7182. info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  7183. properties:
  7184. exec:
  7185. description: Exec specifies the action to take.
  7186. properties:
  7187. command:
  7188. description: Command is the command line to execute
  7189. inside the container, the working directory for the
  7190. command is root ('/') in the container's filesystem.
  7191. items:
  7192. type: string
  7193. type: array
  7194. type: object
  7195. failureThreshold:
  7196. description: Minimum consecutive failures for the probe
  7197. to be considered failed after having succeeded. Defaults
  7198. to 3. Minimum value is 1.
  7199. format: int32
  7200. type: integer
  7201. grpc:
  7202. description: GRPC specifies an action involving a GRPC port.
  7203. properties:
  7204. port:
  7205. description: Port number of the gRPC service. Number
  7206. must be in the range 1 to 65535.
  7207. format: int32
  7208. type: integer
  7209. service:
  7210. description: Service is the name of the service to place
  7211. in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
  7212. type: string
  7213. required:
  7214. - port
  7215. type: object
  7216. httpGet:
  7217. description: HTTPGet specifies the http request to perform.
  7218. properties:
  7219. host:
  7220. description: Host name to connect to, defaults to the
  7221. pod IP. You probably want to set "Host" in httpHeaders
  7222. instead.
  7223. type: string
  7224. httpHeaders:
  7225. description: Custom headers to set in the request. HTTP
  7226. allows repeated headers.
  7227. items:
  7228. description: HTTPHeader describes a custom header
  7229. to be used in HTTP probes
  7230. properties:
  7231. name:
  7232. description: The header field name. This will
  7233. be canonicalized upon output, so case-variant
  7234. names will be understood as the same header.
  7235. type: string
  7236. value:
  7237. description: The header field value
  7238. type: string
  7239. required:
  7240. - name
  7241. - value
  7242. type: object
  7243. type: array
  7244. path:
  7245. description: Path to access on the HTTP server.
  7246. type: string
  7247. port:
  7248. anyOf:
  7249. - type: integer
  7250. - type: string
  7251. description: Name or number of the port to access on
  7252. the container. Number must be in the range 1 to 65535.
  7253. Name must be an IANA_SVC_NAME.
  7254. x-kubernetes-int-or-string: true
  7255. scheme:
  7256. description: Scheme to use for connecting to the host.
  7257. Defaults to HTTP.
  7258. type: string
  7259. required:
  7260. - port
  7261. type: object
  7262. initialDelaySeconds:
  7263. description: 'Number of seconds after the container has
  7264. started before liveness probes are initiated. More info:
  7265. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  7266. format: int32
  7267. type: integer
  7268. periodSeconds:
  7269. description: How often (in seconds) to perform the probe.
  7270. Default to 10 seconds. Minimum value is 1.
  7271. format: int32
  7272. type: integer
  7273. successThreshold:
  7274. description: Minimum consecutive successes for the probe
  7275. to be considered successful after having failed. Defaults
  7276. to 1. Must be 1 for liveness and startup. Minimum value
  7277. is 1.
  7278. format: int32
  7279. type: integer
  7280. tcpSocket:
  7281. description: TCPSocket specifies an action involving a TCP
  7282. port.
  7283. properties:
  7284. host:
  7285. description: 'Optional: Host name to connect to, defaults
  7286. to the pod IP.'
  7287. type: string
  7288. port:
  7289. anyOf:
  7290. - type: integer
  7291. - type: string
  7292. description: Number or name of the port to access on
  7293. the container. Number must be in the range 1 to 65535.
  7294. Name must be an IANA_SVC_NAME.
  7295. x-kubernetes-int-or-string: true
  7296. required:
  7297. - port
  7298. type: object
  7299. terminationGracePeriodSeconds:
  7300. description: Optional duration in seconds the pod needs
  7301. to terminate gracefully upon probe failure.
  7302. format: int64
  7303. type: integer
  7304. timeoutSeconds:
  7305. description: 'Number of seconds after which the probe times
  7306. out. Defaults to 1 second. Minimum value is 1. More info:
  7307. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  7308. format: int32
  7309. type: integer
  7310. type: object
  7311. name:
  7312. description: Name of the container specified as a DNS_LABEL.
  7313. Each container in a pod must have a unique name (DNS_LABEL).
  7314. Cannot be updated.
  7315. type: string
  7316. ports:
  7317. description: List of ports to expose from the container. Not
  7318. specifying a port here DOES NOT prevent that port from being
  7319. exposed. Any port which is listening on the default "0.0.0.
  7320. items:
  7321. description: ContainerPort represents a network port in a
  7322. single container.
  7323. properties:
  7324. containerPort:
  7325. description: Number of port to expose on the pod's IP
  7326. address. This must be a valid port number, 0 < x < 65536.
  7327. format: int32
  7328. type: integer
  7329. hostIP:
  7330. description: What host IP to bind the external port to.
  7331. type: string
  7332. hostPort:
  7333. description: Number of port to expose on the host. If
  7334. specified, this must be a valid port number, 0 < x <
  7335. 65536. If HostNetwork is specified, this must match
  7336. ContainerPort. Most containers do not need this.
  7337. format: int32
  7338. type: integer
  7339. name:
  7340. description: If specified, this must be an IANA_SVC_NAME
  7341. and unique within the pod. Each named port in a pod
  7342. must have a unique name. Name for the port that can
  7343. be referred to by services.
  7344. type: string
  7345. protocol:
  7346. default: TCP
  7347. description: Protocol for port. Must be UDP, TCP, or SCTP.
  7348. Defaults to "TCP".
  7349. type: string
  7350. required:
  7351. - containerPort
  7352. type: object
  7353. type: array
  7354. x-kubernetes-list-map-keys:
  7355. - containerPort
  7356. - protocol
  7357. x-kubernetes-list-type: map
  7358. readinessProbe:
  7359. description: 'Periodic probe of container service readiness.
  7360. Container will be removed from service endpoints if the probe
  7361. fails. Cannot be updated. More info: https://kubernetes.'
  7362. properties:
  7363. exec:
  7364. description: Exec specifies the action to take.
  7365. properties:
  7366. command:
  7367. description: Command is the command line to execute
  7368. inside the container, the working directory for the
  7369. command is root ('/') in the container's filesystem.
  7370. items:
  7371. type: string
  7372. type: array
  7373. type: object
  7374. failureThreshold:
  7375. description: Minimum consecutive failures for the probe
  7376. to be considered failed after having succeeded. Defaults
  7377. to 3. Minimum value is 1.
  7378. format: int32
  7379. type: integer
  7380. grpc:
  7381. description: GRPC specifies an action involving a GRPC port.
  7382. properties:
  7383. port:
  7384. description: Port number of the gRPC service. Number
  7385. must be in the range 1 to 65535.
  7386. format: int32
  7387. type: integer
  7388. service:
  7389. description: Service is the name of the service to place
  7390. in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
  7391. type: string
  7392. required:
  7393. - port
  7394. type: object
  7395. httpGet:
  7396. description: HTTPGet specifies the http request to perform.
  7397. properties:
  7398. host:
  7399. description: Host name to connect to, defaults to the
  7400. pod IP. You probably want to set "Host" in httpHeaders
  7401. instead.
  7402. type: string
  7403. httpHeaders:
  7404. description: Custom headers to set in the request. HTTP
  7405. allows repeated headers.
  7406. items:
  7407. description: HTTPHeader describes a custom header
  7408. to be used in HTTP probes
  7409. properties:
  7410. name:
  7411. description: The header field name. This will
  7412. be canonicalized upon output, so case-variant
  7413. names will be understood as the same header.
  7414. type: string
  7415. value:
  7416. description: The header field value
  7417. type: string
  7418. required:
  7419. - name
  7420. - value
  7421. type: object
  7422. type: array
  7423. path:
  7424. description: Path to access on the HTTP server.
  7425. type: string
  7426. port:
  7427. anyOf:
  7428. - type: integer
  7429. - type: string
  7430. description: Name or number of the port to access on
  7431. the container. Number must be in the range 1 to 65535.
  7432. Name must be an IANA_SVC_NAME.
  7433. x-kubernetes-int-or-string: true
  7434. scheme:
  7435. description: Scheme to use for connecting to the host.
  7436. Defaults to HTTP.
  7437. type: string
  7438. required:
  7439. - port
  7440. type: object
  7441. initialDelaySeconds:
  7442. description: 'Number of seconds after the container has
  7443. started before liveness probes are initiated. More info:
  7444. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  7445. format: int32
  7446. type: integer
  7447. periodSeconds:
  7448. description: How often (in seconds) to perform the probe.
  7449. Default to 10 seconds. Minimum value is 1.
  7450. format: int32
  7451. type: integer
  7452. successThreshold:
  7453. description: Minimum consecutive successes for the probe
  7454. to be considered successful after having failed. Defaults
  7455. to 1. Must be 1 for liveness and startup. Minimum value
  7456. is 1.
  7457. format: int32
  7458. type: integer
  7459. tcpSocket:
  7460. description: TCPSocket specifies an action involving a TCP
  7461. port.
  7462. properties:
  7463. host:
  7464. description: 'Optional: Host name to connect to, defaults
  7465. to the pod IP.'
  7466. type: string
  7467. port:
  7468. anyOf:
  7469. - type: integer
  7470. - type: string
  7471. description: Number or name of the port to access on
  7472. the container. Number must be in the range 1 to 65535.
  7473. Name must be an IANA_SVC_NAME.
  7474. x-kubernetes-int-or-string: true
  7475. required:
  7476. - port
  7477. type: object
  7478. terminationGracePeriodSeconds:
  7479. description: Optional duration in seconds the pod needs
  7480. to terminate gracefully upon probe failure.
  7481. format: int64
  7482. type: integer
  7483. timeoutSeconds:
  7484. description: 'Number of seconds after which the probe times
  7485. out. Defaults to 1 second. Minimum value is 1. More info:
  7486. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  7487. format: int32
  7488. type: integer
  7489. type: object
  7490. resizePolicy:
  7491. description: Resources resize policy for the container.
  7492. items:
  7493. description: ContainerResizePolicy represents resource resize
  7494. policy for the container.
  7495. properties:
  7496. resourceName:
  7497. description: 'Name of the resource to which this resource
  7498. resize policy applies. Supported values: cpu, memory.'
  7499. type: string
  7500. restartPolicy:
  7501. description: Restart policy to apply when specified resource
  7502. is resized. If not specified, it defaults to NotRequired.
  7503. type: string
  7504. required:
  7505. - resourceName
  7506. - restartPolicy
  7507. type: object
  7508. type: array
  7509. x-kubernetes-list-type: atomic
  7510. resources:
  7511. description: 'Compute Resources required by this container.
  7512. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  7513. properties:
  7514. claims:
  7515. description: "Claims lists the names of resources, defined
  7516. in spec.resourceClaims, that are used by this container.
  7517. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  7518. feature gate."
  7519. items:
  7520. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  7521. properties:
  7522. name:
  7523. description: Name must match the name of one entry
  7524. in pod.spec.resourceClaims of the Pod where this
  7525. field is used. It makes that resource available
  7526. inside a container.
  7527. type: string
  7528. required:
  7529. - name
  7530. type: object
  7531. type: array
  7532. x-kubernetes-list-map-keys:
  7533. - name
  7534. x-kubernetes-list-type: map
  7535. limits:
  7536. additionalProperties:
  7537. anyOf:
  7538. - type: integer
  7539. - type: string
  7540. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  7541. x-kubernetes-int-or-string: true
  7542. description: 'Limits describes the maximum amount of compute
  7543. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  7544. type: object
  7545. requests:
  7546. additionalProperties:
  7547. anyOf:
  7548. - type: integer
  7549. - type: string
  7550. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  7551. x-kubernetes-int-or-string: true
  7552. description: Requests describes the minimum amount of compute
  7553. resources required.
  7554. type: object
  7555. type: object
  7556. restartPolicy:
  7557. description: RestartPolicy defines the restart behavior of individual
  7558. containers in a pod. This field may only be set for init containers,
  7559. and the only allowed value is "Always".
  7560. type: string
  7561. securityContext:
  7562. description: SecurityContext defines the security options the
  7563. container should be run with. If set, the fields of SecurityContext
  7564. override the equivalent fields of PodSecurityContext.
  7565. properties:
  7566. allowPrivilegeEscalation:
  7567. description: AllowPrivilegeEscalation controls whether a
  7568. process can gain more privileges than its parent process.
  7569. This bool directly controls if the no_new_privs flag will
  7570. be set on the container process.
  7571. type: boolean
  7572. capabilities:
  7573. description: The capabilities to add/drop when running containers.
  7574. Defaults to the default set of capabilities granted by
  7575. the container runtime. Note that this field cannot be
  7576. set when spec.os.name is windows.
  7577. properties:
  7578. add:
  7579. description: Added capabilities
  7580. items:
  7581. description: Capability represent POSIX capabilities
  7582. type
  7583. type: string
  7584. type: array
  7585. drop:
  7586. description: Removed capabilities
  7587. items:
  7588. description: Capability represent POSIX capabilities
  7589. type
  7590. type: string
  7591. type: array
  7592. type: object
  7593. privileged:
  7594. description: Run container in privileged mode. Processes
  7595. in privileged containers are essentially equivalent to
  7596. root on the host. Defaults to false. Note that this field
  7597. cannot be set when spec.os.name is windows.
  7598. type: boolean
  7599. procMount:
  7600. description: procMount denotes the type of proc mount to
  7601. use for the containers. The default is DefaultProcMount
  7602. which uses the container runtime defaults for readonly
  7603. paths and masked paths.
  7604. type: string
  7605. readOnlyRootFilesystem:
  7606. description: Whether this container has a read-only root
  7607. filesystem. Default is false. Note that this field cannot
  7608. be set when spec.os.name is windows.
  7609. type: boolean
  7610. runAsGroup:
  7611. description: The GID to run the entrypoint of the container
  7612. process. Uses runtime default if unset. May also be set
  7613. in PodSecurityContext.
  7614. format: int64
  7615. type: integer
  7616. runAsNonRoot:
  7617. description: Indicates that the container must run as a
  7618. non-root user.
  7619. type: boolean
  7620. runAsUser:
  7621. description: The UID to run the entrypoint of the container
  7622. process. Defaults to user specified in image metadata
  7623. if unspecified. May also be set in PodSecurityContext.
  7624. format: int64
  7625. type: integer
  7626. seLinuxOptions:
  7627. description: The SELinux context to be applied to the container.
  7628. If unspecified, the container runtime will allocate a
  7629. random SELinux context for each container. May also be
  7630. set in PodSecurityContext.
  7631. properties:
  7632. level:
  7633. description: Level is SELinux level label that applies
  7634. to the container.
  7635. type: string
  7636. role:
  7637. description: Role is a SELinux role label that applies
  7638. to the container.
  7639. type: string
  7640. type:
  7641. description: Type is a SELinux type label that applies
  7642. to the container.
  7643. type: string
  7644. user:
  7645. description: User is a SELinux user label that applies
  7646. to the container.
  7647. type: string
  7648. type: object
  7649. seccompProfile:
  7650. description: The seccomp options to use by this container.
  7651. If seccomp options are provided at both the pod & container
  7652. level, the container options override the pod options.
  7653. properties:
  7654. localhostProfile:
  7655. description: localhostProfile indicates a profile defined
  7656. in a file on the node should be used. The profile
  7657. must be preconfigured on the node to work.
  7658. type: string
  7659. type:
  7660. description: "type indicates which kind of seccomp profile
  7661. will be applied. Valid options are: \n Localhost -
  7662. a profile defined in a file on the node should be
  7663. used."
  7664. type: string
  7665. required:
  7666. - type
  7667. type: object
  7668. windowsOptions:
  7669. description: The Windows specific settings applied to all
  7670. containers. If unspecified, the options from the PodSecurityContext
  7671. will be used.
  7672. properties:
  7673. gmsaCredentialSpec:
  7674. description: GMSACredentialSpec is where the GMSA admission
  7675. webhook (https://github.com/kubernetes-sigs/windows-gmsa)
  7676. inlines the contents of the GMSA credential spec named
  7677. by the GMSACredentialSpecName field.
  7678. type: string
  7679. gmsaCredentialSpecName:
  7680. description: GMSACredentialSpecName is the name of the
  7681. GMSA credential spec to use.
  7682. type: string
  7683. hostProcess:
  7684. description: HostProcess determines if a container should
  7685. be run as a 'Host Process' container.
  7686. type: boolean
  7687. runAsUserName:
  7688. description: The UserName in Windows to run the entrypoint
  7689. of the container process. Defaults to the user specified
  7690. in image metadata if unspecified. May also be set
  7691. in PodSecurityContext.
  7692. type: string
  7693. type: object
  7694. type: object
  7695. startupProbe:
  7696. description: StartupProbe indicates that the Pod has successfully
  7697. initialized. If specified, no other probes are executed until
  7698. this completes successfully.
  7699. properties:
  7700. exec:
  7701. description: Exec specifies the action to take.
  7702. properties:
  7703. command:
  7704. description: Command is the command line to execute
  7705. inside the container, the working directory for the
  7706. command is root ('/') in the container's filesystem.
  7707. items:
  7708. type: string
  7709. type: array
  7710. type: object
  7711. failureThreshold:
  7712. description: Minimum consecutive failures for the probe
  7713. to be considered failed after having succeeded. Defaults
  7714. to 3. Minimum value is 1.
  7715. format: int32
  7716. type: integer
  7717. grpc:
  7718. description: GRPC specifies an action involving a GRPC port.
  7719. properties:
  7720. port:
  7721. description: Port number of the gRPC service. Number
  7722. must be in the range 1 to 65535.
  7723. format: int32
  7724. type: integer
  7725. service:
  7726. description: Service is the name of the service to place
  7727. in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
  7728. type: string
  7729. required:
  7730. - port
  7731. type: object
  7732. httpGet:
  7733. description: HTTPGet specifies the http request to perform.
  7734. properties:
  7735. host:
  7736. description: Host name to connect to, defaults to the
  7737. pod IP. You probably want to set "Host" in httpHeaders
  7738. instead.
  7739. type: string
  7740. httpHeaders:
  7741. description: Custom headers to set in the request. HTTP
  7742. allows repeated headers.
  7743. items:
  7744. description: HTTPHeader describes a custom header
  7745. to be used in HTTP probes
  7746. properties:
  7747. name:
  7748. description: The header field name. This will
  7749. be canonicalized upon output, so case-variant
  7750. names will be understood as the same header.
  7751. type: string
  7752. value:
  7753. description: The header field value
  7754. type: string
  7755. required:
  7756. - name
  7757. - value
  7758. type: object
  7759. type: array
  7760. path:
  7761. description: Path to access on the HTTP server.
  7762. type: string
  7763. port:
  7764. anyOf:
  7765. - type: integer
  7766. - type: string
  7767. description: Name or number of the port to access on
  7768. the container. Number must be in the range 1 to 65535.
  7769. Name must be an IANA_SVC_NAME.
  7770. x-kubernetes-int-or-string: true
  7771. scheme:
  7772. description: Scheme to use for connecting to the host.
  7773. Defaults to HTTP.
  7774. type: string
  7775. required:
  7776. - port
  7777. type: object
  7778. initialDelaySeconds:
  7779. description: 'Number of seconds after the container has
  7780. started before liveness probes are initiated. More info:
  7781. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  7782. format: int32
  7783. type: integer
  7784. periodSeconds:
  7785. description: How often (in seconds) to perform the probe.
  7786. Default to 10 seconds. Minimum value is 1.
  7787. format: int32
  7788. type: integer
  7789. successThreshold:
  7790. description: Minimum consecutive successes for the probe
  7791. to be considered successful after having failed. Defaults
  7792. to 1. Must be 1 for liveness and startup. Minimum value
  7793. is 1.
  7794. format: int32
  7795. type: integer
  7796. tcpSocket:
  7797. description: TCPSocket specifies an action involving a TCP
  7798. port.
  7799. properties:
  7800. host:
  7801. description: 'Optional: Host name to connect to, defaults
  7802. to the pod IP.'
  7803. type: string
  7804. port:
  7805. anyOf:
  7806. - type: integer
  7807. - type: string
  7808. description: Number or name of the port to access on
  7809. the container. Number must be in the range 1 to 65535.
  7810. Name must be an IANA_SVC_NAME.
  7811. x-kubernetes-int-or-string: true
  7812. required:
  7813. - port
  7814. type: object
  7815. terminationGracePeriodSeconds:
  7816. description: Optional duration in seconds the pod needs
  7817. to terminate gracefully upon probe failure.
  7818. format: int64
  7819. type: integer
  7820. timeoutSeconds:
  7821. description: 'Number of seconds after which the probe times
  7822. out. Defaults to 1 second. Minimum value is 1. More info:
  7823. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  7824. format: int32
  7825. type: integer
  7826. type: object
  7827. stdin:
  7828. description: Whether this container should allocate a buffer
  7829. for stdin in the container runtime. If this is not set, reads
  7830. from stdin in the container will always result in EOF. Default
  7831. is false.
  7832. type: boolean
  7833. stdinOnce:
  7834. description: Whether the container runtime should close the
  7835. stdin channel after it has been opened by a single attach.
  7836. When stdin is true the stdin stream will remain open across
  7837. multiple attach sessions.
  7838. type: boolean
  7839. terminationMessagePath:
  7840. description: 'Optional: Path at which the file to which the
  7841. container''s termination message will be written is mounted
  7842. into the container''s filesystem.'
  7843. type: string
  7844. terminationMessagePolicy:
  7845. description: Indicate how the termination message should be
  7846. populated. File will use the contents of terminationMessagePath
  7847. to populate the container status message on both success and
  7848. failure.
  7849. type: string
  7850. tty:
  7851. description: Whether this container should allocate a TTY for
  7852. itself, also requires 'stdin' to be true. Default is false.
  7853. type: boolean
  7854. volumeDevices:
  7855. description: volumeDevices is the list of block devices to be
  7856. used by the container.
  7857. items:
  7858. description: volumeDevice describes a mapping of a raw block
  7859. device within a container.
  7860. properties:
  7861. devicePath:
  7862. description: devicePath is the path inside of the container
  7863. that the device will be mapped to.
  7864. type: string
  7865. name:
  7866. description: name must match the name of a persistentVolumeClaim
  7867. in the pod
  7868. type: string
  7869. required:
  7870. - devicePath
  7871. - name
  7872. type: object
  7873. type: array
  7874. volumeMounts:
  7875. description: Pod volumes to mount into the container's filesystem.
  7876. Cannot be updated.
  7877. items:
  7878. description: VolumeMount describes a mounting of a Volume
  7879. within a container.
  7880. properties:
  7881. mountPath:
  7882. description: Path within the container at which the volume
  7883. should be mounted. Must not contain ':'.
  7884. type: string
  7885. mountPropagation:
  7886. description: mountPropagation determines how mounts are
  7887. propagated from the host to container and the other
  7888. way around. When not set, MountPropagationNone is used.
  7889. This field is beta in 1.10.
  7890. type: string
  7891. name:
  7892. description: This must match the Name of a Volume.
  7893. type: string
  7894. readOnly:
  7895. description: Mounted read-only if true, read-write otherwise
  7896. (false or unspecified). Defaults to false.
  7897. type: boolean
  7898. subPath:
  7899. description: Path within the volume from which the container's
  7900. volume should be mounted. Defaults to "" (volume's root).
  7901. type: string
  7902. subPathExpr:
  7903. description: Expanded path within the volume from which
  7904. the container's volume should be mounted.
  7905. type: string
  7906. required:
  7907. - mountPath
  7908. - name
  7909. type: object
  7910. type: array
  7911. workingDir:
  7912. description: Container's working directory. If not specified,
  7913. the container runtime's default will be used, which might
  7914. be configured in the container image. Cannot be updated.
  7915. type: string
  7916. required:
  7917. - name
  7918. type: object
  7919. type: array
  7920. lifecycle:
  7921. description: Actions that the management system should take in response
  7922. to container lifecycle events. Cannot be updated.
  7923. properties:
  7924. postStart:
  7925. description: PostStart is called immediately after a container
  7926. is created. If the handler fails, the container is terminated
  7927. and restarted according to its restart policy.
  7928. properties:
  7929. exec:
  7930. description: Exec specifies the action to take.
  7931. properties:
  7932. command:
  7933. description: Command is the command line to execute inside
  7934. the container, the working directory for the command is
  7935. root ('/') in the container's filesystem.
  7936. items:
  7937. type: string
  7938. type: array
  7939. type: object
  7940. httpGet:
  7941. description: HTTPGet specifies the http request to perform.
  7942. properties:
  7943. host:
  7944. description: Host name to connect to, defaults to the
  7945. pod IP. You probably want to set "Host" in httpHeaders
  7946. instead.
  7947. type: string
  7948. httpHeaders:
  7949. description: Custom headers to set in the request. HTTP
  7950. allows repeated headers.
  7951. items:
  7952. description: HTTPHeader describes a custom header to
  7953. be used in HTTP probes
  7954. properties:
  7955. name:
  7956. description: The header field name. This will be
  7957. canonicalized upon output, so case-variant names
  7958. will be understood as the same header.
  7959. type: string
  7960. value:
  7961. description: The header field value
  7962. type: string
  7963. required:
  7964. - name
  7965. - value
  7966. type: object
  7967. type: array
  7968. path:
  7969. description: Path to access on the HTTP server.
  7970. type: string
  7971. port:
  7972. anyOf:
  7973. - type: integer
  7974. - type: string
  7975. description: Name or number of the port to access on the
  7976. container. Number must be in the range 1 to 65535. Name
  7977. must be an IANA_SVC_NAME.
  7978. x-kubernetes-int-or-string: true
  7979. scheme:
  7980. description: Scheme to use for connecting to the host.
  7981. Defaults to HTTP.
  7982. type: string
  7983. required:
  7984. - port
  7985. type: object
  7986. tcpSocket:
  7987. description: Deprecated. TCPSocket is NOT supported as a LifecycleHandler
  7988. and kept for the backward compatibility.
  7989. properties:
  7990. host:
  7991. description: 'Optional: Host name to connect to, defaults
  7992. to the pod IP.'
  7993. type: string
  7994. port:
  7995. anyOf:
  7996. - type: integer
  7997. - type: string
  7998. description: Number or name of the port to access on the
  7999. container. Number must be in the range 1 to 65535. Name
  8000. must be an IANA_SVC_NAME.
  8001. x-kubernetes-int-or-string: true
  8002. required:
  8003. - port
  8004. type: object
  8005. type: object
  8006. preStop:
  8007. description: PreStop is called immediately before a container
  8008. is terminated due to an API request or management event such
  8009. as liveness/startup probe failure, preemption, resource contention,
  8010. etc.
  8011. properties:
  8012. exec:
  8013. description: Exec specifies the action to take.
  8014. properties:
  8015. command:
  8016. description: Command is the command line to execute inside
  8017. the container, the working directory for the command is
  8018. root ('/') in the container's filesystem.
  8019. items:
  8020. type: string
  8021. type: array
  8022. type: object
  8023. httpGet:
  8024. description: HTTPGet specifies the http request to perform.
  8025. properties:
  8026. host:
  8027. description: Host name to connect to, defaults to the
  8028. pod IP. You probably want to set "Host" in httpHeaders
  8029. instead.
  8030. type: string
  8031. httpHeaders:
  8032. description: Custom headers to set in the request. HTTP
  8033. allows repeated headers.
  8034. items:
  8035. description: HTTPHeader describes a custom header to
  8036. be used in HTTP probes
  8037. properties:
  8038. name:
  8039. description: The header field name. This will be
  8040. canonicalized upon output, so case-variant names
  8041. will be understood as the same header.
  8042. type: string
  8043. value:
  8044. description: The header field value
  8045. type: string
  8046. required:
  8047. - name
  8048. - value
  8049. type: object
  8050. type: array
  8051. path:
  8052. description: Path to access on the HTTP server.
  8053. type: string
  8054. port:
  8055. anyOf:
  8056. - type: integer
  8057. - type: string
  8058. description: Name or number of the port to access on the
  8059. container. Number must be in the range 1 to 65535. Name
  8060. must be an IANA_SVC_NAME.
  8061. x-kubernetes-int-or-string: true
  8062. scheme:
  8063. description: Scheme to use for connecting to the host.
  8064. Defaults to HTTP.
  8065. type: string
  8066. required:
  8067. - port
  8068. type: object
  8069. tcpSocket:
  8070. description: Deprecated. TCPSocket is NOT supported as a LifecycleHandler
  8071. and kept for the backward compatibility.
  8072. properties:
  8073. host:
  8074. description: 'Optional: Host name to connect to, defaults
  8075. to the pod IP.'
  8076. type: string
  8077. port:
  8078. anyOf:
  8079. - type: integer
  8080. - type: string
  8081. description: Number or name of the port to access on the
  8082. container. Number must be in the range 1 to 65535. Name
  8083. must be an IANA_SVC_NAME.
  8084. x-kubernetes-int-or-string: true
  8085. required:
  8086. - port
  8087. type: object
  8088. type: object
  8089. type: object
  8090. livenessProbe:
  8091. description: Liveness config for the OpenTelemetry Collector except
  8092. the probe handler which is auto generated from the health extension
  8093. of the collector.
  8094. properties:
  8095. failureThreshold:
  8096. description: Minimum consecutive failures for the probe to be
  8097. considered failed after having succeeded. Defaults to 3. Minimum
  8098. value is 1.
  8099. format: int32
  8100. type: integer
  8101. initialDelaySeconds:
  8102. description: 'Number of seconds after the container has started
  8103. before liveness probes are initiated. Defaults to 0 seconds.
  8104. Minimum value is 0. More info: https://kubernetes.'
  8105. format: int32
  8106. type: integer
  8107. periodSeconds:
  8108. description: How often (in seconds) to perform the probe. Default
  8109. to 10 seconds. Minimum value is 1.
  8110. format: int32
  8111. type: integer
  8112. successThreshold:
  8113. description: Minimum consecutive successes for the probe to be
  8114. considered successful after having failed. Defaults to 1. Must
  8115. be 1 for liveness and startup. Minimum value is 1.
  8116. format: int32
  8117. type: integer
  8118. terminationGracePeriodSeconds:
  8119. description: Optional duration in seconds the pod needs to terminate
  8120. gracefully upon probe failure.
  8121. format: int64
  8122. type: integer
  8123. timeoutSeconds:
  8124. description: 'Number of seconds after which the probe times out.
  8125. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  8126. format: int32
  8127. type: integer
  8128. type: object
  8129. managementState:
  8130. default: managed
  8131. description: ManagementState defines if the CR should be managed by
  8132. the operator or not. Default is managed.
  8133. enum:
  8134. - managed
  8135. - unmanaged
  8136. type: string
  8137. maxReplicas:
  8138. description: 'MaxReplicas sets an upper bound to the autoscaling feature.
  8139. If MaxReplicas is set autoscaling is enabled. Deprecated: use "OpenTelemetryCollector.Spec.Autoscaler.MaxReplicas"
  8140. instead.'
  8141. format: int32
  8142. type: integer
  8143. minReplicas:
  8144. description: 'MinReplicas sets a lower bound to the autoscaling feature. Set
  8145. this if you are using autoscaling. It must be at least 1 Deprecated:
  8146. use "OpenTelemetryCollector.Spec.Autoscaler.MinReplicas" instead.'
  8147. format: int32
  8148. type: integer
  8149. mode:
  8150. description: Mode represents how the collector should be deployed
  8151. (deployment, daemonset, statefulset or sidecar)
  8152. enum:
  8153. - daemonset
  8154. - deployment
  8155. - sidecar
  8156. - statefulset
  8157. type: string
  8158. nodeSelector:
  8159. additionalProperties:
  8160. type: string
  8161. description: NodeSelector to schedule OpenTelemetry Collector pods.
  8162. This is only relevant to daemonset, statefulset, and deployment
  8163. mode
  8164. type: object
  8165. observability:
  8166. description: ObservabilitySpec defines how telemetry data gets handled.
  8167. properties:
  8168. metrics:
  8169. description: Metrics defines the metrics configuration for operands.
  8170. properties:
  8171. enableMetrics:
  8172. description: EnableMetrics specifies if ServiceMonitor should
  8173. be created for the OpenTelemetry Collector and Prometheus
  8174. Exporters. The operator.observability.
  8175. type: boolean
  8176. type: object
  8177. type: object
  8178. podAnnotations:
  8179. additionalProperties:
  8180. type: string
  8181. description: PodAnnotations is the set of annotations that will be
  8182. attached to Collector and Target Allocator pods.
  8183. type: object
  8184. podDisruptionBudget:
  8185. description: PodDisruptionBudget specifies the pod disruption budget
  8186. configuration to use for the OpenTelemetryCollector workload.
  8187. properties:
  8188. maxUnavailable:
  8189. anyOf:
  8190. - type: integer
  8191. - type: string
  8192. description: An eviction is allowed if at most "maxUnavailable"
  8193. pods selected by "selector" are unavailable after the eviction,
  8194. i.e. even in absence of the evicted pod.
  8195. x-kubernetes-int-or-string: true
  8196. minAvailable:
  8197. anyOf:
  8198. - type: integer
  8199. - type: string
  8200. description: An eviction is allowed if at least "minAvailable"
  8201. pods selected by "selector" will still be available after the
  8202. eviction, i.e. even in the absence of the evicted pod.
  8203. x-kubernetes-int-or-string: true
  8204. type: object
  8205. podSecurityContext:
  8206. description: PodSecurityContext configures the pod security context
  8207. for the opentelemetry-collector pod, when running as a deployment,
  8208. daemonset, or statefulset.
  8209. properties:
  8210. fsGroup:
  8211. description: "A special supplemental group that applies to all
  8212. containers in a pod. Some volume types allow the Kubelet to
  8213. change the ownership of that volume to be owned by the pod:
  8214. \n 1."
  8215. format: int64
  8216. type: integer
  8217. fsGroupChangePolicy:
  8218. description: fsGroupChangePolicy defines behavior of changing
  8219. ownership and permission of the volume before being exposed
  8220. inside Pod.
  8221. type: string
  8222. runAsGroup:
  8223. description: The GID to run the entrypoint of the container process.
  8224. Uses runtime default if unset. May also be set in SecurityContext.
  8225. format: int64
  8226. type: integer
  8227. runAsNonRoot:
  8228. description: Indicates that the container must run as a non-root
  8229. user.
  8230. type: boolean
  8231. runAsUser:
  8232. description: The UID to run the entrypoint of the container process.
  8233. Defaults to user specified in image metadata if unspecified.
  8234. May also be set in SecurityContext.
  8235. format: int64
  8236. type: integer
  8237. seLinuxOptions:
  8238. description: The SELinux context to be applied to all containers.
  8239. If unspecified, the container runtime will allocate a random
  8240. SELinux context for each container. May also be set in SecurityContext.
  8241. properties:
  8242. level:
  8243. description: Level is SELinux level label that applies to
  8244. the container.
  8245. type: string
  8246. role:
  8247. description: Role is a SELinux role label that applies to
  8248. the container.
  8249. type: string
  8250. type:
  8251. description: Type is a SELinux type label that applies to
  8252. the container.
  8253. type: string
  8254. user:
  8255. description: User is a SELinux user label that applies to
  8256. the container.
  8257. type: string
  8258. type: object
  8259. seccompProfile:
  8260. description: The seccomp options to use by the containers in this
  8261. pod. Note that this field cannot be set when spec.os.name is
  8262. windows.
  8263. properties:
  8264. localhostProfile:
  8265. description: localhostProfile indicates a profile defined
  8266. in a file on the node should be used. The profile must be
  8267. preconfigured on the node to work.
  8268. type: string
  8269. type:
  8270. description: "type indicates which kind of seccomp profile
  8271. will be applied. Valid options are: \n Localhost - a profile
  8272. defined in a file on the node should be used."
  8273. type: string
  8274. required:
  8275. - type
  8276. type: object
  8277. supplementalGroups:
  8278. description: A list of groups applied to the first process run
  8279. in each container, in addition to the container's primary GID,
  8280. the fsGroup (if specified), and group memberships defined in
  8281. the container image for th
  8282. items:
  8283. format: int64
  8284. type: integer
  8285. type: array
  8286. sysctls:
  8287. description: Sysctls hold a list of namespaced sysctls used for
  8288. the pod. Pods with unsupported sysctls (by the container runtime)
  8289. might fail to launch. Note that this field cannot be set when
  8290. spec.os.
  8291. items:
  8292. description: Sysctl defines a kernel parameter to be set
  8293. properties:
  8294. name:
  8295. description: Name of a property to set
  8296. type: string
  8297. value:
  8298. description: Value of a property to set
  8299. type: string
  8300. required:
  8301. - name
  8302. - value
  8303. type: object
  8304. type: array
  8305. windowsOptions:
  8306. description: The Windows specific settings applied to all containers.
  8307. If unspecified, the options within a container's SecurityContext
  8308. will be used.
  8309. properties:
  8310. gmsaCredentialSpec:
  8311. description: GMSACredentialSpec is where the GMSA admission
  8312. webhook (https://github.com/kubernetes-sigs/windows-gmsa)
  8313. inlines the contents of the GMSA credential spec named by
  8314. the GMSACredentialSpecName field.
  8315. type: string
  8316. gmsaCredentialSpecName:
  8317. description: GMSACredentialSpecName is the name of the GMSA
  8318. credential spec to use.
  8319. type: string
  8320. hostProcess:
  8321. description: HostProcess determines if a container should
  8322. be run as a 'Host Process' container.
  8323. type: boolean
  8324. runAsUserName:
  8325. description: The UserName in Windows to run the entrypoint
  8326. of the container process. Defaults to the user specified
  8327. in image metadata if unspecified. May also be set in PodSecurityContext.
  8328. type: string
  8329. type: object
  8330. type: object
  8331. ports:
  8332. description: Ports allows a set of ports to be exposed by the underlying
  8333. v1.Service. By default, the operator will attempt to infer the required
  8334. ports by parsing the .Spec.
  8335. items:
  8336. description: ServicePort contains information on service's port.
  8337. properties:
  8338. appProtocol:
  8339. description: The application protocol for this port. This is
  8340. used as a hint for implementations to offer richer behavior
  8341. for protocols that they understand. This field follows standard
  8342. Kubernetes label syntax.
  8343. type: string
  8344. name:
  8345. description: The name of this port within the service. This
  8346. must be a DNS_LABEL. All ports within a ServiceSpec must have
  8347. unique names.
  8348. type: string
  8349. nodePort:
  8350. description: The port on each node on which this service is
  8351. exposed when type is NodePort or LoadBalancer. Usually assigned
  8352. by the system.
  8353. format: int32
  8354. type: integer
  8355. port:
  8356. description: The port that will be exposed by this service.
  8357. format: int32
  8358. type: integer
  8359. protocol:
  8360. default: TCP
  8361. description: The IP protocol for this port. Supports "TCP",
  8362. "UDP", and "SCTP". Default is TCP.
  8363. type: string
  8364. targetPort:
  8365. anyOf:
  8366. - type: integer
  8367. - type: string
  8368. description: Number or name of the port to access on the pods
  8369. targeted by the service. Number must be in the range 1 to
  8370. 65535. Name must be an IANA_SVC_NAME.
  8371. x-kubernetes-int-or-string: true
  8372. required:
  8373. - port
  8374. type: object
  8375. type: array
  8376. x-kubernetes-list-type: atomic
  8377. priorityClassName:
  8378. description: If specified, indicates the pod's priority. If not specified,
  8379. the pod priority will be default or zero if there is no default.
  8380. type: string
  8381. replicas:
  8382. description: Replicas is the number of pod instances for the underlying
  8383. OpenTelemetry Collector. Set this if your are not using autoscaling
  8384. format: int32
  8385. type: integer
  8386. resources:
  8387. description: Resources to set on the OpenTelemetry Collector pods.
  8388. properties:
  8389. claims:
  8390. description: "Claims lists the names of resources, defined in
  8391. spec.resourceClaims, that are used by this container. \n This
  8392. is an alpha field and requires enabling the DynamicResourceAllocation
  8393. feature gate."
  8394. items:
  8395. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  8396. properties:
  8397. name:
  8398. description: Name must match the name of one entry in pod.spec.resourceClaims
  8399. of the Pod where this field is used. It makes that resource
  8400. available inside a container.
  8401. type: string
  8402. required:
  8403. - name
  8404. type: object
  8405. type: array
  8406. x-kubernetes-list-map-keys:
  8407. - name
  8408. x-kubernetes-list-type: map
  8409. limits:
  8410. additionalProperties:
  8411. anyOf:
  8412. - type: integer
  8413. - type: string
  8414. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  8415. x-kubernetes-int-or-string: true
  8416. description: 'Limits describes the maximum amount of compute resources
  8417. allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  8418. type: object
  8419. requests:
  8420. additionalProperties:
  8421. anyOf:
  8422. - type: integer
  8423. - type: string
  8424. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  8425. x-kubernetes-int-or-string: true
  8426. description: Requests describes the minimum amount of compute
  8427. resources required.
  8428. type: object
  8429. type: object
  8430. securityContext:
  8431. description: SecurityContext configures the container security context
  8432. for the opentelemetry-collector container.
  8433. properties:
  8434. allowPrivilegeEscalation:
  8435. description: AllowPrivilegeEscalation controls whether a process
  8436. can gain more privileges than its parent process. This bool
  8437. directly controls if the no_new_privs flag will be set on the
  8438. container process.
  8439. type: boolean
  8440. capabilities:
  8441. description: The capabilities to add/drop when running containers.
  8442. Defaults to the default set of capabilities granted by the container
  8443. runtime. Note that this field cannot be set when spec.os.name
  8444. is windows.
  8445. properties:
  8446. add:
  8447. description: Added capabilities
  8448. items:
  8449. description: Capability represent POSIX capabilities type
  8450. type: string
  8451. type: array
  8452. drop:
  8453. description: Removed capabilities
  8454. items:
  8455. description: Capability represent POSIX capabilities type
  8456. type: string
  8457. type: array
  8458. type: object
  8459. privileged:
  8460. description: Run container in privileged mode. Processes in privileged
  8461. containers are essentially equivalent to root on the host. Defaults
  8462. to false. Note that this field cannot be set when spec.os.name
  8463. is windows.
  8464. type: boolean
  8465. procMount:
  8466. description: procMount denotes the type of proc mount to use for
  8467. the containers. The default is DefaultProcMount which uses the
  8468. container runtime defaults for readonly paths and masked paths.
  8469. type: string
  8470. readOnlyRootFilesystem:
  8471. description: Whether this container has a read-only root filesystem.
  8472. Default is false. Note that this field cannot be set when spec.os.name
  8473. is windows.
  8474. type: boolean
  8475. runAsGroup:
  8476. description: The GID to run the entrypoint of the container process.
  8477. Uses runtime default if unset. May also be set in PodSecurityContext.
  8478. format: int64
  8479. type: integer
  8480. runAsNonRoot:
  8481. description: Indicates that the container must run as a non-root
  8482. user.
  8483. type: boolean
  8484. runAsUser:
  8485. description: The UID to run the entrypoint of the container process.
  8486. Defaults to user specified in image metadata if unspecified.
  8487. May also be set in PodSecurityContext.
  8488. format: int64
  8489. type: integer
  8490. seLinuxOptions:
  8491. description: The SELinux context to be applied to the container.
  8492. If unspecified, the container runtime will allocate a random
  8493. SELinux context for each container. May also be set in PodSecurityContext.
  8494. properties:
  8495. level:
  8496. description: Level is SELinux level label that applies to
  8497. the container.
  8498. type: string
  8499. role:
  8500. description: Role is a SELinux role label that applies to
  8501. the container.
  8502. type: string
  8503. type:
  8504. description: Type is a SELinux type label that applies to
  8505. the container.
  8506. type: string
  8507. user:
  8508. description: User is a SELinux user label that applies to
  8509. the container.
  8510. type: string
  8511. type: object
  8512. seccompProfile:
  8513. description: The seccomp options to use by this container. If
  8514. seccomp options are provided at both the pod & container level,
  8515. the container options override the pod options.
  8516. properties:
  8517. localhostProfile:
  8518. description: localhostProfile indicates a profile defined
  8519. in a file on the node should be used. The profile must be
  8520. preconfigured on the node to work.
  8521. type: string
  8522. type:
  8523. description: "type indicates which kind of seccomp profile
  8524. will be applied. Valid options are: \n Localhost - a profile
  8525. defined in a file on the node should be used."
  8526. type: string
  8527. required:
  8528. - type
  8529. type: object
  8530. windowsOptions:
  8531. description: The Windows specific settings applied to all containers.
  8532. If unspecified, the options from the PodSecurityContext will
  8533. be used.
  8534. properties:
  8535. gmsaCredentialSpec:
  8536. description: GMSACredentialSpec is where the GMSA admission
  8537. webhook (https://github.com/kubernetes-sigs/windows-gmsa)
  8538. inlines the contents of the GMSA credential spec named by
  8539. the GMSACredentialSpecName field.
  8540. type: string
  8541. gmsaCredentialSpecName:
  8542. description: GMSACredentialSpecName is the name of the GMSA
  8543. credential spec to use.
  8544. type: string
  8545. hostProcess:
  8546. description: HostProcess determines if a container should
  8547. be run as a 'Host Process' container.
  8548. type: boolean
  8549. runAsUserName:
  8550. description: The UserName in Windows to run the entrypoint
  8551. of the container process. Defaults to the user specified
  8552. in image metadata if unspecified. May also be set in PodSecurityContext.
  8553. type: string
  8554. type: object
  8555. type: object
  8556. serviceAccount:
  8557. description: ServiceAccount indicates the name of an existing service
  8558. account to use with this instance. When set, the operator will not
  8559. automatically create a ServiceAccount for the collector.
  8560. type: string
  8561. targetAllocator:
  8562. description: TargetAllocator indicates a value which determines whether
  8563. to spawn a target allocation resource or not.
  8564. properties:
  8565. affinity:
  8566. description: If specified, indicates the pod's scheduling constraints
  8567. properties:
  8568. nodeAffinity:
  8569. description: Describes node affinity scheduling rules for
  8570. the pod.
  8571. properties:
  8572. preferredDuringSchedulingIgnoredDuringExecution:
  8573. description: The scheduler will prefer to schedule pods
  8574. to nodes that satisfy the affinity expressions specified
  8575. by this field, but it may choose a node that violates
  8576. one or more of the expressions.
  8577. items:
  8578. description: An empty preferred scheduling term matches
  8579. all objects with implicit weight 0 (i.e. it's a no-op).
  8580. A null preferred scheduling term matches no objects
  8581. (i.e. is also a no-op).
  8582. properties:
  8583. preference:
  8584. description: A node selector term, associated with
  8585. the corresponding weight.
  8586. properties:
  8587. matchExpressions:
  8588. description: A list of node selector requirements
  8589. by node's labels.
  8590. items:
  8591. description: A node selector requirement is
  8592. a selector that contains values, a key,
  8593. and an operator that relates the key and
  8594. values.
  8595. properties:
  8596. key:
  8597. description: The label key that the selector
  8598. applies to.
  8599. type: string
  8600. operator:
  8601. description: Represents a key's relationship
  8602. to a set of values. Valid operators
  8603. are In, NotIn, Exists, DoesNotExist.
  8604. Gt, and Lt.
  8605. type: string
  8606. values:
  8607. description: An array of string values.
  8608. If the operator is In or NotIn, the
  8609. values array must be non-empty. If the
  8610. operator is Exists or DoesNotExist,
  8611. the values array must be empty.
  8612. items:
  8613. type: string
  8614. type: array
  8615. required:
  8616. - key
  8617. - operator
  8618. type: object
  8619. type: array
  8620. matchFields:
  8621. description: A list of node selector requirements
  8622. by node's fields.
  8623. items:
  8624. description: A node selector requirement is
  8625. a selector that contains values, a key,
  8626. and an operator that relates the key and
  8627. values.
  8628. properties:
  8629. key:
  8630. description: The label key that the selector
  8631. applies to.
  8632. type: string
  8633. operator:
  8634. description: Represents a key's relationship
  8635. to a set of values. Valid operators
  8636. are In, NotIn, Exists, DoesNotExist.
  8637. Gt, and Lt.
  8638. type: string
  8639. values:
  8640. description: An array of string values.
  8641. If the operator is In or NotIn, the
  8642. values array must be non-empty. If the
  8643. operator is Exists or DoesNotExist,
  8644. the values array must be empty.
  8645. items:
  8646. type: string
  8647. type: array
  8648. required:
  8649. - key
  8650. - operator
  8651. type: object
  8652. type: array
  8653. type: object
  8654. x-kubernetes-map-type: atomic
  8655. weight:
  8656. description: Weight associated with matching the
  8657. corresponding nodeSelectorTerm, in the range 1-100.
  8658. format: int32
  8659. type: integer
  8660. required:
  8661. - preference
  8662. - weight
  8663. type: object
  8664. type: array
  8665. requiredDuringSchedulingIgnoredDuringExecution:
  8666. description: If the affinity requirements specified by
  8667. this field are not met at scheduling time, the pod will
  8668. not be scheduled onto the node.
  8669. properties:
  8670. nodeSelectorTerms:
  8671. description: Required. A list of node selector terms.
  8672. The terms are ORed.
  8673. items:
  8674. description: A null or empty node selector term
  8675. matches no objects. The requirements of them are
  8676. ANDed. The TopologySelectorTerm type implements
  8677. a subset of the NodeSelectorTerm.
  8678. properties:
  8679. matchExpressions:
  8680. description: A list of node selector requirements
  8681. by node's labels.
  8682. items:
  8683. description: A node selector requirement is
  8684. a selector that contains values, a key,
  8685. and an operator that relates the key and
  8686. values.
  8687. properties:
  8688. key:
  8689. description: The label key that the selector
  8690. applies to.
  8691. type: string
  8692. operator:
  8693. description: Represents a key's relationship
  8694. to a set of values. Valid operators
  8695. are In, NotIn, Exists, DoesNotExist.
  8696. Gt, and Lt.
  8697. type: string
  8698. values:
  8699. description: An array of string values.
  8700. If the operator is In or NotIn, the
  8701. values array must be non-empty. If the
  8702. operator is Exists or DoesNotExist,
  8703. the values array must be empty.
  8704. items:
  8705. type: string
  8706. type: array
  8707. required:
  8708. - key
  8709. - operator
  8710. type: object
  8711. type: array
  8712. matchFields:
  8713. description: A list of node selector requirements
  8714. by node's fields.
  8715. items:
  8716. description: A node selector requirement is
  8717. a selector that contains values, a key,
  8718. and an operator that relates the key and
  8719. values.
  8720. properties:
  8721. key:
  8722. description: The label key that the selector
  8723. applies to.
  8724. type: string
  8725. operator:
  8726. description: Represents a key's relationship
  8727. to a set of values. Valid operators
  8728. are In, NotIn, Exists, DoesNotExist.
  8729. Gt, and Lt.
  8730. type: string
  8731. values:
  8732. description: An array of string values.
  8733. If the operator is In or NotIn, the
  8734. values array must be non-empty. If the
  8735. operator is Exists or DoesNotExist,
  8736. the values array must be empty.
  8737. items:
  8738. type: string
  8739. type: array
  8740. required:
  8741. - key
  8742. - operator
  8743. type: object
  8744. type: array
  8745. type: object
  8746. x-kubernetes-map-type: atomic
  8747. type: array
  8748. required:
  8749. - nodeSelectorTerms
  8750. type: object
  8751. x-kubernetes-map-type: atomic
  8752. type: object
  8753. podAffinity:
  8754. description: Describes pod affinity scheduling rules (e.g.
  8755. co-locate this pod in the same node, zone, etc. as some
  8756. other pod(s)).
  8757. properties:
  8758. preferredDuringSchedulingIgnoredDuringExecution:
  8759. description: The scheduler will prefer to schedule pods
  8760. to nodes that satisfy the affinity expressions specified
  8761. by this field, but it may choose a node that violates
  8762. one or more of the expressions.
  8763. items:
  8764. description: The weights of all of the matched WeightedPodAffinityTerm
  8765. fields are added per-node to find the most preferred
  8766. node(s)
  8767. properties:
  8768. podAffinityTerm:
  8769. description: Required. A pod affinity term, associated
  8770. with the corresponding weight.
  8771. properties:
  8772. labelSelector:
  8773. description: A label query over a set of resources,
  8774. in this case pods.
  8775. properties:
  8776. matchExpressions:
  8777. description: matchExpressions is a list
  8778. of label selector requirements. The requirements
  8779. are ANDed.
  8780. items:
  8781. description: A label selector requirement
  8782. is a selector that contains values,
  8783. a key, and an operator that relates
  8784. the key and values.
  8785. properties:
  8786. key:
  8787. description: key is the label key
  8788. that the selector applies to.
  8789. type: string
  8790. operator:
  8791. description: operator represents a
  8792. key's relationship to a set of values.
  8793. Valid operators are In, NotIn, Exists
  8794. and DoesNotExist.
  8795. type: string
  8796. values:
  8797. description: values is an array of
  8798. string values. If the operator is
  8799. In or NotIn, the values array must
  8800. be non-empty. If the operator is
  8801. Exists or DoesNotExist, the values
  8802. array must be empty.
  8803. items:
  8804. type: string
  8805. type: array
  8806. required:
  8807. - key
  8808. - operator
  8809. type: object
  8810. type: array
  8811. matchLabels:
  8812. additionalProperties:
  8813. type: string
  8814. description: matchLabels is a map of {key,value}
  8815. pairs.
  8816. type: object
  8817. type: object
  8818. x-kubernetes-map-type: atomic
  8819. namespaceSelector:
  8820. description: A label query over the set of namespaces
  8821. that the term applies to. The term is applied
  8822. to the union of the namespaces selected by
  8823. this field and the ones listed in the namespaces
  8824. field.
  8825. properties:
  8826. matchExpressions:
  8827. description: matchExpressions is a list
  8828. of label selector requirements. The requirements
  8829. are ANDed.
  8830. items:
  8831. description: A label selector requirement
  8832. is a selector that contains values,
  8833. a key, and an operator that relates
  8834. the key and values.
  8835. properties:
  8836. key:
  8837. description: key is the label key
  8838. that the selector applies to.
  8839. type: string
  8840. operator:
  8841. description: operator represents a
  8842. key's relationship to a set of values.
  8843. Valid operators are In, NotIn, Exists
  8844. and DoesNotExist.
  8845. type: string
  8846. values:
  8847. description: values is an array of
  8848. string values. If the operator is
  8849. In or NotIn, the values array must
  8850. be non-empty. If the operator is
  8851. Exists or DoesNotExist, the values
  8852. array must be empty.
  8853. items:
  8854. type: string
  8855. type: array
  8856. required:
  8857. - key
  8858. - operator
  8859. type: object
  8860. type: array
  8861. matchLabels:
  8862. additionalProperties:
  8863. type: string
  8864. description: matchLabels is a map of {key,value}
  8865. pairs.
  8866. type: object
  8867. type: object
  8868. x-kubernetes-map-type: atomic
  8869. namespaces:
  8870. description: namespaces specifies a static list
  8871. of namespace names that the term applies to.
  8872. The term is applied to the union of the namespaces
  8873. listed in this field and the ones selected
  8874. by namespaceSelector.
  8875. items:
  8876. type: string
  8877. type: array
  8878. topologyKey:
  8879. description: 'This pod should be co-located
  8880. (affinity) or not co-located (anti-affinity)
  8881. with the pods matching the labelSelector in
  8882. the specified namespaces, where co-located
  8883. is defined as running on a node whose '
  8884. type: string
  8885. required:
  8886. - topologyKey
  8887. type: object
  8888. weight:
  8889. description: weight associated with matching the
  8890. corresponding podAffinityTerm, in the range 1-100.
  8891. format: int32
  8892. type: integer
  8893. required:
  8894. - podAffinityTerm
  8895. - weight
  8896. type: object
  8897. type: array
  8898. requiredDuringSchedulingIgnoredDuringExecution:
  8899. description: If the affinity requirements specified by
  8900. this field are not met at scheduling time, the pod will
  8901. not be scheduled onto the node.
  8902. items:
  8903. description: Defines a set of pods (namely those matching
  8904. the labelSelector relative to the given namespace(s))
  8905. that this pod should be co-located (affinity) or not
  8906. co-located (anti-affinity) with, where co-locate
  8907. properties:
  8908. labelSelector:
  8909. description: A label query over a set of resources,
  8910. in this case pods.
  8911. properties:
  8912. matchExpressions:
  8913. description: matchExpressions is a list of label
  8914. selector requirements. The requirements are
  8915. ANDed.
  8916. items:
  8917. description: A label selector requirement
  8918. is a selector that contains values, a key,
  8919. and an operator that relates the key and
  8920. values.
  8921. properties:
  8922. key:
  8923. description: key is the label key that
  8924. the selector applies to.
  8925. type: string
  8926. operator:
  8927. description: operator represents a key's
  8928. relationship to a set of values. Valid
  8929. operators are In, NotIn, Exists and
  8930. DoesNotExist.
  8931. type: string
  8932. values:
  8933. description: values is an array of string
  8934. values. If the operator is In or NotIn,
  8935. the values array must be non-empty.
  8936. If the operator is Exists or DoesNotExist,
  8937. the values array must be empty.
  8938. items:
  8939. type: string
  8940. type: array
  8941. required:
  8942. - key
  8943. - operator
  8944. type: object
  8945. type: array
  8946. matchLabels:
  8947. additionalProperties:
  8948. type: string
  8949. description: matchLabels is a map of {key,value}
  8950. pairs.
  8951. type: object
  8952. type: object
  8953. x-kubernetes-map-type: atomic
  8954. namespaceSelector:
  8955. description: A label query over the set of namespaces
  8956. that the term applies to. The term is applied
  8957. to the union of the namespaces selected by this
  8958. field and the ones listed in the namespaces field.
  8959. properties:
  8960. matchExpressions:
  8961. description: matchExpressions is a list of label
  8962. selector requirements. The requirements are
  8963. ANDed.
  8964. items:
  8965. description: A label selector requirement
  8966. is a selector that contains values, a key,
  8967. and an operator that relates the key and
  8968. values.
  8969. properties:
  8970. key:
  8971. description: key is the label key that
  8972. the selector applies to.
  8973. type: string
  8974. operator:
  8975. description: operator represents a key's
  8976. relationship to a set of values. Valid
  8977. operators are In, NotIn, Exists and
  8978. DoesNotExist.
  8979. type: string
  8980. values:
  8981. description: values is an array of string
  8982. values. If the operator is In or NotIn,
  8983. the values array must be non-empty.
  8984. If the operator is Exists or DoesNotExist,
  8985. the values array must be empty.
  8986. items:
  8987. type: string
  8988. type: array
  8989. required:
  8990. - key
  8991. - operator
  8992. type: object
  8993. type: array
  8994. matchLabels:
  8995. additionalProperties:
  8996. type: string
  8997. description: matchLabels is a map of {key,value}
  8998. pairs.
  8999. type: object
  9000. type: object
  9001. x-kubernetes-map-type: atomic
  9002. namespaces:
  9003. description: namespaces specifies a static list
  9004. of namespace names that the term applies to. The
  9005. term is applied to the union of the namespaces
  9006. listed in this field and the ones selected by
  9007. namespaceSelector.
  9008. items:
  9009. type: string
  9010. type: array
  9011. topologyKey:
  9012. description: 'This pod should be co-located (affinity)
  9013. or not co-located (anti-affinity) with the pods
  9014. matching the labelSelector in the specified namespaces,
  9015. where co-located is defined as running on a node
  9016. whose '
  9017. type: string
  9018. required:
  9019. - topologyKey
  9020. type: object
  9021. type: array
  9022. type: object
  9023. podAntiAffinity:
  9024. description: Describes pod anti-affinity scheduling rules
  9025. (e.g. avoid putting this pod in the same node, zone, etc.
  9026. as some other pod(s)).
  9027. properties:
  9028. preferredDuringSchedulingIgnoredDuringExecution:
  9029. description: The scheduler will prefer to schedule pods
  9030. to nodes that satisfy the anti-affinity expressions
  9031. specified by this field, but it may choose a node that
  9032. violates one or more of the expressions.
  9033. items:
  9034. description: The weights of all of the matched WeightedPodAffinityTerm
  9035. fields are added per-node to find the most preferred
  9036. node(s)
  9037. properties:
  9038. podAffinityTerm:
  9039. description: Required. A pod affinity term, associated
  9040. with the corresponding weight.
  9041. properties:
  9042. labelSelector:
  9043. description: A label query over a set of resources,
  9044. in this case pods.
  9045. properties:
  9046. matchExpressions:
  9047. description: matchExpressions is a list
  9048. of label selector requirements. The requirements
  9049. are ANDed.
  9050. items:
  9051. description: A label selector requirement
  9052. is a selector that contains values,
  9053. a key, and an operator that relates
  9054. the key and values.
  9055. properties:
  9056. key:
  9057. description: key is the label key
  9058. that the selector applies to.
  9059. type: string
  9060. operator:
  9061. description: operator represents a
  9062. key's relationship to a set of values.
  9063. Valid operators are In, NotIn, Exists
  9064. and DoesNotExist.
  9065. type: string
  9066. values:
  9067. description: values is an array of
  9068. string values. If the operator is
  9069. In or NotIn, the values array must
  9070. be non-empty. If the operator is
  9071. Exists or DoesNotExist, the values
  9072. array must be empty.
  9073. items:
  9074. type: string
  9075. type: array
  9076. required:
  9077. - key
  9078. - operator
  9079. type: object
  9080. type: array
  9081. matchLabels:
  9082. additionalProperties:
  9083. type: string
  9084. description: matchLabels is a map of {key,value}
  9085. pairs.
  9086. type: object
  9087. type: object
  9088. x-kubernetes-map-type: atomic
  9089. namespaceSelector:
  9090. description: A label query over the set of namespaces
  9091. that the term applies to. The term is applied
  9092. to the union of the namespaces selected by
  9093. this field and the ones listed in the namespaces
  9094. field.
  9095. properties:
  9096. matchExpressions:
  9097. description: matchExpressions is a list
  9098. of label selector requirements. The requirements
  9099. are ANDed.
  9100. items:
  9101. description: A label selector requirement
  9102. is a selector that contains values,
  9103. a key, and an operator that relates
  9104. the key and values.
  9105. properties:
  9106. key:
  9107. description: key is the label key
  9108. that the selector applies to.
  9109. type: string
  9110. operator:
  9111. description: operator represents a
  9112. key's relationship to a set of values.
  9113. Valid operators are In, NotIn, Exists
  9114. and DoesNotExist.
  9115. type: string
  9116. values:
  9117. description: values is an array of
  9118. string values. If the operator is
  9119. In or NotIn, the values array must
  9120. be non-empty. If the operator is
  9121. Exists or DoesNotExist, the values
  9122. array must be empty.
  9123. items:
  9124. type: string
  9125. type: array
  9126. required:
  9127. - key
  9128. - operator
  9129. type: object
  9130. type: array
  9131. matchLabels:
  9132. additionalProperties:
  9133. type: string
  9134. description: matchLabels is a map of {key,value}
  9135. pairs.
  9136. type: object
  9137. type: object
  9138. x-kubernetes-map-type: atomic
  9139. namespaces:
  9140. description: namespaces specifies a static list
  9141. of namespace names that the term applies to.
  9142. The term is applied to the union of the namespaces
  9143. listed in this field and the ones selected
  9144. by namespaceSelector.
  9145. items:
  9146. type: string
  9147. type: array
  9148. topologyKey:
  9149. description: 'This pod should be co-located
  9150. (affinity) or not co-located (anti-affinity)
  9151. with the pods matching the labelSelector in
  9152. the specified namespaces, where co-located
  9153. is defined as running on a node whose '
  9154. type: string
  9155. required:
  9156. - topologyKey
  9157. type: object
  9158. weight:
  9159. description: weight associated with matching the
  9160. corresponding podAffinityTerm, in the range 1-100.
  9161. format: int32
  9162. type: integer
  9163. required:
  9164. - podAffinityTerm
  9165. - weight
  9166. type: object
  9167. type: array
  9168. requiredDuringSchedulingIgnoredDuringExecution:
  9169. description: If the anti-affinity requirements specified
  9170. by this field are not met at scheduling time, the pod
  9171. will not be scheduled onto the node.
  9172. items:
  9173. description: Defines a set of pods (namely those matching
  9174. the labelSelector relative to the given namespace(s))
  9175. that this pod should be co-located (affinity) or not
  9176. co-located (anti-affinity) with, where co-locate
  9177. properties:
  9178. labelSelector:
  9179. description: A label query over a set of resources,
  9180. in this case pods.
  9181. properties:
  9182. matchExpressions:
  9183. description: matchExpressions is a list of label
  9184. selector requirements. The requirements are
  9185. ANDed.
  9186. items:
  9187. description: A label selector requirement
  9188. is a selector that contains values, a key,
  9189. and an operator that relates the key and
  9190. values.
  9191. properties:
  9192. key:
  9193. description: key is the label key that
  9194. the selector applies to.
  9195. type: string
  9196. operator:
  9197. description: operator represents a key's
  9198. relationship to a set of values. Valid
  9199. operators are In, NotIn, Exists and
  9200. DoesNotExist.
  9201. type: string
  9202. values:
  9203. description: values is an array of string
  9204. values. If the operator is In or NotIn,
  9205. the values array must be non-empty.
  9206. If the operator is Exists or DoesNotExist,
  9207. the values array must be empty.
  9208. items:
  9209. type: string
  9210. type: array
  9211. required:
  9212. - key
  9213. - operator
  9214. type: object
  9215. type: array
  9216. matchLabels:
  9217. additionalProperties:
  9218. type: string
  9219. description: matchLabels is a map of {key,value}
  9220. pairs.
  9221. type: object
  9222. type: object
  9223. x-kubernetes-map-type: atomic
  9224. namespaceSelector:
  9225. description: A label query over the set of namespaces
  9226. that the term applies to. The term is applied
  9227. to the union of the namespaces selected by this
  9228. field and the ones listed in the namespaces field.
  9229. properties:
  9230. matchExpressions:
  9231. description: matchExpressions is a list of label
  9232. selector requirements. The requirements are
  9233. ANDed.
  9234. items:
  9235. description: A label selector requirement
  9236. is a selector that contains values, a key,
  9237. and an operator that relates the key and
  9238. values.
  9239. properties:
  9240. key:
  9241. description: key is the label key that
  9242. the selector applies to.
  9243. type: string
  9244. operator:
  9245. description: operator represents a key's
  9246. relationship to a set of values. Valid
  9247. operators are In, NotIn, Exists and
  9248. DoesNotExist.
  9249. type: string
  9250. values:
  9251. description: values is an array of string
  9252. values. If the operator is In or NotIn,
  9253. the values array must be non-empty.
  9254. If the operator is Exists or DoesNotExist,
  9255. the values array must be empty.
  9256. items:
  9257. type: string
  9258. type: array
  9259. required:
  9260. - key
  9261. - operator
  9262. type: object
  9263. type: array
  9264. matchLabels:
  9265. additionalProperties:
  9266. type: string
  9267. description: matchLabels is a map of {key,value}
  9268. pairs.
  9269. type: object
  9270. type: object
  9271. x-kubernetes-map-type: atomic
  9272. namespaces:
  9273. description: namespaces specifies a static list
  9274. of namespace names that the term applies to. The
  9275. term is applied to the union of the namespaces
  9276. listed in this field and the ones selected by
  9277. namespaceSelector.
  9278. items:
  9279. type: string
  9280. type: array
  9281. topologyKey:
  9282. description: 'This pod should be co-located (affinity)
  9283. or not co-located (anti-affinity) with the pods
  9284. matching the labelSelector in the specified namespaces,
  9285. where co-located is defined as running on a node
  9286. whose '
  9287. type: string
  9288. required:
  9289. - topologyKey
  9290. type: object
  9291. type: array
  9292. type: object
  9293. type: object
  9294. allocationStrategy:
  9295. description: AllocationStrategy determines which strategy the
  9296. target allocator should use for allocation. The current options
  9297. are least-weighted and consistent-hashing. The default option
  9298. is least-weighted
  9299. enum:
  9300. - least-weighted
  9301. - consistent-hashing
  9302. type: string
  9303. enabled:
  9304. description: Enabled indicates whether to use a target allocation
  9305. mechanism for Prometheus targets or not.
  9306. type: boolean
  9307. env:
  9308. description: ENV vars to set on the OpenTelemetry TargetAllocator's
  9309. Pods. These can then in certain cases be consumed in the config
  9310. file for the TargetAllocator.
  9311. items:
  9312. description: EnvVar represents an environment variable present
  9313. in a Container.
  9314. properties:
  9315. name:
  9316. description: Name of the environment variable. Must be a
  9317. C_IDENTIFIER.
  9318. type: string
  9319. value:
  9320. description: Variable references $(VAR_NAME) are expanded
  9321. using the previously defined environment variables in
  9322. the container and any service environment variables.
  9323. type: string
  9324. valueFrom:
  9325. description: Source for the environment variable's value.
  9326. Cannot be used if value is not empty.
  9327. properties:
  9328. configMapKeyRef:
  9329. description: Selects a key of a ConfigMap.
  9330. properties:
  9331. key:
  9332. description: The key to select.
  9333. type: string
  9334. name:
  9335. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  9336. TODO: Add other useful fields. apiVersion, kind,
  9337. uid?'
  9338. type: string
  9339. optional:
  9340. description: Specify whether the ConfigMap or its
  9341. key must be defined
  9342. type: boolean
  9343. required:
  9344. - key
  9345. type: object
  9346. x-kubernetes-map-type: atomic
  9347. fieldRef:
  9348. description: 'Selects a field of the pod: supports metadata.name,
  9349. metadata.namespace, `metadata.labels[''<KEY>'']`,
  9350. `metadata.annotations[''<KEY>'']`, spec.nodeName,
  9351. spec.serviceAccountName, status.hostIP, status.'
  9352. properties:
  9353. apiVersion:
  9354. description: Version of the schema the FieldPath
  9355. is written in terms of, defaults to "v1".
  9356. type: string
  9357. fieldPath:
  9358. description: Path of the field to select in the
  9359. specified API version.
  9360. type: string
  9361. required:
  9362. - fieldPath
  9363. type: object
  9364. x-kubernetes-map-type: atomic
  9365. resourceFieldRef:
  9366. description: 'Selects a resource of the container: only
  9367. resources limits and requests (limits.cpu, limits.memory,
  9368. limits.ephemeral-storage, requests.cpu, requests.memory
  9369. and requests.'
  9370. properties:
  9371. containerName:
  9372. description: 'Container name: required for volumes,
  9373. optional for env vars'
  9374. type: string
  9375. divisor:
  9376. anyOf:
  9377. - type: integer
  9378. - type: string
  9379. description: Specifies the output format of the
  9380. exposed resources, defaults to "1"
  9381. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9382. x-kubernetes-int-or-string: true
  9383. resource:
  9384. description: 'Required: resource to select'
  9385. type: string
  9386. required:
  9387. - resource
  9388. type: object
  9389. x-kubernetes-map-type: atomic
  9390. secretKeyRef:
  9391. description: Selects a key of a secret in the pod's
  9392. namespace
  9393. properties:
  9394. key:
  9395. description: The key of the secret to select from. Must
  9396. be a valid secret key.
  9397. type: string
  9398. name:
  9399. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  9400. TODO: Add other useful fields. apiVersion, kind,
  9401. uid?'
  9402. type: string
  9403. optional:
  9404. description: Specify whether the Secret or its key
  9405. must be defined
  9406. type: boolean
  9407. required:
  9408. - key
  9409. type: object
  9410. x-kubernetes-map-type: atomic
  9411. type: object
  9412. required:
  9413. - name
  9414. type: object
  9415. type: array
  9416. filterStrategy:
  9417. description: FilterStrategy determines how to filter targets before
  9418. allocating them among the collectors. The only current option
  9419. is relabel-config (drops targets based on prom relabel_config).
  9420. type: string
  9421. image:
  9422. description: Image indicates the container image to use for the
  9423. OpenTelemetry TargetAllocator.
  9424. type: string
  9425. nodeSelector:
  9426. additionalProperties:
  9427. type: string
  9428. description: NodeSelector to schedule OpenTelemetry TargetAllocator
  9429. pods.
  9430. type: object
  9431. prometheusCR:
  9432. description: PrometheusCR defines the configuration for the retrieval
  9433. of PrometheusOperator CRDs ( servicemonitor.monitoring.coreos.com/v1
  9434. and podmonitor.monitoring.coreos.com/v1 ) retrieval.
  9435. properties:
  9436. enabled:
  9437. description: Enabled indicates whether to use a PrometheusOperator
  9438. custom resources as targets or not.
  9439. type: boolean
  9440. podMonitorSelector:
  9441. additionalProperties:
  9442. type: string
  9443. description: PodMonitors to be selected for target discovery.
  9444. This is a map of {key,value} pairs. Each {key,value} in
  9445. the map is going to exactly match a label in a PodMonitor's
  9446. meta labels.
  9447. type: object
  9448. scrapeInterval:
  9449. default: 30s
  9450. description: "Interval between consecutive scrapes. Equivalent
  9451. to the same setting on the Prometheus CRD. \n Default: \"30s\""
  9452. format: duration
  9453. type: string
  9454. serviceMonitorSelector:
  9455. additionalProperties:
  9456. type: string
  9457. description: ServiceMonitors to be selected for target discovery.
  9458. This is a map of {key,value} pairs. Each {key,value} in
  9459. the map is going to exactly match a label in a ServiceMonitor's
  9460. meta labels.
  9461. type: object
  9462. type: object
  9463. replicas:
  9464. description: Replicas is the number of pod instances for the underlying
  9465. TargetAllocator. This should only be set to a value other than
  9466. 1 if a strategy that allows for high availability is chosen.
  9467. format: int32
  9468. type: integer
  9469. resources:
  9470. description: Resources to set on the OpenTelemetryTargetAllocator
  9471. containers.
  9472. properties:
  9473. claims:
  9474. description: "Claims lists the names of resources, defined
  9475. in spec.resourceClaims, that are used by this container.
  9476. \n This is an alpha field and requires enabling the DynamicResourceAllocation
  9477. feature gate."
  9478. items:
  9479. description: ResourceClaim references one entry in PodSpec.ResourceClaims.
  9480. properties:
  9481. name:
  9482. description: Name must match the name of one entry in
  9483. pod.spec.resourceClaims of the Pod where this field
  9484. is used. It makes that resource available inside a
  9485. container.
  9486. type: string
  9487. required:
  9488. - name
  9489. type: object
  9490. type: array
  9491. x-kubernetes-list-map-keys:
  9492. - name
  9493. x-kubernetes-list-type: map
  9494. limits:
  9495. additionalProperties:
  9496. anyOf:
  9497. - type: integer
  9498. - type: string
  9499. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9500. x-kubernetes-int-or-string: true
  9501. description: 'Limits describes the maximum amount of compute
  9502. resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  9503. type: object
  9504. requests:
  9505. additionalProperties:
  9506. anyOf:
  9507. - type: integer
  9508. - type: string
  9509. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9510. x-kubernetes-int-or-string: true
  9511. description: Requests describes the minimum amount of compute
  9512. resources required.
  9513. type: object
  9514. type: object
  9515. serviceAccount:
  9516. description: ServiceAccount indicates the name of an existing
  9517. service account to use with this instance. When set, the operator
  9518. will not automatically create a ServiceAccount for the TargetAllocator.
  9519. type: string
  9520. tolerations:
  9521. description: Toleration embedded kubernetes pod configuration
  9522. option, controls how pods can be scheduled with matching taints
  9523. items:
  9524. description: The pod this Toleration is attached to tolerates
  9525. any taint that matches the triple <key,value,effect> using
  9526. the matching operator <operator>.
  9527. properties:
  9528. effect:
  9529. description: Effect indicates the taint effect to match.
  9530. Empty means match all taint effects. When specified, allowed
  9531. values are NoSchedule, PreferNoSchedule and NoExecute.
  9532. type: string
  9533. key:
  9534. description: Key is the taint key that the toleration applies
  9535. to. Empty means match all taint keys. If the key is empty,
  9536. operator must be Exists; this combination means to match
  9537. all values and all keys.
  9538. type: string
  9539. operator:
  9540. description: Operator represents a key's relationship to
  9541. the value. Valid operators are Exists and Equal. Defaults
  9542. to Equal.
  9543. type: string
  9544. tolerationSeconds:
  9545. description: TolerationSeconds represents the period of
  9546. time the toleration (which must be of effect NoExecute,
  9547. otherwise this field is ignored) tolerates the taint.
  9548. format: int64
  9549. type: integer
  9550. value:
  9551. description: Value is the taint value the toleration matches
  9552. to. If the operator is Exists, the value should be empty,
  9553. otherwise just a regular string.
  9554. type: string
  9555. type: object
  9556. type: array
  9557. topologySpreadConstraints:
  9558. description: TopologySpreadConstraints embedded kubernetes pod
  9559. configuration option, controls how pods are spread across your
  9560. cluster among failure-domains such as regions, zones, nodes,
  9561. and other user-defined top
  9562. items:
  9563. description: TopologySpreadConstraint specifies how to spread
  9564. matching pods among the given topology.
  9565. properties:
  9566. labelSelector:
  9567. description: LabelSelector is used to find matching pods.
  9568. Pods that match this label selector are counted to determine
  9569. the number of pods in their corresponding topology domain.
  9570. properties:
  9571. matchExpressions:
  9572. description: matchExpressions is a list of label selector
  9573. requirements. The requirements are ANDed.
  9574. items:
  9575. description: A label selector requirement is a selector
  9576. that contains values, a key, and an operator that
  9577. relates the key and values.
  9578. properties:
  9579. key:
  9580. description: key is the label key that the selector
  9581. applies to.
  9582. type: string
  9583. operator:
  9584. description: operator represents a key's relationship
  9585. to a set of values. Valid operators are In,
  9586. NotIn, Exists and DoesNotExist.
  9587. type: string
  9588. values:
  9589. description: values is an array of string values.
  9590. If the operator is In or NotIn, the values array
  9591. must be non-empty. If the operator is Exists
  9592. or DoesNotExist, the values array must be empty.
  9593. items:
  9594. type: string
  9595. type: array
  9596. required:
  9597. - key
  9598. - operator
  9599. type: object
  9600. type: array
  9601. matchLabels:
  9602. additionalProperties:
  9603. type: string
  9604. description: matchLabels is a map of {key,value} pairs.
  9605. type: object
  9606. type: object
  9607. x-kubernetes-map-type: atomic
  9608. matchLabelKeys:
  9609. description: MatchLabelKeys is a set of pod label keys to
  9610. select the pods over which spreading will be calculated.
  9611. items:
  9612. type: string
  9613. type: array
  9614. x-kubernetes-list-type: atomic
  9615. maxSkew:
  9616. description: MaxSkew describes the degree to which pods
  9617. may be unevenly distributed.
  9618. format: int32
  9619. type: integer
  9620. minDomains:
  9621. description: MinDomains indicates a minimum number of eligible
  9622. domains.
  9623. format: int32
  9624. type: integer
  9625. nodeAffinityPolicy:
  9626. description: NodeAffinityPolicy indicates how we will treat
  9627. Pod's nodeAffinity/nodeSelector when calculating pod topology
  9628. spread skew.
  9629. type: string
  9630. nodeTaintsPolicy:
  9631. description: NodeTaintsPolicy indicates how we will treat
  9632. node taints when calculating pod topology spread skew.
  9633. type: string
  9634. topologyKey:
  9635. description: TopologyKey is the key of node labels. Nodes
  9636. that have a label with this key and identical values are
  9637. considered to be in the same topology.
  9638. type: string
  9639. whenUnsatisfiable:
  9640. description: WhenUnsatisfiable indicates how to deal with
  9641. a pod if it doesn't satisfy the spread constraint. - DoNotSchedule
  9642. (default) tells the scheduler not to schedule it.
  9643. type: string
  9644. required:
  9645. - maxSkew
  9646. - topologyKey
  9647. - whenUnsatisfiable
  9648. type: object
  9649. type: array
  9650. type: object
  9651. terminationGracePeriodSeconds:
  9652. description: Duration in seconds the pod needs to terminate gracefully
  9653. upon probe failure.
  9654. format: int64
  9655. type: integer
  9656. tolerations:
  9657. description: Toleration to schedule OpenTelemetry Collector pods.
  9658. This is only relevant to daemonset, statefulset, and deployment
  9659. mode
  9660. items:
  9661. description: The pod this Toleration is attached to tolerates any
  9662. taint that matches the triple <key,value,effect> using the matching
  9663. operator <operator>.
  9664. properties:
  9665. effect:
  9666. description: Effect indicates the taint effect to match. Empty
  9667. means match all taint effects. When specified, allowed values
  9668. are NoSchedule, PreferNoSchedule and NoExecute.
  9669. type: string
  9670. key:
  9671. description: Key is the taint key that the toleration applies
  9672. to. Empty means match all taint keys. If the key is empty,
  9673. operator must be Exists; this combination means to match all
  9674. values and all keys.
  9675. type: string
  9676. operator:
  9677. description: Operator represents a key's relationship to the
  9678. value. Valid operators are Exists and Equal. Defaults to Equal.
  9679. type: string
  9680. tolerationSeconds:
  9681. description: TolerationSeconds represents the period of time
  9682. the toleration (which must be of effect NoExecute, otherwise
  9683. this field is ignored) tolerates the taint.
  9684. format: int64
  9685. type: integer
  9686. value:
  9687. description: Value is the taint value the toleration matches
  9688. to. If the operator is Exists, the value should be empty,
  9689. otherwise just a regular string.
  9690. type: string
  9691. type: object
  9692. type: array
  9693. topologySpreadConstraints:
  9694. description: TopologySpreadConstraints embedded kubernetes pod configuration
  9695. option, controls how pods are spread across your cluster among failure-domains
  9696. such as regions, zones, nodes, and other user-defined top
  9697. items:
  9698. description: TopologySpreadConstraint specifies how to spread matching
  9699. pods among the given topology.
  9700. properties:
  9701. labelSelector:
  9702. description: LabelSelector is used to find matching pods. Pods
  9703. that match this label selector are counted to determine the
  9704. number of pods in their corresponding topology domain.
  9705. properties:
  9706. matchExpressions:
  9707. description: matchExpressions is a list of label selector
  9708. requirements. The requirements are ANDed.
  9709. items:
  9710. description: A label selector requirement is a selector
  9711. that contains values, a key, and an operator that relates
  9712. the key and values.
  9713. properties:
  9714. key:
  9715. description: key is the label key that the selector
  9716. applies to.
  9717. type: string
  9718. operator:
  9719. description: operator represents a key's relationship
  9720. to a set of values. Valid operators are In, NotIn,
  9721. Exists and DoesNotExist.
  9722. type: string
  9723. values:
  9724. description: values is an array of string values.
  9725. If the operator is In or NotIn, the values array
  9726. must be non-empty. If the operator is Exists or
  9727. DoesNotExist, the values array must be empty.
  9728. items:
  9729. type: string
  9730. type: array
  9731. required:
  9732. - key
  9733. - operator
  9734. type: object
  9735. type: array
  9736. matchLabels:
  9737. additionalProperties:
  9738. type: string
  9739. description: matchLabels is a map of {key,value} pairs.
  9740. type: object
  9741. type: object
  9742. x-kubernetes-map-type: atomic
  9743. matchLabelKeys:
  9744. description: MatchLabelKeys is a set of pod label keys to select
  9745. the pods over which spreading will be calculated.
  9746. items:
  9747. type: string
  9748. type: array
  9749. x-kubernetes-list-type: atomic
  9750. maxSkew:
  9751. description: MaxSkew describes the degree to which pods may
  9752. be unevenly distributed.
  9753. format: int32
  9754. type: integer
  9755. minDomains:
  9756. description: MinDomains indicates a minimum number of eligible
  9757. domains.
  9758. format: int32
  9759. type: integer
  9760. nodeAffinityPolicy:
  9761. description: NodeAffinityPolicy indicates how we will treat
  9762. Pod's nodeAffinity/nodeSelector when calculating pod topology
  9763. spread skew.
  9764. type: string
  9765. nodeTaintsPolicy:
  9766. description: NodeTaintsPolicy indicates how we will treat node
  9767. taints when calculating pod topology spread skew.
  9768. type: string
  9769. topologyKey:
  9770. description: TopologyKey is the key of node labels. Nodes that
  9771. have a label with this key and identical values are considered
  9772. to be in the same topology.
  9773. type: string
  9774. whenUnsatisfiable:
  9775. description: WhenUnsatisfiable indicates how to deal with a
  9776. pod if it doesn't satisfy the spread constraint. - DoNotSchedule
  9777. (default) tells the scheduler not to schedule it.
  9778. type: string
  9779. required:
  9780. - maxSkew
  9781. - topologyKey
  9782. - whenUnsatisfiable
  9783. type: object
  9784. type: array
  9785. updateStrategy:
  9786. description: UpdateStrategy represents the strategy the operator will
  9787. take replacing existing DaemonSet pods with new pods https://kubernetes.
  9788. properties:
  9789. rollingUpdate:
  9790. description: 'Rolling update config params. Present only if type
  9791. = "RollingUpdate". --- TODO: Update this to follow our convention
  9792. for oneOf, whatever we decide it to be. Same as Deployment `strategy.'
  9793. properties:
  9794. maxSurge:
  9795. anyOf:
  9796. - type: integer
  9797. - type: string
  9798. description: The maximum number of nodes with an existing
  9799. available DaemonSet pod that can have an updated DaemonSet
  9800. pod during during an update.
  9801. x-kubernetes-int-or-string: true
  9802. maxUnavailable:
  9803. anyOf:
  9804. - type: integer
  9805. - type: string
  9806. description: The maximum number of DaemonSet pods that can
  9807. be unavailable during the update.
  9808. x-kubernetes-int-or-string: true
  9809. type: object
  9810. type:
  9811. description: Type of daemon set update. Can be "RollingUpdate"
  9812. or "OnDelete". Default is RollingUpdate.
  9813. type: string
  9814. type: object
  9815. upgradeStrategy:
  9816. description: UpgradeStrategy represents how the operator will handle
  9817. upgrades to the CR when a newer version of the operator is deployed
  9818. enum:
  9819. - automatic
  9820. - none
  9821. type: string
  9822. volumeClaimTemplates:
  9823. description: VolumeClaimTemplates will provide stable storage using
  9824. PersistentVolumes. Only available when the mode=statefulset.
  9825. items:
  9826. description: PersistentVolumeClaim is a user's request for and claim
  9827. to a persistent volume
  9828. properties:
  9829. apiVersion:
  9830. description: APIVersion defines the versioned schema of this
  9831. representation of an object. Servers should convert recognized
  9832. schemas to the latest internal value, and may reject unrecognized
  9833. values.
  9834. type: string
  9835. kind:
  9836. description: Kind is a string value representing the REST resource
  9837. this object represents. Servers may infer this from the endpoint
  9838. the client submits requests to. Cannot be updated. In CamelCase.
  9839. type: string
  9840. metadata:
  9841. description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata'
  9842. properties:
  9843. annotations:
  9844. additionalProperties:
  9845. type: string
  9846. type: object
  9847. finalizers:
  9848. items:
  9849. type: string
  9850. type: array
  9851. labels:
  9852. additionalProperties:
  9853. type: string
  9854. type: object
  9855. name:
  9856. type: string
  9857. namespace:
  9858. type: string
  9859. type: object
  9860. spec:
  9861. description: 'spec defines the desired characteristics of a
  9862. volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
  9863. properties:
  9864. accessModes:
  9865. description: 'accessModes contains the desired access modes
  9866. the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  9867. items:
  9868. type: string
  9869. type: array
  9870. dataSource:
  9871. description: 'dataSource field can be used to specify either:
  9872. * An existing VolumeSnapshot object (snapshot.storage.k8s.'
  9873. properties:
  9874. apiGroup:
  9875. description: APIGroup is the group for the resource
  9876. being referenced. If APIGroup is not specified, the
  9877. specified Kind must be in the core API group. For
  9878. any other third-party types, APIGroup is required.
  9879. type: string
  9880. kind:
  9881. description: Kind is the type of resource being referenced
  9882. type: string
  9883. name:
  9884. description: Name is the name of resource being referenced
  9885. type: string
  9886. required:
  9887. - kind
  9888. - name
  9889. type: object
  9890. x-kubernetes-map-type: atomic
  9891. dataSourceRef:
  9892. description: dataSourceRef specifies the object from which
  9893. to populate the volume with data, if a non-empty volume
  9894. is desired.
  9895. properties:
  9896. apiGroup:
  9897. description: APIGroup is the group for the resource
  9898. being referenced. If APIGroup is not specified, the
  9899. specified Kind must be in the core API group. For
  9900. any other third-party types, APIGroup is required.
  9901. type: string
  9902. kind:
  9903. description: Kind is the type of resource being referenced
  9904. type: string
  9905. name:
  9906. description: Name is the name of resource being referenced
  9907. type: string
  9908. namespace:
  9909. description: Namespace is the namespace of resource
  9910. being referenced Note that when a namespace is specified,
  9911. a gateway.networking.k8s.
  9912. type: string
  9913. required:
  9914. - kind
  9915. - name
  9916. type: object
  9917. resources:
  9918. description: resources represents the minimum resources
  9919. the volume should have.
  9920. properties:
  9921. claims:
  9922. description: "Claims lists the names of resources, defined
  9923. in spec.resourceClaims, that are used by this container.
  9924. \n This is an alpha field and requires enabling the
  9925. DynamicResourceAllocation feature gate."
  9926. items:
  9927. description: ResourceClaim references one entry in
  9928. PodSpec.ResourceClaims.
  9929. properties:
  9930. name:
  9931. description: Name must match the name of one entry
  9932. in pod.spec.resourceClaims of the Pod where
  9933. this field is used. It makes that resource available
  9934. inside a container.
  9935. type: string
  9936. required:
  9937. - name
  9938. type: object
  9939. type: array
  9940. x-kubernetes-list-map-keys:
  9941. - name
  9942. x-kubernetes-list-type: map
  9943. limits:
  9944. additionalProperties:
  9945. anyOf:
  9946. - type: integer
  9947. - type: string
  9948. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9949. x-kubernetes-int-or-string: true
  9950. description: 'Limits describes the maximum amount of
  9951. compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  9952. type: object
  9953. requests:
  9954. additionalProperties:
  9955. anyOf:
  9956. - type: integer
  9957. - type: string
  9958. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  9959. x-kubernetes-int-or-string: true
  9960. description: Requests describes the minimum amount of
  9961. compute resources required.
  9962. type: object
  9963. type: object
  9964. selector:
  9965. description: selector is a label query over volumes to consider
  9966. for binding.
  9967. properties:
  9968. matchExpressions:
  9969. description: matchExpressions is a list of label selector
  9970. requirements. The requirements are ANDed.
  9971. items:
  9972. description: A label selector requirement is a selector
  9973. that contains values, a key, and an operator that
  9974. relates the key and values.
  9975. properties:
  9976. key:
  9977. description: key is the label key that the selector
  9978. applies to.
  9979. type: string
  9980. operator:
  9981. description: operator represents a key's relationship
  9982. to a set of values. Valid operators are In,
  9983. NotIn, Exists and DoesNotExist.
  9984. type: string
  9985. values:
  9986. description: values is an array of string values.
  9987. If the operator is In or NotIn, the values array
  9988. must be non-empty. If the operator is Exists
  9989. or DoesNotExist, the values array must be empty.
  9990. items:
  9991. type: string
  9992. type: array
  9993. required:
  9994. - key
  9995. - operator
  9996. type: object
  9997. type: array
  9998. matchLabels:
  9999. additionalProperties:
  10000. type: string
  10001. description: matchLabels is a map of {key,value} pairs.
  10002. type: object
  10003. type: object
  10004. x-kubernetes-map-type: atomic
  10005. storageClassName:
  10006. description: 'storageClassName is the name of the StorageClass
  10007. required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
  10008. type: string
  10009. volumeMode:
  10010. description: volumeMode defines what type of volume is required
  10011. by the claim. Value of Filesystem is implied when not
  10012. included in claim spec.
  10013. type: string
  10014. volumeName:
  10015. description: volumeName is the binding reference to the
  10016. PersistentVolume backing this claim.
  10017. type: string
  10018. type: object
  10019. status:
  10020. description: 'status represents the current information/status
  10021. of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
  10022. properties:
  10023. accessModes:
  10024. description: 'accessModes contains the actual access modes
  10025. the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  10026. items:
  10027. type: string
  10028. type: array
  10029. allocatedResourceStatuses:
  10030. additionalProperties:
  10031. description: When a controller receives persistentvolume
  10032. claim update with ClaimResourceStatus for a resource
  10033. that it does not recognizes, then it should ignore that
  10034. update and let other controllers handle it.
  10035. type: string
  10036. description: allocatedResourceStatuses stores status of
  10037. resource being resized for the given PVC. Key names follow
  10038. standard Kubernetes label syntax.
  10039. type: object
  10040. x-kubernetes-map-type: granular
  10041. allocatedResources:
  10042. additionalProperties:
  10043. anyOf:
  10044. - type: integer
  10045. - type: string
  10046. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  10047. x-kubernetes-int-or-string: true
  10048. description: allocatedResources tracks the resources allocated
  10049. to a PVC including its capacity. Key names follow standard
  10050. Kubernetes label syntax.
  10051. type: object
  10052. capacity:
  10053. additionalProperties:
  10054. anyOf:
  10055. - type: integer
  10056. - type: string
  10057. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  10058. x-kubernetes-int-or-string: true
  10059. description: capacity represents the actual resources of
  10060. the underlying volume.
  10061. type: object
  10062. conditions:
  10063. description: conditions is the current Condition of persistent
  10064. volume claim. If underlying persistent volume is being
  10065. resized then the Condition will be set to 'ResizeStarted'.
  10066. items:
  10067. description: PersistentVolumeClaimCondition contains details
  10068. about state of pvc
  10069. properties:
  10070. lastProbeTime:
  10071. description: lastProbeTime is the time we probed the
  10072. condition.
  10073. format: date-time
  10074. type: string
  10075. lastTransitionTime:
  10076. description: lastTransitionTime is the time the condition
  10077. transitioned from one status to another.
  10078. format: date-time
  10079. type: string
  10080. message:
  10081. description: message is the human-readable message
  10082. indicating details about last transition.
  10083. type: string
  10084. reason:
  10085. description: reason is a unique, this should be a
  10086. short, machine understandable string that gives
  10087. the reason for condition's last transition.
  10088. type: string
  10089. status:
  10090. type: string
  10091. type:
  10092. description: PersistentVolumeClaimConditionType is
  10093. a valid value of PersistentVolumeClaimCondition.Type
  10094. type: string
  10095. required:
  10096. - status
  10097. - type
  10098. type: object
  10099. type: array
  10100. phase:
  10101. description: phase represents the current phase of PersistentVolumeClaim.
  10102. type: string
  10103. type: object
  10104. type: object
  10105. type: array
  10106. x-kubernetes-list-type: atomic
  10107. volumeMounts:
  10108. description: VolumeMounts represents the mount points to use in the
  10109. underlying collector deployment(s)
  10110. items:
  10111. description: VolumeMount describes a mounting of a Volume within
  10112. a container.
  10113. properties:
  10114. mountPath:
  10115. description: Path within the container at which the volume should
  10116. be mounted. Must not contain ':'.
  10117. type: string
  10118. mountPropagation:
  10119. description: mountPropagation determines how mounts are propagated
  10120. from the host to container and the other way around. When
  10121. not set, MountPropagationNone is used. This field is beta
  10122. in 1.10.
  10123. type: string
  10124. name:
  10125. description: This must match the Name of a Volume.
  10126. type: string
  10127. readOnly:
  10128. description: Mounted read-only if true, read-write otherwise
  10129. (false or unspecified). Defaults to false.
  10130. type: boolean
  10131. subPath:
  10132. description: Path within the volume from which the container's
  10133. volume should be mounted. Defaults to "" (volume's root).
  10134. type: string
  10135. subPathExpr:
  10136. description: Expanded path within the volume from which the
  10137. container's volume should be mounted.
  10138. type: string
  10139. required:
  10140. - mountPath
  10141. - name
  10142. type: object
  10143. type: array
  10144. x-kubernetes-list-type: atomic
  10145. volumes:
  10146. description: Volumes represents which volumes to use in the underlying
  10147. collector deployment(s).
  10148. items:
  10149. description: Volume represents a named volume in a pod that may
  10150. be accessed by any container in the pod.
  10151. properties:
  10152. awsElasticBlockStore:
  10153. description: 'awsElasticBlockStore represents an AWS Disk resource
  10154. that is attached to a kubelet''s host machine and then exposed
  10155. to the pod. More info: https://kubernetes.'
  10156. properties:
  10157. fsType:
  10158. description: 'fsType is the filesystem type of the volume
  10159. that you want to mount. Tip: Ensure that the filesystem
  10160. type is supported by the host operating system. Examples:
  10161. "ext4", "xfs", "ntfs".'
  10162. type: string
  10163. partition:
  10164. description: 'partition is the partition in the volume that
  10165. you want to mount. If omitted, the default is to mount
  10166. by volume name. Examples: For volume /dev/sda1, you specify
  10167. the partition as "1".'
  10168. format: int32
  10169. type: integer
  10170. readOnly:
  10171. description: 'readOnly value true will force the readOnly
  10172. setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore'
  10173. type: boolean
  10174. volumeID:
  10175. description: 'volumeID is unique ID of the persistent disk
  10176. resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore'
  10177. type: string
  10178. required:
  10179. - volumeID
  10180. type: object
  10181. azureDisk:
  10182. description: azureDisk represents an Azure Data Disk mount on
  10183. the host and bind mount to the pod.
  10184. properties:
  10185. cachingMode:
  10186. description: 'cachingMode is the Host Caching mode: None,
  10187. Read Only, Read Write.'
  10188. type: string
  10189. diskName:
  10190. description: diskName is the Name of the data disk in the
  10191. blob storage
  10192. type: string
  10193. diskURI:
  10194. description: diskURI is the URI of data disk in the blob
  10195. storage
  10196. type: string
  10197. fsType:
  10198. description: fsType is Filesystem type to mount. Must be
  10199. a filesystem type supported by the host operating system.
  10200. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  10201. if unspecified.
  10202. type: string
  10203. kind:
  10204. description: 'kind expected values are Shared: multiple
  10205. blob disks per storage account Dedicated: single blob
  10206. disk per storage account Managed: azure managed data
  10207. disk (only in managed availability set).'
  10208. type: string
  10209. readOnly:
  10210. description: readOnly Defaults to false (read/write). ReadOnly
  10211. here will force the ReadOnly setting in VolumeMounts.
  10212. type: boolean
  10213. required:
  10214. - diskName
  10215. - diskURI
  10216. type: object
  10217. azureFile:
  10218. description: azureFile represents an Azure File Service mount
  10219. on the host and bind mount to the pod.
  10220. properties:
  10221. readOnly:
  10222. description: readOnly defaults to false (read/write). ReadOnly
  10223. here will force the ReadOnly setting in VolumeMounts.
  10224. type: boolean
  10225. secretName:
  10226. description: secretName is the name of secret that contains
  10227. Azure Storage Account Name and Key
  10228. type: string
  10229. shareName:
  10230. description: shareName is the azure share Name
  10231. type: string
  10232. required:
  10233. - secretName
  10234. - shareName
  10235. type: object
  10236. cephfs:
  10237. description: cephFS represents a Ceph FS mount on the host that
  10238. shares a pod's lifetime
  10239. properties:
  10240. monitors:
  10241. description: 'monitors is Required: Monitors is a collection
  10242. of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  10243. items:
  10244. type: string
  10245. type: array
  10246. path:
  10247. description: 'path is Optional: Used as the mounted root,
  10248. rather than the full Ceph tree, default is /'
  10249. type: string
  10250. readOnly:
  10251. description: 'readOnly is Optional: Defaults to false (read/write).
  10252. ReadOnly here will force the ReadOnly setting in VolumeMounts.
  10253. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  10254. type: boolean
  10255. secretFile:
  10256. description: 'secretFile is Optional: SecretFile is the
  10257. path to key ring for User, default is /etc/ceph/user.secret
  10258. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  10259. type: string
  10260. secretRef:
  10261. description: 'secretRef is Optional: SecretRef is reference
  10262. to the authentication secret for User, default is empty.
  10263. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  10264. properties:
  10265. name:
  10266. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10267. TODO: Add other useful fields. apiVersion, kind, uid?'
  10268. type: string
  10269. type: object
  10270. x-kubernetes-map-type: atomic
  10271. user:
  10272. description: 'user is optional: User is the rados user name,
  10273. default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
  10274. type: string
  10275. required:
  10276. - monitors
  10277. type: object
  10278. cinder:
  10279. description: 'cinder represents a cinder volume attached and
  10280. mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
  10281. properties:
  10282. fsType:
  10283. description: 'fsType is the filesystem type to mount. Must
  10284. be a filesystem type supported by the host operating system.
  10285. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to
  10286. be "ext4" if unspecified.'
  10287. type: string
  10288. readOnly:
  10289. description: 'readOnly defaults to false (read/write). ReadOnly
  10290. here will force the ReadOnly setting in VolumeMounts.
  10291. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
  10292. type: boolean
  10293. secretRef:
  10294. description: 'secretRef is optional: points to a secret
  10295. object containing parameters used to connect to OpenStack.'
  10296. properties:
  10297. name:
  10298. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10299. TODO: Add other useful fields. apiVersion, kind, uid?'
  10300. type: string
  10301. type: object
  10302. x-kubernetes-map-type: atomic
  10303. volumeID:
  10304. description: 'volumeID used to identify the volume in cinder.
  10305. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
  10306. type: string
  10307. required:
  10308. - volumeID
  10309. type: object
  10310. configMap:
  10311. description: configMap represents a configMap that should populate
  10312. this volume
  10313. properties:
  10314. defaultMode:
  10315. description: 'defaultMode is optional: mode bits used to
  10316. set permissions on created files by default. Must be an
  10317. octal value between 0000 and 0777 or a decimal value between
  10318. 0 and 511.'
  10319. format: int32
  10320. type: integer
  10321. items:
  10322. description: items if unspecified, each key-value pair in
  10323. the Data field of the referenced ConfigMap will be projected
  10324. into the volume as a file whose name is the key and content
  10325. is the value.
  10326. items:
  10327. description: Maps a string key to a path within a volume.
  10328. properties:
  10329. key:
  10330. description: key is the key to project.
  10331. type: string
  10332. mode:
  10333. description: 'mode is Optional: mode bits used to
  10334. set permissions on this file. Must be an octal value
  10335. between 0000 and 0777 or a decimal value between
  10336. 0 and 511.'
  10337. format: int32
  10338. type: integer
  10339. path:
  10340. description: path is the relative path of the file
  10341. to map the key to. May not be an absolute path.
  10342. May not contain the path element '..'. May not start
  10343. with the string '..'.
  10344. type: string
  10345. required:
  10346. - key
  10347. - path
  10348. type: object
  10349. type: array
  10350. name:
  10351. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10352. TODO: Add other useful fields. apiVersion, kind, uid?'
  10353. type: string
  10354. optional:
  10355. description: optional specify whether the ConfigMap or its
  10356. keys must be defined
  10357. type: boolean
  10358. type: object
  10359. x-kubernetes-map-type: atomic
  10360. csi:
  10361. description: csi (Container Storage Interface) represents ephemeral
  10362. storage that is handled by certain external CSI drivers (Beta
  10363. feature).
  10364. properties:
  10365. driver:
  10366. description: driver is the name of the CSI driver that handles
  10367. this volume. Consult with your admin for the correct name
  10368. as registered in the cluster.
  10369. type: string
  10370. fsType:
  10371. description: fsType to mount. Ex. "ext4", "xfs", "ntfs".
  10372. If not provided, the empty value is passed to the associated
  10373. CSI driver which will determine the default filesystem
  10374. to apply.
  10375. type: string
  10376. nodePublishSecretRef:
  10377. description: nodePublishSecretRef is a reference to the
  10378. secret object containing sensitive information to pass
  10379. to the CSI driver to complete the CSI NodePublishVolume
  10380. and NodeUnpublishVolume calls.
  10381. properties:
  10382. name:
  10383. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10384. TODO: Add other useful fields. apiVersion, kind, uid?'
  10385. type: string
  10386. type: object
  10387. x-kubernetes-map-type: atomic
  10388. readOnly:
  10389. description: readOnly specifies a read-only configuration
  10390. for the volume. Defaults to false (read/write).
  10391. type: boolean
  10392. volumeAttributes:
  10393. additionalProperties:
  10394. type: string
  10395. description: volumeAttributes stores driver-specific properties
  10396. that are passed to the CSI driver. Consult your driver's
  10397. documentation for supported values.
  10398. type: object
  10399. required:
  10400. - driver
  10401. type: object
  10402. downwardAPI:
  10403. description: downwardAPI represents downward API about the pod
  10404. that should populate this volume
  10405. properties:
  10406. defaultMode:
  10407. description: 'Optional: mode bits to use on created files
  10408. by default. Must be a Optional: mode bits used to set
  10409. permissions on created files by default.'
  10410. format: int32
  10411. type: integer
  10412. items:
  10413. description: Items is a list of downward API volume file
  10414. items:
  10415. description: DownwardAPIVolumeFile represents information
  10416. to create the file containing the pod field
  10417. properties:
  10418. fieldRef:
  10419. description: 'Required: Selects a field of the pod:
  10420. only annotations, labels, name and namespace are
  10421. supported.'
  10422. properties:
  10423. apiVersion:
  10424. description: Version of the schema the FieldPath
  10425. is written in terms of, defaults to "v1".
  10426. type: string
  10427. fieldPath:
  10428. description: Path of the field to select in the
  10429. specified API version.
  10430. type: string
  10431. required:
  10432. - fieldPath
  10433. type: object
  10434. x-kubernetes-map-type: atomic
  10435. mode:
  10436. description: 'Optional: mode bits used to set permissions
  10437. on this file, must be an octal value between 0000
  10438. and 0777 or a decimal value between 0 and 511.'
  10439. format: int32
  10440. type: integer
  10441. path:
  10442. description: 'Required: Path is the relative path
  10443. name of the file to be created. Must not be absolute
  10444. or contain the ''..'' path. Must be utf-8 encoded.
  10445. The first item of the relative path must not start
  10446. with ''..'''
  10447. type: string
  10448. resourceFieldRef:
  10449. description: 'Selects a resource of the container:
  10450. only resources limits and requests (limits.cpu,
  10451. limits.memory, requests.cpu and requests.memory)
  10452. are currently supported.'
  10453. properties:
  10454. containerName:
  10455. description: 'Container name: required for volumes,
  10456. optional for env vars'
  10457. type: string
  10458. divisor:
  10459. anyOf:
  10460. - type: integer
  10461. - type: string
  10462. description: Specifies the output format of the
  10463. exposed resources, defaults to "1"
  10464. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  10465. x-kubernetes-int-or-string: true
  10466. resource:
  10467. description: 'Required: resource to select'
  10468. type: string
  10469. required:
  10470. - resource
  10471. type: object
  10472. x-kubernetes-map-type: atomic
  10473. required:
  10474. - path
  10475. type: object
  10476. type: array
  10477. type: object
  10478. emptyDir:
  10479. description: 'emptyDir represents a temporary directory that
  10480. shares a pod''s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
  10481. properties:
  10482. medium:
  10483. description: medium represents what type of storage medium
  10484. should back this directory. The default is "" which means
  10485. to use the node's default medium. Must be an empty string
  10486. (default) or Memory.
  10487. type: string
  10488. sizeLimit:
  10489. anyOf:
  10490. - type: integer
  10491. - type: string
  10492. description: sizeLimit is the total amount of local storage
  10493. required for this EmptyDir volume. The size limit is also
  10494. applicable for memory medium.
  10495. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  10496. x-kubernetes-int-or-string: true
  10497. type: object
  10498. ephemeral:
  10499. description: ephemeral represents a volume that is handled by
  10500. a cluster storage driver.
  10501. properties:
  10502. volumeClaimTemplate:
  10503. description: Will be used to create a stand-alone PVC to
  10504. provision the volume. The pod in which this EphemeralVolumeSource
  10505. is embedded will be the owner of the PVC, i.e.
  10506. properties:
  10507. metadata:
  10508. description: May contain labels and annotations that
  10509. will be copied into the PVC when creating it. No other
  10510. fields are allowed and will be rejected during validation.
  10511. properties:
  10512. annotations:
  10513. additionalProperties:
  10514. type: string
  10515. type: object
  10516. finalizers:
  10517. items:
  10518. type: string
  10519. type: array
  10520. labels:
  10521. additionalProperties:
  10522. type: string
  10523. type: object
  10524. name:
  10525. type: string
  10526. namespace:
  10527. type: string
  10528. type: object
  10529. spec:
  10530. description: The specification for the PersistentVolumeClaim.
  10531. The entire content is copied unchanged into the PVC
  10532. that gets created from this template.
  10533. properties:
  10534. accessModes:
  10535. description: 'accessModes contains the desired access
  10536. modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  10537. items:
  10538. type: string
  10539. type: array
  10540. dataSource:
  10541. description: 'dataSource field can be used to specify
  10542. either: * An existing VolumeSnapshot object (snapshot.storage.k8s.'
  10543. properties:
  10544. apiGroup:
  10545. description: APIGroup is the group for the resource
  10546. being referenced. If APIGroup is not specified,
  10547. the specified Kind must be in the core API
  10548. group. For any other third-party types, APIGroup
  10549. is required.
  10550. type: string
  10551. kind:
  10552. description: Kind is the type of resource being
  10553. referenced
  10554. type: string
  10555. name:
  10556. description: Name is the name of resource being
  10557. referenced
  10558. type: string
  10559. required:
  10560. - kind
  10561. - name
  10562. type: object
  10563. x-kubernetes-map-type: atomic
  10564. dataSourceRef:
  10565. description: dataSourceRef specifies the object
  10566. from which to populate the volume with data, if
  10567. a non-empty volume is desired.
  10568. properties:
  10569. apiGroup:
  10570. description: APIGroup is the group for the resource
  10571. being referenced. If APIGroup is not specified,
  10572. the specified Kind must be in the core API
  10573. group. For any other third-party types, APIGroup
  10574. is required.
  10575. type: string
  10576. kind:
  10577. description: Kind is the type of resource being
  10578. referenced
  10579. type: string
  10580. name:
  10581. description: Name is the name of resource being
  10582. referenced
  10583. type: string
  10584. namespace:
  10585. description: Namespace is the namespace of resource
  10586. being referenced Note that when a namespace
  10587. is specified, a gateway.networking.k8s.
  10588. type: string
  10589. required:
  10590. - kind
  10591. - name
  10592. type: object
  10593. resources:
  10594. description: resources represents the minimum resources
  10595. the volume should have.
  10596. properties:
  10597. claims:
  10598. description: "Claims lists the names of resources,
  10599. defined in spec.resourceClaims, that are used
  10600. by this container. \n This is an alpha field
  10601. and requires enabling the DynamicResourceAllocation
  10602. feature gate."
  10603. items:
  10604. description: ResourceClaim references one
  10605. entry in PodSpec.ResourceClaims.
  10606. properties:
  10607. name:
  10608. description: Name must match the name
  10609. of one entry in pod.spec.resourceClaims
  10610. of the Pod where this field is used.
  10611. It makes that resource available inside
  10612. a container.
  10613. type: string
  10614. required:
  10615. - name
  10616. type: object
  10617. type: array
  10618. x-kubernetes-list-map-keys:
  10619. - name
  10620. x-kubernetes-list-type: map
  10621. limits:
  10622. additionalProperties:
  10623. anyOf:
  10624. - type: integer
  10625. - type: string
  10626. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  10627. x-kubernetes-int-or-string: true
  10628. description: 'Limits describes the maximum amount
  10629. of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
  10630. type: object
  10631. requests:
  10632. additionalProperties:
  10633. anyOf:
  10634. - type: integer
  10635. - type: string
  10636. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  10637. x-kubernetes-int-or-string: true
  10638. description: Requests describes the minimum
  10639. amount of compute resources required.
  10640. type: object
  10641. type: object
  10642. selector:
  10643. description: selector is a label query over volumes
  10644. to consider for binding.
  10645. properties:
  10646. matchExpressions:
  10647. description: matchExpressions is a list of label
  10648. selector requirements. The requirements are
  10649. ANDed.
  10650. items:
  10651. description: A label selector requirement
  10652. is a selector that contains values, a key,
  10653. and an operator that relates the key and
  10654. values.
  10655. properties:
  10656. key:
  10657. description: key is the label key that
  10658. the selector applies to.
  10659. type: string
  10660. operator:
  10661. description: operator represents a key's
  10662. relationship to a set of values. Valid
  10663. operators are In, NotIn, Exists and
  10664. DoesNotExist.
  10665. type: string
  10666. values:
  10667. description: values is an array of string
  10668. values. If the operator is In or NotIn,
  10669. the values array must be non-empty.
  10670. If the operator is Exists or DoesNotExist,
  10671. the values array must be empty.
  10672. items:
  10673. type: string
  10674. type: array
  10675. required:
  10676. - key
  10677. - operator
  10678. type: object
  10679. type: array
  10680. matchLabels:
  10681. additionalProperties:
  10682. type: string
  10683. description: matchLabels is a map of {key,value}
  10684. pairs.
  10685. type: object
  10686. type: object
  10687. x-kubernetes-map-type: atomic
  10688. storageClassName:
  10689. description: 'storageClassName is the name of the
  10690. StorageClass required by the claim. More info:
  10691. https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
  10692. type: string
  10693. volumeMode:
  10694. description: volumeMode defines what type of volume
  10695. is required by the claim. Value of Filesystem
  10696. is implied when not included in claim spec.
  10697. type: string
  10698. volumeName:
  10699. description: volumeName is the binding reference
  10700. to the PersistentVolume backing this claim.
  10701. type: string
  10702. type: object
  10703. required:
  10704. - spec
  10705. type: object
  10706. type: object
  10707. fc:
  10708. description: fc represents a Fibre Channel resource that is
  10709. attached to a kubelet's host machine and then exposed to the
  10710. pod.
  10711. properties:
  10712. fsType:
  10713. description: fsType is the filesystem type to mount. Must
  10714. be a filesystem type supported by the host operating system.
  10715. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  10716. if unspecified.
  10717. type: string
  10718. lun:
  10719. description: 'lun is Optional: FC target lun number'
  10720. format: int32
  10721. type: integer
  10722. readOnly:
  10723. description: 'readOnly is Optional: Defaults to false (read/write).
  10724. ReadOnly here will force the ReadOnly setting in VolumeMounts.'
  10725. type: boolean
  10726. targetWWNs:
  10727. description: 'targetWWNs is Optional: FC target worldwide
  10728. names (WWNs)'
  10729. items:
  10730. type: string
  10731. type: array
  10732. wwids:
  10733. description: 'wwids Optional: FC volume world wide identifiers
  10734. (wwids) Either wwids or combination of targetWWNs and
  10735. lun must be set, but not both simultaneously.'
  10736. items:
  10737. type: string
  10738. type: array
  10739. type: object
  10740. flexVolume:
  10741. description: flexVolume represents a generic volume resource
  10742. that is provisioned/attached using an exec based plugin.
  10743. properties:
  10744. driver:
  10745. description: driver is the name of the driver to use for
  10746. this volume.
  10747. type: string
  10748. fsType:
  10749. description: fsType is the filesystem type to mount. Must
  10750. be a filesystem type supported by the host operating system.
  10751. Ex. "ext4", "xfs", "ntfs". The default filesystem depends
  10752. on FlexVolume script.
  10753. type: string
  10754. options:
  10755. additionalProperties:
  10756. type: string
  10757. description: 'options is Optional: this field holds extra
  10758. command options if any.'
  10759. type: object
  10760. readOnly:
  10761. description: 'readOnly is Optional: defaults to false (read/write).
  10762. ReadOnly here will force the ReadOnly setting in VolumeMounts.'
  10763. type: boolean
  10764. secretRef:
  10765. description: 'secretRef is Optional: secretRef is reference
  10766. to the secret object containing sensitive information
  10767. to pass to the plugin scripts. This may be empty if no
  10768. secret object is specified.'
  10769. properties:
  10770. name:
  10771. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10772. TODO: Add other useful fields. apiVersion, kind, uid?'
  10773. type: string
  10774. type: object
  10775. x-kubernetes-map-type: atomic
  10776. required:
  10777. - driver
  10778. type: object
  10779. flocker:
  10780. description: flocker represents a Flocker volume attached to
  10781. a kubelet's host machine. This depends on the Flocker control
  10782. service being running
  10783. properties:
  10784. datasetName:
  10785. description: datasetName is Name of the dataset stored as
  10786. metadata -> name on the dataset for Flocker should be
  10787. considered as deprecated
  10788. type: string
  10789. datasetUUID:
  10790. description: datasetUUID is the UUID of the dataset. This
  10791. is unique identifier of a Flocker dataset
  10792. type: string
  10793. type: object
  10794. gcePersistentDisk:
  10795. description: 'gcePersistentDisk represents a GCE Disk resource
  10796. that is attached to a kubelet''s host machine and then exposed
  10797. to the pod. More info: https://kubernetes.'
  10798. properties:
  10799. fsType:
  10800. description: 'fsType is filesystem type of the volume that
  10801. you want to mount. Tip: Ensure that the filesystem type
  10802. is supported by the host operating system. Examples: "ext4",
  10803. "xfs", "ntfs".'
  10804. type: string
  10805. partition:
  10806. description: 'partition is the partition in the volume that
  10807. you want to mount. If omitted, the default is to mount
  10808. by volume name. Examples: For volume /dev/sda1, you specify
  10809. the partition as "1".'
  10810. format: int32
  10811. type: integer
  10812. pdName:
  10813. description: 'pdName is unique name of the PD resource in
  10814. GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
  10815. type: string
  10816. readOnly:
  10817. description: 'readOnly here will force the ReadOnly setting
  10818. in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
  10819. type: boolean
  10820. required:
  10821. - pdName
  10822. type: object
  10823. gitRepo:
  10824. description: 'gitRepo represents a git repository at a particular
  10825. revision. DEPRECATED: GitRepo is deprecated.'
  10826. properties:
  10827. directory:
  10828. description: directory is the target directory name. Must
  10829. not contain or start with '..'. If '.' is supplied, the
  10830. volume directory will be the git repository.
  10831. type: string
  10832. repository:
  10833. description: repository is the URL
  10834. type: string
  10835. revision:
  10836. description: revision is the commit hash for the specified
  10837. revision.
  10838. type: string
  10839. required:
  10840. - repository
  10841. type: object
  10842. glusterfs:
  10843. description: 'glusterfs represents a Glusterfs mount on the
  10844. host that shares a pod''s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md'
  10845. properties:
  10846. endpoints:
  10847. description: 'endpoints is the endpoint name that details
  10848. Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
  10849. type: string
  10850. path:
  10851. description: 'path is the Glusterfs volume path. More info:
  10852. https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
  10853. type: string
  10854. readOnly:
  10855. description: 'readOnly here will force the Glusterfs volume
  10856. to be mounted with read-only permissions. Defaults to
  10857. false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
  10858. type: boolean
  10859. required:
  10860. - endpoints
  10861. - path
  10862. type: object
  10863. hostPath:
  10864. description: hostPath represents a pre-existing file or directory
  10865. on the host machine that is directly exposed to the container.
  10866. properties:
  10867. path:
  10868. description: 'path of the directory on the host. If the
  10869. path is a symlink, it will follow the link to the real
  10870. path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath'
  10871. type: string
  10872. type:
  10873. description: 'type for HostPath Volume Defaults to "" More
  10874. info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath'
  10875. type: string
  10876. required:
  10877. - path
  10878. type: object
  10879. iscsi:
  10880. description: 'iscsi represents an ISCSI Disk resource that is
  10881. attached to a kubelet''s host machine and then exposed to
  10882. the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md'
  10883. properties:
  10884. chapAuthDiscovery:
  10885. description: chapAuthDiscovery defines whether support iSCSI
  10886. Discovery CHAP authentication
  10887. type: boolean
  10888. chapAuthSession:
  10889. description: chapAuthSession defines whether support iSCSI
  10890. Session CHAP authentication
  10891. type: boolean
  10892. fsType:
  10893. description: 'fsType is the filesystem type of the volume
  10894. that you want to mount. Tip: Ensure that the filesystem
  10895. type is supported by the host operating system. Examples:
  10896. "ext4", "xfs", "ntfs".'
  10897. type: string
  10898. initiatorName:
  10899. description: initiatorName is the custom iSCSI Initiator
  10900. Name.
  10901. type: string
  10902. iqn:
  10903. description: iqn is the target iSCSI Qualified Name.
  10904. type: string
  10905. iscsiInterface:
  10906. description: iscsiInterface is the interface Name that uses
  10907. an iSCSI transport. Defaults to 'default' (tcp).
  10908. type: string
  10909. lun:
  10910. description: lun represents iSCSI Target Lun number.
  10911. format: int32
  10912. type: integer
  10913. portals:
  10914. description: portals is the iSCSI Target Portal List. The
  10915. portal is either an IP or ip_addr:port if the port is
  10916. other than default (typically TCP ports 860 and 3260).
  10917. items:
  10918. type: string
  10919. type: array
  10920. readOnly:
  10921. description: readOnly here will force the ReadOnly setting
  10922. in VolumeMounts. Defaults to false.
  10923. type: boolean
  10924. secretRef:
  10925. description: secretRef is the CHAP Secret for iSCSI target
  10926. and initiator authentication
  10927. properties:
  10928. name:
  10929. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  10930. TODO: Add other useful fields. apiVersion, kind, uid?'
  10931. type: string
  10932. type: object
  10933. x-kubernetes-map-type: atomic
  10934. targetPortal:
  10935. description: targetPortal is iSCSI Target Portal. The Portal
  10936. is either an IP or ip_addr:port if the port is other than
  10937. default (typically TCP ports 860 and 3260).
  10938. type: string
  10939. required:
  10940. - iqn
  10941. - lun
  10942. - targetPortal
  10943. type: object
  10944. name:
  10945. description: 'name of the volume. Must be a DNS_LABEL and unique
  10946. within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  10947. type: string
  10948. nfs:
  10949. description: 'nfs represents an NFS mount on the host that shares
  10950. a pod''s lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  10951. properties:
  10952. path:
  10953. description: 'path that is exported by the NFS server. More
  10954. info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  10955. type: string
  10956. readOnly:
  10957. description: 'readOnly here will force the NFS export to
  10958. be mounted with read-only permissions. Defaults to false.
  10959. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  10960. type: boolean
  10961. server:
  10962. description: 'server is the hostname or IP address of the
  10963. NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
  10964. type: string
  10965. required:
  10966. - path
  10967. - server
  10968. type: object
  10969. persistentVolumeClaim:
  10970. description: 'persistentVolumeClaimVolumeSource represents a
  10971. reference to a PersistentVolumeClaim in the same namespace.
  10972. More info: https://kubernetes.'
  10973. properties:
  10974. claimName:
  10975. description: 'claimName is the name of a PersistentVolumeClaim
  10976. in the same namespace as the pod using this volume. More
  10977. info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
  10978. type: string
  10979. readOnly:
  10980. description: readOnly Will force the ReadOnly setting in
  10981. VolumeMounts. Default false.
  10982. type: boolean
  10983. required:
  10984. - claimName
  10985. type: object
  10986. photonPersistentDisk:
  10987. description: photonPersistentDisk represents a PhotonController
  10988. persistent disk attached and mounted on kubelets host machine
  10989. properties:
  10990. fsType:
  10991. description: fsType is the filesystem type to mount. Must
  10992. be a filesystem type supported by the host operating system.
  10993. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  10994. if unspecified.
  10995. type: string
  10996. pdID:
  10997. description: pdID is the ID that identifies Photon Controller
  10998. persistent disk
  10999. type: string
  11000. required:
  11001. - pdID
  11002. type: object
  11003. portworxVolume:
  11004. description: portworxVolume represents a portworx volume attached
  11005. and mounted on kubelets host machine
  11006. properties:
  11007. fsType:
  11008. description: fSType represents the filesystem type to mount
  11009. Must be a filesystem type supported by the host operating
  11010. system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4"
  11011. if unspecified.
  11012. type: string
  11013. readOnly:
  11014. description: readOnly defaults to false (read/write). ReadOnly
  11015. here will force the ReadOnly setting in VolumeMounts.
  11016. type: boolean
  11017. volumeID:
  11018. description: volumeID uniquely identifies a Portworx volume
  11019. type: string
  11020. required:
  11021. - volumeID
  11022. type: object
  11023. projected:
  11024. description: projected items for all in one resources secrets,
  11025. configmaps, and downward API
  11026. properties:
  11027. defaultMode:
  11028. description: defaultMode are the mode bits used to set permissions
  11029. on created files by default. Must be an octal value between
  11030. 0000 and 0777 or a decimal value between 0 and 511.
  11031. format: int32
  11032. type: integer
  11033. sources:
  11034. description: sources is the list of volume projections
  11035. items:
  11036. description: Projection that may be projected along with
  11037. other supported volume types
  11038. properties:
  11039. configMap:
  11040. description: configMap information about the configMap
  11041. data to project
  11042. properties:
  11043. items:
  11044. description: items if unspecified, each key-value
  11045. pair in the Data field of the referenced ConfigMap
  11046. will be projected into the volume as a file
  11047. whose name is the key and content is the value.
  11048. items:
  11049. description: Maps a string key to a path within
  11050. a volume.
  11051. properties:
  11052. key:
  11053. description: key is the key to project.
  11054. type: string
  11055. mode:
  11056. description: 'mode is Optional: mode bits
  11057. used to set permissions on this file.
  11058. Must be an octal value between 0000 and
  11059. 0777 or a decimal value between 0 and
  11060. 511.'
  11061. format: int32
  11062. type: integer
  11063. path:
  11064. description: path is the relative path of
  11065. the file to map the key to. May not be
  11066. an absolute path. May not contain the
  11067. path element '..'. May not start with
  11068. the string '..'.
  11069. type: string
  11070. required:
  11071. - key
  11072. - path
  11073. type: object
  11074. type: array
  11075. name:
  11076. description: 'Name of the referent. More info:
  11077. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11078. TODO: Add other useful fields. apiVersion, kind,
  11079. uid?'
  11080. type: string
  11081. optional:
  11082. description: optional specify whether the ConfigMap
  11083. or its keys must be defined
  11084. type: boolean
  11085. type: object
  11086. x-kubernetes-map-type: atomic
  11087. downwardAPI:
  11088. description: downwardAPI information about the downwardAPI
  11089. data to project
  11090. properties:
  11091. items:
  11092. description: Items is a list of DownwardAPIVolume
  11093. file
  11094. items:
  11095. description: DownwardAPIVolumeFile represents
  11096. information to create the file containing
  11097. the pod field
  11098. properties:
  11099. fieldRef:
  11100. description: 'Required: Selects a field
  11101. of the pod: only annotations, labels,
  11102. name and namespace are supported.'
  11103. properties:
  11104. apiVersion:
  11105. description: Version of the schema the
  11106. FieldPath is written in terms of,
  11107. defaults to "v1".
  11108. type: string
  11109. fieldPath:
  11110. description: Path of the field to select
  11111. in the specified API version.
  11112. type: string
  11113. required:
  11114. - fieldPath
  11115. type: object
  11116. x-kubernetes-map-type: atomic
  11117. mode:
  11118. description: 'Optional: mode bits used to
  11119. set permissions on this file, must be
  11120. an octal value between 0000 and 0777 or
  11121. a decimal value between 0 and 511.'
  11122. format: int32
  11123. type: integer
  11124. path:
  11125. description: 'Required: Path is the relative
  11126. path name of the file to be created. Must
  11127. not be absolute or contain the ''..''
  11128. path. Must be utf-8 encoded. The first
  11129. item of the relative path must not start
  11130. with ''..'''
  11131. type: string
  11132. resourceFieldRef:
  11133. description: 'Selects a resource of the
  11134. container: only resources limits and requests
  11135. (limits.cpu, limits.memory, requests.cpu
  11136. and requests.memory) are currently supported.'
  11137. properties:
  11138. containerName:
  11139. description: 'Container name: required
  11140. for volumes, optional for env vars'
  11141. type: string
  11142. divisor:
  11143. anyOf:
  11144. - type: integer
  11145. - type: string
  11146. description: Specifies the output format
  11147. of the exposed resources, defaults
  11148. to "1"
  11149. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  11150. x-kubernetes-int-or-string: true
  11151. resource:
  11152. description: 'Required: resource to
  11153. select'
  11154. type: string
  11155. required:
  11156. - resource
  11157. type: object
  11158. x-kubernetes-map-type: atomic
  11159. required:
  11160. - path
  11161. type: object
  11162. type: array
  11163. type: object
  11164. secret:
  11165. description: secret information about the secret data
  11166. to project
  11167. properties:
  11168. items:
  11169. description: items if unspecified, each key-value
  11170. pair in the Data field of the referenced Secret
  11171. will be projected into the volume as a file
  11172. whose name is the key and content is the value.
  11173. items:
  11174. description: Maps a string key to a path within
  11175. a volume.
  11176. properties:
  11177. key:
  11178. description: key is the key to project.
  11179. type: string
  11180. mode:
  11181. description: 'mode is Optional: mode bits
  11182. used to set permissions on this file.
  11183. Must be an octal value between 0000 and
  11184. 0777 or a decimal value between 0 and
  11185. 511.'
  11186. format: int32
  11187. type: integer
  11188. path:
  11189. description: path is the relative path of
  11190. the file to map the key to. May not be
  11191. an absolute path. May not contain the
  11192. path element '..'. May not start with
  11193. the string '..'.
  11194. type: string
  11195. required:
  11196. - key
  11197. - path
  11198. type: object
  11199. type: array
  11200. name:
  11201. description: 'Name of the referent. More info:
  11202. https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11203. TODO: Add other useful fields. apiVersion, kind,
  11204. uid?'
  11205. type: string
  11206. optional:
  11207. description: optional field specify whether the
  11208. Secret or its key must be defined
  11209. type: boolean
  11210. type: object
  11211. x-kubernetes-map-type: atomic
  11212. serviceAccountToken:
  11213. description: serviceAccountToken is information about
  11214. the serviceAccountToken data to project
  11215. properties:
  11216. audience:
  11217. description: audience is the intended audience
  11218. of the token. A recipient of a token must identify
  11219. itself with an identifier specified in the audience
  11220. of the token, and otherwise should reject the
  11221. token.
  11222. type: string
  11223. expirationSeconds:
  11224. description: expirationSeconds is the requested
  11225. duration of validity of the service account
  11226. token. As the token approaches expiration, the
  11227. kubelet volume plugin will proactively rotate
  11228. the service account token.
  11229. format: int64
  11230. type: integer
  11231. path:
  11232. description: path is the path relative to the
  11233. mount point of the file to project the token
  11234. into.
  11235. type: string
  11236. required:
  11237. - path
  11238. type: object
  11239. type: object
  11240. type: array
  11241. type: object
  11242. quobyte:
  11243. description: quobyte represents a Quobyte mount on the host
  11244. that shares a pod's lifetime
  11245. properties:
  11246. group:
  11247. description: group to map volume access to Default is no
  11248. group
  11249. type: string
  11250. readOnly:
  11251. description: readOnly here will force the Quobyte volume
  11252. to be mounted with read-only permissions. Defaults to
  11253. false.
  11254. type: boolean
  11255. registry:
  11256. description: registry represents a single or multiple Quobyte
  11257. Registry services specified as a string as host:port pair
  11258. (multiple entries are separated with commas) which acts
  11259. as the central registry for volumes
  11260. type: string
  11261. tenant:
  11262. description: tenant owning the given Quobyte volume in the
  11263. Backend Used with dynamically provisioned Quobyte volumes,
  11264. value is set by the plugin
  11265. type: string
  11266. user:
  11267. description: user to map volume access to Defaults to serivceaccount
  11268. user
  11269. type: string
  11270. volume:
  11271. description: volume is a string that references an already
  11272. created Quobyte volume by name.
  11273. type: string
  11274. required:
  11275. - registry
  11276. - volume
  11277. type: object
  11278. rbd:
  11279. description: 'rbd represents a Rados Block Device mount on the
  11280. host that shares a pod''s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md'
  11281. properties:
  11282. fsType:
  11283. description: 'fsType is the filesystem type of the volume
  11284. that you want to mount. Tip: Ensure that the filesystem
  11285. type is supported by the host operating system. Examples:
  11286. "ext4", "xfs", "ntfs".'
  11287. type: string
  11288. image:
  11289. description: 'image is the rados image name. More info:
  11290. https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  11291. type: string
  11292. keyring:
  11293. description: 'keyring is the path to key ring for RBDUser.
  11294. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  11295. type: string
  11296. monitors:
  11297. description: 'monitors is a collection of Ceph monitors.
  11298. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  11299. items:
  11300. type: string
  11301. type: array
  11302. pool:
  11303. description: 'pool is the rados pool name. Default is rbd.
  11304. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  11305. type: string
  11306. readOnly:
  11307. description: 'readOnly here will force the ReadOnly setting
  11308. in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  11309. type: boolean
  11310. secretRef:
  11311. description: 'secretRef is name of the authentication secret
  11312. for RBDUser. If provided overrides keyring. Default is
  11313. nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  11314. properties:
  11315. name:
  11316. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11317. TODO: Add other useful fields. apiVersion, kind, uid?'
  11318. type: string
  11319. type: object
  11320. x-kubernetes-map-type: atomic
  11321. user:
  11322. description: 'user is the rados user name. Default is admin.
  11323. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
  11324. type: string
  11325. required:
  11326. - image
  11327. - monitors
  11328. type: object
  11329. scaleIO:
  11330. description: scaleIO represents a ScaleIO persistent volume
  11331. attached and mounted on Kubernetes nodes.
  11332. properties:
  11333. fsType:
  11334. description: fsType is the filesystem type to mount. Must
  11335. be a filesystem type supported by the host operating system.
  11336. Ex. "ext4", "xfs", "ntfs". Default is "xfs".
  11337. type: string
  11338. gateway:
  11339. description: gateway is the host address of the ScaleIO
  11340. API Gateway.
  11341. type: string
  11342. protectionDomain:
  11343. description: protectionDomain is the name of the ScaleIO
  11344. Protection Domain for the configured storage.
  11345. type: string
  11346. readOnly:
  11347. description: readOnly Defaults to false (read/write). ReadOnly
  11348. here will force the ReadOnly setting in VolumeMounts.
  11349. type: boolean
  11350. secretRef:
  11351. description: secretRef references to the secret for ScaleIO
  11352. user and other sensitive information. If this is not provided,
  11353. Login operation will fail.
  11354. properties:
  11355. name:
  11356. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11357. TODO: Add other useful fields. apiVersion, kind, uid?'
  11358. type: string
  11359. type: object
  11360. x-kubernetes-map-type: atomic
  11361. sslEnabled:
  11362. description: sslEnabled Flag enable/disable SSL communication
  11363. with Gateway, default false
  11364. type: boolean
  11365. storageMode:
  11366. description: storageMode indicates whether the storage for
  11367. a volume should be ThickProvisioned or ThinProvisioned.
  11368. Default is ThinProvisioned.
  11369. type: string
  11370. storagePool:
  11371. description: storagePool is the ScaleIO Storage Pool associated
  11372. with the protection domain.
  11373. type: string
  11374. system:
  11375. description: system is the name of the storage system as
  11376. configured in ScaleIO.
  11377. type: string
  11378. volumeName:
  11379. description: volumeName is the name of a volume already
  11380. created in the ScaleIO system that is associated with
  11381. this volume source.
  11382. type: string
  11383. required:
  11384. - gateway
  11385. - secretRef
  11386. - system
  11387. type: object
  11388. secret:
  11389. description: 'secret represents a secret that should populate
  11390. this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
  11391. properties:
  11392. defaultMode:
  11393. description: 'defaultMode is Optional: mode bits used to
  11394. set permissions on created files by default. Must be an
  11395. octal value between 0000 and 0777 or a decimal value between
  11396. 0 and 511.'
  11397. format: int32
  11398. type: integer
  11399. items:
  11400. description: items If unspecified, each key-value pair in
  11401. the Data field of the referenced Secret will be projected
  11402. into the volume as a file whose name is the key and content
  11403. is the value.
  11404. items:
  11405. description: Maps a string key to a path within a volume.
  11406. properties:
  11407. key:
  11408. description: key is the key to project.
  11409. type: string
  11410. mode:
  11411. description: 'mode is Optional: mode bits used to
  11412. set permissions on this file. Must be an octal value
  11413. between 0000 and 0777 or a decimal value between
  11414. 0 and 511.'
  11415. format: int32
  11416. type: integer
  11417. path:
  11418. description: path is the relative path of the file
  11419. to map the key to. May not be an absolute path.
  11420. May not contain the path element '..'. May not start
  11421. with the string '..'.
  11422. type: string
  11423. required:
  11424. - key
  11425. - path
  11426. type: object
  11427. type: array
  11428. optional:
  11429. description: optional field specify whether the Secret or
  11430. its keys must be defined
  11431. type: boolean
  11432. secretName:
  11433. description: 'secretName is the name of the secret in the
  11434. pod''s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
  11435. type: string
  11436. type: object
  11437. storageos:
  11438. description: storageOS represents a StorageOS volume attached
  11439. and mounted on Kubernetes nodes.
  11440. properties:
  11441. fsType:
  11442. description: fsType is the filesystem type to mount. Must
  11443. be a filesystem type supported by the host operating system.
  11444. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  11445. if unspecified.
  11446. type: string
  11447. readOnly:
  11448. description: readOnly defaults to false (read/write). ReadOnly
  11449. here will force the ReadOnly setting in VolumeMounts.
  11450. type: boolean
  11451. secretRef:
  11452. description: secretRef specifies the secret to use for obtaining
  11453. the StorageOS API credentials. If not specified, default
  11454. values will be attempted.
  11455. properties:
  11456. name:
  11457. description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  11458. TODO: Add other useful fields. apiVersion, kind, uid?'
  11459. type: string
  11460. type: object
  11461. x-kubernetes-map-type: atomic
  11462. volumeName:
  11463. description: volumeName is the human-readable name of the
  11464. StorageOS volume. Volume names are only unique within
  11465. a namespace.
  11466. type: string
  11467. volumeNamespace:
  11468. description: volumeNamespace specifies the scope of the
  11469. volume within StorageOS. If no namespace is specified
  11470. then the Pod's namespace will be used.
  11471. type: string
  11472. type: object
  11473. vsphereVolume:
  11474. description: vsphereVolume represents a vSphere volume attached
  11475. and mounted on kubelets host machine
  11476. properties:
  11477. fsType:
  11478. description: fsType is filesystem type to mount. Must be
  11479. a filesystem type supported by the host operating system.
  11480. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4"
  11481. if unspecified.
  11482. type: string
  11483. storagePolicyID:
  11484. description: storagePolicyID is the storage Policy Based
  11485. Management (SPBM) profile ID associated with the StoragePolicyName.
  11486. type: string
  11487. storagePolicyName:
  11488. description: storagePolicyName is the storage Policy Based
  11489. Management (SPBM) profile name.
  11490. type: string
  11491. volumePath:
  11492. description: volumePath is the path that identifies vSphere
  11493. volume vmdk
  11494. type: string
  11495. required:
  11496. - volumePath
  11497. type: object
  11498. required:
  11499. - name
  11500. type: object
  11501. type: array
  11502. x-kubernetes-list-type: atomic
  11503. type: object
  11504. status:
  11505. description: OpenTelemetryCollectorStatus defines the observed state of
  11506. OpenTelemetryCollector.
  11507. properties:
  11508. image:
  11509. description: Image indicates the container image to use for the OpenTelemetry
  11510. Collector.
  11511. type: string
  11512. messages:
  11513. description: 'Messages about actions performed by the operator on
  11514. this resource. Deprecated: use Kubernetes events instead.'
  11515. items:
  11516. type: string
  11517. type: array
  11518. x-kubernetes-list-type: atomic
  11519. replicas:
  11520. description: 'Replicas is currently not being set and might be removed
  11521. in the next version. Deprecated: use "OpenTelemetryCollector.Status.Scale.Replicas"
  11522. instead.'
  11523. format: int32
  11524. type: integer
  11525. scale:
  11526. description: Scale is the OpenTelemetryCollector's scale subresource
  11527. status.
  11528. properties:
  11529. replicas:
  11530. description: The total number non-terminated pods targeted by
  11531. this OpenTelemetryCollector's deployment or statefulSet.
  11532. format: int32
  11533. type: integer
  11534. selector:
  11535. description: The selector used to match the OpenTelemetryCollector's
  11536. deployment or statefulSet pods.
  11537. type: string
  11538. statusReplicas:
  11539. description: StatusReplicas is the number of pods targeted by
  11540. this OpenTelemetryCollector's with a Ready Condition / Total
  11541. number of non-terminated pods targeted by this OpenTelemetryCollector's
  11542. (their labels matc
  11543. type: string
  11544. type: object
  11545. version:
  11546. description: Version of the managed OpenTelemetry Collector (operand)
  11547. type: string
  11548. type: object
  11549. type: object
  11550. served: true
  11551. storage: true
  11552. subresources:
  11553. scale:
  11554. labelSelectorPath: .status.scale.selector
  11555. specReplicasPath: .spec.replicas
  11556. statusReplicasPath: .status.scale.replicas
  11557. status: {}
  11558. ---
  11559. apiVersion: v1
  11560. kind: ServiceAccount
  11561. metadata:
  11562. labels:
  11563. app.kubernetes.io/name: opentelemetry-operator
  11564. name: opentelemetry-operator-controller-manager
  11565. namespace: opentelemetry-operator-system
  11566. ---
  11567. apiVersion: rbac.authorization.k8s.io/v1
  11568. kind: Role
  11569. metadata:
  11570. labels:
  11571. app.kubernetes.io/name: opentelemetry-operator
  11572. name: opentelemetry-operator-leader-election-role
  11573. namespace: opentelemetry-operator-system
  11574. rules:
  11575. - apiGroups:
  11576. - ""
  11577. resources:
  11578. - configmaps
  11579. verbs:
  11580. - get
  11581. - list
  11582. - watch
  11583. - create
  11584. - update
  11585. - patch
  11586. - delete
  11587. - apiGroups:
  11588. - ""
  11589. resources:
  11590. - configmaps/status
  11591. verbs:
  11592. - get
  11593. - update
  11594. - patch
  11595. - apiGroups:
  11596. - ""
  11597. resources:
  11598. - events
  11599. verbs:
  11600. - create
  11601. - patch
  11602. ---
  11603. apiVersion: rbac.authorization.k8s.io/v1
  11604. kind: ClusterRole
  11605. metadata:
  11606. labels:
  11607. app.kubernetes.io/name: opentelemetry-operator
  11608. name: opentelemetry-operator-manager-role
  11609. rules:
  11610. - apiGroups:
  11611. - ""
  11612. resources:
  11613. - configmaps
  11614. - serviceaccounts
  11615. - services
  11616. verbs:
  11617. - create
  11618. - delete
  11619. - get
  11620. - list
  11621. - patch
  11622. - update
  11623. - watch
  11624. - apiGroups:
  11625. - ""
  11626. resources:
  11627. - events
  11628. verbs:
  11629. - create
  11630. - patch
  11631. - apiGroups:
  11632. - ""
  11633. resources:
  11634. - namespaces
  11635. verbs:
  11636. - list
  11637. - watch
  11638. - apiGroups:
  11639. - apps
  11640. resources:
  11641. - daemonsets
  11642. - deployments
  11643. - statefulsets
  11644. verbs:
  11645. - create
  11646. - delete
  11647. - get
  11648. - list
  11649. - patch
  11650. - update
  11651. - watch
  11652. - apiGroups:
  11653. - apps
  11654. resources:
  11655. - replicasets
  11656. verbs:
  11657. - get
  11658. - list
  11659. - watch
  11660. - apiGroups:
  11661. - autoscaling
  11662. resources:
  11663. - horizontalpodautoscalers
  11664. verbs:
  11665. - create
  11666. - delete
  11667. - get
  11668. - list
  11669. - patch
  11670. - update
  11671. - watch
  11672. - apiGroups:
  11673. - coordination.k8s.io
  11674. resources:
  11675. - leases
  11676. verbs:
  11677. - create
  11678. - get
  11679. - list
  11680. - update
  11681. - apiGroups:
  11682. - monitoring.coreos.com
  11683. resources:
  11684. - servicemonitors
  11685. verbs:
  11686. - create
  11687. - delete
  11688. - get
  11689. - list
  11690. - patch
  11691. - update
  11692. - watch
  11693. - apiGroups:
  11694. - networking.k8s.io
  11695. resources:
  11696. - ingresses
  11697. verbs:
  11698. - create
  11699. - delete
  11700. - get
  11701. - list
  11702. - patch
  11703. - update
  11704. - watch
  11705. - apiGroups:
  11706. - opentelemetry.io
  11707. resources:
  11708. - instrumentations
  11709. verbs:
  11710. - get
  11711. - list
  11712. - patch
  11713. - update
  11714. - watch
  11715. - apiGroups:
  11716. - opentelemetry.io
  11717. resources:
  11718. - opampbridges
  11719. verbs:
  11720. - create
  11721. - delete
  11722. - get
  11723. - list
  11724. - patch
  11725. - update
  11726. - watch
  11727. - apiGroups:
  11728. - opentelemetry.io
  11729. resources:
  11730. - opampbridges/finalizers
  11731. verbs:
  11732. - update
  11733. - apiGroups:
  11734. - opentelemetry.io
  11735. resources:
  11736. - opampbridges/status
  11737. verbs:
  11738. - get
  11739. - patch
  11740. - update
  11741. - apiGroups:
  11742. - opentelemetry.io
  11743. resources:
  11744. - opentelemetrycollectors
  11745. verbs:
  11746. - get
  11747. - list
  11748. - patch
  11749. - update
  11750. - watch
  11751. - apiGroups:
  11752. - opentelemetry.io
  11753. resources:
  11754. - opentelemetrycollectors/finalizers
  11755. verbs:
  11756. - get
  11757. - patch
  11758. - update
  11759. - apiGroups:
  11760. - opentelemetry.io
  11761. resources:
  11762. - opentelemetrycollectors/status
  11763. verbs:
  11764. - get
  11765. - patch
  11766. - update
  11767. - apiGroups:
  11768. - policy
  11769. resources:
  11770. - poddisruptionbudgets
  11771. verbs:
  11772. - create
  11773. - delete
  11774. - get
  11775. - list
  11776. - patch
  11777. - update
  11778. - watch
  11779. - apiGroups:
  11780. - route.openshift.io
  11781. resources:
  11782. - routes
  11783. - routes/custom-host
  11784. verbs:
  11785. - create
  11786. - delete
  11787. - get
  11788. - list
  11789. - patch
  11790. - update
  11791. - watch
  11792. ---
  11793. apiVersion: rbac.authorization.k8s.io/v1
  11794. kind: ClusterRole
  11795. metadata:
  11796. labels:
  11797. app.kubernetes.io/name: opentelemetry-operator
  11798. name: opentelemetry-operator-metrics-reader
  11799. rules:
  11800. - nonResourceURLs:
  11801. - /metrics
  11802. verbs:
  11803. - get
  11804. ---
  11805. apiVersion: rbac.authorization.k8s.io/v1
  11806. kind: ClusterRole
  11807. metadata:
  11808. labels:
  11809. app.kubernetes.io/name: opentelemetry-operator
  11810. name: opentelemetry-operator-proxy-role
  11811. rules:
  11812. - apiGroups:
  11813. - authentication.k8s.io
  11814. resources:
  11815. - tokenreviews
  11816. verbs:
  11817. - create
  11818. - apiGroups:
  11819. - authorization.k8s.io
  11820. resources:
  11821. - subjectaccessreviews
  11822. verbs:
  11823. - create
  11824. ---
  11825. apiVersion: rbac.authorization.k8s.io/v1
  11826. kind: RoleBinding
  11827. metadata:
  11828. labels:
  11829. app.kubernetes.io/name: opentelemetry-operator
  11830. name: opentelemetry-operator-leader-election-rolebinding
  11831. namespace: opentelemetry-operator-system
  11832. roleRef:
  11833. apiGroup: rbac.authorization.k8s.io
  11834. kind: Role
  11835. name: opentelemetry-operator-leader-election-role
  11836. subjects:
  11837. - kind: ServiceAccount
  11838. name: opentelemetry-operator-controller-manager
  11839. namespace: opentelemetry-operator-system
  11840. ---
  11841. apiVersion: rbac.authorization.k8s.io/v1
  11842. kind: ClusterRoleBinding
  11843. metadata:
  11844. labels:
  11845. app.kubernetes.io/name: opentelemetry-operator
  11846. name: opentelemetry-operator-manager-rolebinding
  11847. roleRef:
  11848. apiGroup: rbac.authorization.k8s.io
  11849. kind: ClusterRole
  11850. name: opentelemetry-operator-manager-role
  11851. subjects:
  11852. - kind: ServiceAccount
  11853. name: opentelemetry-operator-controller-manager
  11854. namespace: opentelemetry-operator-system
  11855. ---
  11856. apiVersion: rbac.authorization.k8s.io/v1
  11857. kind: ClusterRoleBinding
  11858. metadata:
  11859. labels:
  11860. app.kubernetes.io/name: opentelemetry-operator
  11861. name: opentelemetry-operator-proxy-rolebinding
  11862. roleRef:
  11863. apiGroup: rbac.authorization.k8s.io
  11864. kind: ClusterRole
  11865. name: opentelemetry-operator-proxy-role
  11866. subjects:
  11867. - kind: ServiceAccount
  11868. name: opentelemetry-operator-controller-manager
  11869. namespace: opentelemetry-operator-system
  11870. ---
  11871. apiVersion: v1
  11872. kind: Service
  11873. metadata:
  11874. labels:
  11875. app.kubernetes.io/name: opentelemetry-operator
  11876. control-plane: controller-manager
  11877. name: opentelemetry-operator-controller-manager-metrics-service
  11878. namespace: opentelemetry-operator-system
  11879. spec:
  11880. ports:
  11881. - name: https
  11882. port: 8443
  11883. protocol: TCP
  11884. targetPort: https
  11885. selector:
  11886. app.kubernetes.io/name: opentelemetry-operator
  11887. control-plane: controller-manager
  11888. ---
  11889. apiVersion: v1
  11890. kind: Service
  11891. metadata:
  11892. labels:
  11893. app.kubernetes.io/name: opentelemetry-operator
  11894. name: opentelemetry-operator-webhook-service
  11895. namespace: opentelemetry-operator-system
  11896. spec:
  11897. ports:
  11898. - port: 443
  11899. protocol: TCP
  11900. targetPort: 9443
  11901. selector:
  11902. app.kubernetes.io/name: opentelemetry-operator
  11903. control-plane: controller-manager
  11904. ---
  11905. apiVersion: apps/v1
  11906. kind: Deployment
  11907. metadata:
  11908. labels:
  11909. app.kubernetes.io/name: opentelemetry-operator
  11910. control-plane: controller-manager
  11911. name: opentelemetry-operator-controller-manager
  11912. namespace: opentelemetry-operator-system
  11913. spec:
  11914. replicas: 1
  11915. selector:
  11916. matchLabels:
  11917. app.kubernetes.io/name: opentelemetry-operator
  11918. control-plane: controller-manager
  11919. template:
  11920. metadata:
  11921. labels:
  11922. app.kubernetes.io/name: opentelemetry-operator
  11923. control-plane: controller-manager
  11924. spec:
  11925. containers:
  11926. - args:
  11927. - --metrics-addr=127.0.0.1:8080
  11928. - --enable-leader-election
  11929. - --zap-log-level=info
  11930. - --zap-time-encoding=rfc3339nano
  11931. - --feature-gates=+operator.autoinstrumentation.go,+operator.autoinstrumentation.nginx
  11932. image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.89.0
  11933. livenessProbe:
  11934. httpGet:
  11935. path: /healthz
  11936. port: 8081
  11937. initialDelaySeconds: 15
  11938. periodSeconds: 20
  11939. name: manager
  11940. ports:
  11941. - containerPort: 9443
  11942. name: webhook-server
  11943. protocol: TCP
  11944. readinessProbe:
  11945. httpGet:
  11946. path: /readyz
  11947. port: 8081
  11948. initialDelaySeconds: 5
  11949. periodSeconds: 10
  11950. resources:
  11951. requests:
  11952. cpu: 100m
  11953. memory: 64Mi
  11954. volumeMounts:
  11955. - mountPath: /tmp/k8s-webhook-server/serving-certs
  11956. name: cert
  11957. readOnly: true
  11958. - args:
  11959. - --secure-listen-address=0.0.0.0:8443
  11960. - --upstream=http://127.0.0.1:8080/
  11961. - --logtostderr=true
  11962. - --v=0
  11963. image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
  11964. name: kube-rbac-proxy
  11965. ports:
  11966. - containerPort: 8443
  11967. name: https
  11968. protocol: TCP
  11969. resources:
  11970. limits:
  11971. cpu: 500m
  11972. memory: 128Mi
  11973. requests:
  11974. cpu: 5m
  11975. memory: 64Mi
  11976. serviceAccountName: opentelemetry-operator-controller-manager
  11977. terminationGracePeriodSeconds: 10
  11978. volumes:
  11979. - name: cert
  11980. secret:
  11981. defaultMode: 420
  11982. secretName: opentelemetry-operator-controller-manager-service-cert
  11983. ---
  11984. apiVersion: cert-manager.io/v1
  11985. kind: Certificate
  11986. metadata:
  11987. labels:
  11988. app.kubernetes.io/name: opentelemetry-operator
  11989. name: opentelemetry-operator-serving-cert
  11990. namespace: opentelemetry-operator-system
  11991. spec:
  11992. dnsNames:
  11993. - opentelemetry-operator-webhook-service.opentelemetry-operator-system.svc
  11994. - opentelemetry-operator-webhook-service.opentelemetry-operator-system.svc.cluster.local
  11995. issuerRef:
  11996. kind: Issuer
  11997. name: opentelemetry-operator-selfsigned-issuer
  11998. secretName: opentelemetry-operator-controller-manager-service-cert
  11999. subject:
  12000. organizationalUnits:
  12001. - opentelemetry-operator
  12002. ---
  12003. apiVersion: cert-manager.io/v1
  12004. kind: Issuer
  12005. metadata:
  12006. labels:
  12007. app.kubernetes.io/name: opentelemetry-operator
  12008. name: opentelemetry-operator-selfsigned-issuer
  12009. namespace: opentelemetry-operator-system
  12010. spec:
  12011. selfSigned: {}
  12012. ---
  12013. apiVersion: admissionregistration.k8s.io/v1
  12014. kind: MutatingWebhookConfiguration
  12015. metadata:
  12016. annotations:
  12017. cert-manager.io/inject-ca-from: opentelemetry-operator-system/opentelemetry-operator-serving-cert
  12018. labels:
  12019. app.kubernetes.io/name: opentelemetry-operator
  12020. name: opentelemetry-operator-mutating-webhook-configuration
  12021. webhooks:
  12022. - admissionReviewVersions:
  12023. - v1
  12024. clientConfig:
  12025. service:
  12026. name: opentelemetry-operator-webhook-service
  12027. namespace: opentelemetry-operator-system
  12028. path: /mutate-opentelemetry-io-v1alpha1-instrumentation
  12029. failurePolicy: Fail
  12030. name: minstrumentation.kb.io
  12031. rules:
  12032. - apiGroups:
  12033. - opentelemetry.io
  12034. apiVersions:
  12035. - v1alpha1
  12036. operations:
  12037. - CREATE
  12038. - UPDATE
  12039. resources:
  12040. - instrumentations
  12041. sideEffects: None
  12042. - admissionReviewVersions:
  12043. - v1
  12044. clientConfig:
  12045. service:
  12046. name: opentelemetry-operator-webhook-service
  12047. namespace: opentelemetry-operator-system
  12048. path: /mutate-opentelemetry-io-v1alpha1-opampbridge
  12049. failurePolicy: Fail
  12050. name: mopampbridge.kb.io
  12051. rules:
  12052. - apiGroups:
  12053. - opentelemetry.io
  12054. apiVersions:
  12055. - v1alpha1
  12056. operations:
  12057. - CREATE
  12058. - UPDATE
  12059. resources:
  12060. - opampbridges
  12061. sideEffects: None
  12062. - admissionReviewVersions:
  12063. - v1
  12064. clientConfig:
  12065. service:
  12066. name: opentelemetry-operator-webhook-service
  12067. namespace: opentelemetry-operator-system
  12068. path: /mutate-opentelemetry-io-v1alpha1-opentelemetrycollector
  12069. failurePolicy: Fail
  12070. name: mopentelemetrycollector.kb.io
  12071. rules:
  12072. - apiGroups:
  12073. - opentelemetry.io
  12074. apiVersions:
  12075. - v1alpha1
  12076. operations:
  12077. - CREATE
  12078. - UPDATE
  12079. resources:
  12080. - opentelemetrycollectors
  12081. sideEffects: None
  12082. - admissionReviewVersions:
  12083. - v1
  12084. clientConfig:
  12085. service:
  12086. name: opentelemetry-operator-webhook-service
  12087. namespace: opentelemetry-operator-system
  12088. path: /mutate-v1-pod
  12089. failurePolicy: Ignore
  12090. name: mpod.kb.io
  12091. rules:
  12092. - apiGroups:
  12093. - ""
  12094. apiVersions:
  12095. - v1
  12096. operations:
  12097. - CREATE
  12098. - UPDATE
  12099. resources:
  12100. - pods
  12101. sideEffects: None
  12102. ---
  12103. apiVersion: admissionregistration.k8s.io/v1
  12104. kind: ValidatingWebhookConfiguration
  12105. metadata:
  12106. annotations:
  12107. cert-manager.io/inject-ca-from: opentelemetry-operator-system/opentelemetry-operator-serving-cert
  12108. labels:
  12109. app.kubernetes.io/name: opentelemetry-operator
  12110. name: opentelemetry-operator-validating-webhook-configuration
  12111. webhooks:
  12112. - admissionReviewVersions:
  12113. - v1
  12114. clientConfig:
  12115. service:
  12116. name: opentelemetry-operator-webhook-service
  12117. namespace: opentelemetry-operator-system
  12118. path: /validate-opentelemetry-io-v1alpha1-instrumentation
  12119. failurePolicy: Fail
  12120. name: vinstrumentationcreateupdate.kb.io
  12121. rules:
  12122. - apiGroups:
  12123. - opentelemetry.io
  12124. apiVersions:
  12125. - v1alpha1
  12126. operations:
  12127. - CREATE
  12128. - UPDATE
  12129. resources:
  12130. - instrumentations
  12131. sideEffects: None
  12132. - admissionReviewVersions:
  12133. - v1
  12134. clientConfig:
  12135. service:
  12136. name: opentelemetry-operator-webhook-service
  12137. namespace: opentelemetry-operator-system
  12138. path: /validate-opentelemetry-io-v1alpha1-instrumentation
  12139. failurePolicy: Ignore
  12140. name: vinstrumentationdelete.kb.io
  12141. rules:
  12142. - apiGroups:
  12143. - opentelemetry.io
  12144. apiVersions:
  12145. - v1alpha1
  12146. operations:
  12147. - DELETE
  12148. resources:
  12149. - instrumentations
  12150. sideEffects: None
  12151. - admissionReviewVersions:
  12152. - v1
  12153. clientConfig:
  12154. service:
  12155. name: opentelemetry-operator-webhook-service
  12156. namespace: opentelemetry-operator-system
  12157. path: /validate-opentelemetry-io-v1alpha1-opampbridge
  12158. failurePolicy: Fail
  12159. name: vopampbridgecreateupdate.kb.io
  12160. rules:
  12161. - apiGroups:
  12162. - opentelemetry.io
  12163. apiVersions:
  12164. - v1alpha1
  12165. operations:
  12166. - CREATE
  12167. - UPDATE
  12168. resources:
  12169. - opampbridges
  12170. sideEffects: None
  12171. - admissionReviewVersions:
  12172. - v1
  12173. clientConfig:
  12174. service:
  12175. name: opentelemetry-operator-webhook-service
  12176. namespace: opentelemetry-operator-system
  12177. path: /validate-opentelemetry-io-v1alpha1-opampbridge
  12178. failurePolicy: Ignore
  12179. name: vopampbridgedelete.kb.io
  12180. rules:
  12181. - apiGroups:
  12182. - opentelemetry.io
  12183. apiVersions:
  12184. - v1alpha1
  12185. operations:
  12186. - DELETE
  12187. resources:
  12188. - opampbridges
  12189. sideEffects: None
  12190. - admissionReviewVersions:
  12191. - v1
  12192. clientConfig:
  12193. service:
  12194. name: opentelemetry-operator-webhook-service
  12195. namespace: opentelemetry-operator-system
  12196. path: /validate-opentelemetry-io-v1alpha1-opentelemetrycollector
  12197. failurePolicy: Fail
  12198. name: vopentelemetrycollectorcreateupdate.kb.io
  12199. rules:
  12200. - apiGroups:
  12201. - opentelemetry.io
  12202. apiVersions:
  12203. - v1alpha1
  12204. operations:
  12205. - CREATE
  12206. - UPDATE
  12207. resources:
  12208. - opentelemetrycollectors
  12209. sideEffects: None
  12210. - admissionReviewVersions:
  12211. - v1
  12212. clientConfig:
  12213. service:
  12214. name: opentelemetry-operator-webhook-service
  12215. namespace: opentelemetry-operator-system
  12216. path: /validate-opentelemetry-io-v1alpha1-opentelemetrycollector
  12217. failurePolicy: Ignore
  12218. name: vopentelemetrycollectordelete.kb.io
  12219. rules:
  12220. - apiGroups:
  12221. - opentelemetry.io
  12222. apiVersions:
  12223. - v1alpha1
  12224. operations:
  12225. - DELETE
  12226. resources:
  12227. - opentelemetrycollectors
  12228. sideEffects: None