values.yaml 157 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794
  1. # Default values for kube-prometheus-stack.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. ## Provide a name in place of kube-prometheus-stack for `app:` labels
  5. ##
  6. nameOverride: "mon-stack"
  7. ## Override the deployment namespace
  8. ##
  9. namespaceOverride: ""
  10. ## Provide a k8s version to auto dashboard import script example: kubeTargetVersionOverride: 1.26.6
  11. ##
  12. kubeTargetVersionOverride: ""
  13. ## Allow kubeVersion to be overridden while creating the ingress
  14. ##
  15. kubeVersionOverride: ""
  16. ## Provide a name to substitute for the full names of resources
  17. ##
  18. fullnameOverride: ""
  19. ## Labels to apply to all resources
  20. ##
  21. commonLabels: {}
  22. # scmhash: abc123
  23. # myLabel: aakkmd
  24. ## Install Prometheus Operator CRDs
  25. ##
  26. crds:
  27. enabled: true
  28. ## custom Rules to override "for" and "severity" in defaultRules
  29. ##
  30. customRules: {}
  31. # AlertmanagerFailedReload:
  32. # for: 3m
  33. # AlertmanagerMembersInconsistent:
  34. # for: 5m
  35. # severity: "warning"
  36. ## Create default rules for monitoring the cluster
  37. ##
  38. defaultRules:
  39. create: true
  40. rules:
  41. alertmanager: true
  42. etcd: true
  43. configReloaders: true
  44. general: true
  45. k8sContainerCpuUsageSecondsTotal: true
  46. k8sContainerMemoryCache: true
  47. k8sContainerMemoryRss: true
  48. k8sContainerMemorySwap: true
  49. k8sContainerResource: true
  50. k8sContainerMemoryWorkingSetBytes: true
  51. k8sPodOwner: true
  52. kubeApiserverAvailability: true
  53. kubeApiserverBurnrate: true
  54. kubeApiserverHistogram: true
  55. kubeApiserverSlos: true
  56. kubeControllerManager: true
  57. kubelet: true
  58. kubeProxy: true
  59. kubePrometheusGeneral: true
  60. kubePrometheusNodeRecording: true
  61. kubernetesApps: true
  62. kubernetesResources: true
  63. kubernetesStorage: true
  64. kubernetesSystem: true
  65. kubeSchedulerAlerting: true
  66. kubeSchedulerRecording: true
  67. kubeStateMetrics: true
  68. network: true
  69. node: true
  70. nodeExporterAlerting: true
  71. nodeExporterRecording: true
  72. prometheus: true
  73. prometheusOperator: true
  74. windows: true
  75. ## Reduce app namespace alert scope
  76. appNamespacesTarget: ".*"
  77. ## Set keep_firing_for for all alerts
  78. keepFiringFor: ""
  79. ## Labels for default rules
  80. labels: {}
  81. ## Annotations for default rules
  82. annotations: {}
  83. ## Additional labels for PrometheusRule alerts
  84. additionalRuleLabels: {}
  85. ## Additional annotations for PrometheusRule alerts
  86. additionalRuleAnnotations: {}
  87. ## Additional labels for specific PrometheusRule alert groups
  88. additionalRuleGroupLabels:
  89. alertmanager: {}
  90. etcd: {}
  91. configReloaders: {}
  92. general: {}
  93. k8sContainerCpuUsageSecondsTotal: {}
  94. k8sContainerMemoryCache: {}
  95. k8sContainerMemoryRss: {}
  96. k8sContainerMemorySwap: {}
  97. k8sContainerResource: {}
  98. k8sPodOwner: {}
  99. kubeApiserverAvailability: {}
  100. kubeApiserverBurnrate: {}
  101. kubeApiserverHistogram: {}
  102. kubeApiserverSlos: {}
  103. kubeControllerManager: {}
  104. kubelet: {}
  105. kubeProxy: {}
  106. kubePrometheusGeneral: {}
  107. kubePrometheusNodeRecording: {}
  108. kubernetesApps: {}
  109. kubernetesResources: {}
  110. kubernetesStorage: {}
  111. kubernetesSystem: {}
  112. kubeSchedulerAlerting: {}
  113. kubeSchedulerRecording: {}
  114. kubeStateMetrics: {}
  115. network: {}
  116. node: {}
  117. nodeExporterAlerting: {}
  118. nodeExporterRecording: {}
  119. prometheus: {}
  120. prometheusOperator: {}
  121. ## Additional annotations for specific PrometheusRule alerts groups
  122. additionalRuleGroupAnnotations:
  123. alertmanager: {}
  124. etcd: {}
  125. configReloaders: {}
  126. general: {}
  127. k8sContainerCpuUsageSecondsTotal: {}
  128. k8sContainerMemoryCache: {}
  129. k8sContainerMemoryRss: {}
  130. k8sContainerMemorySwap: {}
  131. k8sContainerResource: {}
  132. k8sPodOwner: {}
  133. kubeApiserverAvailability: {}
  134. kubeApiserverBurnrate: {}
  135. kubeApiserverHistogram: {}
  136. kubeApiserverSlos: {}
  137. kubeControllerManager: {}
  138. kubelet: {}
  139. kubeProxy: {}
  140. kubePrometheusGeneral: {}
  141. kubePrometheusNodeRecording: {}
  142. kubernetesApps: {}
  143. kubernetesResources: {}
  144. kubernetesStorage: {}
  145. kubernetesSystem: {}
  146. kubeSchedulerAlerting: {}
  147. kubeSchedulerRecording: {}
  148. kubeStateMetrics: {}
  149. network: {}
  150. node: {}
  151. nodeExporterAlerting: {}
  152. nodeExporterRecording: {}
  153. prometheus: {}
  154. prometheusOperator: {}
  155. additionalAggregationLabels: []
  156. ## Prefix for runbook URLs. Use this to override the first part of the runbookURLs that is common to all rules.
  157. runbookUrl: "https://runbooks.prometheus-operator.dev/runbooks"
  158. node:
  159. fsSelector: 'fstype!=""'
  160. # fsSelector: 'fstype=~"ext[234]|btrfs|xfs|zfs"'
  161. ## Disabled PrometheusRule alerts
  162. disabled: {}
  163. # KubeAPIDown: true
  164. # NodeRAIDDegraded: true
  165. ## Deprecated way to provide custom recording or alerting rules to be deployed into the cluster.
  166. ##
  167. # additionalPrometheusRules: []
  168. # - name: my-rule-file
  169. # groups:
  170. # - name: my_group
  171. # rules:
  172. # - record: my_record
  173. # expr: 100 * my_record
  174. ## Provide custom recording or alerting rules to be deployed into the cluster.
  175. ##
  176. additionalPrometheusRulesMap: {}
  177. # rule-name:
  178. # groups:
  179. # - name: my_group
  180. # rules:
  181. # - record: my_record
  182. # expr: 100 * my_record
  183. ##
  184. global:
  185. rbac:
  186. create: true
  187. ## Create ClusterRoles that extend the existing view, edit and admin ClusterRoles to interact with prometheus-operator CRDs
  188. ## Ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles
  189. createAggregateClusterRoles: false
  190. pspEnabled: false
  191. pspAnnotations: {}
  192. ## Specify pod annotations
  193. ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#apparmor
  194. ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp
  195. ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#sysctl
  196. ##
  197. # seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
  198. # seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
  199. # apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
  200. ## Global image registry to use if it needs to be overriden for some specific use cases (e.g local registries, custom images, ...)
  201. ##
  202. imageRegistry: ""
  203. ## Reference to one or more secrets to be used when pulling images
  204. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  205. ##
  206. imagePullSecrets: []
  207. # - name: "image-pull-secret"
  208. # or
  209. # - "image-pull-secret"
  210. windowsMonitoring:
  211. ## Deploys the windows-exporter and Windows-specific dashboards and rules (job name must be 'windows-exporter')
  212. enabled: false
  213. ## Configuration for prometheus-windows-exporter
  214. ## ref: https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-windows-exporter
  215. ##
  216. prometheus-windows-exporter:
  217. ## Enable ServiceMonitor and set Kubernetes label to use as a job label
  218. ##
  219. prometheus:
  220. monitor:
  221. enabled: true
  222. jobLabel: jobLabel
  223. releaseLabel: true
  224. ## Set job label to 'windows-exporter' as required by the default Prometheus rules and Grafana dashboards
  225. ##
  226. podLabels:
  227. jobLabel: windows-exporter
  228. ## Enable memory and container metrics as required by the default Prometheus rules and Grafana dashboards
  229. ##
  230. config: |-
  231. collectors:
  232. enabled: '[defaults],memory,container'
  233. ## Configuration for alertmanager
  234. ## ref: https://prometheus.io/docs/alerting/alertmanager/
  235. ##
  236. alertmanager:
  237. ## Deploy alertmanager
  238. ##
  239. enabled: true
  240. ## Annotations for Alertmanager
  241. ##
  242. annotations: {}
  243. ## Api that prometheus will use to communicate with alertmanager. Possible values are v1, v2
  244. ##
  245. apiVersion: v2
  246. ## @param alertmanager.enableFeatures Enable access to Alertmanager disabled features.
  247. ##
  248. enableFeatures: []
  249. ## Service account for Alertmanager to use.
  250. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  251. ##
  252. serviceAccount:
  253. create: true
  254. name: ""
  255. annotations: {}
  256. automountServiceAccountToken: true
  257. ## Configure pod disruption budgets for Alertmanager
  258. ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
  259. ##
  260. podDisruptionBudget:
  261. enabled: false
  262. minAvailable: 1
  263. maxUnavailable: ""
  264. ## Alertmanager configuration directives
  265. ## ref: https://prometheus.io/docs/alerting/configuration/#configuration-file
  266. ## https://prometheus.io/webtools/alerting/routing-tree-editor/
  267. ##
  268. config:
  269. global:
  270. resolve_timeout: 5m
  271. inhibit_rules:
  272. - source_matchers:
  273. - 'severity = critical'
  274. target_matchers:
  275. - 'severity =~ warning|info'
  276. equal:
  277. - 'namespace'
  278. - 'alertname'
  279. - source_matchers:
  280. - 'severity = warning'
  281. target_matchers:
  282. - 'severity = info'
  283. equal:
  284. - 'namespace'
  285. - 'alertname'
  286. - source_matchers:
  287. - 'alertname = InfoInhibitor'
  288. target_matchers:
  289. - 'severity = info'
  290. equal:
  291. - 'namespace'
  292. - target_matchers:
  293. - 'alertname = InfoInhibitor'
  294. route:
  295. group_by: ['namespace']
  296. group_wait: 30s
  297. group_interval: 5m
  298. repeat_interval: 12h
  299. receiver: 'null'
  300. routes:
  301. - receiver: 'null'
  302. matchers:
  303. - alertname = "Watchdog"
  304. receivers:
  305. - name: 'null'
  306. templates:
  307. - '/etc/alertmanager/config/*.tmpl'
  308. ## Alertmanager configuration directives (as string type, preferred over the config hash map)
  309. ## stringConfig will be used only, if tplConfig is true
  310. ## ref: https://prometheus.io/docs/alerting/configuration/#configuration-file
  311. ## https://prometheus.io/webtools/alerting/routing-tree-editor/
  312. ##
  313. stringConfig: ""
  314. ## Pass the Alertmanager configuration directives through Helm's templating
  315. ## engine. If the Alertmanager configuration contains Alertmanager templates,
  316. ## they'll need to be properly escaped so that they are not interpreted by
  317. ## Helm
  318. ## ref: https://helm.sh/docs/developing_charts/#using-the-tpl-function
  319. ## https://prometheus.io/docs/alerting/configuration/#tmpl_string
  320. ## https://prometheus.io/docs/alerting/notifications/
  321. ## https://prometheus.io/docs/alerting/notification_examples/
  322. tplConfig: false
  323. ## Alertmanager template files to format alerts
  324. ## By default, templateFiles are placed in /etc/alertmanager/config/ and if
  325. ## they have a .tmpl file suffix will be loaded. See config.templates above
  326. ## to change, add other suffixes. If adding other suffixes, be sure to update
  327. ## config.templates above to include those suffixes.
  328. ## ref: https://prometheus.io/docs/alerting/notifications/
  329. ## https://prometheus.io/docs/alerting/notification_examples/
  330. ##
  331. templateFiles: {}
  332. #
  333. ## An example template:
  334. # template_1.tmpl: |-
  335. # {{ define "cluster" }}{{ .ExternalURL | reReplaceAll ".*alertmanager\\.(.*)" "$1" }}{{ end }}
  336. #
  337. # {{ define "slack.myorg.text" }}
  338. # {{- $root := . -}}
  339. # {{ range .Alerts }}
  340. # *Alert:* {{ .Annotations.summary }} - `{{ .Labels.severity }}`
  341. # *Cluster:* {{ template "cluster" $root }}
  342. # *Description:* {{ .Annotations.description }}
  343. # *Graph:* <{{ .GeneratorURL }}|:chart_with_upwards_trend:>
  344. # *Runbook:* <{{ .Annotations.runbook }}|:spiral_note_pad:>
  345. # *Details:*
  346. # {{ range .Labels.SortedPairs }} - *{{ .Name }}:* `{{ .Value }}`
  347. # {{ end }}
  348. # {{ end }}
  349. # {{ end }}
  350. ingress:
  351. enabled: false
  352. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  353. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  354. # ingressClassName: nginx
  355. annotations: {}
  356. labels: {}
  357. ## Override ingress to a different defined port on the service
  358. # servicePort: 8081
  359. ## Override ingress to a different service then the default, this is useful if you need to
  360. ## point to a specific instance of the alertmanager (eg kube-prometheus-stack-alertmanager-0)
  361. # serviceName: kube-prometheus-stack-alertmanager-0
  362. ## Hosts must be provided if Ingress is enabled.
  363. ##
  364. hosts: []
  365. # - alertmanager.domain.com
  366. ## Paths to use for ingress rules - one path should match the alertmanagerSpec.routePrefix
  367. ##
  368. paths: []
  369. # - /
  370. ## For Kubernetes >= 1.18 you should specify the pathType (determines how Ingress paths should be matched)
  371. ## See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#better-path-matching-with-path-types
  372. # pathType: ImplementationSpecific
  373. ## TLS configuration for Alertmanager Ingress
  374. ## Secret must be manually created in the namespace
  375. ##
  376. tls: []
  377. # - secretName: alertmanager-general-tls
  378. # hosts:
  379. # - alertmanager.example.com
  380. ## Configuration for Alertmanager secret
  381. ##
  382. secret:
  383. annotations: {}
  384. ## Configuration for creating an Ingress that will map to each Alertmanager replica service
  385. ## alertmanager.servicePerReplica must be enabled
  386. ##
  387. ingressPerReplica:
  388. enabled: false
  389. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  390. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  391. # ingressClassName: nginx
  392. annotations: {}
  393. labels: {}
  394. ## Final form of the hostname for each per replica ingress is
  395. ## {{ ingressPerReplica.hostPrefix }}-{{ $replicaNumber }}.{{ ingressPerReplica.hostDomain }}
  396. ##
  397. ## Prefix for the per replica ingress that will have `-$replicaNumber`
  398. ## appended to the end
  399. hostPrefix: ""
  400. ## Domain that will be used for the per replica ingress
  401. hostDomain: ""
  402. ## Paths to use for ingress rules
  403. ##
  404. paths: []
  405. # - /
  406. ## For Kubernetes >= 1.18 you should specify the pathType (determines how Ingress paths should be matched)
  407. ## See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#better-path-matching-with-path-types
  408. # pathType: ImplementationSpecific
  409. ## Secret name containing the TLS certificate for alertmanager per replica ingress
  410. ## Secret must be manually created in the namespace
  411. tlsSecretName: ""
  412. ## Separated secret for each per replica Ingress. Can be used together with cert-manager
  413. ##
  414. tlsSecretPerReplica:
  415. enabled: false
  416. ## Final form of the secret for each per replica ingress is
  417. ## {{ tlsSecretPerReplica.prefix }}-{{ $replicaNumber }}
  418. ##
  419. prefix: "alertmanager"
  420. ## Configuration for Alertmanager service
  421. ##
  422. service:
  423. annotations: {}
  424. labels: {}
  425. clusterIP: ""
  426. ipDualStack:
  427. enabled: false
  428. ipFamilies: ["IPv6", "IPv4"]
  429. ipFamilyPolicy: "PreferDualStack"
  430. ## Port for Alertmanager Service to listen on
  431. ##
  432. port: 9093
  433. ## To be used with a proxy extraContainer port
  434. ##
  435. targetPort: 9093
  436. ## Port to expose on each node
  437. ## Only used if service.type is 'NodePort'
  438. ##
  439. nodePort: 30903
  440. ## List of IP addresses at which the Prometheus server service is available
  441. ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
  442. ##
  443. ## Additional ports to open for Alertmanager service
  444. ##
  445. additionalPorts: []
  446. # - name: oauth-proxy
  447. # port: 8081
  448. # targetPort: 8081
  449. # - name: oauth-metrics
  450. # port: 8082
  451. # targetPort: 8082
  452. externalIPs: []
  453. loadBalancerIP: ""
  454. loadBalancerSourceRanges: []
  455. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  456. ##
  457. externalTrafficPolicy: Cluster
  458. ## If you want to make sure that connections from a particular client are passed to the same Pod each time
  459. ## Accepts 'ClientIP' or 'None'
  460. ##
  461. sessionAffinity: None
  462. ## If you want to modify the ClientIP sessionAffinity timeout
  463. ## The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP"
  464. ##
  465. sessionAffinityConfig:
  466. clientIP:
  467. timeoutSeconds: 10800
  468. ## Service type
  469. ##
  470. type: ClusterIP
  471. ## Configuration for creating a separate Service for each statefulset Alertmanager replica
  472. ##
  473. servicePerReplica:
  474. enabled: false
  475. annotations: {}
  476. ## Port for Alertmanager Service per replica to listen on
  477. ##
  478. port: 9093
  479. ## To be used with a proxy extraContainer port
  480. targetPort: 9093
  481. ## Port to expose on each node
  482. ## Only used if servicePerReplica.type is 'NodePort'
  483. ##
  484. nodePort: 30904
  485. ## Loadbalancer source IP ranges
  486. ## Only used if servicePerReplica.type is "LoadBalancer"
  487. loadBalancerSourceRanges: []
  488. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  489. ##
  490. externalTrafficPolicy: Cluster
  491. ## Service type
  492. ##
  493. type: ClusterIP
  494. ## Configuration for creating a ServiceMonitor for AlertManager
  495. ##
  496. serviceMonitor:
  497. ## If true, a ServiceMonitor will be created for the AlertManager service.
  498. ##
  499. selfMonitor: true
  500. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  501. ##
  502. interval: ""
  503. ## Additional labels
  504. ##
  505. additionalLabels: {}
  506. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  507. ##
  508. sampleLimit: 0
  509. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  510. ##
  511. targetLimit: 0
  512. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  513. ##
  514. labelLimit: 0
  515. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  516. ##
  517. labelNameLengthLimit: 0
  518. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  519. ##
  520. labelValueLengthLimit: 0
  521. ## proxyUrl: URL of a proxy that should be used for scraping.
  522. ##
  523. proxyUrl: ""
  524. ## scheme: HTTP scheme to use for scraping. Can be used with `tlsConfig` for example if using istio mTLS.
  525. scheme: ""
  526. ## enableHttp2: Whether to enable HTTP2.
  527. ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint
  528. enableHttp2: true
  529. ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS.
  530. ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig
  531. tlsConfig: {}
  532. bearerTokenFile:
  533. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  534. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  535. ##
  536. metricRelabelings: []
  537. # - action: keep
  538. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  539. # sourceLabels: [__name__]
  540. ## RelabelConfigs to apply to samples before scraping
  541. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  542. ##
  543. relabelings: []
  544. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  545. # separator: ;
  546. # regex: ^(.*)$
  547. # targetLabel: nodename
  548. # replacement: $1
  549. # action: replace
  550. ## Additional Endpoints
  551. ##
  552. additionalEndpoints: []
  553. # - port: oauth-metrics
  554. # path: /metrics
  555. ## Settings affecting alertmanagerSpec
  556. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerspec
  557. ##
  558. alertmanagerSpec:
  559. ## Standard object's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
  560. ## Metadata Labels and Annotations gets propagated to the Alertmanager pods.
  561. ##
  562. podMetadata: {}
  563. ## Image of Alertmanager
  564. ##
  565. image:
  566. registry: quay.io
  567. repository: prometheus/alertmanager
  568. tag: v0.27.0
  569. sha: ""
  570. ## If true then the user will be responsible to provide a secret with alertmanager configuration
  571. ## So when true the config part will be ignored (including templateFiles) and the one in the secret will be used
  572. ##
  573. useExistingSecret: false
  574. ## Secrets is a list of Secrets in the same namespace as the Alertmanager object, which shall be mounted into the
  575. ## Alertmanager Pods. The Secrets are mounted into /etc/alertmanager/secrets/.
  576. ##
  577. secrets: []
  578. ## If false then the user will opt out of automounting API credentials.
  579. ##
  580. automountServiceAccountToken: true
  581. ## ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods.
  582. ## The ConfigMaps are mounted into /etc/alertmanager/configmaps/.
  583. ##
  584. configMaps: []
  585. ## ConfigSecret is the name of a Kubernetes Secret in the same namespace as the Alertmanager object, which contains configuration for
  586. ## this Alertmanager instance. Defaults to 'alertmanager-' The secret is mounted into /etc/alertmanager/config.
  587. ##
  588. # configSecret:
  589. ## WebTLSConfig defines the TLS parameters for HTTPS
  590. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerwebspec
  591. web: {}
  592. ## AlertmanagerConfigs to be selected to merge and configure Alertmanager with.
  593. ##
  594. alertmanagerConfigSelector: {}
  595. ## Example which selects all alertmanagerConfig resources
  596. ## with label "alertconfig" with values any of "example-config" or "example-config-2"
  597. # alertmanagerConfigSelector:
  598. # matchExpressions:
  599. # - key: alertconfig
  600. # operator: In
  601. # values:
  602. # - example-config
  603. # - example-config-2
  604. #
  605. ## Example which selects all alertmanagerConfig resources with label "role" set to "example-config"
  606. # alertmanagerConfigSelector:
  607. # matchLabels:
  608. # role: example-config
  609. ## Namespaces to be selected for AlertmanagerConfig discovery. If nil, only check own namespace.
  610. ##
  611. alertmanagerConfigNamespaceSelector: {}
  612. ## Example which selects all namespaces
  613. ## with label "alertmanagerconfig" with values any of "example-namespace" or "example-namespace-2"
  614. # alertmanagerConfigNamespaceSelector:
  615. # matchExpressions:
  616. # - key: alertmanagerconfig
  617. # operator: In
  618. # values:
  619. # - example-namespace
  620. # - example-namespace-2
  621. ## Example which selects all namespaces with label "alertmanagerconfig" set to "enabled"
  622. # alertmanagerConfigNamespaceSelector:
  623. # matchLabels:
  624. # alertmanagerconfig: enabled
  625. ## AlermanagerConfig to be used as top level configuration
  626. ##
  627. alertmanagerConfiguration: {}
  628. ## Example with select a global alertmanagerconfig
  629. # alertmanagerConfiguration:
  630. # name: global-alertmanager-Configuration
  631. ## Defines the strategy used by AlertmanagerConfig objects to match alerts. eg:
  632. ##
  633. alertmanagerConfigMatcherStrategy: {}
  634. ## Example with use OnNamespace strategy
  635. # alertmanagerConfigMatcherStrategy:
  636. # type: OnNamespace
  637. ## Define Log Format
  638. # Use logfmt (default) or json logging
  639. logFormat: logfmt
  640. ## Log level for Alertmanager to be configured with.
  641. ##
  642. logLevel: info
  643. ## Size is the expected size of the alertmanager cluster. The controller will eventually make the size of the
  644. ## running cluster equal to the expected size.
  645. replicas: 1
  646. ## Time duration Alertmanager shall retain data for. Default is '120h', and must match the regular expression
  647. ## [0-9]+(ms|s|m|h) (milliseconds seconds minutes hours).
  648. ##
  649. retention: 120h
  650. ## Storage is the definition of how storage will be used by the Alertmanager instances.
  651. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/storage.md
  652. ##
  653. storage:
  654. volumeClaimTemplate:
  655. spec:
  656. storageClassName: nfs-vrt
  657. accessModes: ["ReadWriteMany"]
  658. resources:
  659. requests:
  660. storage: 50Gi
  661. ## The external URL the Alertmanager instances will be available under. This is necessary to generate correct URLs. This is necessary if Alertmanager is not served from root of a DNS name. string false
  662. ##
  663. externalUrl:
  664. ## The route prefix Alertmanager registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true,
  665. ## but the server serves requests under a different route prefix. For example for use with kubectl proxy.
  666. ##
  667. routePrefix: /
  668. ## scheme: HTTP scheme to use. Can be used with `tlsConfig` for example if using istio mTLS.
  669. scheme: ""
  670. ## tlsConfig: TLS configuration to use when connect to the endpoint. For example if using istio mTLS.
  671. ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig
  672. tlsConfig: {}
  673. ## If set to true all actions on the underlying managed objects are not going to be performed, except for delete actions.
  674. ##
  675. paused: false
  676. ## Define which Nodes the Pods are scheduled on.
  677. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  678. ##
  679. nodeSelector: {}
  680. ## Define resources requests and limits for single Pods.
  681. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  682. ##
  683. resources: {}
  684. # requests:
  685. # memory: 400Mi
  686. ## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
  687. ## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
  688. ## The value "hard" means that the scheduler is *required* to not schedule two replica pods onto the same node.
  689. ## The value "" will disable pod anti-affinity so that no anti-affinity rules will be configured.
  690. ##
  691. podAntiAffinity: ""
  692. ## If anti-affinity is enabled sets the topologyKey to use for anti-affinity.
  693. ## This can be changed to, for example, failure-domain.beta.kubernetes.io/zone
  694. ##
  695. podAntiAffinityTopologyKey: kubernetes.io/hostname
  696. ## Assign custom affinity rules to the alertmanager instance
  697. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  698. ##
  699. affinity: {}
  700. # nodeAffinity:
  701. # requiredDuringSchedulingIgnoredDuringExecution:
  702. # nodeSelectorTerms:
  703. # - matchExpressions:
  704. # - key: kubernetes.io/e2e-az-name
  705. # operator: In
  706. # values:
  707. # - e2e-az1
  708. # - e2e-az2
  709. ## If specified, the pod's tolerations.
  710. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  711. ##
  712. tolerations: []
  713. # - key: "key"
  714. # operator: "Equal"
  715. # value: "value"
  716. # effect: "NoSchedule"
  717. ## If specified, the pod's topology spread constraints.
  718. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  719. ##
  720. topologySpreadConstraints: []
  721. # - maxSkew: 1
  722. # topologyKey: topology.kubernetes.io/zone
  723. # whenUnsatisfiable: DoNotSchedule
  724. # labelSelector:
  725. # matchLabels:
  726. # app: alertmanager
  727. ## SecurityContext holds pod-level security attributes and common container settings.
  728. ## This defaults to non root user with uid 1000 and gid 2000. *v1.PodSecurityContext false
  729. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  730. ##
  731. securityContext:
  732. runAsGroup: 2000
  733. runAsNonRoot: true
  734. runAsUser: 1000
  735. fsGroup: 2000
  736. seccompProfile:
  737. type: RuntimeDefault
  738. ## ListenLocal makes the Alertmanager server listen on loopback, so that it does not bind against the Pod IP.
  739. ## Note this is only for the Alertmanager UI, not the gossip communication.
  740. ##
  741. listenLocal: false
  742. ## Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to an Alertmanager pod.
  743. ##
  744. containers: []
  745. # containers:
  746. # - name: oauth-proxy
  747. # image: quay.io/oauth2-proxy/oauth2-proxy:v7.5.1
  748. # args:
  749. # - --upstream=http://127.0.0.1:9093
  750. # - --http-address=0.0.0.0:8081
  751. # - --metrics-address=0.0.0.0:8082
  752. # - ...
  753. # ports:
  754. # - containerPort: 8081
  755. # name: oauth-proxy
  756. # protocol: TCP
  757. # - containerPort: 8082
  758. # name: oauth-metrics
  759. # protocol: TCP
  760. # resources: {}
  761. # Additional volumes on the output StatefulSet definition.
  762. volumes: []
  763. # Additional VolumeMounts on the output StatefulSet definition.
  764. volumeMounts: []
  765. ## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
  766. ## (permissions, dir tree) on mounted volumes before starting prometheus
  767. initContainers: []
  768. ## Priority class assigned to the Pods
  769. ##
  770. priorityClassName: ""
  771. ## AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.
  772. ##
  773. additionalPeers: []
  774. ## PortName to use for Alert Manager.
  775. ##
  776. portName: "http-web"
  777. ## ClusterAdvertiseAddress is the explicit address to advertise in cluster. Needs to be provided for non RFC1918 [1] (public) addresses. [1] RFC1918: https://tools.ietf.org/html/rfc1918
  778. ##
  779. clusterAdvertiseAddress: false
  780. ## clusterGossipInterval determines interval between gossip attempts.
  781. ## Needs to be specified as GoDuration, a time duration that can be parsed by Go’s time.ParseDuration() (e.g. 45ms, 30s, 1m, 1h20m15s)
  782. clusterGossipInterval: ""
  783. ## clusterPeerTimeout determines timeout for cluster peering.
  784. ## Needs to be specified as GoDuration, a time duration that can be parsed by Go’s time.ParseDuration() (e.g. 45ms, 30s, 1m, 1h20m15s)
  785. clusterPeerTimeout: ""
  786. ## clusterPushpullInterval determines interval between pushpull attempts.
  787. ## Needs to be specified as GoDuration, a time duration that can be parsed by Go’s time.ParseDuration() (e.g. 45ms, 30s, 1m, 1h20m15s)
  788. clusterPushpullInterval: ""
  789. ## ForceEnableClusterMode ensures Alertmanager does not deactivate the cluster mode when running with a single replica.
  790. ## Use case is e.g. spanning an Alertmanager cluster across Kubernetes clusters with a single replica in each.
  791. forceEnableClusterMode: false
  792. ## Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to
  793. ## be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
  794. minReadySeconds: 0
  795. ## Additional configuration which is not covered by the properties above. (passed through tpl)
  796. additionalConfig: {}
  797. ## Additional configuration which is not covered by the properties above.
  798. ## Useful, if you need advanced templating inside alertmanagerSpec.
  799. ## Otherwise, use alertmanager.alertmanagerSpec.additionalConfig (passed through tpl)
  800. additionalConfigString: ""
  801. ## ExtraSecret can be used to store various data in an extra secret
  802. ## (use it for example to store hashed basic auth credentials)
  803. extraSecret:
  804. ## if not set, name will be auto generated
  805. # name: ""
  806. annotations: {}
  807. data: {}
  808. # auth: |
  809. # foo:$apr1$OFG3Xybp$ckL0FHDAkoXYIlH9.cysT0
  810. # someoneelse:$apr1$DMZX2Z4q$6SbQIfyuLQd.xmo/P0m2c.
  811. ## Using default values from https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml
  812. ##
  813. grafana:
  814. enabled: true
  815. namespaceOverride: ""
  816. ## ForceDeployDatasources Create datasource configmap even if grafana deployment has been disabled
  817. ##
  818. forceDeployDatasources: false
  819. ## ForceDeployDashboard Create dashboard configmap even if grafana deployment has been disabled
  820. ##
  821. forceDeployDashboards: false
  822. ## Deploy default dashboards
  823. ##
  824. defaultDashboardsEnabled: true
  825. ## Timezone for the default dashboards
  826. ## Other options are: browser or a specific timezone, i.e. Europe/Luxembourg
  827. ##
  828. defaultDashboardsTimezone: Europe/Zurich
  829. ## Editable flag for the default dashboards
  830. ##
  831. defaultDashboardsEditable: true
  832. adminPassword: 2FR3pFRfyZpS5meVDzJX
  833. rbac:
  834. ## If true, Grafana PSPs will be created
  835. ##
  836. pspEnabled: false
  837. ingress:
  838. ## If true, Grafana Ingress will be created
  839. ##
  840. enabled: true
  841. ## IngressClassName for Grafana Ingress.
  842. ## Should be provided if Ingress is enable.
  843. ##
  844. ingressClassName: nginx
  845. ## Annotations for Grafana Ingress
  846. ##
  847. annotations: {
  848. cert-manager.io/cluster-issuer: "letsencrypt",
  849. acme.cert-manager.io/http01-edit-in-place: "true",
  850. ingress.kubernetes.io/ssl-redirect: "true",
  851. nginx.org/redirect-to-https: "true",
  852. }
  853. # kubernetes.io/ingress.class: nginx
  854. # kubernetes.io/tls-acme: "true"
  855. ## Labels to be added to the Ingress
  856. ##
  857. labels: {}
  858. ## Hostnames.
  859. ## Must be provided if Ingress is enable.
  860. ##
  861. # hosts:
  862. # - grafana.domain.com
  863. hosts: ["gfn.dodges.it"]
  864. ## Path for grafana ingress
  865. path: /
  866. ## TLS configuration for grafana Ingress
  867. ## Secret must be manually created in the namespace
  868. ##
  869. tls:
  870. - secretName: gfn-le-secret
  871. hosts:
  872. - gfn.dodges.it
  873. # # To make Grafana persistent (Using Statefulset)
  874. # #
  875. persistence:
  876. enabled: true
  877. type: sts
  878. storageClassName: "nfs-vrt"
  879. accessModes:
  880. - ReadWriteMany
  881. size: 50Gi
  882. finalizers:
  883. - kubernetes.io/pvc-protection
  884. serviceAccount:
  885. create: true
  886. autoMount: true
  887. sidecar:
  888. dashboards:
  889. enabled: true
  890. label: grafana_dashboard
  891. labelValue: "1"
  892. # Allow discovery in all namespaces for dashboards
  893. searchNamespace: ALL
  894. # Support for new table panels, when enabled grafana auto migrates the old table panels to newer table panels
  895. enableNewTablePanelSyntax: false
  896. ## Annotations for Grafana dashboard configmaps
  897. ##
  898. annotations: {}
  899. multicluster:
  900. global:
  901. enabled: false
  902. etcd:
  903. enabled: false
  904. provider:
  905. allowUiUpdates: false
  906. datasources:
  907. enabled: true
  908. defaultDatasourceEnabled: true
  909. isDefaultDatasource: true
  910. name: Prometheus
  911. uid: prometheus
  912. ## URL of prometheus datasource
  913. ##
  914. # url: http://prometheus-stack-prometheus:9090/
  915. ## Prometheus request timeout in seconds
  916. # timeout: 30
  917. # If not defined, will use prometheus.prometheusSpec.scrapeInterval or its default
  918. # defaultDatasourceScrapeInterval: 15s
  919. ## Annotations for Grafana datasource configmaps
  920. ##
  921. annotations: {}
  922. ## Set method for HTTP to send query to datasource
  923. httpMethod: POST
  924. ## Create datasource for each Pod of Prometheus StatefulSet;
  925. ## this uses headless service `prometheus-operated` which is
  926. ## created by Prometheus Operator
  927. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/0fee93e12dc7c2ea1218f19ae25ec6b893460590/pkg/prometheus/statefulset.go#L255-L286
  928. createPrometheusReplicasDatasources: false
  929. label: grafana_datasource
  930. labelValue: "1"
  931. ## Field with internal link pointing to existing data source in Grafana.
  932. ## Can be provisioned via additionalDataSources
  933. exemplarTraceIdDestinations: {}
  934. # datasourceUid: Jaeger
  935. # traceIdLabelName: trace_id
  936. alertmanager:
  937. enabled: true
  938. name: Alertmanager
  939. uid: alertmanager
  940. handleGrafanaManagedAlerts: false
  941. implementation: prometheus
  942. extraConfigmapMounts: []
  943. # - name: certs-configmap
  944. # mountPath: /etc/grafana/ssl/
  945. # configMap: certs-configmap
  946. # readOnly: true
  947. deleteDatasources: []
  948. # - name: example-datasource
  949. # orgId: 1
  950. ## Configure additional grafana datasources (passed through tpl)
  951. ## ref: http://docs.grafana.org/administration/provisioning/#datasources
  952. additionalDataSources: []
  953. # - name: prometheus-sample
  954. # access: proxy
  955. # basicAuth: true
  956. # basicAuthPassword: pass
  957. # basicAuthUser: daco
  958. # editable: false
  959. # jsonData:
  960. # tlsSkipVerify: true
  961. # orgId: 1
  962. # type: prometheus
  963. # url: https://{{ printf "%s-prometheus.svc" .Release.Name }}:9090
  964. # version: 1
  965. # Flag to mark provisioned data sources for deletion if they are no longer configured.
  966. # It takes no effect if data sources are already listed in the deleteDatasources section.
  967. # ref: https://grafana.com/docs/grafana/latest/administration/provisioning/#example-data-source-config-file
  968. prune: false
  969. ## Passed to grafana subchart and used by servicemonitor below
  970. ##
  971. service:
  972. portName: http-web
  973. ipFamilies: []
  974. ipFamilyPolicy: ""
  975. serviceMonitor:
  976. # If true, a ServiceMonitor CRD is created for a prometheus operator
  977. # https://github.com/coreos/prometheus-operator
  978. #
  979. enabled: true
  980. # Path to use for scraping metrics. Might be different if server.root_url is set
  981. # in grafana.ini
  982. path: "/metrics"
  983. # namespace: monitoring (defaults to use the namespace this chart is deployed to)
  984. # labels for the ServiceMonitor
  985. labels: {}
  986. # Scrape interval. If not set, the Prometheus default scrape interval is used.
  987. #
  988. interval: ""
  989. scheme: http
  990. tlsConfig: {}
  991. scrapeTimeout: 30s
  992. ## RelabelConfigs to apply to samples before scraping
  993. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  994. ##
  995. relabelings: []
  996. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  997. # separator: ;
  998. # regex: ^(.*)$
  999. # targetLabel: nodename
  1000. # replacement: $1
  1001. # action: replace
  1002. ## Flag to disable all the kubernetes component scrapers
  1003. ##
  1004. kubernetesServiceMonitors:
  1005. enabled: true
  1006. ## Component scraping the kube api server
  1007. ##
  1008. kubeApiServer:
  1009. enabled: true
  1010. tlsConfig:
  1011. serverName: kubernetes
  1012. insecureSkipVerify: false
  1013. serviceMonitor:
  1014. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1015. ##
  1016. interval: ""
  1017. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1018. ##
  1019. sampleLimit: 0
  1020. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1021. ##
  1022. targetLimit: 0
  1023. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1024. ##
  1025. labelLimit: 0
  1026. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1027. ##
  1028. labelNameLengthLimit: 0
  1029. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1030. ##
  1031. labelValueLengthLimit: 0
  1032. ## proxyUrl: URL of a proxy that should be used for scraping.
  1033. ##
  1034. proxyUrl: ""
  1035. jobLabel: component
  1036. selector:
  1037. matchLabels:
  1038. component: apiserver
  1039. provider: kubernetes
  1040. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1041. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1042. ##
  1043. metricRelabelings:
  1044. # Drop excessively noisy apiserver buckets.
  1045. - action: drop
  1046. regex: apiserver_request_duration_seconds_bucket;(0.15|0.2|0.3|0.35|0.4|0.45|0.6|0.7|0.8|0.9|1.25|1.5|1.75|2|3|3.5|4|4.5|6|7|8|9|15|25|40|50)
  1047. sourceLabels:
  1048. - __name__
  1049. - le
  1050. # - action: keep
  1051. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1052. # sourceLabels: [__name__]
  1053. ## RelabelConfigs to apply to samples before scraping
  1054. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1055. ##
  1056. relabelings: []
  1057. # - sourceLabels:
  1058. # - __meta_kubernetes_namespace
  1059. # - __meta_kubernetes_service_name
  1060. # - __meta_kubernetes_endpoint_port_name
  1061. # action: keep
  1062. # regex: default;kubernetes;https
  1063. # - targetLabel: __address__
  1064. # replacement: kubernetes.default.svc:443
  1065. ## Additional labels
  1066. ##
  1067. additionalLabels: {}
  1068. # foo: bar
  1069. ## Component scraping the kubelet and kubelet-hosted cAdvisor
  1070. ##
  1071. kubelet:
  1072. enabled: true
  1073. namespace: kube-system
  1074. serviceMonitor:
  1075. ## Attach metadata to discovered targets. Requires Prometheus v2.45 for endpoints created by the operator.
  1076. ##
  1077. attachMetadata:
  1078. node: false
  1079. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1080. ##
  1081. interval: ""
  1082. ## If true, Prometheus use (respect) labels provided by exporter.
  1083. ##
  1084. honorLabels: true
  1085. ## If true, Prometheus ingests metrics with timestamp provided by exporter. If false, Prometheus ingests metrics with timestamp of scrape.
  1086. ##
  1087. honorTimestamps: true
  1088. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1089. ##
  1090. sampleLimit: 0
  1091. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1092. ##
  1093. targetLimit: 0
  1094. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1095. ##
  1096. labelLimit: 0
  1097. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1098. ##
  1099. labelNameLengthLimit: 0
  1100. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1101. ##
  1102. labelValueLengthLimit: 0
  1103. ## proxyUrl: URL of a proxy that should be used for scraping.
  1104. ##
  1105. proxyUrl: ""
  1106. ## Enable scraping the kubelet over https. For requirements to enable this see
  1107. ## https://github.com/prometheus-operator/prometheus-operator/issues/926
  1108. ##
  1109. https: true
  1110. ## Skip TLS certificate validation when scraping.
  1111. ## This is enabled by default because kubelet serving certificate deployed by kubeadm is by default self-signed
  1112. ## ref: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/#kubelet-serving-certs
  1113. ##
  1114. insecureSkipVerify: true
  1115. ## Enable scraping /metrics/cadvisor from kubelet's service
  1116. ##
  1117. cAdvisor: true
  1118. ## Enable scraping /metrics/probes from kubelet's service
  1119. ##
  1120. probes: true
  1121. ## Enable scraping /metrics/resource from kubelet's service
  1122. ## This is disabled by default because container metrics are already exposed by cAdvisor
  1123. ##
  1124. resource: false
  1125. # From kubernetes 1.18, /metrics/resource/v1alpha1 renamed to /metrics/resource
  1126. resourcePath: "/metrics/resource/v1alpha1"
  1127. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1128. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1129. ##
  1130. cAdvisorMetricRelabelings:
  1131. # Drop less useful container CPU metrics.
  1132. - sourceLabels: [__name__]
  1133. action: drop
  1134. regex: 'container_cpu_(cfs_throttled_seconds_total|load_average_10s|system_seconds_total|user_seconds_total)'
  1135. # Drop less useful container / always zero filesystem metrics.
  1136. - sourceLabels: [__name__]
  1137. action: drop
  1138. regex: 'container_fs_(io_current|io_time_seconds_total|io_time_weighted_seconds_total|reads_merged_total|sector_reads_total|sector_writes_total|writes_merged_total)'
  1139. # Drop less useful / always zero container memory metrics.
  1140. - sourceLabels: [__name__]
  1141. action: drop
  1142. regex: 'container_memory_(mapped_file|swap)'
  1143. # Drop less useful container process metrics.
  1144. - sourceLabels: [__name__]
  1145. action: drop
  1146. regex: 'container_(file_descriptors|tasks_state|threads_max)'
  1147. # Drop container spec metrics that overlap with kube-state-metrics.
  1148. - sourceLabels: [__name__]
  1149. action: drop
  1150. regex: 'container_spec.*'
  1151. # Drop cgroup metrics with no pod.
  1152. - sourceLabels: [id, pod]
  1153. action: drop
  1154. regex: '.+;'
  1155. # - sourceLabels: [__name__, image]
  1156. # separator: ;
  1157. # regex: container_([a-z_]+);
  1158. # replacement: $1
  1159. # action: drop
  1160. # - sourceLabels: [__name__]
  1161. # separator: ;
  1162. # regex: container_(network_tcp_usage_total|network_udp_usage_total|tasks_state|cpu_load_average_10s)
  1163. # replacement: $1
  1164. # action: drop
  1165. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1166. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1167. ##
  1168. probesMetricRelabelings: []
  1169. # - sourceLabels: [__name__, image]
  1170. # separator: ;
  1171. # regex: container_([a-z_]+);
  1172. # replacement: $1
  1173. # action: drop
  1174. # - sourceLabels: [__name__]
  1175. # separator: ;
  1176. # regex: container_(network_tcp_usage_total|network_udp_usage_total|tasks_state|cpu_load_average_10s)
  1177. # replacement: $1
  1178. # action: drop
  1179. ## RelabelConfigs to apply to samples before scraping
  1180. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1181. ##
  1182. ## metrics_path is required to match upstream rules and charts
  1183. cAdvisorRelabelings:
  1184. - action: replace
  1185. sourceLabels: [__metrics_path__]
  1186. targetLabel: metrics_path
  1187. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1188. # separator: ;
  1189. # regex: ^(.*)$
  1190. # targetLabel: nodename
  1191. # replacement: $1
  1192. # action: replace
  1193. ## RelabelConfigs to apply to samples before scraping
  1194. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1195. ##
  1196. probesRelabelings:
  1197. - action: replace
  1198. sourceLabels: [__metrics_path__]
  1199. targetLabel: metrics_path
  1200. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1201. # separator: ;
  1202. # regex: ^(.*)$
  1203. # targetLabel: nodename
  1204. # replacement: $1
  1205. # action: replace
  1206. ## RelabelConfigs to apply to samples before scraping
  1207. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1208. ##
  1209. resourceRelabelings:
  1210. - action: replace
  1211. sourceLabels: [__metrics_path__]
  1212. targetLabel: metrics_path
  1213. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1214. # separator: ;
  1215. # regex: ^(.*)$
  1216. # targetLabel: nodename
  1217. # replacement: $1
  1218. # action: replace
  1219. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1220. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1221. ##
  1222. metricRelabelings: []
  1223. # - sourceLabels: [__name__, image]
  1224. # separator: ;
  1225. # regex: container_([a-z_]+);
  1226. # replacement: $1
  1227. # action: drop
  1228. # - sourceLabels: [__name__]
  1229. # separator: ;
  1230. # regex: container_(network_tcp_usage_total|network_udp_usage_total|tasks_state|cpu_load_average_10s)
  1231. # replacement: $1
  1232. # action: drop
  1233. ## RelabelConfigs to apply to samples before scraping
  1234. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1235. ##
  1236. ## metrics_path is required to match upstream rules and charts
  1237. relabelings:
  1238. - action: replace
  1239. sourceLabels: [__metrics_path__]
  1240. targetLabel: metrics_path
  1241. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1242. # separator: ;
  1243. # regex: ^(.*)$
  1244. # targetLabel: nodename
  1245. # replacement: $1
  1246. # action: replace
  1247. ## Additional labels
  1248. ##
  1249. additionalLabels: {}
  1250. # foo: bar
  1251. ## Component scraping the kube controller manager
  1252. ##
  1253. kubeControllerManager:
  1254. enabled: true
  1255. ## If your kube controller manager is not deployed as a pod, specify IPs it can be found on
  1256. ##
  1257. endpoints: []
  1258. # - 10.141.4.22
  1259. # - 10.141.4.23
  1260. # - 10.141.4.24
  1261. ## If using kubeControllerManager.endpoints only the port and targetPort are used
  1262. ##
  1263. service:
  1264. enabled: true
  1265. ## If null or unset, the value is determined dynamically based on target Kubernetes version due to change
  1266. ## of default port in Kubernetes 1.22.
  1267. ##
  1268. port: null
  1269. targetPort: null
  1270. ipDualStack:
  1271. enabled: true
  1272. ipFamilies: ["IPv6", "IPv4"]
  1273. ipFamilyPolicy: "PreferDualStack"
  1274. # selector:
  1275. # component: kube-controller-manager
  1276. serviceMonitor:
  1277. enabled: true
  1278. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1279. ##
  1280. interval: ""
  1281. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1282. ##
  1283. sampleLimit: 0
  1284. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1285. ##
  1286. targetLimit: 0
  1287. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1288. ##
  1289. labelLimit: 0
  1290. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1291. ##
  1292. labelNameLengthLimit: 0
  1293. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1294. ##
  1295. labelValueLengthLimit: 0
  1296. ## proxyUrl: URL of a proxy that should be used for scraping.
  1297. ##
  1298. proxyUrl: ""
  1299. ## port: Name of the port the metrics will be scraped from
  1300. ##
  1301. port: http-metrics
  1302. jobLabel: jobLabel
  1303. selector: {}
  1304. # matchLabels:
  1305. # component: kube-controller-manager
  1306. ## Enable scraping kube-controller-manager over https.
  1307. ## Requires proper certs (not self-signed) and delegated authentication/authorization checks.
  1308. ## If null or unset, the value is determined dynamically based on target Kubernetes version.
  1309. ##
  1310. https: null
  1311. # Skip TLS certificate validation when scraping
  1312. insecureSkipVerify: null
  1313. # Name of the server to use when validating TLS certificate
  1314. serverName: null
  1315. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1316. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1317. ##
  1318. metricRelabelings: []
  1319. # - action: keep
  1320. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1321. # sourceLabels: [__name__]
  1322. ## RelabelConfigs to apply to samples before scraping
  1323. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1324. ##
  1325. relabelings: []
  1326. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1327. # separator: ;
  1328. # regex: ^(.*)$
  1329. # targetLabel: nodename
  1330. # replacement: $1
  1331. # action: replace
  1332. ## Additional labels
  1333. ##
  1334. additionalLabels: {}
  1335. # foo: bar
  1336. ## Component scraping coreDns. Use either this or kubeDns
  1337. ##
  1338. coreDns:
  1339. enabled: true
  1340. service:
  1341. enabled: true
  1342. port: 9153
  1343. targetPort: 9153
  1344. ipDualStack:
  1345. enabled: false
  1346. ipFamilies: ["IPv6", "IPv4"]
  1347. ipFamilyPolicy: "PreferDualStack"
  1348. # selector:
  1349. # k8s-app: kube-dns
  1350. serviceMonitor:
  1351. enabled: true
  1352. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1353. ##
  1354. interval: ""
  1355. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1356. ##
  1357. sampleLimit: 0
  1358. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1359. ##
  1360. targetLimit: 0
  1361. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1362. ##
  1363. labelLimit: 0
  1364. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1365. ##
  1366. labelNameLengthLimit: 0
  1367. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1368. ##
  1369. labelValueLengthLimit: 0
  1370. ## proxyUrl: URL of a proxy that should be used for scraping.
  1371. ##
  1372. proxyUrl: ""
  1373. ## port: Name of the port the metrics will be scraped from
  1374. ##
  1375. port: http-metrics
  1376. jobLabel: jobLabel
  1377. selector: {}
  1378. # matchLabels:
  1379. # k8s-app: kube-dns
  1380. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1381. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1382. ##
  1383. metricRelabelings: []
  1384. # - action: keep
  1385. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1386. # sourceLabels: [__name__]
  1387. ## RelabelConfigs to apply to samples before scraping
  1388. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1389. ##
  1390. relabelings: []
  1391. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1392. # separator: ;
  1393. # regex: ^(.*)$
  1394. # targetLabel: nodename
  1395. # replacement: $1
  1396. # action: replace
  1397. ## Additional labels
  1398. ##
  1399. additionalLabels: {}
  1400. # foo: bar
  1401. ## Component scraping kubeDns. Use either this or coreDns
  1402. ##
  1403. kubeDns:
  1404. enabled: false
  1405. service:
  1406. dnsmasq:
  1407. port: 10054
  1408. targetPort: 10054
  1409. skydns:
  1410. port: 10055
  1411. targetPort: 10055
  1412. ipDualStack:
  1413. enabled: false
  1414. ipFamilies: ["IPv6", "IPv4"]
  1415. ipFamilyPolicy: "PreferDualStack"
  1416. # selector:
  1417. # k8s-app: kube-dns
  1418. serviceMonitor:
  1419. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1420. ##
  1421. interval: ""
  1422. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1423. ##
  1424. sampleLimit: 0
  1425. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1426. ##
  1427. targetLimit: 0
  1428. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1429. ##
  1430. labelLimit: 0
  1431. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1432. ##
  1433. labelNameLengthLimit: 0
  1434. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1435. ##
  1436. labelValueLengthLimit: 0
  1437. ## proxyUrl: URL of a proxy that should be used for scraping.
  1438. ##
  1439. proxyUrl: ""
  1440. jobLabel: jobLabel
  1441. selector: {}
  1442. # matchLabels:
  1443. # k8s-app: kube-dns
  1444. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1445. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1446. ##
  1447. metricRelabelings: []
  1448. # - action: keep
  1449. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1450. # sourceLabels: [__name__]
  1451. ## RelabelConfigs to apply to samples before scraping
  1452. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1453. ##
  1454. relabelings: []
  1455. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1456. # separator: ;
  1457. # regex: ^(.*)$
  1458. # targetLabel: nodename
  1459. # replacement: $1
  1460. # action: replace
  1461. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1462. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1463. ##
  1464. dnsmasqMetricRelabelings: []
  1465. # - action: keep
  1466. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1467. # sourceLabels: [__name__]
  1468. ## RelabelConfigs to apply to samples before scraping
  1469. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1470. ##
  1471. dnsmasqRelabelings: []
  1472. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1473. # separator: ;
  1474. # regex: ^(.*)$
  1475. # targetLabel: nodename
  1476. # replacement: $1
  1477. # action: replace
  1478. ## Additional labels
  1479. ##
  1480. additionalLabels: {}
  1481. # foo: bar
  1482. ## Component scraping etcd
  1483. ##
  1484. kubeEtcd:
  1485. enabled: true
  1486. ## If your etcd is not deployed as a pod, specify IPs it can be found on
  1487. ##
  1488. endpoints: []
  1489. # - 10.141.4.22
  1490. # - 10.141.4.23
  1491. # - 10.141.4.24
  1492. ## Etcd service. If using kubeEtcd.endpoints only the port and targetPort are used
  1493. ##
  1494. service:
  1495. enabled: true
  1496. port: 2381
  1497. targetPort: 2381
  1498. ipDualStack:
  1499. enabled: false
  1500. ipFamilies: ["IPv6", "IPv4"]
  1501. ipFamilyPolicy: "PreferDualStack"
  1502. # selector:
  1503. # component: etcd
  1504. ## Configure secure access to the etcd cluster by loading a secret into prometheus and
  1505. ## specifying security configuration below. For example, with a secret named etcd-client-cert
  1506. ##
  1507. ## serviceMonitor:
  1508. ## scheme: https
  1509. ## insecureSkipVerify: false
  1510. ## serverName: localhost
  1511. ## caFile: /etc/prometheus/secrets/etcd-client-cert/etcd-ca
  1512. ## certFile: /etc/prometheus/secrets/etcd-client-cert/etcd-client
  1513. ## keyFile: /etc/prometheus/secrets/etcd-client-cert/etcd-client-key
  1514. ##
  1515. serviceMonitor:
  1516. enabled: true
  1517. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1518. ##
  1519. interval: ""
  1520. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1521. ##
  1522. sampleLimit: 0
  1523. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1524. ##
  1525. targetLimit: 0
  1526. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1527. ##
  1528. labelLimit: 0
  1529. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1530. ##
  1531. labelNameLengthLimit: 0
  1532. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1533. ##
  1534. labelValueLengthLimit: 0
  1535. ## proxyUrl: URL of a proxy that should be used for scraping.
  1536. ##
  1537. proxyUrl: ""
  1538. scheme: http
  1539. insecureSkipVerify: false
  1540. serverName: ""
  1541. caFile: ""
  1542. certFile: ""
  1543. keyFile: ""
  1544. ## port: Name of the port the metrics will be scraped from
  1545. ##
  1546. port: http-metrics
  1547. jobLabel: jobLabel
  1548. selector: {}
  1549. # matchLabels:
  1550. # component: etcd
  1551. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1552. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1553. ##
  1554. metricRelabelings: []
  1555. # - action: keep
  1556. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1557. # sourceLabels: [__name__]
  1558. ## RelabelConfigs to apply to samples before scraping
  1559. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1560. ##
  1561. relabelings: []
  1562. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1563. # separator: ;
  1564. # regex: ^(.*)$
  1565. # targetLabel: nodename
  1566. # replacement: $1
  1567. # action: replace
  1568. ## Additional labels
  1569. ##
  1570. additionalLabels: {}
  1571. # foo: bar
  1572. ## Component scraping kube scheduler
  1573. ##
  1574. kubeScheduler:
  1575. enabled: true
  1576. ## If your kube scheduler is not deployed as a pod, specify IPs it can be found on
  1577. ##
  1578. endpoints: []
  1579. # - 10.141.4.22
  1580. # - 10.141.4.23
  1581. # - 10.141.4.24
  1582. ## If using kubeScheduler.endpoints only the port and targetPort are used
  1583. ##
  1584. service:
  1585. enabled: true
  1586. ## If null or unset, the value is determined dynamically based on target Kubernetes version due to change
  1587. ## of default port in Kubernetes 1.23.
  1588. ##
  1589. port: null
  1590. targetPort: null
  1591. ipDualStack:
  1592. enabled: false
  1593. ipFamilies: ["IPv6", "IPv4"]
  1594. ipFamilyPolicy: "PreferDualStack"
  1595. # selector:
  1596. # component: kube-scheduler
  1597. serviceMonitor:
  1598. enabled: true
  1599. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1600. ##
  1601. interval: ""
  1602. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1603. ##
  1604. sampleLimit: 0
  1605. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1606. ##
  1607. targetLimit: 0
  1608. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1609. ##
  1610. labelLimit: 0
  1611. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1612. ##
  1613. labelNameLengthLimit: 0
  1614. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1615. ##
  1616. labelValueLengthLimit: 0
  1617. ## proxyUrl: URL of a proxy that should be used for scraping.
  1618. ##
  1619. proxyUrl: ""
  1620. ## Enable scraping kube-scheduler over https.
  1621. ## Requires proper certs (not self-signed) and delegated authentication/authorization checks.
  1622. ## If null or unset, the value is determined dynamically based on target Kubernetes version.
  1623. ##
  1624. https: null
  1625. ## port: Name of the port the metrics will be scraped from
  1626. ##
  1627. port: http-metrics
  1628. jobLabel: jobLabel
  1629. selector: {}
  1630. # matchLabels:
  1631. # component: kube-scheduler
  1632. ## Skip TLS certificate validation when scraping
  1633. insecureSkipVerify: null
  1634. ## Name of the server to use when validating TLS certificate
  1635. serverName: null
  1636. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1637. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1638. ##
  1639. metricRelabelings: []
  1640. # - action: keep
  1641. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1642. # sourceLabels: [__name__]
  1643. ## RelabelConfigs to apply to samples before scraping
  1644. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1645. ##
  1646. relabelings: []
  1647. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1648. # separator: ;
  1649. # regex: ^(.*)$
  1650. # targetLabel: nodename
  1651. # replacement: $1
  1652. # action: replace
  1653. ## Additional labels
  1654. ##
  1655. additionalLabels: {}
  1656. # foo: bar
  1657. ## Component scraping kube proxy
  1658. ##
  1659. kubeProxy:
  1660. enabled: true
  1661. ## If your kube proxy is not deployed as a pod, specify IPs it can be found on
  1662. ##
  1663. endpoints: []
  1664. # - 10.141.4.22
  1665. # - 10.141.4.23
  1666. # - 10.141.4.24
  1667. service:
  1668. enabled: true
  1669. port: 10249
  1670. targetPort: 10249
  1671. ipDualStack:
  1672. enabled: false
  1673. ipFamilies: ["IPv6", "IPv4"]
  1674. ipFamilyPolicy: "PreferDualStack"
  1675. # selector:
  1676. # k8s-app: kube-proxy
  1677. serviceMonitor:
  1678. enabled: true
  1679. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1680. ##
  1681. interval: ""
  1682. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1683. ##
  1684. sampleLimit: 0
  1685. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1686. ##
  1687. targetLimit: 0
  1688. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1689. ##
  1690. labelLimit: 0
  1691. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1692. ##
  1693. labelNameLengthLimit: 0
  1694. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1695. ##
  1696. labelValueLengthLimit: 0
  1697. ## proxyUrl: URL of a proxy that should be used for scraping.
  1698. ##
  1699. proxyUrl: ""
  1700. ## port: Name of the port the metrics will be scraped from
  1701. ##
  1702. port: http-metrics
  1703. jobLabel: jobLabel
  1704. selector: {}
  1705. # matchLabels:
  1706. # k8s-app: kube-proxy
  1707. ## Enable scraping kube-proxy over https.
  1708. ## Requires proper certs (not self-signed) and delegated authentication/authorization checks
  1709. ##
  1710. https: false
  1711. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1712. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1713. ##
  1714. metricRelabelings: []
  1715. # - action: keep
  1716. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1717. # sourceLabels: [__name__]
  1718. ## RelabelConfigs to apply to samples before scraping
  1719. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1720. ##
  1721. relabelings: []
  1722. # - action: keep
  1723. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1724. # sourceLabels: [__name__]
  1725. ## Additional labels
  1726. ##
  1727. additionalLabels: {}
  1728. # foo: bar
  1729. ## Component scraping kube state metrics
  1730. ##
  1731. kubeStateMetrics:
  1732. enabled: true
  1733. ## Configuration for kube-state-metrics subchart
  1734. ##
  1735. kube-state-metrics:
  1736. namespaceOverride: ""
  1737. rbac:
  1738. create: true
  1739. releaseLabel: true
  1740. prometheus:
  1741. monitor:
  1742. enabled: true
  1743. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1744. ##
  1745. interval: ""
  1746. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1747. ##
  1748. sampleLimit: 0
  1749. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1750. ##
  1751. targetLimit: 0
  1752. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1753. ##
  1754. labelLimit: 0
  1755. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1756. ##
  1757. labelNameLengthLimit: 0
  1758. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1759. ##
  1760. labelValueLengthLimit: 0
  1761. ## Scrape Timeout. If not set, the Prometheus default scrape timeout is used.
  1762. ##
  1763. scrapeTimeout: ""
  1764. ## proxyUrl: URL of a proxy that should be used for scraping.
  1765. ##
  1766. proxyUrl: ""
  1767. # Keep labels from scraped data, overriding server-side labels
  1768. ##
  1769. honorLabels: true
  1770. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1771. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1772. ##
  1773. metricRelabelings: []
  1774. # - action: keep
  1775. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  1776. # sourceLabels: [__name__]
  1777. ## RelabelConfigs to apply to samples before scraping
  1778. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1779. ##
  1780. relabelings: []
  1781. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1782. # separator: ;
  1783. # regex: ^(.*)$
  1784. # targetLabel: nodename
  1785. # replacement: $1
  1786. # action: replace
  1787. selfMonitor:
  1788. enabled: false
  1789. ## Deploy node exporter as a daemonset to all nodes
  1790. ##
  1791. nodeExporter:
  1792. enabled: true
  1793. operatingSystems:
  1794. linux:
  1795. enabled: true
  1796. darwin:
  1797. enabled: true
  1798. ## ForceDeployDashboard Create dashboard configmap even if nodeExporter deployment has been disabled
  1799. ##
  1800. forceDeployDashboards: false
  1801. ## Configuration for prometheus-node-exporter subchart
  1802. ##
  1803. prometheus-node-exporter:
  1804. namespaceOverride: ""
  1805. podLabels:
  1806. ## Add the 'node-exporter' label to be used by serviceMonitor to match standard common usage in rules and grafana dashboards
  1807. ##
  1808. jobLabel: node-exporter
  1809. releaseLabel: true
  1810. extraArgs:
  1811. - --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
  1812. - --collector.filesystem.fs-types-exclude=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
  1813. service:
  1814. portName: http-metrics
  1815. ipDualStack:
  1816. enabled: false
  1817. ipFamilies: ["IPv6", "IPv4"]
  1818. ipFamilyPolicy: "PreferDualStack"
  1819. labels:
  1820. jobLabel: node-exporter
  1821. prometheus:
  1822. monitor:
  1823. enabled: true
  1824. jobLabel: jobLabel
  1825. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  1826. ##
  1827. interval: ""
  1828. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  1829. ##
  1830. sampleLimit: 0
  1831. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  1832. ##
  1833. targetLimit: 0
  1834. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1835. ##
  1836. labelLimit: 0
  1837. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1838. ##
  1839. labelNameLengthLimit: 0
  1840. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  1841. ##
  1842. labelValueLengthLimit: 0
  1843. ## How long until a scrape request times out. If not set, the Prometheus default scape timeout is used.
  1844. ##
  1845. scrapeTimeout: ""
  1846. ## proxyUrl: URL of a proxy that should be used for scraping.
  1847. ##
  1848. proxyUrl: ""
  1849. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  1850. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1851. ##
  1852. metricRelabelings: []
  1853. # - sourceLabels: [__name__]
  1854. # separator: ;
  1855. # regex: ^node_mountstats_nfs_(event|operations|transport)_.+
  1856. # replacement: $1
  1857. # action: drop
  1858. ## RelabelConfigs to apply to samples before scraping
  1859. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  1860. ##
  1861. relabelings: []
  1862. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  1863. # separator: ;
  1864. # regex: ^(.*)$
  1865. # targetLabel: nodename
  1866. # replacement: $1
  1867. # action: replace
  1868. rbac:
  1869. ## If true, create PSPs for node-exporter
  1870. ##
  1871. pspEnabled: false
  1872. ## Manages Prometheus and Alertmanager components
  1873. ##
  1874. prometheusOperator:
  1875. enabled: true
  1876. ## Use '{{ template "kube-prometheus-stack.fullname" . }}-operator' by default
  1877. fullnameOverride: ""
  1878. ## Number of old replicasets to retain ##
  1879. ## The default value is 10, 0 will garbage-collect old replicasets ##
  1880. revisionHistoryLimit: 10
  1881. ## Strategy of the deployment
  1882. ##
  1883. strategy: {}
  1884. ## Prometheus-Operator v0.39.0 and later support TLS natively.
  1885. ##
  1886. tls:
  1887. enabled: true
  1888. # Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
  1889. tlsMinVersion: VersionTLS13
  1890. # The default webhook port is 10250 in order to work out-of-the-box in GKE private clusters and avoid adding firewall rules.
  1891. internalPort: 10250
  1892. ## Liveness probe for the prometheusOperator deployment
  1893. ##
  1894. livenessProbe:
  1895. enabled: true
  1896. failureThreshold: 3
  1897. initialDelaySeconds: 0
  1898. periodSeconds: 10
  1899. successThreshold: 1
  1900. timeoutSeconds: 1
  1901. ## Readiness probe for the prometheusOperator deployment
  1902. ##
  1903. readinessProbe:
  1904. enabled: true
  1905. failureThreshold: 3
  1906. initialDelaySeconds: 0
  1907. periodSeconds: 10
  1908. successThreshold: 1
  1909. timeoutSeconds: 1
  1910. ## Admission webhook support for PrometheusRules resources added in Prometheus Operator 0.30 can be enabled to prevent incorrectly formatted
  1911. ## rules from making their way into prometheus and potentially preventing the container from starting
  1912. admissionWebhooks:
  1913. ## Valid values: Fail, Ignore, IgnoreOnInstallOnly
  1914. ## IgnoreOnInstallOnly - If Release.IsInstall returns "true", set "Ignore" otherwise "Fail"
  1915. failurePolicy: ""
  1916. ## The default timeoutSeconds is 10 and the maximum value is 30.
  1917. timeoutSeconds: 10
  1918. enabled: true
  1919. ## A PEM encoded CA bundle which will be used to validate the webhook's server certificate.
  1920. ## If unspecified, system trust roots on the apiserver are used.
  1921. caBundle: ""
  1922. ## If enabled, generate a self-signed certificate, then patch the webhook configurations with the generated data.
  1923. ## On chart upgrades (or if the secret exists) the cert will not be re-generated. You can use this to provide your own
  1924. ## certs ahead of time if you wish.
  1925. ##
  1926. annotations: {}
  1927. # argocd.argoproj.io/hook: PreSync
  1928. # argocd.argoproj.io/hook-delete-policy: HookSucceeded
  1929. namespaceSelector: {}
  1930. objectSelector: {}
  1931. mutatingWebhookConfiguration:
  1932. annotations: {}
  1933. # argocd.argoproj.io/hook: PreSync
  1934. validatingWebhookConfiguration:
  1935. annotations: {}
  1936. # argocd.argoproj.io/hook: PreSync
  1937. deployment:
  1938. enabled: false
  1939. ## Number of replicas
  1940. ##
  1941. replicas: 1
  1942. ## Strategy of the deployment
  1943. ##
  1944. strategy: {}
  1945. # Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
  1946. podDisruptionBudget: {}
  1947. # maxUnavailable: 1
  1948. # minAvailable: 1
  1949. ## Number of old replicasets to retain ##
  1950. ## The default value is 10, 0 will garbage-collect old replicasets ##
  1951. revisionHistoryLimit: 10
  1952. ## Prometheus-Operator v0.39.0 and later support TLS natively.
  1953. ##
  1954. tls:
  1955. enabled: true
  1956. # Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
  1957. tlsMinVersion: VersionTLS13
  1958. # The default webhook port is 10250 in order to work out-of-the-box in GKE private clusters and avoid adding firewall rules.
  1959. internalPort: 10250
  1960. ## Service account for Prometheus Operator Webhook to use.
  1961. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  1962. ##
  1963. serviceAccount:
  1964. automountServiceAccountToken: false
  1965. create: true
  1966. name: ""
  1967. ## Configuration for Prometheus operator Webhook service
  1968. ##
  1969. service:
  1970. annotations: {}
  1971. labels: {}
  1972. clusterIP: ""
  1973. ipDualStack:
  1974. enabled: false
  1975. ipFamilies: ["IPv6", "IPv4"]
  1976. ipFamilyPolicy: "PreferDualStack"
  1977. ## Port to expose on each node
  1978. ## Only used if service.type is 'NodePort'
  1979. ##
  1980. nodePort: 31080
  1981. nodePortTls: 31443
  1982. ## Additional ports to open for Prometheus operator Webhook service
  1983. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services
  1984. ##
  1985. additionalPorts: []
  1986. ## Loadbalancer IP
  1987. ## Only use if service.type is "LoadBalancer"
  1988. ##
  1989. loadBalancerIP: ""
  1990. loadBalancerSourceRanges: []
  1991. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  1992. ##
  1993. externalTrafficPolicy: Cluster
  1994. ## Service type
  1995. ## NodePort, ClusterIP, LoadBalancer
  1996. ##
  1997. type: ClusterIP
  1998. ## List of IP addresses at which the Prometheus server service is available
  1999. ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
  2000. ##
  2001. externalIPs: []
  2002. # ## Labels to add to the operator webhook deployment
  2003. # ##
  2004. labels: {}
  2005. ## Annotations to add to the operator webhook deployment
  2006. ##
  2007. annotations: {}
  2008. ## Labels to add to the operator webhook pod
  2009. ##
  2010. podLabels: {}
  2011. ## Annotations to add to the operator webhook pod
  2012. ##
  2013. podAnnotations: {}
  2014. ## Assign a PriorityClassName to pods if set
  2015. # priorityClassName: ""
  2016. ## Define Log Format
  2017. # Use logfmt (default) or json logging
  2018. # logFormat: logfmt
  2019. ## Decrease log verbosity to errors only
  2020. # logLevel: error
  2021. ## Prometheus-operator webhook image
  2022. ##
  2023. image:
  2024. registry: quay.io
  2025. repository: prometheus-operator/admission-webhook
  2026. # if not set appVersion field from Chart.yaml is used
  2027. tag: ""
  2028. sha: ""
  2029. pullPolicy: IfNotPresent
  2030. ## Define Log Format
  2031. # Use logfmt (default) or json logging
  2032. # logFormat: logfmt
  2033. ## Decrease log verbosity to errors only
  2034. # logLevel: error
  2035. ## Liveness probe
  2036. ##
  2037. livenessProbe:
  2038. enabled: true
  2039. failureThreshold: 3
  2040. initialDelaySeconds: 30
  2041. periodSeconds: 10
  2042. successThreshold: 1
  2043. timeoutSeconds: 1
  2044. ## Readiness probe
  2045. ##
  2046. readinessProbe:
  2047. enabled: true
  2048. failureThreshold: 3
  2049. initialDelaySeconds: 5
  2050. periodSeconds: 10
  2051. successThreshold: 1
  2052. timeoutSeconds: 1
  2053. ## Resource limits & requests
  2054. ##
  2055. resources: {}
  2056. # limits:
  2057. # cpu: 200m
  2058. # memory: 200Mi
  2059. # requests:
  2060. # cpu: 100m
  2061. # memory: 100Mi
  2062. # Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
  2063. # because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
  2064. ##
  2065. hostNetwork: false
  2066. ## Define which Nodes the Pods are scheduled on.
  2067. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  2068. ##
  2069. nodeSelector: {}
  2070. ## Tolerations for use with node taints
  2071. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  2072. ##
  2073. tolerations: []
  2074. # - key: "key"
  2075. # operator: "Equal"
  2076. # value: "value"
  2077. # effect: "NoSchedule"
  2078. ## Assign custom affinity rules to the prometheus operator
  2079. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  2080. ##
  2081. affinity: {}
  2082. # nodeAffinity:
  2083. # requiredDuringSchedulingIgnoredDuringExecution:
  2084. # nodeSelectorTerms:
  2085. # - matchExpressions:
  2086. # - key: kubernetes.io/e2e-az-name
  2087. # operator: In
  2088. # values:
  2089. # - e2e-az1
  2090. # - e2e-az2
  2091. dnsConfig: {}
  2092. # nameservers:
  2093. # - 1.2.3.4
  2094. # searches:
  2095. # - ns1.svc.cluster-domain.example
  2096. # - my.dns.search.suffix
  2097. # options:
  2098. # - name: ndots
  2099. # value: "2"
  2100. # - name: edns0
  2101. securityContext:
  2102. fsGroup: 65534
  2103. runAsGroup: 65534
  2104. runAsNonRoot: true
  2105. runAsUser: 65534
  2106. seccompProfile:
  2107. type: RuntimeDefault
  2108. ## Container-specific security context configuration
  2109. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  2110. ##
  2111. containerSecurityContext:
  2112. allowPrivilegeEscalation: false
  2113. readOnlyRootFilesystem: true
  2114. capabilities:
  2115. drop:
  2116. - ALL
  2117. ## If false then the user will opt out of automounting API credentials.
  2118. ##
  2119. automountServiceAccountToken: true
  2120. patch:
  2121. enabled: true
  2122. image:
  2123. registry: registry.k8s.io
  2124. repository: ingress-nginx/kube-webhook-certgen
  2125. tag: v20221220-controller-v1.5.1-58-g787ea74b6
  2126. sha: ""
  2127. pullPolicy: IfNotPresent
  2128. resources: {}
  2129. ## Provide a priority class name to the webhook patching job
  2130. ##
  2131. priorityClassName: ""
  2132. ttlSecondsAfterFinished: 60
  2133. annotations: {}
  2134. # argocd.argoproj.io/hook: PreSync
  2135. # argocd.argoproj.io/hook-delete-policy: HookSucceeded
  2136. podAnnotations: {}
  2137. nodeSelector: {}
  2138. affinity: {}
  2139. tolerations: []
  2140. ## SecurityContext holds pod-level security attributes and common container settings.
  2141. ## This defaults to non root user with uid 2000 and gid 2000. *v1.PodSecurityContext false
  2142. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  2143. ##
  2144. securityContext:
  2145. runAsGroup: 2000
  2146. runAsNonRoot: true
  2147. runAsUser: 2000
  2148. seccompProfile:
  2149. type: RuntimeDefault
  2150. ## Service account for Prometheus Operator Webhook Job Patch to use.
  2151. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  2152. ##
  2153. serviceAccount:
  2154. create: true
  2155. automountServiceAccountToken: true
  2156. # Security context for create job container
  2157. createSecretJob:
  2158. securityContext:
  2159. allowPrivilegeEscalation: false
  2160. readOnlyRootFilesystem: true
  2161. capabilities:
  2162. drop:
  2163. - ALL
  2164. # Security context for patch job container
  2165. patchWebhookJob:
  2166. securityContext:
  2167. allowPrivilegeEscalation: false
  2168. readOnlyRootFilesystem: true
  2169. capabilities:
  2170. drop:
  2171. - ALL
  2172. # Use certmanager to generate webhook certs
  2173. certManager:
  2174. enabled: false
  2175. # self-signed root certificate
  2176. rootCert:
  2177. duration: "" # default to be 5y
  2178. admissionCert:
  2179. duration: "" # default to be 1y
  2180. # issuerRef:
  2181. # name: "issuer"
  2182. # kind: "ClusterIssuer"
  2183. ## Namespaces to scope the interaction of the Prometheus Operator and the apiserver (allow list).
  2184. ## This is mutually exclusive with denyNamespaces. Setting this to an empty object will disable the configuration
  2185. ##
  2186. namespaces: {}
  2187. # releaseNamespace: true
  2188. # additional:
  2189. # - kube-system
  2190. ## Namespaces not to scope the interaction of the Prometheus Operator (deny list).
  2191. ##
  2192. denyNamespaces: []
  2193. ## Filter namespaces to look for prometheus-operator custom resources
  2194. ##
  2195. alertmanagerInstanceNamespaces: []
  2196. alertmanagerConfigNamespaces: []
  2197. prometheusInstanceNamespaces: []
  2198. thanosRulerInstanceNamespaces: []
  2199. ## The clusterDomain value will be added to the cluster.peer option of the alertmanager.
  2200. ## Without this specified option cluster.peer will have value alertmanager-monitoring-alertmanager-0.alertmanager-operated:9094 (default value)
  2201. ## With this specified option cluster.peer will have value alertmanager-monitoring-alertmanager-0.alertmanager-operated.namespace.svc.cluster-domain:9094
  2202. ##
  2203. # clusterDomain: "cluster.local"
  2204. networkPolicy:
  2205. ## Enable creation of NetworkPolicy resources.
  2206. ##
  2207. enabled: false
  2208. ## Flavor of the network policy to use.
  2209. # Can be:
  2210. # * kubernetes for networking.k8s.io/v1/NetworkPolicy
  2211. # * cilium for cilium.io/v2/CiliumNetworkPolicy
  2212. flavor: kubernetes
  2213. # cilium:
  2214. # egress:
  2215. ## match labels used in selector
  2216. # matchLabels: {}
  2217. ## Service account for Prometheus Operator to use.
  2218. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  2219. ##
  2220. serviceAccount:
  2221. create: true
  2222. name: ""
  2223. automountServiceAccountToken: true
  2224. ## Configuration for Prometheus operator service
  2225. ##
  2226. service:
  2227. annotations: {}
  2228. labels: {}
  2229. clusterIP: ""
  2230. ipDualStack:
  2231. enabled: false
  2232. ipFamilies: ["IPv6", "IPv4"]
  2233. ipFamilyPolicy: "PreferDualStack"
  2234. ## Port to expose on each node
  2235. ## Only used if service.type is 'NodePort'
  2236. ##
  2237. nodePort: 30080
  2238. nodePortTls: 30443
  2239. ## Additional ports to open for Prometheus operator service
  2240. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services
  2241. ##
  2242. additionalPorts: []
  2243. ## Loadbalancer IP
  2244. ## Only use if service.type is "LoadBalancer"
  2245. ##
  2246. loadBalancerIP: ""
  2247. loadBalancerSourceRanges: []
  2248. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  2249. ##
  2250. externalTrafficPolicy: Cluster
  2251. ## Service type
  2252. ## NodePort, ClusterIP, LoadBalancer
  2253. ##
  2254. type: ClusterIP
  2255. ## List of IP addresses at which the Prometheus server service is available
  2256. ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
  2257. ##
  2258. externalIPs: []
  2259. # ## Labels to add to the operator deployment
  2260. # ##
  2261. labels: {}
  2262. ## Annotations to add to the operator deployment
  2263. ##
  2264. annotations: {}
  2265. ## Labels to add to the operator pod
  2266. ##
  2267. podLabels: {}
  2268. ## Annotations to add to the operator pod
  2269. ##
  2270. podAnnotations: {}
  2271. ## Assign a PriorityClassName to pods if set
  2272. # priorityClassName: ""
  2273. ## Define Log Format
  2274. # Use logfmt (default) or json logging
  2275. # logFormat: logfmt
  2276. ## Decrease log verbosity to errors only
  2277. # logLevel: error
  2278. kubeletService:
  2279. ## If true, the operator will create and maintain a service for scraping kubelets
  2280. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/helm/prometheus-operator/README.md
  2281. ##
  2282. enabled: true
  2283. namespace: kube-system
  2284. selector: ""
  2285. ## Use '{{ template "kube-prometheus-stack.fullname" . }}-kubelet' by default
  2286. name: ""
  2287. ## Create a servicemonitor for the operator
  2288. ##
  2289. serviceMonitor:
  2290. ## If true, create a serviceMonitor for prometheus operator
  2291. ##
  2292. selfMonitor: true
  2293. ## Labels for ServiceMonitor
  2294. additionalLabels: {}
  2295. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  2296. ##
  2297. interval: ""
  2298. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  2299. ##
  2300. sampleLimit: 0
  2301. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  2302. ##
  2303. targetLimit: 0
  2304. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  2305. ##
  2306. labelLimit: 0
  2307. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  2308. ##
  2309. labelNameLengthLimit: 0
  2310. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  2311. ##
  2312. labelValueLengthLimit: 0
  2313. ## Scrape timeout. If not set, the Prometheus default scrape timeout is used.
  2314. scrapeTimeout: ""
  2315. ## Metric relabel configs to apply to samples before ingestion.
  2316. ##
  2317. metricRelabelings: []
  2318. # - action: keep
  2319. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  2320. # sourceLabels: [__name__]
  2321. # relabel configs to apply to samples before ingestion.
  2322. ##
  2323. relabelings: []
  2324. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  2325. # separator: ;
  2326. # regex: ^(.*)$
  2327. # targetLabel: nodename
  2328. # replacement: $1
  2329. # action: replace
  2330. ## Resource limits & requests
  2331. ##
  2332. resources: {}
  2333. # limits:
  2334. # cpu: 200m
  2335. # memory: 200Mi
  2336. # requests:
  2337. # cpu: 100m
  2338. # memory: 100Mi
  2339. ## Operator Environment
  2340. ## env:
  2341. ## VARIABLE: value
  2342. env:
  2343. GOGC: "30"
  2344. # Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
  2345. # because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
  2346. ##
  2347. hostNetwork: false
  2348. ## Define which Nodes the Pods are scheduled on.
  2349. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  2350. ##
  2351. nodeSelector: {}
  2352. ## Tolerations for use with node taints
  2353. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  2354. ##
  2355. tolerations: []
  2356. # - key: "key"
  2357. # operator: "Equal"
  2358. # value: "value"
  2359. # effect: "NoSchedule"
  2360. ## Assign custom affinity rules to the prometheus operator
  2361. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  2362. ##
  2363. affinity: {}
  2364. # nodeAffinity:
  2365. # requiredDuringSchedulingIgnoredDuringExecution:
  2366. # nodeSelectorTerms:
  2367. # - matchExpressions:
  2368. # - key: kubernetes.io/e2e-az-name
  2369. # operator: In
  2370. # values:
  2371. # - e2e-az1
  2372. # - e2e-az2
  2373. dnsConfig: {}
  2374. # nameservers:
  2375. # - 1.2.3.4
  2376. # searches:
  2377. # - ns1.svc.cluster-domain.example
  2378. # - my.dns.search.suffix
  2379. # options:
  2380. # - name: ndots
  2381. # value: "2"
  2382. # - name: edns0
  2383. securityContext:
  2384. fsGroup: 65534
  2385. runAsGroup: 65534
  2386. runAsNonRoot: true
  2387. runAsUser: 65534
  2388. seccompProfile:
  2389. type: RuntimeDefault
  2390. ## Container-specific security context configuration
  2391. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  2392. ##
  2393. containerSecurityContext:
  2394. allowPrivilegeEscalation: false
  2395. readOnlyRootFilesystem: true
  2396. capabilities:
  2397. drop:
  2398. - ALL
  2399. # Enable vertical pod autoscaler support for prometheus-operator
  2400. verticalPodAutoscaler:
  2401. enabled: false
  2402. # Recommender responsible for generating recommendation for the object.
  2403. # List should be empty (then the default recommender will generate the recommendation)
  2404. # or contain exactly one recommender.
  2405. # recommenders:
  2406. # - name: custom-recommender-performance
  2407. # List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
  2408. controlledResources: []
  2409. # Specifies which resource values should be controlled: RequestsOnly or RequestsAndLimits.
  2410. # controlledValues: RequestsAndLimits
  2411. # Define the max allowed resources for the pod
  2412. maxAllowed: {}
  2413. # cpu: 200m
  2414. # memory: 100Mi
  2415. # Define the min allowed resources for the pod
  2416. minAllowed: {}
  2417. # cpu: 200m
  2418. # memory: 100Mi
  2419. updatePolicy:
  2420. # Specifies minimal number of replicas which need to be alive for VPA Updater to attempt pod eviction
  2421. # minReplicas: 1
  2422. # Specifies whether recommended updates are applied when a Pod is started and whether recommended updates
  2423. # are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto".
  2424. updateMode: Auto
  2425. ## Prometheus-operator image
  2426. ##
  2427. image:
  2428. registry: quay.io
  2429. repository: prometheus-operator/prometheus-operator
  2430. # if not set appVersion field from Chart.yaml is used
  2431. tag: ""
  2432. sha: ""
  2433. pullPolicy: IfNotPresent
  2434. ## Prometheus image to use for prometheuses managed by the operator
  2435. ##
  2436. # prometheusDefaultBaseImage: prometheus/prometheus
  2437. ## Prometheus image registry to use for prometheuses managed by the operator
  2438. ##
  2439. # prometheusDefaultBaseImageRegistry: quay.io
  2440. ## Alertmanager image to use for alertmanagers managed by the operator
  2441. ##
  2442. # alertmanagerDefaultBaseImage: prometheus/alertmanager
  2443. ## Alertmanager image registry to use for alertmanagers managed by the operator
  2444. ##
  2445. # alertmanagerDefaultBaseImageRegistry: quay.io
  2446. ## Prometheus-config-reloader
  2447. ##
  2448. prometheusConfigReloader:
  2449. image:
  2450. registry: quay.io
  2451. repository: prometheus-operator/prometheus-config-reloader
  2452. # if not set appVersion field from Chart.yaml is used
  2453. tag: ""
  2454. sha: ""
  2455. # add prometheus config reloader liveness and readiness probe. Default: false
  2456. enableProbe: false
  2457. # resource config for prometheusConfigReloader
  2458. resources: {}
  2459. # requests:
  2460. # cpu: 200m
  2461. # memory: 50Mi
  2462. # limits:
  2463. # cpu: 200m
  2464. # memory: 50Mi
  2465. ## Thanos side-car image when configured
  2466. ##
  2467. thanosImage:
  2468. registry: quay.io
  2469. repository: thanos/thanos
  2470. tag: v0.36.1
  2471. sha: ""
  2472. ## Set a Label Selector to filter watched prometheus and prometheusAgent
  2473. ##
  2474. prometheusInstanceSelector: ""
  2475. ## Set a Label Selector to filter watched alertmanager
  2476. ##
  2477. alertmanagerInstanceSelector: ""
  2478. ## Set a Label Selector to filter watched thanosRuler
  2479. thanosRulerInstanceSelector: ""
  2480. ## Set a Field Selector to filter watched secrets
  2481. ##
  2482. secretFieldSelector: "type!=kubernetes.io/dockercfg,type!=kubernetes.io/service-account-token,type!=helm.sh/release.v1"
  2483. ## If false then the user will opt out of automounting API credentials.
  2484. ##
  2485. automountServiceAccountToken: true
  2486. ## Additional volumes
  2487. ##
  2488. extraVolumes: []
  2489. ## Additional volume mounts
  2490. ##
  2491. extraVolumeMounts: []
  2492. ## Deploy a Prometheus instance
  2493. ##
  2494. prometheus:
  2495. enabled: true
  2496. ## Toggle prometheus into agent mode
  2497. ## Note many of features described below (e.g. rules, query, alerting, remote read, thanos) will not work in agent mode.
  2498. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/designs/prometheus-agent.md
  2499. ##
  2500. agentMode: false
  2501. ## Annotations for Prometheus
  2502. ##
  2503. annotations: {}
  2504. ## Configure network policy for the prometheus
  2505. networkPolicy:
  2506. enabled: false
  2507. ## Flavor of the network policy to use.
  2508. # Can be:
  2509. # * kubernetes for networking.k8s.io/v1/NetworkPolicy
  2510. # * cilium for cilium.io/v2/CiliumNetworkPolicy
  2511. flavor: kubernetes
  2512. # cilium:
  2513. # endpointSelector:
  2514. # egress:
  2515. # ingress:
  2516. # egress:
  2517. # - {}
  2518. # ingress:
  2519. # - {}
  2520. # podSelector:
  2521. # matchLabels:
  2522. # app: prometheus
  2523. ## Service account for Prometheuses to use.
  2524. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  2525. ##
  2526. serviceAccount:
  2527. create: true
  2528. name: ""
  2529. annotations: {}
  2530. automountServiceAccountToken: true
  2531. # Service for thanos service discovery on sidecar
  2532. # Enable this can make Thanos Query can use
  2533. # `--store=dnssrv+_grpc._tcp.${kube-prometheus-stack.fullname}-thanos-discovery.${namespace}.svc.cluster.local` to discovery
  2534. # Thanos sidecar on prometheus nodes
  2535. # (Please remember to change ${kube-prometheus-stack.fullname} and ${namespace}. Not just copy and paste!)
  2536. thanosService:
  2537. enabled: false
  2538. annotations: {}
  2539. labels: {}
  2540. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  2541. ##
  2542. externalTrafficPolicy: Cluster
  2543. ## Service type
  2544. ##
  2545. type: ClusterIP
  2546. ## Service dual stack
  2547. ##
  2548. ipDualStack:
  2549. enabled: false
  2550. ipFamilies: ["IPv6", "IPv4"]
  2551. ipFamilyPolicy: "PreferDualStack"
  2552. ## gRPC port config
  2553. portName: grpc
  2554. port: 10901
  2555. targetPort: "grpc"
  2556. ## HTTP port config (for metrics)
  2557. httpPortName: http
  2558. httpPort: 10902
  2559. targetHttpPort: "http"
  2560. ## ClusterIP to assign
  2561. # Default is to make this a headless service ("None")
  2562. clusterIP: "None"
  2563. ## Port to expose on each node, if service type is NodePort
  2564. ##
  2565. nodePort: 30901
  2566. httpNodePort: 30902
  2567. # ServiceMonitor to scrape Sidecar metrics
  2568. # Needs thanosService to be enabled as well
  2569. thanosServiceMonitor:
  2570. enabled: false
  2571. interval: ""
  2572. ## Additional labels
  2573. ##
  2574. additionalLabels: {}
  2575. ## scheme: HTTP scheme to use for scraping. Can be used with `tlsConfig` for example if using istio mTLS.
  2576. scheme: ""
  2577. ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS.
  2578. ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig
  2579. tlsConfig: {}
  2580. bearerTokenFile:
  2581. ## Metric relabel configs to apply to samples before ingestion.
  2582. metricRelabelings: []
  2583. ## relabel configs to apply to samples before ingestion.
  2584. relabelings: []
  2585. # Service for external access to sidecar
  2586. # Enabling this creates a service to expose thanos-sidecar outside the cluster.
  2587. thanosServiceExternal:
  2588. enabled: false
  2589. annotations: {}
  2590. labels: {}
  2591. loadBalancerIP: ""
  2592. loadBalancerSourceRanges: []
  2593. ## gRPC port config
  2594. portName: grpc
  2595. port: 10901
  2596. targetPort: "grpc"
  2597. ## HTTP port config (for metrics)
  2598. httpPortName: http
  2599. httpPort: 10902
  2600. targetHttpPort: "http"
  2601. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  2602. ##
  2603. externalTrafficPolicy: Cluster
  2604. ## Service type
  2605. ##
  2606. type: LoadBalancer
  2607. ## Port to expose on each node
  2608. ##
  2609. nodePort: 30901
  2610. httpNodePort: 30902
  2611. ## Configuration for Prometheus service
  2612. ##
  2613. service:
  2614. annotations: {}
  2615. labels: {}
  2616. clusterIP: ""
  2617. ipDualStack:
  2618. enabled: false
  2619. ipFamilies: ["IPv6", "IPv4"]
  2620. ipFamilyPolicy: "PreferDualStack"
  2621. ## Port for Prometheus Service to listen on
  2622. ##
  2623. port: 9090
  2624. ## To be used with a proxy extraContainer port
  2625. targetPort: 9090
  2626. ## Port for Prometheus Reloader to listen on
  2627. ##
  2628. reloaderWebPort: 8080
  2629. ## List of IP addresses at which the Prometheus server service is available
  2630. ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
  2631. ##
  2632. externalIPs: []
  2633. ## Port to expose on each node
  2634. ## Only used if service.type is 'NodePort'
  2635. ##
  2636. nodePort: 30090
  2637. ## Loadbalancer IP
  2638. ## Only use if service.type is "LoadBalancer"
  2639. loadBalancerIP: ""
  2640. loadBalancerSourceRanges: []
  2641. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  2642. ##
  2643. externalTrafficPolicy: Cluster
  2644. ## Service type
  2645. ##
  2646. type: ClusterIP
  2647. ## Additional ports to open for Prometheus service
  2648. ##
  2649. additionalPorts: []
  2650. # additionalPorts:
  2651. # - name: oauth-proxy
  2652. # port: 8081
  2653. # targetPort: 8081
  2654. # - name: oauth-metrics
  2655. # port: 8082
  2656. # targetPort: 8082
  2657. ## Consider that all endpoints are considered "ready" even if the Pods themselves are not
  2658. ## Ref: https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/#ServiceSpec
  2659. publishNotReadyAddresses: false
  2660. ## If you want to make sure that connections from a particular client are passed to the same Pod each time
  2661. ## Accepts 'ClientIP' or 'None'
  2662. ##
  2663. sessionAffinity: None
  2664. ## If you want to modify the ClientIP sessionAffinity timeout
  2665. ## The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP"
  2666. ##
  2667. sessionAffinityConfig:
  2668. clientIP:
  2669. timeoutSeconds: 10800
  2670. ## Configuration for creating a separate Service for each statefulset Prometheus replica
  2671. ##
  2672. servicePerReplica:
  2673. enabled: false
  2674. annotations: {}
  2675. ## Port for Prometheus Service per replica to listen on
  2676. ##
  2677. port: 9090
  2678. ## To be used with a proxy extraContainer port
  2679. targetPort: 9090
  2680. ## Port to expose on each node
  2681. ## Only used if servicePerReplica.type is 'NodePort'
  2682. ##
  2683. nodePort: 30091
  2684. ## Loadbalancer source IP ranges
  2685. ## Only used if servicePerReplica.type is "LoadBalancer"
  2686. loadBalancerSourceRanges: []
  2687. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  2688. ##
  2689. externalTrafficPolicy: Cluster
  2690. ## Service type
  2691. ##
  2692. type: ClusterIP
  2693. ## Service dual stack
  2694. ##
  2695. ipDualStack:
  2696. enabled: false
  2697. ipFamilies: ["IPv6", "IPv4"]
  2698. ipFamilyPolicy: "PreferDualStack"
  2699. ## Configure pod disruption budgets for Prometheus
  2700. ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
  2701. ##
  2702. podDisruptionBudget:
  2703. enabled: false
  2704. minAvailable: 1
  2705. maxUnavailable: ""
  2706. # Ingress exposes thanos sidecar outside the cluster
  2707. thanosIngress:
  2708. enabled: false
  2709. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  2710. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  2711. # ingressClassName: nginx
  2712. annotations: {}
  2713. labels: {}
  2714. servicePort: 10901
  2715. ## Port to expose on each node
  2716. ## Only used if service.type is 'NodePort'
  2717. ##
  2718. nodePort: 30901
  2719. ## Hosts must be provided if Ingress is enabled.
  2720. ##
  2721. hosts: []
  2722. # - thanos-gateway.domain.com
  2723. ## Paths to use for ingress rules
  2724. ##
  2725. paths: []
  2726. # - /
  2727. ## For Kubernetes >= 1.18 you should specify the pathType (determines how Ingress paths should be matched)
  2728. ## See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#better-path-matching-with-path-types
  2729. # pathType: ImplementationSpecific
  2730. ## TLS configuration for Thanos Ingress
  2731. ## Secret must be manually created in the namespace
  2732. ##
  2733. tls: []
  2734. # - secretName: thanos-gateway-tls
  2735. # hosts:
  2736. # - thanos-gateway.domain.com
  2737. #
  2738. ## ExtraSecret can be used to store various data in an extra secret
  2739. ## (use it for example to store hashed basic auth credentials)
  2740. extraSecret:
  2741. ## if not set, name will be auto generated
  2742. # name: ""
  2743. annotations: {}
  2744. data: {}
  2745. # auth: |
  2746. # foo:$apr1$OFG3Xybp$ckL0FHDAkoXYIlH9.cysT0
  2747. # someoneelse:$apr1$DMZX2Z4q$6SbQIfyuLQd.xmo/P0m2c.
  2748. ingress:
  2749. enabled: false
  2750. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  2751. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  2752. # ingressClassName: nginx
  2753. annotations: {}
  2754. labels: {}
  2755. ## Redirect ingress to an additional defined port on the service
  2756. # servicePort: 8081
  2757. ## Hostnames.
  2758. ## Must be provided if Ingress is enabled.
  2759. ##
  2760. # hosts:
  2761. # - prometheus.domain.com
  2762. hosts: []
  2763. ## Paths to use for ingress rules - one path should match the prometheusSpec.routePrefix
  2764. ##
  2765. paths: []
  2766. # - /
  2767. ## For Kubernetes >= 1.18 you should specify the pathType (determines how Ingress paths should be matched)
  2768. ## See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#better-path-matching-with-path-types
  2769. # pathType: ImplementationSpecific
  2770. ## TLS configuration for Prometheus Ingress
  2771. ## Secret must be manually created in the namespace
  2772. ##
  2773. tls: []
  2774. # - secretName: prometheus-general-tls
  2775. # hosts:
  2776. # - prometheus.example.com
  2777. ## Configuration for creating an Ingress that will map to each Prometheus replica service
  2778. ## prometheus.servicePerReplica must be enabled
  2779. ##
  2780. ingressPerReplica:
  2781. enabled: false
  2782. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  2783. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  2784. # ingressClassName: nginx
  2785. annotations: {}
  2786. labels: {}
  2787. ## Final form of the hostname for each per replica ingress is
  2788. ## {{ ingressPerReplica.hostPrefix }}-{{ $replicaNumber }}.{{ ingressPerReplica.hostDomain }}
  2789. ##
  2790. ## Prefix for the per replica ingress that will have `-$replicaNumber`
  2791. ## appended to the end
  2792. hostPrefix: ""
  2793. ## Domain that will be used for the per replica ingress
  2794. hostDomain: ""
  2795. ## Paths to use for ingress rules
  2796. ##
  2797. paths: []
  2798. # - /
  2799. ## For Kubernetes >= 1.18 you should specify the pathType (determines how Ingress paths should be matched)
  2800. ## See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#better-path-matching-with-path-types
  2801. # pathType: ImplementationSpecific
  2802. ## Secret name containing the TLS certificate for Prometheus per replica ingress
  2803. ## Secret must be manually created in the namespace
  2804. tlsSecretName: ""
  2805. ## Separated secret for each per replica Ingress. Can be used together with cert-manager
  2806. ##
  2807. tlsSecretPerReplica:
  2808. enabled: false
  2809. ## Final form of the secret for each per replica ingress is
  2810. ## {{ tlsSecretPerReplica.prefix }}-{{ $replicaNumber }}
  2811. ##
  2812. prefix: "prometheus"
  2813. ## Configure additional options for default pod security policy for Prometheus
  2814. ## ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
  2815. podSecurityPolicy:
  2816. allowedCapabilities: []
  2817. allowedHostPaths: []
  2818. volumes: []
  2819. serviceMonitor:
  2820. ## If true, create a serviceMonitor for prometheus
  2821. ##
  2822. selfMonitor: true
  2823. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  2824. ##
  2825. interval: ""
  2826. ## Additional labels
  2827. ##
  2828. additionalLabels: {}
  2829. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  2830. ##
  2831. sampleLimit: 0
  2832. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  2833. ##
  2834. targetLimit: 0
  2835. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  2836. ##
  2837. labelLimit: 0
  2838. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  2839. ##
  2840. labelNameLengthLimit: 0
  2841. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  2842. ##
  2843. labelValueLengthLimit: 0
  2844. ## scheme: HTTP scheme to use for scraping. Can be used with `tlsConfig` for example if using istio mTLS.
  2845. scheme: ""
  2846. ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS.
  2847. ## Of type: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#tlsconfig
  2848. tlsConfig: {}
  2849. bearerTokenFile:
  2850. ## Metric relabel configs to apply to samples before ingestion.
  2851. ##
  2852. metricRelabelings: []
  2853. # - action: keep
  2854. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  2855. # sourceLabels: [__name__]
  2856. # relabel configs to apply to samples before ingestion.
  2857. ##
  2858. relabelings: []
  2859. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  2860. # separator: ;
  2861. # regex: ^(.*)$
  2862. # targetLabel: nodename
  2863. # replacement: $1
  2864. # action: replace
  2865. ## Additional Endpoints
  2866. ##
  2867. additionalEndpoints: []
  2868. # - port: oauth-metrics
  2869. # path: /metrics
  2870. ## Settings affecting prometheusSpec
  2871. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#prometheusspec
  2872. ##
  2873. prometheusSpec:
  2874. ## Statefulset's persistent volume claim retention policy
  2875. ## pvcDeleteOnStsDelete and pvcDeleteOnStsScale determine whether
  2876. ## statefulset's PVCs are deleted (true) or retained (false) on scaling down
  2877. ## and deleting statefulset, respectively. Requires 1.27.0+.
  2878. ## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
  2879. persistentVolumeClaimRetentionPolicy: {}
  2880. # whenDeleted: Retain
  2881. # whenScaled: Retain
  2882. ## If true, pass --storage.tsdb.max-block-duration=2h to prometheus. This is already done if using Thanos
  2883. ##
  2884. ## AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod,
  2885. ## If the field isn’t set, the operator mounts the service account token by default.
  2886. ## Warning: be aware that by default, Prometheus requires the service account token for Kubernetes service discovery,
  2887. ## It is possible to use strategic merge patch to project the service account token into the ‘prometheus’ container.
  2888. automountServiceAccountToken: true
  2889. disableCompaction: false
  2890. ## APIServerConfig
  2891. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#apiserverconfig
  2892. ##
  2893. apiserverConfig: {}
  2894. ## Allows setting additional arguments for the Prometheus container
  2895. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.Prometheus
  2896. additionalArgs: []
  2897. ## Interval between consecutive scrapes.
  2898. ## Defaults to 30s.
  2899. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/release-0.44/pkg/prometheus/promcfg.go#L180-L183
  2900. ##
  2901. scrapeInterval: ""
  2902. ## Number of seconds to wait for target to respond before erroring
  2903. ##
  2904. scrapeTimeout: ""
  2905. ## List of scrape classes to expose to scraping objects such as
  2906. ## PodMonitors, ServiceMonitors, Probes and ScrapeConfigs.
  2907. ##
  2908. scrapeClasses: []
  2909. # - name: istio-mtls
  2910. # default: false
  2911. # tlsConfig:
  2912. # caFile: /etc/prometheus/secrets/istio.default/root-cert.pem
  2913. # certFile: /etc/prometheus/secrets/istio.default/cert-chain.pem
  2914. ## Interval between consecutive evaluations.
  2915. ##
  2916. evaluationInterval: ""
  2917. ## ListenLocal makes the Prometheus server listen on loopback, so that it does not bind against the Pod IP.
  2918. ##
  2919. listenLocal: false
  2920. ## EnableAdminAPI enables Prometheus the administrative HTTP API which includes functionality such as deleting time series.
  2921. ## This is disabled by default.
  2922. ## ref: https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis
  2923. ##
  2924. enableAdminAPI: false
  2925. ## Sets version of Prometheus overriding the Prometheus version as derived
  2926. ## from the image tag. Useful in cases where the tag does not follow semver v2.
  2927. version: ""
  2928. ## WebTLSConfig defines the TLS parameters for HTTPS
  2929. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#webtlsconfig
  2930. web: {}
  2931. ## Exemplars related settings that are runtime reloadable.
  2932. ## It requires to enable the exemplar storage feature to be effective.
  2933. exemplars: ""
  2934. ## Maximum number of exemplars stored in memory for all series.
  2935. ## If not set, Prometheus uses its default value.
  2936. ## A value of zero or less than zero disables the storage.
  2937. # maxSize: 100000
  2938. # EnableFeatures API enables access to Prometheus disabled features.
  2939. # ref: https://prometheus.io/docs/prometheus/latest/disabled_features/
  2940. enableFeatures: []
  2941. # - exemplar-storage
  2942. ## Image of Prometheus.
  2943. ##
  2944. image:
  2945. registry: quay.io
  2946. repository: prometheus/prometheus
  2947. tag: v2.54.1
  2948. sha: ""
  2949. ## Tolerations for use with node taints
  2950. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  2951. ##
  2952. tolerations: []
  2953. # - key: "key"
  2954. # operator: "Equal"
  2955. # value: "value"
  2956. # effect: "NoSchedule"
  2957. ## If specified, the pod's topology spread constraints.
  2958. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  2959. ##
  2960. topologySpreadConstraints: []
  2961. # - maxSkew: 1
  2962. # topologyKey: topology.kubernetes.io/zone
  2963. # whenUnsatisfiable: DoNotSchedule
  2964. # labelSelector:
  2965. # matchLabels:
  2966. # app: prometheus
  2967. ## Alertmanagers to which alerts will be sent
  2968. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerendpoints
  2969. ##
  2970. ## Default configuration will connect to the alertmanager deployed as part of this release
  2971. ##
  2972. alertingEndpoints: []
  2973. # - name: ""
  2974. # namespace: ""
  2975. # port: http
  2976. # scheme: http
  2977. # pathPrefix: ""
  2978. # tlsConfig: {}
  2979. # bearerTokenFile: ""
  2980. # apiVersion: v2
  2981. ## External labels to add to any time series or alerts when communicating with external systems
  2982. ##
  2983. externalLabels: {}
  2984. ## enable --web.enable-remote-write-receiver flag on prometheus-server
  2985. ##
  2986. enableRemoteWriteReceiver: false
  2987. ## Name of the external label used to denote replica name
  2988. ##
  2989. replicaExternalLabelName: ""
  2990. ## If true, the Operator won't add the external label used to denote replica name
  2991. ##
  2992. replicaExternalLabelNameClear: false
  2993. ## Name of the external label used to denote Prometheus instance name
  2994. ##
  2995. prometheusExternalLabelName: ""
  2996. ## If true, the Operator won't add the external label used to denote Prometheus instance name
  2997. ##
  2998. prometheusExternalLabelNameClear: false
  2999. ## External URL at which Prometheus will be reachable.
  3000. ##
  3001. externalUrl: ""
  3002. ## Define which Nodes the Pods are scheduled on.
  3003. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  3004. ##
  3005. nodeSelector: {}
  3006. ## Secrets is a list of Secrets in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods.
  3007. ## The Secrets are mounted into /etc/prometheus/secrets/. Secrets changes after initial creation of a Prometheus object are not
  3008. ## reflected in the running Pods. To change the secrets mounted into the Prometheus Pods, the object must be deleted and recreated
  3009. ## with the new list of secrets.
  3010. ##
  3011. secrets: []
  3012. ## ConfigMaps is a list of ConfigMaps in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods.
  3013. ## The ConfigMaps are mounted into /etc/prometheus/configmaps/.
  3014. ##
  3015. configMaps: []
  3016. ## QuerySpec defines the query command line flags when starting Prometheus.
  3017. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#queryspec
  3018. ##
  3019. query: {}
  3020. ## If nil, select own namespace. Namespaces to be selected for PrometheusRules discovery.
  3021. ruleNamespaceSelector: {}
  3022. ## Example which selects PrometheusRules in namespaces with label "prometheus" set to "somelabel"
  3023. # ruleNamespaceSelector:
  3024. # matchLabels:
  3025. # prometheus: somelabel
  3026. ## If true, a nil or {} value for prometheus.prometheusSpec.ruleSelector will cause the
  3027. ## prometheus resource to be created with selectors based on values in the helm deployment,
  3028. ## which will also match the PrometheusRule resources created
  3029. ##
  3030. ruleSelectorNilUsesHelmValues: true
  3031. ## PrometheusRules to be selected for target discovery.
  3032. ## If {}, select all PrometheusRules
  3033. ##
  3034. ruleSelector: {}
  3035. ## Example which select all PrometheusRules resources
  3036. ## with label "prometheus" with values any of "example-rules" or "example-rules-2"
  3037. # ruleSelector:
  3038. # matchExpressions:
  3039. # - key: prometheus
  3040. # operator: In
  3041. # values:
  3042. # - example-rules
  3043. # - example-rules-2
  3044. #
  3045. ## Example which select all PrometheusRules resources with label "role" set to "example-rules"
  3046. # ruleSelector:
  3047. # matchLabels:
  3048. # role: example-rules
  3049. ## If true, a nil or {} value for prometheus.prometheusSpec.serviceMonitorSelector will cause the
  3050. ## prometheus resource to be created with selectors based on values in the helm deployment,
  3051. ## which will also match the servicemonitors created
  3052. ##
  3053. serviceMonitorSelectorNilUsesHelmValues: true
  3054. ## ServiceMonitors to be selected for target discovery.
  3055. ## If {}, select all ServiceMonitors
  3056. ##
  3057. serviceMonitorSelector: {}
  3058. ## Example which selects ServiceMonitors with label "prometheus" set to "somelabel"
  3059. # serviceMonitorSelector:
  3060. # matchLabels:
  3061. # prometheus: somelabel
  3062. ## Namespaces to be selected for ServiceMonitor discovery.
  3063. ##
  3064. serviceMonitorNamespaceSelector: {}
  3065. ## Example which selects ServiceMonitors in namespaces with label "prometheus" set to "somelabel"
  3066. # serviceMonitorNamespaceSelector:
  3067. # matchLabels:
  3068. # prometheus: somelabel
  3069. ## If true, a nil or {} value for prometheus.prometheusSpec.podMonitorSelector will cause the
  3070. ## prometheus resource to be created with selectors based on values in the helm deployment,
  3071. ## which will also match the podmonitors created
  3072. ##
  3073. podMonitorSelectorNilUsesHelmValues: true
  3074. ## PodMonitors to be selected for target discovery.
  3075. ## If {}, select all PodMonitors
  3076. ##
  3077. podMonitorSelector: {}
  3078. ## Example which selects PodMonitors with label "prometheus" set to "somelabel"
  3079. # podMonitorSelector:
  3080. # matchLabels:
  3081. # prometheus: somelabel
  3082. ## If nil, select own namespace. Namespaces to be selected for PodMonitor discovery.
  3083. podMonitorNamespaceSelector: {}
  3084. ## Example which selects PodMonitor in namespaces with label "prometheus" set to "somelabel"
  3085. # podMonitorNamespaceSelector:
  3086. # matchLabels:
  3087. # prometheus: somelabel
  3088. ## If true, a nil or {} value for prometheus.prometheusSpec.probeSelector will cause the
  3089. ## prometheus resource to be created with selectors based on values in the helm deployment,
  3090. ## which will also match the probes created
  3091. ##
  3092. probeSelectorNilUsesHelmValues: true
  3093. ## Probes to be selected for target discovery.
  3094. ## If {}, select all Probes
  3095. ##
  3096. probeSelector: {}
  3097. ## Example which selects Probes with label "prometheus" set to "somelabel"
  3098. # probeSelector:
  3099. # matchLabels:
  3100. # prometheus: somelabel
  3101. ## If nil, select own namespace. Namespaces to be selected for Probe discovery.
  3102. probeNamespaceSelector: {}
  3103. ## Example which selects Probe in namespaces with label "prometheus" set to "somelabel"
  3104. # probeNamespaceSelector:
  3105. # matchLabels:
  3106. # prometheus: somelabel
  3107. ## If true, a nil or {} value for prometheus.prometheusSpec.scrapeConfigSelector will cause the
  3108. ## prometheus resource to be created with selectors based on values in the helm deployment,
  3109. ## which will also match the scrapeConfigs created
  3110. ##
  3111. scrapeConfigSelectorNilUsesHelmValues: true
  3112. ## scrapeConfigs to be selected for target discovery.
  3113. ## If {}, select all scrapeConfigs
  3114. ##
  3115. scrapeConfigSelector: {}
  3116. ## Example which selects scrapeConfigs with label "prometheus" set to "somelabel"
  3117. # scrapeConfigSelector:
  3118. # matchLabels:
  3119. # prometheus: somelabel
  3120. ## If nil, select own namespace. Namespaces to be selected for scrapeConfig discovery.
  3121. scrapeConfigNamespaceSelector: {}
  3122. ## Example which selects scrapeConfig in namespaces with label "prometheus" set to "somelabel"
  3123. # scrapeConfigNamespaceSelector:
  3124. # matchLabels:
  3125. # prometheus: somelabel
  3126. ## How long to retain metrics
  3127. ##
  3128. retention: 10d
  3129. ## Maximum size of metrics
  3130. ##
  3131. retentionSize: ""
  3132. ## Allow out-of-order/out-of-bounds samples ingested into Prometheus for a specified duration
  3133. ## See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tsdb
  3134. tsdb:
  3135. outOfOrderTimeWindow: 0s
  3136. ## Enable compression of the write-ahead log using Snappy.
  3137. ##
  3138. walCompression: true
  3139. ## If true, the Operator won't process any Prometheus configuration changes
  3140. ##
  3141. paused: false
  3142. ## Number of replicas of each shard to deploy for a Prometheus deployment.
  3143. ## Number of replicas multiplied by shards is the total number of Pods created.
  3144. ##
  3145. replicas: 1
  3146. ## EXPERIMENTAL: Number of shards to distribute targets onto.
  3147. ## Number of replicas multiplied by shards is the total number of Pods created.
  3148. ## Note that scaling down shards will not reshard data onto remaining instances, it must be manually moved.
  3149. ## Increasing shards will not reshard data either but it will continue to be available from the same instances.
  3150. ## To query globally use Thanos sidecar and Thanos querier or remote write data to a central location.
  3151. ## Sharding is done on the content of the `__address__` target meta-label.
  3152. ##
  3153. shards: 1
  3154. ## Log level for Prometheus be configured in
  3155. ##
  3156. logLevel: info
  3157. ## Log format for Prometheus be configured in
  3158. ##
  3159. logFormat: logfmt
  3160. ## Prefix used to register routes, overriding externalUrl route.
  3161. ## Useful for proxies that rewrite URLs.
  3162. ##
  3163. routePrefix: /
  3164. ## Standard object's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
  3165. ## Metadata Labels and Annotations gets propagated to the prometheus pods.
  3166. ##
  3167. podMetadata: {}
  3168. # labels:
  3169. # app: prometheus
  3170. # k8s-app: prometheus
  3171. ## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
  3172. ## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
  3173. ## The value "hard" means that the scheduler is *required* to not schedule two replica pods onto the same node.
  3174. ## The value "" will disable pod anti-affinity so that no anti-affinity rules will be configured.
  3175. podAntiAffinity: ""
  3176. ## If anti-affinity is enabled sets the topologyKey to use for anti-affinity.
  3177. ## This can be changed to, for example, failure-domain.beta.kubernetes.io/zone
  3178. ##
  3179. podAntiAffinityTopologyKey: kubernetes.io/hostname
  3180. ## Assign custom affinity rules to the prometheus instance
  3181. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  3182. ##
  3183. affinity: {}
  3184. # nodeAffinity:
  3185. # requiredDuringSchedulingIgnoredDuringExecution:
  3186. # nodeSelectorTerms:
  3187. # - matchExpressions:
  3188. # - key: kubernetes.io/e2e-az-name
  3189. # operator: In
  3190. # values:
  3191. # - e2e-az1
  3192. # - e2e-az2
  3193. ## The remote_read spec configuration for Prometheus.
  3194. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#remotereadspec
  3195. remoteRead: []
  3196. # - url: http://remote1/read
  3197. ## additionalRemoteRead is appended to remoteRead
  3198. additionalRemoteRead: []
  3199. ## The remote_write spec configuration for Prometheus.
  3200. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#remotewritespec
  3201. remoteWrite: []
  3202. # - url: http://remote1/push
  3203. ## additionalRemoteWrite is appended to remoteWrite
  3204. additionalRemoteWrite: []
  3205. ## Enable/Disable Grafana dashboards provisioning for prometheus remote write feature
  3206. remoteWriteDashboards: false
  3207. ## Resource limits & requests
  3208. ##
  3209. resources: {}
  3210. # requests:
  3211. # memory: 400Mi
  3212. ## Prometheus StorageSpec for persistent data
  3213. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/storage.md
  3214. ##
  3215. storageSpec:
  3216. ## Using PersistentVolumeClaim
  3217. ##
  3218. volumeClaimTemplate:
  3219. spec:
  3220. storageClassName: nfs-vrt
  3221. accessModes: ["ReadWriteMany"]
  3222. resources:
  3223. requests:
  3224. storage: 50Gi
  3225. ## Using tmpfs volume
  3226. ##
  3227. # emptyDir:
  3228. # medium: Memory
  3229. # Additional volumes on the output StatefulSet definition.
  3230. volumes: []
  3231. # Additional VolumeMounts on the output StatefulSet definition.
  3232. volumeMounts: []
  3233. ## AdditionalScrapeConfigs allows specifying additional Prometheus scrape configurations. Scrape configurations
  3234. ## are appended to the configurations generated by the Prometheus Operator. Job configurations must have the form
  3235. ## as specified in the official Prometheus documentation:
  3236. ## https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config. As scrape configs are
  3237. ## appended, the user is responsible to make sure it is valid. Note that using this feature may expose the possibility
  3238. ## to break upgrades of Prometheus. It is advised to review Prometheus release notes to ensure that no incompatible
  3239. ## scrape configs are going to break Prometheus after the upgrade.
  3240. ## AdditionalScrapeConfigs can be defined as a list or as a templated string.
  3241. ##
  3242. ## The scrape configuration example below will find master nodes, provided they have the name .*mst.*, relabel the
  3243. ## port to 2379 and allow etcd scraping provided it is running on all Kubernetes master nodes
  3244. ##
  3245. additionalScrapeConfigs: []
  3246. # - job_name: kube-etcd
  3247. # kubernetes_sd_configs:
  3248. # - role: node
  3249. # scheme: https
  3250. # tls_config:
  3251. # ca_file: /etc/prometheus/secrets/etcd-client-cert/etcd-ca
  3252. # cert_file: /etc/prometheus/secrets/etcd-client-cert/etcd-client
  3253. # key_file: /etc/prometheus/secrets/etcd-client-cert/etcd-client-key
  3254. # relabel_configs:
  3255. # - action: labelmap
  3256. # regex: __meta_kubernetes_node_label_(.+)
  3257. # - source_labels: [__address__]
  3258. # action: replace
  3259. # targetLabel: __address__
  3260. # regex: ([^:;]+):(\d+)
  3261. # replacement: ${1}:2379
  3262. # - source_labels: [__meta_kubernetes_node_name]
  3263. # action: keep
  3264. # regex: .*mst.*
  3265. # - source_labels: [__meta_kubernetes_node_name]
  3266. # action: replace
  3267. # targetLabel: node
  3268. # regex: (.*)
  3269. # replacement: ${1}
  3270. # metric_relabel_configs:
  3271. # - regex: (kubernetes_io_hostname|failure_domain_beta_kubernetes_io_region|beta_kubernetes_io_os|beta_kubernetes_io_arch|beta_kubernetes_io_instance_type|failure_domain_beta_kubernetes_io_zone)
  3272. # action: labeldrop
  3273. #
  3274. ## If scrape config contains a repetitive section, you may want to use a template.
  3275. ## In the following example, you can see how to define `gce_sd_configs` for multiple zones
  3276. # additionalScrapeConfigs: |
  3277. # - job_name: "node-exporter"
  3278. # gce_sd_configs:
  3279. # {{range $zone := .Values.gcp_zones}}
  3280. # - project: "project1"
  3281. # zone: "{{$zone}}"
  3282. # port: 9100
  3283. # {{end}}
  3284. # relabel_configs:
  3285. # ...
  3286. ## If additional scrape configurations are already deployed in a single secret file you can use this section.
  3287. ## Expected values are the secret name and key
  3288. ## Cannot be used with additionalScrapeConfigs
  3289. additionalScrapeConfigsSecret: {}
  3290. # enabled: false
  3291. # name:
  3292. # key:
  3293. ## additionalPrometheusSecretsAnnotations allows to add annotations to the kubernetes secret. This can be useful
  3294. ## when deploying via spinnaker to disable versioning on the secret, strategy.spinnaker.io/versioned: 'false'
  3295. additionalPrometheusSecretsAnnotations: {}
  3296. ## AdditionalAlertManagerConfigs allows for manual configuration of alertmanager jobs in the form as specified
  3297. ## in the official Prometheus documentation https://prometheus.io/docs/prometheus/latest/configuration/configuration/#<alertmanager_config>.
  3298. ## AlertManager configurations specified are appended to the configurations generated by the Prometheus Operator.
  3299. ## As AlertManager configs are appended, the user is responsible to make sure it is valid. Note that using this
  3300. ## feature may expose the possibility to break upgrades of Prometheus. It is advised to review Prometheus release
  3301. ## notes to ensure that no incompatible AlertManager configs are going to break Prometheus after the upgrade.
  3302. ##
  3303. additionalAlertManagerConfigs: []
  3304. # - consul_sd_configs:
  3305. # - server: consul.dev.test:8500
  3306. # scheme: http
  3307. # datacenter: dev
  3308. # tag_separator: ','
  3309. # services:
  3310. # - metrics-prometheus-alertmanager
  3311. ## If additional alertmanager configurations are already deployed in a single secret, or you want to manage
  3312. ## them separately from the helm deployment, you can use this section.
  3313. ## Expected values are the secret name and key
  3314. ## Cannot be used with additionalAlertManagerConfigs
  3315. additionalAlertManagerConfigsSecret: {}
  3316. # name:
  3317. # key:
  3318. # optional: false
  3319. ## AdditionalAlertRelabelConfigs allows specifying Prometheus alert relabel configurations. Alert relabel configurations specified are appended
  3320. ## to the configurations generated by the Prometheus Operator. Alert relabel configurations specified must have the form as specified in the
  3321. ## official Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs.
  3322. ## As alert relabel configs are appended, the user is responsible to make sure it is valid. Note that using this feature may expose the
  3323. ## possibility to break upgrades of Prometheus. It is advised to review Prometheus release notes to ensure that no incompatible alert relabel
  3324. ## configs are going to break Prometheus after the upgrade.
  3325. ##
  3326. additionalAlertRelabelConfigs: []
  3327. # - separator: ;
  3328. # regex: prometheus_replica
  3329. # replacement: $1
  3330. # action: labeldrop
  3331. ## If additional alert relabel configurations are already deployed in a single secret, or you want to manage
  3332. ## them separately from the helm deployment, you can use this section.
  3333. ## Expected values are the secret name and key
  3334. ## Cannot be used with additionalAlertRelabelConfigs
  3335. additionalAlertRelabelConfigsSecret: {}
  3336. # name:
  3337. # key:
  3338. ## SecurityContext holds pod-level security attributes and common container settings.
  3339. ## This defaults to non root user with uid 1000 and gid 2000.
  3340. ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md
  3341. ##
  3342. securityContext:
  3343. runAsGroup: 2000
  3344. runAsNonRoot: true
  3345. runAsUser: 1000
  3346. fsGroup: 2000
  3347. seccompProfile:
  3348. type: RuntimeDefault
  3349. ## Priority class assigned to the Pods
  3350. ##
  3351. priorityClassName: ""
  3352. ## Thanos configuration allows configuring various aspects of a Prometheus server in a Thanos environment.
  3353. ## This section is experimental, it may change significantly without deprecation notice in any release.
  3354. ## This is experimental and may change significantly without backward compatibility in any release.
  3355. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosspec
  3356. ##
  3357. thanos: {}
  3358. # secretProviderClass:
  3359. # provider: gcp
  3360. # parameters:
  3361. # secrets: |
  3362. # - resourceName: "projects/$PROJECT_ID/secrets/testsecret/versions/latest"
  3363. # fileName: "objstore.yaml"
  3364. ## ObjectStorageConfig configures object storage in Thanos.
  3365. # objectStorageConfig:
  3366. # # use existing secret, if configured, objectStorageConfig.secret will not be used
  3367. # existingSecret: {}
  3368. # # name: ""
  3369. # # key: ""
  3370. # # will render objectStorageConfig secret data and configure it to be used by Thanos custom resource,
  3371. # # ignored when prometheusspec.thanos.objectStorageConfig.existingSecret is set
  3372. # # https://thanos.io/tip/thanos/storage.md/#s3
  3373. # secret: {}
  3374. # # type: S3
  3375. # # config:
  3376. # # bucket: ""
  3377. # # endpoint: ""
  3378. # # region: ""
  3379. # # access_key: ""
  3380. # # secret_key: ""
  3381. ## Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to a Prometheus pod.
  3382. ## if using proxy extraContainer update targetPort with proxy container port
  3383. containers: []
  3384. # containers:
  3385. # - name: oauth-proxy
  3386. # image: quay.io/oauth2-proxy/oauth2-proxy:v7.5.1
  3387. # args:
  3388. # - --upstream=http://127.0.0.1:9090
  3389. # - --http-address=0.0.0.0:8081
  3390. # - --metrics-address=0.0.0.0:8082
  3391. # - ...
  3392. # ports:
  3393. # - containerPort: 8081
  3394. # name: oauth-proxy
  3395. # protocol: TCP
  3396. # - containerPort: 8082
  3397. # name: oauth-metrics
  3398. # protocol: TCP
  3399. # resources: {}
  3400. ## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
  3401. ## (permissions, dir tree) on mounted volumes before starting prometheus
  3402. initContainers: []
  3403. ## PortName to use for Prometheus.
  3404. ##
  3405. portName: "http-web"
  3406. ## ArbitraryFSAccessThroughSMs configures whether configuration based on a service monitor can access arbitrary files
  3407. ## on the file system of the Prometheus container e.g. bearer token files.
  3408. arbitraryFSAccessThroughSMs: false
  3409. ## OverrideHonorLabels if set to true overrides all user configured honor_labels. If HonorLabels is set in ServiceMonitor
  3410. ## or PodMonitor to true, this overrides honor_labels to false.
  3411. overrideHonorLabels: false
  3412. ## OverrideHonorTimestamps allows to globally enforce honoring timestamps in all scrape configs.
  3413. overrideHonorTimestamps: false
  3414. ## When ignoreNamespaceSelectors is set to true, namespaceSelector from all PodMonitor, ServiceMonitor and Probe objects will be ignored,
  3415. ## they will only discover targets within the namespace of the PodMonitor, ServiceMonitor and Probe object,
  3416. ## and servicemonitors will be installed in the default service namespace.
  3417. ## Defaults to false.
  3418. ignoreNamespaceSelectors: false
  3419. ## EnforcedNamespaceLabel enforces adding a namespace label of origin for each alert and metric that is user created.
  3420. ## The label value will always be the namespace of the object that is being created.
  3421. ## Disabled by default
  3422. enforcedNamespaceLabel: ""
  3423. ## PrometheusRulesExcludedFromEnforce - list of prometheus rules to be excluded from enforcing of adding namespace labels.
  3424. ## Works only if enforcedNamespaceLabel set to true. Make sure both ruleNamespace and ruleName are set for each pair
  3425. ## Deprecated, use `excludedFromEnforcement` instead
  3426. prometheusRulesExcludedFromEnforce: []
  3427. ## ExcludedFromEnforcement - list of object references to PodMonitor, ServiceMonitor, Probe and PrometheusRule objects
  3428. ## to be excluded from enforcing a namespace label of origin.
  3429. ## Works only if enforcedNamespaceLabel set to true.
  3430. ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#objectreference
  3431. excludedFromEnforcement: []
  3432. ## QueryLogFile specifies the file to which PromQL queries are logged. Note that this location must be writable,
  3433. ## and can be persisted using an attached volume. Alternatively, the location can be set to a stdout location such
  3434. ## as /dev/stdout to log querie information to the default Prometheus log stream. This is only available in versions
  3435. ## of Prometheus >= 2.16.0. For more details, see the Prometheus docs (https://prometheus.io/docs/guides/query-log/)
  3436. queryLogFile: false
  3437. # Use to set global sample_limit for Prometheus. This act as default SampleLimit for ServiceMonitor or/and PodMonitor.
  3438. # Set to 'false' to disable global sample_limit. or set to a number to override the default value.
  3439. sampleLimit: false
  3440. # EnforcedKeepDroppedTargetsLimit defines on the number of targets dropped by relabeling that will be kept in memory.
  3441. # The value overrides any spec.keepDroppedTargets set by ServiceMonitor, PodMonitor, Probe objects unless spec.keepDroppedTargets
  3442. # is greater than zero and less than spec.enforcedKeepDroppedTargets. 0 means no limit.
  3443. enforcedKeepDroppedTargets: 0
  3444. ## EnforcedSampleLimit defines global limit on number of scraped samples that will be accepted. This overrides any SampleLimit
  3445. ## set per ServiceMonitor or/and PodMonitor. It is meant to be used by admins to enforce the SampleLimit to keep overall
  3446. ## number of samples/series under the desired limit. Note that if SampleLimit is lower that value will be taken instead.
  3447. enforcedSampleLimit: false
  3448. ## EnforcedTargetLimit defines a global limit on the number of scraped targets. This overrides any TargetLimit set
  3449. ## per ServiceMonitor or/and PodMonitor. It is meant to be used by admins to enforce the TargetLimit to keep the overall
  3450. ## number of targets under the desired limit. Note that if TargetLimit is lower, that value will be taken instead, except
  3451. ## if either value is zero, in which case the non-zero value will be used. If both values are zero, no limit is enforced.
  3452. enforcedTargetLimit: false
  3453. ## Per-scrape limit on number of labels that will be accepted for a sample. If more than this number of labels are present
  3454. ## post metric-relabeling, the entire scrape will be treated as failed. 0 means no limit. Only valid in Prometheus versions
  3455. ## 2.27.0 and newer.
  3456. enforcedLabelLimit: false
  3457. ## Per-scrape limit on length of labels name that will be accepted for a sample. If a label name is longer than this number
  3458. ## post metric-relabeling, the entire scrape will be treated as failed. 0 means no limit. Only valid in Prometheus versions
  3459. ## 2.27.0 and newer.
  3460. enforcedLabelNameLengthLimit: false
  3461. ## Per-scrape limit on length of labels value that will be accepted for a sample. If a label value is longer than this
  3462. ## number post metric-relabeling, the entire scrape will be treated as failed. 0 means no limit. Only valid in Prometheus
  3463. ## versions 2.27.0 and newer.
  3464. enforcedLabelValueLengthLimit: false
  3465. ## AllowOverlappingBlocks enables vertical compaction and vertical query merge in Prometheus. This is still experimental
  3466. ## in Prometheus so it may change in any upcoming release.
  3467. allowOverlappingBlocks: false
  3468. ## Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to
  3469. ## be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
  3470. minReadySeconds: 0
  3471. # Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
  3472. # because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
  3473. # Use the host's network namespace if true. Make sure to understand the security implications if you want to enable it.
  3474. # When hostNetwork is enabled, this will set dnsPolicy to ClusterFirstWithHostNet automatically.
  3475. hostNetwork: false
  3476. # HostAlias holds the mapping between IP and hostnames that will be injected
  3477. # as an entry in the pod’s hosts file.
  3478. hostAliases: []
  3479. # - ip: 10.10.0.100
  3480. # hostnames:
  3481. # - a1.app.local
  3482. # - b1.app.local
  3483. ## TracingConfig configures tracing in Prometheus.
  3484. ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#prometheustracingconfig
  3485. tracingConfig: {}
  3486. ## Defines the service discovery role used to discover targets from ServiceMonitor objects and Alertmanager endpoints.
  3487. ## If set, the value should be either “Endpoints” or “EndpointSlice”. If unset, the operator assumes the “Endpoints” role.
  3488. serviceDiscoveryRole: ""
  3489. ## Additional configuration which is not covered by the properties above. (passed through tpl)
  3490. additionalConfig: {}
  3491. ## Additional configuration which is not covered by the properties above.
  3492. ## Useful, if you need advanced templating inside alertmanagerSpec.
  3493. ## Otherwise, use prometheus.prometheusSpec.additionalConfig (passed through tpl)
  3494. additionalConfigString: ""
  3495. ## Defines the maximum time that the `prometheus` container's startup probe
  3496. ## will wait before being considered failed. The startup probe will return
  3497. ## success after the WAL replay is complete. If set, the value should be
  3498. ## greater than 60 (seconds). Otherwise it will be equal to 900 seconds (15
  3499. ## minutes).
  3500. maximumStartupDurationSeconds: 0
  3501. additionalRulesForClusterRole: []
  3502. # - apiGroups: [ "" ]
  3503. # resources:
  3504. # - nodes/proxy
  3505. # verbs: [ "get", "list", "watch" ]
  3506. additionalServiceMonitors: []
  3507. ## Name of the ServiceMonitor to create
  3508. ##
  3509. # - name: ""
  3510. ## Additional labels to set used for the ServiceMonitorSelector. Together with standard labels from
  3511. ## the chart
  3512. ##
  3513. # additionalLabels: {}
  3514. ## Service label for use in assembling a job name of the form <label value>-<port>
  3515. ## If no label is specified, the service name is used.
  3516. ##
  3517. # jobLabel: ""
  3518. ## labels to transfer from the kubernetes service to the target
  3519. ##
  3520. # targetLabels: []
  3521. ## labels to transfer from the kubernetes pods to the target
  3522. ##
  3523. # podTargetLabels: []
  3524. ## Label selector for services to which this ServiceMonitor applies
  3525. ##
  3526. # selector: {}
  3527. ## Namespaces from which services are selected
  3528. ##
  3529. # namespaceSelector:
  3530. ## Match any namespace
  3531. ##
  3532. # any: false
  3533. ## Explicit list of namespace names to select
  3534. ##
  3535. # matchNames: []
  3536. ## Endpoints of the selected service to be monitored
  3537. ##
  3538. # endpoints: []
  3539. ## Name of the endpoint's service port
  3540. ## Mutually exclusive with targetPort
  3541. # - port: ""
  3542. ## Name or number of the endpoint's target port
  3543. ## Mutually exclusive with port
  3544. # - targetPort: ""
  3545. ## File containing bearer token to be used when scraping targets
  3546. ##
  3547. # bearerTokenFile: ""
  3548. ## Interval at which metrics should be scraped
  3549. ##
  3550. # interval: 30s
  3551. ## HTTP path to scrape for metrics
  3552. ##
  3553. # path: /metrics
  3554. ## HTTP scheme to use for scraping
  3555. ##
  3556. # scheme: http
  3557. ## TLS configuration to use when scraping the endpoint
  3558. ##
  3559. # tlsConfig:
  3560. ## Path to the CA file
  3561. ##
  3562. # caFile: ""
  3563. ## Path to client certificate file
  3564. ##
  3565. # certFile: ""
  3566. ## Skip certificate verification
  3567. ##
  3568. # insecureSkipVerify: false
  3569. ## Path to client key file
  3570. ##
  3571. # keyFile: ""
  3572. ## Server name used to verify host name
  3573. ##
  3574. # serverName: ""
  3575. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  3576. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  3577. ##
  3578. # metricRelabelings: []
  3579. # - action: keep
  3580. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  3581. # sourceLabels: [__name__]
  3582. ## RelabelConfigs to apply to samples before scraping
  3583. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  3584. ##
  3585. # relabelings: []
  3586. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  3587. # separator: ;
  3588. # regex: ^(.*)$
  3589. # targetLabel: nodename
  3590. # replacement: $1
  3591. # action: replace
  3592. additionalPodMonitors: []
  3593. ## Name of the PodMonitor to create
  3594. ##
  3595. # - name: ""
  3596. ## Additional labels to set used for the PodMonitorSelector. Together with standard labels from
  3597. ## the chart
  3598. ##
  3599. # additionalLabels: {}
  3600. ## Pod label for use in assembling a job name of the form <label value>-<port>
  3601. ## If no label is specified, the pod endpoint name is used.
  3602. ##
  3603. # jobLabel: ""
  3604. ## Label selector for pods to which this PodMonitor applies
  3605. ##
  3606. # selector: {}
  3607. ## PodTargetLabels transfers labels on the Kubernetes Pod onto the target.
  3608. ##
  3609. # podTargetLabels: {}
  3610. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  3611. ##
  3612. # sampleLimit: 0
  3613. ## Namespaces from which pods are selected
  3614. ##
  3615. # namespaceSelector:
  3616. ## Match any namespace
  3617. ##
  3618. # any: false
  3619. ## Explicit list of namespace names to select
  3620. ##
  3621. # matchNames: []
  3622. ## Endpoints of the selected pods to be monitored
  3623. ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#podmetricsendpoint
  3624. ##
  3625. # podMetricsEndpoints: []
  3626. ## Configuration for thanosRuler
  3627. ## ref: https://thanos.io/tip/components/rule.md/
  3628. ##
  3629. thanosRuler:
  3630. ## Deploy thanosRuler
  3631. ##
  3632. enabled: false
  3633. ## Annotations for ThanosRuler
  3634. ##
  3635. annotations: {}
  3636. ## Service account for ThanosRuler to use.
  3637. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  3638. ##
  3639. serviceAccount:
  3640. create: true
  3641. name: ""
  3642. annotations: {}
  3643. ## Configure pod disruption budgets for ThanosRuler
  3644. ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
  3645. ##
  3646. podDisruptionBudget:
  3647. enabled: false
  3648. minAvailable: 1
  3649. maxUnavailable: ""
  3650. ingress:
  3651. enabled: false
  3652. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  3653. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  3654. # ingressClassName: nginx
  3655. annotations: {}
  3656. labels: {}
  3657. ## Hosts must be provided if Ingress is enabled.
  3658. ##
  3659. hosts: []
  3660. # - thanosruler.domain.com
  3661. ## Paths to use for ingress rules - one path should match the thanosruler.routePrefix
  3662. ##
  3663. paths: []
  3664. # - /
  3665. ## For Kubernetes >= 1.18 you should specify the pathType (determines how Ingress paths should be matched)
  3666. ## See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#better-path-matching-with-path-types
  3667. # pathType: ImplementationSpecific
  3668. ## TLS configuration for ThanosRuler Ingress
  3669. ## Secret must be manually created in the namespace
  3670. ##
  3671. tls: []
  3672. # - secretName: thanosruler-general-tls
  3673. # hosts:
  3674. # - thanosruler.example.com
  3675. ## Configuration for ThanosRuler service
  3676. ##
  3677. service:
  3678. annotations: {}
  3679. labels: {}
  3680. clusterIP: ""
  3681. ipDualStack:
  3682. enabled: false
  3683. ipFamilies: ["IPv6", "IPv4"]
  3684. ipFamilyPolicy: "PreferDualStack"
  3685. ## Port for ThanosRuler Service to listen on
  3686. ##
  3687. port: 10902
  3688. ## To be used with a proxy extraContainer port
  3689. ##
  3690. targetPort: 10902
  3691. ## Port to expose on each node
  3692. ## Only used if service.type is 'NodePort'
  3693. ##
  3694. nodePort: 30905
  3695. ## List of IP addresses at which the Prometheus server service is available
  3696. ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
  3697. ##
  3698. ## Additional ports to open for ThanosRuler service
  3699. additionalPorts: []
  3700. externalIPs: []
  3701. loadBalancerIP: ""
  3702. loadBalancerSourceRanges: []
  3703. ## Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints
  3704. ##
  3705. externalTrafficPolicy: Cluster
  3706. ## Service type
  3707. ##
  3708. type: ClusterIP
  3709. ## Configuration for creating a ServiceMonitor for the ThanosRuler service
  3710. ##
  3711. serviceMonitor:
  3712. ## If true, create a serviceMonitor for thanosRuler
  3713. ##
  3714. selfMonitor: true
  3715. ## Scrape interval. If not set, the Prometheus default scrape interval is used.
  3716. ##
  3717. interval: ""
  3718. ## Additional labels
  3719. ##
  3720. additionalLabels: {}
  3721. ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
  3722. ##
  3723. sampleLimit: 0
  3724. ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
  3725. ##
  3726. targetLimit: 0
  3727. ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  3728. ##
  3729. labelLimit: 0
  3730. ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  3731. ##
  3732. labelNameLengthLimit: 0
  3733. ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
  3734. ##
  3735. labelValueLengthLimit: 0
  3736. ## proxyUrl: URL of a proxy that should be used for scraping.
  3737. ##
  3738. proxyUrl: ""
  3739. ## scheme: HTTP scheme to use for scraping. Can be used with `tlsConfig` for example if using istio mTLS.
  3740. scheme: ""
  3741. ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS.
  3742. ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig
  3743. tlsConfig: {}
  3744. bearerTokenFile:
  3745. ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion.
  3746. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  3747. ##
  3748. metricRelabelings: []
  3749. # - action: keep
  3750. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  3751. # sourceLabels: [__name__]
  3752. ## RelabelConfigs to apply to samples before scraping
  3753. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig
  3754. ##
  3755. relabelings: []
  3756. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  3757. # separator: ;
  3758. # regex: ^(.*)$
  3759. # targetLabel: nodename
  3760. # replacement: $1
  3761. # action: replace
  3762. ## Additional Endpoints
  3763. ##
  3764. additionalEndpoints: []
  3765. # - port: oauth-metrics
  3766. # path: /metrics
  3767. ## Settings affecting thanosRulerpec
  3768. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosrulerspec
  3769. ##
  3770. thanosRulerSpec:
  3771. ## Standard object's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
  3772. ## Metadata Labels and Annotations gets propagated to the ThanosRuler pods.
  3773. ##
  3774. podMetadata: {}
  3775. ## Image of ThanosRuler
  3776. ##
  3777. image:
  3778. registry: quay.io
  3779. repository: thanos/thanos
  3780. tag: v0.36.1
  3781. sha: ""
  3782. ## Namespaces to be selected for PrometheusRules discovery.
  3783. ## If nil, select own namespace. Namespaces to be selected for ServiceMonitor discovery.
  3784. ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#namespaceselector for usage
  3785. ##
  3786. ruleNamespaceSelector: {}
  3787. ## If true, a nil or {} value for thanosRuler.thanosRulerSpec.ruleSelector will cause the
  3788. ## prometheus resource to be created with selectors based on values in the helm deployment,
  3789. ## which will also match the PrometheusRule resources created
  3790. ##
  3791. ruleSelectorNilUsesHelmValues: true
  3792. ## PrometheusRules to be selected for target discovery.
  3793. ## If {}, select all PrometheusRules
  3794. ##
  3795. ruleSelector: {}
  3796. ## Example which select all PrometheusRules resources
  3797. ## with label "prometheus" with values any of "example-rules" or "example-rules-2"
  3798. # ruleSelector:
  3799. # matchExpressions:
  3800. # - key: prometheus
  3801. # operator: In
  3802. # values:
  3803. # - example-rules
  3804. # - example-rules-2
  3805. #
  3806. ## Example which select all PrometheusRules resources with label "role" set to "example-rules"
  3807. # ruleSelector:
  3808. # matchLabels:
  3809. # role: example-rules
  3810. ## Define Log Format
  3811. # Use logfmt (default) or json logging
  3812. logFormat: logfmt
  3813. ## Log level for ThanosRuler to be configured with.
  3814. ##
  3815. logLevel: info
  3816. ## Size is the expected size of the thanosRuler cluster. The controller will eventually make the size of the
  3817. ## running cluster equal to the expected size.
  3818. replicas: 1
  3819. ## Time duration ThanosRuler shall retain data for. Default is '24h', and must match the regular expression
  3820. ## [0-9]+(ms|s|m|h) (milliseconds seconds minutes hours).
  3821. ##
  3822. retention: 24h
  3823. ## Interval between consecutive evaluations.
  3824. ##
  3825. evaluationInterval: ""
  3826. ## Storage is the definition of how storage will be used by the ThanosRuler instances.
  3827. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/storage.md
  3828. ##
  3829. storage:
  3830. volumeClaimTemplate:
  3831. spec:
  3832. storageClassName: nfs-vrt
  3833. accessModes: ["ReadWriteMany"]
  3834. resources:
  3835. requests:
  3836. storage: 50Gi
  3837. ## AlertmanagerConfig define configuration for connecting to alertmanager.
  3838. ## Only available with Thanos v0.10.0 and higher. Maps to the alertmanagers.config Thanos Ruler arg.
  3839. alertmanagersConfig:
  3840. # use existing secret, if configured, alertmanagersConfig.secret will not be used
  3841. existingSecret: {}
  3842. # name: ""
  3843. # key: ""
  3844. # will render render alertmanagersConfig secret data and configure it to be used by Thanos Ruler custom resource, ignored when alertmanagersConfig.existingSecret is set
  3845. # https://thanos.io/tip/components/rule.md/#alertmanager
  3846. secret: {}
  3847. # alertmanagers:
  3848. # - api_version: v2
  3849. # http_config:
  3850. # basic_auth:
  3851. # username: some_user
  3852. # password: some_pass
  3853. # static_configs:
  3854. # - alertmanager.thanos.io
  3855. # scheme: http
  3856. # timeout: 10s
  3857. ## DEPRECATED. Define URLs to send alerts to Alertmanager. For Thanos v0.10.0 and higher, alertmanagersConfig should be used instead.
  3858. ## Note: this field will be ignored if alertmanagersConfig is specified. Maps to the alertmanagers.url Thanos Ruler arg.
  3859. # alertmanagersUrl:
  3860. ## The external URL the Thanos Ruler instances will be available under. This is necessary to generate correct URLs. This is necessary if Thanos Ruler is not served from root of a DNS name. string false
  3861. ##
  3862. externalPrefix:
  3863. ## If true, http://{{ template "kube-prometheus-stack.thanosRuler.name" . }}.{{ template "kube-prometheus-stack.namespace" . }}:{{ .Values.thanosRuler.service.port }}
  3864. ## will be used as value for externalPrefix
  3865. externalPrefixNilUsesHelmValues: true
  3866. ## The route prefix ThanosRuler registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true,
  3867. ## but the server serves requests under a different route prefix. For example for use with kubectl proxy.
  3868. ##
  3869. routePrefix: /
  3870. ## ObjectStorageConfig configures object storage in Thanos
  3871. objectStorageConfig:
  3872. # use existing secret, if configured, objectStorageConfig.secret will not be used
  3873. existingSecret: {}
  3874. # name: ""
  3875. # key: ""
  3876. # will render objectStorageConfig secret data and configure it to be used by Thanos Ruler custom resource, ignored when objectStorageConfig.existingSecret is set
  3877. # https://thanos.io/tip/thanos/storage.md/#s3
  3878. secret: {}
  3879. # type: S3
  3880. # config:
  3881. # bucket: ""
  3882. # endpoint: ""
  3883. # region: ""
  3884. # access_key: ""
  3885. # secret_key: ""
  3886. ## Labels by name to drop before sending to alertmanager
  3887. ## Maps to the --alert.label-drop flag of thanos ruler.
  3888. alertDropLabels: []
  3889. ## QueryEndpoints defines Thanos querier endpoints from which to query metrics.
  3890. ## Maps to the --query flag of thanos ruler.
  3891. queryEndpoints: []
  3892. ## Define configuration for connecting to thanos query instances. If this is defined, the queryEndpoints field will be ignored.
  3893. ## Maps to the query.config CLI argument. Only available with thanos v0.11.0 and higher.
  3894. queryConfig:
  3895. # use existing secret, if configured, queryConfig.secret will not be used
  3896. existingSecret: {}
  3897. # name: ""
  3898. # key: ""
  3899. # render queryConfig secret data and configure it to be used by Thanos Ruler custom resource, ignored when queryConfig.existingSecret is set
  3900. # https://thanos.io/tip/components/rule.md/#query-api
  3901. secret: {}
  3902. # - http_config:
  3903. # basic_auth:
  3904. # username: some_user
  3905. # password: some_pass
  3906. # static_configs:
  3907. # - URL
  3908. # scheme: http
  3909. # timeout: 10s
  3910. ## Labels configure the external label pairs to ThanosRuler. A default replica
  3911. ## label `thanos_ruler_replica` will be always added as a label with the value
  3912. ## of the pod's name and it will be dropped in the alerts.
  3913. labels: {}
  3914. ## If set to true all actions on the underlying managed objects are not going to be performed, except for delete actions.
  3915. ##
  3916. paused: false
  3917. ## Allows setting additional arguments for the ThanosRuler container
  3918. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosruler
  3919. ##
  3920. additionalArgs: []
  3921. # - name: remote-write.config
  3922. # value: |-
  3923. # "remote_write":
  3924. # - "name": "receiver-0"
  3925. # "remote_timeout": "30s"
  3926. # "url": "http://thanos-receiver-0.thanos-receiver:8081/api/v1/receive"
  3927. ## Define which Nodes the Pods are scheduled on.
  3928. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  3929. ##
  3930. nodeSelector: {}
  3931. ## Define resources requests and limits for single Pods.
  3932. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  3933. ##
  3934. resources: {}
  3935. # requests:
  3936. # memory: 400Mi
  3937. ## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
  3938. ## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
  3939. ## The value "hard" means that the scheduler is *required* to not schedule two replica pods onto the same node.
  3940. ## The value "" will disable pod anti-affinity so that no anti-affinity rules will be configured.
  3941. ##
  3942. podAntiAffinity: ""
  3943. ## If anti-affinity is enabled sets the topologyKey to use for anti-affinity.
  3944. ## This can be changed to, for example, failure-domain.beta.kubernetes.io/zone
  3945. ##
  3946. podAntiAffinityTopologyKey: kubernetes.io/hostname
  3947. ## Assign custom affinity rules to the thanosRuler instance
  3948. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  3949. ##
  3950. affinity: {}
  3951. # nodeAffinity:
  3952. # requiredDuringSchedulingIgnoredDuringExecution:
  3953. # nodeSelectorTerms:
  3954. # - matchExpressions:
  3955. # - key: kubernetes.io/e2e-az-name
  3956. # operator: In
  3957. # values:
  3958. # - e2e-az1
  3959. # - e2e-az2
  3960. ## If specified, the pod's tolerations.
  3961. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  3962. ##
  3963. tolerations: []
  3964. # - key: "key"
  3965. # operator: "Equal"
  3966. # value: "value"
  3967. # effect: "NoSchedule"
  3968. ## If specified, the pod's topology spread constraints.
  3969. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  3970. ##
  3971. topologySpreadConstraints: []
  3972. # - maxSkew: 1
  3973. # topologyKey: topology.kubernetes.io/zone
  3974. # whenUnsatisfiable: DoNotSchedule
  3975. # labelSelector:
  3976. # matchLabels:
  3977. # app: thanos-ruler
  3978. ## SecurityContext holds pod-level security attributes and common container settings.
  3979. ## This defaults to non root user with uid 1000 and gid 2000. *v1.PodSecurityContext false
  3980. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  3981. ##
  3982. securityContext:
  3983. runAsGroup: 2000
  3984. runAsNonRoot: true
  3985. runAsUser: 1000
  3986. fsGroup: 2000
  3987. seccompProfile:
  3988. type: RuntimeDefault
  3989. ## ListenLocal makes the ThanosRuler server listen on loopback, so that it does not bind against the Pod IP.
  3990. ## Note this is only for the ThanosRuler UI, not the gossip communication.
  3991. ##
  3992. listenLocal: false
  3993. ## Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to an ThanosRuler pod.
  3994. ##
  3995. containers: []
  3996. # Additional volumes on the output StatefulSet definition.
  3997. volumes: []
  3998. # Additional VolumeMounts on the output StatefulSet definition.
  3999. volumeMounts: []
  4000. ## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
  4001. ## (permissions, dir tree) on mounted volumes before starting prometheus
  4002. initContainers: []
  4003. ## Priority class assigned to the Pods
  4004. ##
  4005. priorityClassName: ""
  4006. ## PortName to use for ThanosRuler.
  4007. ##
  4008. portName: "web"
  4009. ## WebTLSConfig defines the TLS parameters for HTTPS
  4010. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosrulerwebspec
  4011. web: {}
  4012. ## Additional configuration which is not covered by the properties above. (passed through tpl)
  4013. additionalConfig: {}
  4014. ## Additional configuration which is not covered by the properties above.
  4015. ## Useful, if you need advanced templating
  4016. additionalConfigString: ""
  4017. ## ExtraSecret can be used to store various data in an extra secret
  4018. ## (use it for example to store hashed basic auth credentials)
  4019. extraSecret:
  4020. ## if not set, name will be auto generated
  4021. # name: ""
  4022. annotations: {}
  4023. data: {}
  4024. # auth: |
  4025. # foo:$apr1$OFG3Xybp$ckL0FHDAkoXYIlH9.cysT0
  4026. # someoneelse:$apr1$DMZX2Z4q$6SbQIfyuLQd.xmo/P0m2c.
  4027. ## Setting to true produces cleaner resource names, but requires a data migration because the name of the persistent volume changes. Therefore this should only be set once on initial installation.
  4028. ##
  4029. cleanPrometheusOperatorObjectNames: false
  4030. ## Extra manifests to deploy as an array
  4031. extraManifests: []
  4032. # - apiVersion: v1
  4033. # kind: ConfigMap
  4034. # metadata:
  4035. # labels:
  4036. # name: prometheus-extra
  4037. # data:
  4038. # extra-data: "value"