values.yaml 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166
  1. # Default values for victoria-metrics.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. global:
  5. # -- Image pull secrets, that can be shared across multiple helm charts
  6. imagePullSecrets: []
  7. image:
  8. # -- Image registry, that can be shared across multiple helm charts
  9. registry: ""
  10. # -- Openshift security context compatibility configuration
  11. compatibility:
  12. openshift:
  13. adaptSecurityContext: "auto"
  14. # -- k8s cluster domain suffix, uses for building storage pods' FQDN. Details are [here](https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/)
  15. cluster:
  16. dnsDomain: cluster.local.
  17. # -- Print information after deployment
  18. printNotes: true
  19. # use SRV discovery for storageNode and selectNode flags for enterprise version
  20. autoDiscovery: false
  21. serviceAccount:
  22. # -- Specifies whether a service account should be created
  23. create: true
  24. # -- The name of the service account to use.
  25. # If not set and create is true, a name is generated using the fullname template
  26. name:
  27. # -- Service account labels
  28. extraLabels: {}
  29. # -- Service account annotations
  30. annotations: {}
  31. # -- mount API token to pod directly
  32. automountToken: true
  33. extraSecrets:
  34. []
  35. # - name: secret-remote-storage-keys
  36. # annotations: []
  37. # labels: []
  38. # data: |
  39. # credentials: b64_encoded_str
  40. # -- Add extra specs dynamically to this chart
  41. extraObjects: []
  42. vmselect:
  43. # -- Enable deployment of vmselect component. Can be deployed as Deployment(default) or StatefulSet
  44. enabled: true
  45. # -- VMSelect container name
  46. name: ""
  47. # -- VMSelect strategy
  48. strategy: {}
  49. # rollingUpdate:
  50. # maxSurge: 25%
  51. # maxUnavailable: 25%
  52. # type: RollingUpdate
  53. image:
  54. # -- Image registry
  55. registry: ""
  56. # -- Image repository
  57. repository: victoriametrics/vmselect
  58. # -- Image tag
  59. # override Chart.AppVersion
  60. tag: ""
  61. # -- Image pull policy
  62. pullPolicy: IfNotPresent
  63. # -- Variant of the image to use.
  64. # e.g. cluster, enterprise-cluster
  65. variant: cluster
  66. ports:
  67. # -- VMSelect http port name
  68. name: "http"
  69. # -- Name of Priority Class
  70. priorityClassName: ""
  71. # -- Overrides the full name of vmselect component
  72. fullnameOverride: ""
  73. # -- Suppress rendering `--storageNode` FQDNs based on `vmstorage.replicaCount` value. If true suppress rendering `--storageNodes`, they can be re-defined in extraArgs
  74. suppressStorageFQDNsRender: false
  75. # -- Extra command line arguments for vmselect component
  76. extraArgs:
  77. envflag.enable: true
  78. envflag.prefix: VM_
  79. loggerFormat: json
  80. # -- StatefulSet/Deployment annotations
  81. annotations: {}
  82. # -- StatefulSet/Deployment additional labels
  83. extraLabels: {}
  84. # -- Pod’s additional labels
  85. podLabels: {}
  86. # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details.
  87. env: []
  88. # -- Specify alternative source for env variables
  89. envFrom: []
  90. #- configMapRef:
  91. # name: special-config
  92. # -- Readiness & Liveness probes
  93. probe:
  94. # -- VMSelect readiness probe
  95. readiness:
  96. httpGet: {}
  97. initialDelaySeconds: 5
  98. periodSeconds: 15
  99. timeoutSeconds: 5
  100. failureThreshold: 3
  101. # -- VMSelect liveness probe
  102. liveness:
  103. tcpSocket: {}
  104. initialDelaySeconds: 5
  105. periodSeconds: 15
  106. timeoutSeconds: 5
  107. failureThreshold: 3
  108. # -- VMSelect startup probe
  109. startup: {}
  110. horizontalPodAutoscaler:
  111. # -- Use HPA for vmselect component
  112. enabled: false
  113. # -- Maximum replicas for HPA to use to to scale the vmselect component
  114. maxReplicas: 10
  115. # -- Minimum replicas for HPA to use to scale the vmselect component
  116. minReplicas: 2
  117. # -- Metric for HPA to use to scale the vmselect component
  118. metrics: []
  119. # -- Behavior settings for scaling by the HPA
  120. behavior: {}
  121. # -- Additional hostPath mounts
  122. extraHostPathMounts:
  123. []
  124. # - name: certs-dir
  125. # mountPath: /etc/kubernetes/certs
  126. # subPath: ""
  127. # hostPath: /etc/kubernetes/certs
  128. # readOnly: true
  129. # -- Extra Volumes for the pod
  130. extraVolumes:
  131. []
  132. # - name: example
  133. # configMap:
  134. # name: example
  135. # -- Extra Volume Mounts for the container
  136. extraVolumeMounts:
  137. []
  138. # - name: example
  139. # mountPath: /example
  140. # -- Extra containers to run in a pod with vmselect
  141. extraContainers:
  142. []
  143. # - name: config-reloader
  144. # image: reloader-image
  145. # -- Init containers for vmselect
  146. initContainers:
  147. []
  148. # - name: example
  149. # image: example-image
  150. # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
  151. podDisruptionBudget:
  152. # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
  153. enabled: false
  154. # minAvailable: 1
  155. # maxUnavailable: 1
  156. labels: {}
  157. # -- Array of tolerations object. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
  158. tolerations: []
  159. # - key: "key"
  160. # operator: "Equal|Exists"
  161. # value: "value"
  162. # effect: "NoSchedule|PreferNoSchedule"
  163. # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/)
  164. nodeSelector: {}
  165. # -- Pod affinity
  166. affinity: {}
  167. # -- Pod topologySpreadConstraints
  168. topologySpreadConstraints: []
  169. # -- Pod's annotations
  170. podAnnotations: {}
  171. # -- Count of vmselect pods
  172. replicaCount: 1
  173. # -- Container workdir
  174. containerWorkingDir: ""
  175. # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
  176. resources:
  177. limits:
  178. cpu: 1
  179. memory: 1Gi
  180. # requests:
  181. # cpu: 50m
  182. # memory: 64Mi
  183. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  184. securityContext:
  185. enabled: true
  186. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  187. podSecurityContext:
  188. enabled: true
  189. # -- Cache root folder
  190. cacheMountPath: /cache
  191. service:
  192. # -- Create VMSelect service
  193. enabled: true
  194. # -- Service annotations
  195. annotations: {}
  196. # -- Service labels
  197. labels: {}
  198. # -- Service ClusterIP
  199. clusterIP: ""
  200. # -- Service external IPs. Details are [here](https://kubernetes.io/docs/user-guide/services/#external-ips)
  201. externalIPs: []
  202. # -- Extra service ports
  203. extraPorts: []
  204. # -- Service load balacner IP
  205. loadBalancerIP: ""
  206. # -- Load balancer source range
  207. loadBalancerSourceRanges: []
  208. # -- Service port
  209. servicePort: 8481
  210. # -- Target port
  211. targetPort: http
  212. # -- Service type
  213. type: ClusterIP
  214. # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  215. healthCheckNodePort: ""
  216. # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  217. externalTrafficPolicy: ""
  218. # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  219. ipFamilyPolicy: ""
  220. # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  221. ipFamilies: []
  222. ingress:
  223. # -- Enable deployment of ingress for vmselect component
  224. enabled: true
  225. # -- Ingress annotations
  226. annotations: {}
  227. # kubernetes.io/ingress.class: nginx
  228. # kubernetes.io/tls-acme: 'true'
  229. # -- Ingress extra labels
  230. extraLabels: {}
  231. # -- Array of host objects
  232. hosts:
  233. - name: vm-select.cestong.com.cn
  234. path:
  235. - /select
  236. port: http
  237. # -- Array of TLS objects
  238. tls: []
  239. # - secretName: vmselect-ingress-tls
  240. # hosts:
  241. # - vmselect.local
  242. # -- Ingress controller class name
  243. ingressClassName: "nginx"
  244. # -- Ingress path type
  245. pathType: Prefix
  246. statefulSet:
  247. # -- Deploy StatefulSet instead of Deployment for vmselect. Useful if you want to keep cache data.
  248. enabled: false
  249. # -- Deploy order policy for StatefulSet pods
  250. podManagementPolicy: OrderedReady
  251. # -- Empty dir configuration if persistence is disabled
  252. emptyDir: {}
  253. persistentVolume:
  254. # -- Create/use Persistent Volume Claim for vmselect component. Empty dir if false. If true, vmselect will create/use a Persistent Volume Claim
  255. enabled: false
  256. # -- Array of access mode. Must match those of existing PV or dynamic provisioner. Details are [here](http://kubernetes.io/docs/user-guide/persistent-volumes/)
  257. accessModes:
  258. - ReadWriteOnce
  259. # -- Persistent volume annotations
  260. annotations: {}
  261. # -- Persistent volume labels
  262. labels: {}
  263. # -- Existing Claim name. Requires vmselect.persistentVolume.enabled: true. If defined, PVC must be created manually before volume will be bound
  264. existingClaim: ""
  265. # -- Size of the volume. Better to set the same as resource limit memory property
  266. size: 2Gi
  267. # -- Mount subpath
  268. subPath: ""
  269. serviceMonitor:
  270. # -- Enable deployment of Service Monitor for vmselect component. This is Prometheus operator object
  271. enabled: false
  272. # -- Target namespace of ServiceMonitor manifest
  273. namespace: ""
  274. # -- Service Monitor labels
  275. extraLabels: {}
  276. # -- Service Monitor annotations
  277. annotations: {}
  278. # -- Basic auth params for Service Monitor
  279. basicAuth: {}
  280. # Commented. Prometheus scare interval for vmselect component
  281. # interval: 15s
  282. # Commented. Prometheus pre-scrape timeout for vmselect component
  283. # scrapeTimeout: 5s
  284. # -- Commented. HTTP scheme to use for scraping.
  285. # scheme: https
  286. # -- Commented. TLS configuration to use when scraping the endpoint
  287. # tlsConfig:
  288. # insecureSkipVerify: true
  289. # -- Service Monitor relabelings
  290. relabelings: []
  291. # -- Service Monitor metricRelabelings
  292. metricRelabelings: []
  293. vminsert:
  294. # -- Enable deployment of vminsert component. Deployment is used
  295. enabled: true
  296. # -- IDs of vmstorage nodes to exclude from writing
  297. excludeStorageIDs: []
  298. # -- VMInsert name
  299. name: ""
  300. # -- VMInsert strategy
  301. strategy: {}
  302. # rollingUpdate:
  303. # maxSurge: 25%
  304. # maxUnavailable: 25%
  305. # type: RollingUpdate
  306. image:
  307. # -- Image registry
  308. registry: ""
  309. # -- Image repository
  310. repository: victoriametrics/vminsert
  311. # -- Image tag
  312. # override Chart.AppVersion
  313. tag: ""
  314. # -- Variant of the image to use.
  315. # e.g. cluster, enterprise-cluster
  316. variant: cluster
  317. # -- Image pull policy
  318. pullPolicy: IfNotPresent
  319. ports:
  320. # -- VMInsert http port name
  321. name: "http"
  322. # -- Name of Priority Class
  323. priorityClassName: ""
  324. # -- Overrides the full name of vminsert component
  325. fullnameOverride: ""
  326. # -- Extra command line arguments for vminsert component
  327. extraArgs:
  328. envflag.enable: "true"
  329. envflag.prefix: VM_
  330. loggerFormat: json
  331. # -- StatefulSet/Deployment annotations
  332. annotations: {}
  333. # -- StatefulSet/Deployment additional labels
  334. extraLabels: {}
  335. # -- Pod’s additional labels
  336. podLabels: {}
  337. # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details.
  338. env: []
  339. # -- Specify alternative source for env variables
  340. envFrom: []
  341. #- configMapRef:
  342. # name: special-config
  343. # -- Suppress rendering `--storageNode` FQDNs based on `vmstorage.replicaCount` value. If true suppress rendering `--storageNodes`, they can be re-defined in extraArgs
  344. suppressStorageFQDNsRender: false
  345. # -- Readiness & Liveness probes
  346. probe:
  347. # -- VMInsert readiness probe
  348. readiness:
  349. httpGet: {}
  350. initialDelaySeconds: 5
  351. periodSeconds: 15
  352. timeoutSeconds: 5
  353. failureThreshold: 3
  354. # -- VMInsert liveness probe
  355. liveness:
  356. tcpSocket: {}
  357. initialDelaySeconds: 5
  358. periodSeconds: 15
  359. timeoutSeconds: 5
  360. failureThreshold: 3
  361. # -- VMInsert startup probe
  362. startup: {}
  363. # Horizontal Pod Autoscaling
  364. horizontalPodAutoscaler:
  365. # -- Use HPA for vminsert component
  366. enabled: false
  367. # -- Maximum replicas for HPA to use to to scale the vminsert component
  368. maxReplicas: 10
  369. # -- Minimum replicas for HPA to use to scale the vminsert component
  370. minReplicas: 2
  371. # -- Metric for HPA to use to scale the vminsert component
  372. metrics: []
  373. # -- Behavior settings for scaling by the HPA
  374. behavior: {}
  375. # -- Extra Volumes for the pod
  376. extraVolumes:
  377. []
  378. # - name: example
  379. # configMap:
  380. # name: example
  381. # -- Extra Volume Mounts for the container
  382. extraVolumeMounts:
  383. []
  384. # - name: example
  385. # mountPath: /example
  386. # -- Extra containers to run in a pod with vminsert
  387. extraContainers:
  388. []
  389. # - name: config-reloader
  390. # image: reloader-image
  391. # -- Init containers for vminsert
  392. initContainers:
  393. []
  394. # - name: example
  395. # image: example-image
  396. # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
  397. podDisruptionBudget:
  398. enabled: false
  399. # minAvailable: 1
  400. # maxUnavailable: 1
  401. labels: {}
  402. # -- Array of tolerations object. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
  403. tolerations: []
  404. # - key: "key"
  405. # operator: "Equal|Exists"
  406. # value: "value"
  407. # effect: "NoSchedule|PreferNoSchedule"
  408. # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/)
  409. nodeSelector: {}
  410. # -- Pod affinity
  411. affinity: {}
  412. # -- Pod topologySpreadConstraints
  413. topologySpreadConstraints: []
  414. # -- Pod's annotations
  415. podAnnotations: {}
  416. # -- Count of vminsert pods
  417. replicaCount: 1
  418. # -- Container workdir
  419. containerWorkingDir: ""
  420. # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
  421. resources:
  422. limits:
  423. cpu: 1
  424. memory: 1Gi
  425. # requests:
  426. # cpu: 50m
  427. # memory: 64Mi
  428. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  429. securityContext:
  430. enabled: false
  431. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  432. podSecurityContext:
  433. enabled: false
  434. service:
  435. # -- Create VMInsert service
  436. enabled: true
  437. # -- Service annotations
  438. annotations: {}
  439. # -- Service labels
  440. labels: {}
  441. # -- Service ClusterIP
  442. clusterIP: ""
  443. # -- Service external IPs. Details are [here]( https://kubernetes.io/docs/user-guide/services/#external-ips)
  444. externalIPs: []
  445. # -- Extra service ports
  446. extraPorts: []
  447. # -- Service load balancer IP
  448. loadBalancerIP: ""
  449. # -- Load balancer source range
  450. loadBalancerSourceRanges: []
  451. # -- Service port
  452. servicePort: 8480
  453. # -- Target port
  454. targetPort: http
  455. # -- Service type
  456. type: ClusterIP
  457. # -- Enable UDP port. used if you have `spec.opentsdbListenAddr` specified
  458. # Make sure that service is not type `LoadBalancer`, as it requires `MixedProtocolLBService` feature gate. Check [here](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) for details
  459. udp: false
  460. # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  461. healthCheckNodePort: ""
  462. # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  463. externalTrafficPolicy: ""
  464. # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  465. ipFamilyPolicy: ""
  466. # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  467. ipFamilies: []
  468. ingress:
  469. # -- Enable deployment of ingress for vminsert component
  470. enabled: false
  471. # -- Ingress annotations
  472. annotations: {}
  473. # kubernetes.io/ingress.class: nginx
  474. # kubernetes.io/tls-acme: 'true'
  475. # -- Ingress extra labels
  476. extraLabels: {}
  477. # -- Array of host objects
  478. hosts: []
  479. # - name: vminsert.local
  480. # path:
  481. # - /insert
  482. # port: http
  483. # -- Array of TLS objects
  484. tls: []
  485. # - secretName: vminsert-ingress-tls
  486. # hosts:
  487. # - vminsert.local
  488. # -- Ingress controller class name
  489. ingressClassName: ""
  490. # -- Ingress path type
  491. pathType: Prefix
  492. serviceMonitor:
  493. # -- Enable deployment of Service Monitor for vminsert component. This is Prometheus operator object
  494. enabled: false
  495. # -- Target namespace of ServiceMonitor manifest
  496. namespace: ""
  497. # -- Service Monitor labels
  498. extraLabels: {}
  499. # -- Service Monitor annotations
  500. annotations: {}
  501. # -- Basic auth params for Service Monitor
  502. basicAuth: {}
  503. # Commented. Prometheus scare interval for vminsert component
  504. # interval: 15s
  505. # Commented. Prometheus pre-scrape timeout for vminsert component
  506. # scrapeTimeout: 5s
  507. # -- Commented. HTTP scheme to use for scraping.
  508. # scheme: https
  509. # -- Commented. TLS configuration to use when scraping the endpoint
  510. # tlsConfig:
  511. # insecureSkipVerify: true
  512. # -- Service Monitor relabelings
  513. relabelings: []
  514. # -- Service Monitor metricRelabelings
  515. metricRelabelings: []
  516. vmauth:
  517. # -- Enable deployment of vmauth component.
  518. # With vmauth enabled please set `service.clusterIP: None` and `service.type: ClusterIP` for `vminsert` and `vmselect` to use vmauth balancing benefits.
  519. enabled: false
  520. # -- VMAuth container name
  521. name: ""
  522. # -- VMAuth configuration secret name
  523. configSecretName: ""
  524. # -- VMAuth configuration object
  525. config:
  526. unauthorized_user: {}
  527. # -- VMAuth Deployment strategy
  528. strategy: {}
  529. # rollingUpdate:
  530. # maxSurge: 25%
  531. # maxUnavailable: 25%
  532. # type: RollingUpdate
  533. image:
  534. # -- Image registry
  535. registry: ""
  536. # -- Image repository
  537. repository: victoriametrics/vmauth
  538. # -- Image tag
  539. # override Chart.AppVersion
  540. tag: ""
  541. # -- Variant of the image to use.
  542. # e.g. cluster, enterprise-cluster
  543. variant: ""
  544. # -- Image pull policy
  545. pullPolicy: IfNotPresent
  546. ports:
  547. # -- VMAuth http port name
  548. name: "http"
  549. # -- Name of Priority Class
  550. priorityClassName: ""
  551. # -- Overrides the full name of vmauth component
  552. fullnameOverride: ""
  553. # -- Extra command line arguments for vmauth component
  554. extraArgs:
  555. envflag.enable: "true"
  556. envflag.prefix: VM_
  557. loggerFormat: json
  558. # -- VMAuth annotations
  559. annotations: {}
  560. # -- VMAuth additional labels
  561. extraLabels: {}
  562. # -- VMAuth pod labels
  563. podLabels: {}
  564. # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details
  565. env: []
  566. # -- Specify alternative source for env variables
  567. envFrom: []
  568. #- configMapRef:
  569. # name: special-config
  570. # -- Suppress rendering `--storageNode` FQDNs based on `vmstorage.replicaCount` value. If true suppress rendering `--storageNodes`, they can be re-defined in extraArgs
  571. suppressStorageFQDNsRender: false
  572. # Readiness & Liveness probes
  573. probe:
  574. # -- VMAuth readiness probe
  575. readiness:
  576. httpGet: {}
  577. initialDelaySeconds: 5
  578. periodSeconds: 15
  579. timeoutSeconds: 5
  580. failureThreshold: 3
  581. # -- VMAuth liveness probe
  582. liveness:
  583. tcpSocket: {}
  584. initialDelaySeconds: 5
  585. periodSeconds: 15
  586. timeoutSeconds: 5
  587. failureThreshold: 3
  588. # -- VMAuth startup probe
  589. startup: {}
  590. # Horizontal Pod Autoscaling
  591. horizontalPodAutoscaler:
  592. # -- Use HPA for vmauth component
  593. enabled: false
  594. # -- Maximum replicas for HPA to use to to scale the vmauth component
  595. maxReplicas: 10
  596. # -- Minimum replicas for HPA to use to scale the vmauth component
  597. minReplicas: 2
  598. # -- Metric for HPA to use to scale the vmauth component
  599. metrics: []
  600. # -- Behavior settings for scaling by the HPA
  601. behavior: {}
  602. # -- Extra Volumes for the pod
  603. extraVolumes:
  604. []
  605. # - name: example
  606. # configMap:
  607. # name: example
  608. # -- Extra Volume Mounts for the container
  609. extraVolumeMounts:
  610. []
  611. # - name: example
  612. # mountPath: /example
  613. # -- Extra containers to run in a pod with vmauth
  614. extraContainers:
  615. []
  616. # - name: config-reloader
  617. # image: reloader-image
  618. # -- Init containers for vmauth
  619. initContainers:
  620. []
  621. # - name: example
  622. # image: example-image
  623. # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
  624. podDisruptionBudget:
  625. enabled: false
  626. # minAvailable: 1
  627. # maxUnavailable: 1
  628. labels: {}
  629. # -- Array of tolerations object. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
  630. tolerations: []
  631. # - key: "key"
  632. # operator: "Equal|Exists"
  633. # value: "value"
  634. # effect: "NoSchedule|PreferNoSchedule"
  635. # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/)
  636. nodeSelector: {}
  637. # -- Pod affinity
  638. affinity: {}
  639. # -- Pod topologySpreadConstraints
  640. topologySpreadConstraints: []
  641. # -- Pod's annotations
  642. podAnnotations: {}
  643. # -- Count of vmauth pods
  644. replicaCount: 2
  645. # -- Container workdir
  646. containerWorkingDir: ""
  647. # -- Resource object
  648. resources:
  649. # limits:
  650. # cpu: 50m
  651. # memory: 64Mi
  652. # requests:
  653. # cpu: 50m
  654. # memory: 64Mi
  655. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  656. securityContext:
  657. enabled: false
  658. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  659. podSecurityContext:
  660. enabled: false
  661. service:
  662. # -- Create VMAuth service
  663. enabled: true
  664. # -- Service annotations
  665. annotations: {}
  666. # -- Service labels
  667. labels: {}
  668. # -- Service ClusterIP
  669. clusterIP: ""
  670. # -- Service External IPs. Details are [here]( https://kubernetes.io/docs/user-guide/services/#external-ips)
  671. externalIPs: []
  672. # -- Extra service ports
  673. extraPorts: []
  674. # -- Service load balancer IP
  675. loadBalancerIP: ""
  676. # -- Load balancer source range
  677. loadBalancerSourceRanges: []
  678. # -- Service port
  679. servicePort: 8427
  680. # -- Target port
  681. targetPort: http
  682. # -- Service type
  683. type: ClusterIP
  684. # -- Enable UDP port. used if you have `spec.opentsdbListenAddr` specified
  685. # Make sure that service is not type `LoadBalancer`, as it requires `MixedProtocolLBService` feature gate.
  686. # Check [here](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/)
  687. udp: false
  688. # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  689. healthCheckNodePort: ""
  690. # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  691. externalTrafficPolicy: ""
  692. # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  693. ipFamilyPolicy: ""
  694. # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  695. ipFamilies: []
  696. ingress:
  697. # -- Enable deployment of ingress for vmauth component
  698. enabled: false
  699. # -- Ingress annotations
  700. annotations: {}
  701. # kubernetes.io/ingress.class: nginx
  702. # kubernetes.io/tls-acme: 'true'
  703. extraLabels: {}
  704. # -- Array of host objects
  705. hosts: []
  706. # - name: vmauth.local
  707. # path:
  708. # - /insert
  709. # port: http
  710. # -- Array of TLS objects
  711. tls: []
  712. # - secretName: vmauth-ingress-tls
  713. # hosts:
  714. # - vmauth.local
  715. # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  716. # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  717. # ingressClassName: nginx
  718. # -- pathType is only for k8s >= 1.1=
  719. pathType: Prefix
  720. serviceMonitor:
  721. # -- Enable deployment of Service Monitor for vmauth component. This is Prometheus operator object
  722. enabled: false
  723. # -- Target namespace of ServiceMonitor manifest
  724. namespace: ""
  725. # -- Service Monitor labels
  726. extraLabels: {}
  727. # -- Service Monitor annotations
  728. annotations: {}
  729. # -- Basic auth params for Service Monitor
  730. basicAuth: {}
  731. # Commented. Prometheus scare interval for vmauth component
  732. # interval: 15s
  733. # Commented. Prometheus pre-scrape timeout for vmauth component
  734. # scrapeTimeout: 5s
  735. # -- Commented. HTTP scheme to use for scraping.
  736. # scheme: https
  737. # -- Commented. TLS configuration to use when scraping the endpoint
  738. # tlsConfig:
  739. # insecureSkipVerify: true
  740. # -- Service Monitor relabelings
  741. relabelings: []
  742. # -- Service Monitor metricRelabelings
  743. metricRelabelings: []
  744. vmstorage:
  745. # -- Enable deployment of vmstorage component. StatefulSet is used
  746. enabled: true
  747. # -- VMStorage container name
  748. name: ""
  749. image:
  750. # -- Image registry
  751. registry: ""
  752. # -- Image repository
  753. repository: victoriametrics/vmstorage
  754. # -- Image tag
  755. # override Chart.AppVersion
  756. tag: ""
  757. # -- Variant of the image to use.
  758. # e.g. cluster, enterprise-cluster
  759. variant: cluster
  760. # -- Image pull policy
  761. pullPolicy: IfNotPresent
  762. ports:
  763. # -- VMStorage http port name
  764. name: "http"
  765. # -- Name of Priority Class
  766. priorityClassName: ""
  767. # -- Overrides the full name of vmstorage component
  768. fullnameOverride:
  769. # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details
  770. env: []
  771. # -- Specify alternative source for env variables
  772. envFrom: []
  773. #- configMapRef:
  774. # name: special-config
  775. # -- Data retention period. Supported values 1w, 1d, number without measurement means month, e.g. 2 = 2month
  776. retentionPeriod: 1
  777. # -- Additional vmstorage container arguments. Extra command line arguments for vmstorage component
  778. extraArgs:
  779. envflag.enable: "true"
  780. envflag.prefix: VM_
  781. loggerFormat: json
  782. # -- Additional hostPath mounts
  783. extraHostPathMounts:
  784. []
  785. # - name: certs-dir
  786. # mountPath: /etc/kubernetes/certs
  787. # subPath: ""
  788. # hostPath: /etc/kubernetes/certs
  789. # readOnly: true
  790. # -- Extra Volumes for the pod
  791. extraVolumes:
  792. []
  793. # - name: example
  794. # configMap:
  795. # name: example
  796. # -- Extra Volume Mounts for the container
  797. extraVolumeMounts:
  798. []
  799. # - name: example
  800. # mountPath: /example
  801. # -- Extra containers to run in a pod with vmstorage
  802. extraContainers:
  803. []
  804. # - name: config-reloader
  805. # image: reloader-image
  806. # -- Extra secret mounts for vmstorage
  807. extraSecretMounts:
  808. []
  809. # - name: secret
  810. # mountPath: /etc/credentials
  811. # subPath: ""
  812. # readOnly: true
  813. # -- Init containers for vmstorage
  814. initContainers:
  815. []
  816. # - name: vmrestore
  817. # image: victoriametrics/vmrestore:latest
  818. # volumeMounts:
  819. # - mountPath: /storage
  820. # name: vmstorage-volume
  821. # - mountPath: /etc/vm/creds
  822. # name: secret-remote-storage-keys
  823. # readOnly: true
  824. # args:
  825. # - -storageDataPath=/storage
  826. # - -src=s3://your_bucket/folder/latest
  827. # - -credsFilePath=/etc/vm/creds/credentials
  828. # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
  829. podDisruptionBudget:
  830. enabled: false
  831. # minAvailable: 1
  832. # maxUnavailable: 1
  833. labels: {}
  834. # -- Array of tolerations object. Node tolerations for server scheduling to nodes with taints. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
  835. tolerations:
  836. []
  837. # - key: "key"
  838. # operator: "Equal|Exists"
  839. # value: "value"
  840. # effect: "NoSchedule|PreferNoSchedule"
  841. # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/)
  842. nodeSelector: {}
  843. # -- Pod affinity
  844. affinity: {}
  845. # -- Pod topologySpreadConstraints
  846. topologySpreadConstraints: []
  847. # -- Use an alternate scheduler, e.g. "stork". Check [here](https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/) for details
  848. #
  849. schedulerName: ""
  850. # -- Empty dir configuration if persistence is disabled
  851. emptyDir: {}
  852. persistentVolume:
  853. # -- Create/use Persistent Volume Claim for vmstorage component. Empty dir if false. If true, vmstorage will create/use a Persistent Volume Claim
  854. enabled: true
  855. name: vmstorage-volume
  856. # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are [here](http://kubernetes.io/docs/user-guide/persistent-volumes/)
  857. accessModes:
  858. - ReadWriteOnce
  859. # -- Persistent volume annotations
  860. annotations: {}
  861. # -- Persistent volume labels
  862. labels: {}
  863. # -- Storage class name. Will be empty if not setted
  864. storageClassName: "openebs-hostpath"
  865. # -- Existing Claim name. Requires vmstorage.persistentVolume.enabled: true. If defined, PVC must be created manually before volume will be bound
  866. existingClaim: ""
  867. # -- Data root path. Vmstorage data Persistent Volume mount root path
  868. mountPath: /storage
  869. # -- Size of the volume.
  870. size: 8Gi
  871. # -- Mount subpath
  872. subPath: ""
  873. # -- Pod's annotations
  874. podAnnotations: {}
  875. # -- StatefulSet/Deployment annotations
  876. annotations: {}
  877. # -- StatefulSet/Deployment additional labels
  878. extraLabels: {}
  879. # -- Pod’s additional labels
  880. podLabels: {}
  881. # -- Count of vmstorage pods
  882. replicaCount: 2
  883. # -- Container workdir
  884. containerWorkingDir: ""
  885. # -- Deploy order policy for StatefulSet pods
  886. podManagementPolicy: OrderedReady
  887. # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
  888. resources:
  889. limits:
  890. cpu: 1
  891. memory: 1Gi
  892. # requests:
  893. # cpu: 500m
  894. # memory: 512Mi
  895. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  896. securityContext:
  897. enabled: false
  898. # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
  899. podSecurityContext:
  900. enabled: false
  901. service:
  902. enabled: true
  903. # -- Service annotations
  904. annotations: {}
  905. # -- Service ClusterIP
  906. clusterIP: None
  907. # -- Service type
  908. type: ClusterIP
  909. # -- Service labels
  910. labels: {}
  911. # -- Service port
  912. servicePort: 8482
  913. # -- Port for accepting connections from vminsert
  914. vminsertPort: 8400
  915. # -- Port for accepting connections from vmselect
  916. vmselectPort: 8401
  917. # -- Extra service ports
  918. extraPorts: []
  919. # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  920. healthCheckNodePort: ""
  921. # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
  922. externalTrafficPolicy: ""
  923. # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  924. ipFamilyPolicy: ""
  925. # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
  926. ipFamilies: []
  927. # -- Pod's termination grace period in seconds
  928. terminationGracePeriodSeconds: 60
  929. # -- Readiness & Liveness probes
  930. probe:
  931. # -- VMStorage readiness probe
  932. readiness:
  933. httpGet: {}
  934. initialDelaySeconds: 5
  935. periodSeconds: 15
  936. timeoutSeconds: 5
  937. failureThreshold: 3
  938. # -- VMStorage liveness probe
  939. liveness:
  940. tcpSocket: {}
  941. initialDelaySeconds: 30
  942. periodSeconds: 30
  943. timeoutSeconds: 5
  944. failureThreshold: 10
  945. # -- VMStorage startup probe
  946. startup: {}
  947. horizontalPodAutoscaler:
  948. # -- Use HPA for vmstorage component
  949. enabled: false
  950. # -- Maximum replicas for HPA to use to to scale the vmstorage component
  951. maxReplicas: 10
  952. # -- Minimum replicas for HPA to use to scale the vmstorage component
  953. minReplicas: 2
  954. # -- Metric for HPA to use to scale the vmstorage component
  955. metrics: []
  956. # -- Behavior settings for scaling by the HPA
  957. behavior:
  958. scaleDown:
  959. selectPolicy: Disabled
  960. vmbackupmanager:
  961. # -- Enable automatic creation of backup via vmbackupmanager. vmbackupmanager is part of Enterprise packages
  962. enabled: false
  963. image:
  964. # -- VMBackupManager image registry
  965. registry: ""
  966. # -- VMBackupManager image repository
  967. repository: victoriametrics/vmbackupmanager
  968. # -- VMBackupManager image tag
  969. # override Chart.AppVersion
  970. tag: ""
  971. # -- Variant of the image tag to use.
  972. # e.g. enterprise.
  973. variant: cluster
  974. # -- Disable hourly backups
  975. disableHourly: false
  976. # -- Disable daily backups
  977. disableDaily: false
  978. # -- Disable weekly backups
  979. disableWeekly: false
  980. # -- Disable monthly backups
  981. disableMonthly: false
  982. # -- Backup destination at S3, GCS or local filesystem. Pod name will be included to path!
  983. destination: ""
  984. # -- Backups' retention settings
  985. retention:
  986. # -- Keep last N hourly backups. 0 means delete all existing hourly backups. Specify -1 to turn off
  987. keepLastHourly: 2
  988. # -- Keep last N daily backups. 0 means delete all existing daily backups. Specify -1 to turn off
  989. keepLastDaily: 2
  990. # -- Keep last N weekly backups. 0 means delete all existing weekly backups. Specify -1 to turn off
  991. keepLastWeekly: 2
  992. # -- Keep last N monthly backups. 0 means delete all existing monthly backups. Specify -1 to turn off
  993. keepLastMonthly: 2
  994. # -- Extra command line arguments for container of component
  995. extraArgs:
  996. envflag.enable: "true"
  997. envflag.prefix: VM_
  998. loggerFormat: json
  999. # -- Allows to enable restore options for pod. Check [here](https://docs.victoriametrics.com/vmbackupmanager#restore-commands) for details
  1000. restore:
  1001. onStart:
  1002. enabled: false
  1003. # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
  1004. resources: {}
  1005. # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details
  1006. env: []
  1007. # -- Readiness & Liveness probes
  1008. probe:
  1009. # -- VMBackupManager readiness probe
  1010. readiness:
  1011. httpGet:
  1012. port: manager-http
  1013. initialDelaySeconds: 5
  1014. periodSeconds: 15
  1015. timeoutSeconds: 5
  1016. failureThreshold: 3
  1017. # -- VMBackupManager liveness probe
  1018. liveness:
  1019. tcpSocket:
  1020. port: manager-http
  1021. initialDelaySeconds: 30
  1022. periodSeconds: 30
  1023. timeoutSeconds: 5
  1024. failureThreshold: 10
  1025. # -- VMBackupManager startup probe
  1026. startup: {}
  1027. # -- Extra secret mounts for vmbackupmanager
  1028. extraSecretMounts:
  1029. []
  1030. # - name: secret
  1031. # mountPath: /etc/credentials
  1032. # subPath: ""
  1033. # readOnly: true
  1034. serviceMonitor:
  1035. # -- Enable deployment of Service Monitor for vmstorage component. This is Prometheus operator object
  1036. enabled: false
  1037. # -- Target namespace of ServiceMonitor manifest
  1038. namespace: ""
  1039. # -- Service Monitor labels
  1040. extraLabels: {}
  1041. # -- Service Monitor annotations
  1042. annotations: {}
  1043. # -- Basic auth params for Service Monitor
  1044. basicAuth: {}
  1045. # Commented. Prometheus scare interval for vmstorage component
  1046. # interval: 15s
  1047. # Commented. Prometheus pre-scrape timeout for vmstorage component
  1048. # scrapeTimeout: 5s
  1049. # -- Commented. HTTP scheme to use for scraping.
  1050. # scheme: https
  1051. # -- Commented. TLS configuration to use when scraping the endpoint
  1052. # tlsConfig:
  1053. # insecureSkipVerify: true
  1054. # -- Service Monitor relabelings
  1055. relabelings: []
  1056. # -- Service Monitor metricRelabelings
  1057. metricRelabelings: []
  1058. # -- Enterprise license key configuration for VictoriaMetrics enterprise.
  1059. # Required only for VictoriaMetrics enterprise. Check docs [here](https://docs.victoriametrics.com/enterprise),
  1060. # for more information, visit [site](https://victoriametrics.com/products/enterprise/).
  1061. # Request a trial license [here](https://victoriametrics.com/products/enterprise/trial/)
  1062. # Supported starting from VictoriaMetrics v1.94.0
  1063. license:
  1064. # -- License key
  1065. key: ""
  1066. # -- Use existing secret with license key
  1067. secret:
  1068. # -- Existing secret name
  1069. name: ""
  1070. # -- Key in secret with license key
  1071. key: ""