values.yaml 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237
  1. ## Global Docker image parameters
  2. ## Please, note that this will override the image parameters, including dependencies, configured to use the global value
  3. ## Current available global Docker image parameters: imageRegistry and imagePullSecrets
  4. ##
  5. # global:
  6. # imageRegistry: myRegistryName
  7. # imagePullSecrets:
  8. # - myRegistryKeySecretName
  9. # storageClass: myStorageClass
  10. ## Bitnami Kafka image version
  11. ## ref: https://hub.docker.com/r/bitnami/kafka/tags/
  12. ##
  13. image:
  14. registry: docker.io
  15. repository: bitnami/kafka
  16. tag: 2.8.0-debian-10-r30
  17. ## Specify a imagePullPolicy
  18. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  19. ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  20. ##
  21. pullPolicy: IfNotPresent
  22. ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
  23. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  24. ## Example:
  25. ## pullSecrets:
  26. ## - myRegistryKeySecretName
  27. ##
  28. pullSecrets: []
  29. ## Set to true if you would like to see extra information on logs
  30. ##
  31. debug: false
  32. ## String to partially override kafka.fullname template (will maintain the release name)
  33. ##
  34. # nameOverride:
  35. ## String to fully override kafka.fullname template
  36. ##
  37. # fullnameOverride:
  38. ## Deployment pod host aliases
  39. ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  40. ##
  41. hostAliases: []
  42. ## Use an alternate scheduler, e.g. "stork".
  43. ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  44. ##
  45. # schedulerName:
  46. ## StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: OrderedReady and Parallel
  47. ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
  48. ##
  49. podManagementPolicy: Parallel
  50. ## Kubernetes Cluster Domain
  51. ##
  52. clusterDomain: cluster.local
  53. ## Add labels to all the deployed resources
  54. ##
  55. commonLabels: {}
  56. ## Add annotations to all the deployed resources
  57. ##
  58. commonAnnotations: {}
  59. ## Kafka Configuration
  60. ## Specify content for server.properties
  61. ## NOTE: This will override any KAFKA_CFG_ environment variables (including those set by the chart)
  62. ## The server.properties is auto-generated based on other parameters when this parameter is not specified
  63. ##
  64. ## Example:
  65. ## config: |-
  66. ## broker.id=-1
  67. ## listeners=PLAINTEXT://:9092
  68. ## advertised.listeners=PLAINTEXT://KAFKA_IP:9092
  69. ## num.network.threads=3
  70. ## num.io.threads=8
  71. ## socket.send.buffer.bytes=102400
  72. ## socket.receive.buffer.bytes=102400
  73. ## socket.request.max.bytes=104857600
  74. ## log.dirs=/bitnami/kafka/data
  75. ## num.partitions=1
  76. ## num.recovery.threads.per.data.dir=1
  77. ## offsets.topic.replication.factor=1
  78. ## transaction.state.log.replication.factor=1
  79. ## transaction.state.log.min.isr=1
  80. ## log.flush.interval.messages=10000
  81. ## log.flush.interval.ms=1000
  82. ## log.retention.hours=168
  83. ## log.retention.bytes=1073741824
  84. ## log.segment.bytes=1073741824
  85. ## log.retention.check.interval.ms=300000
  86. ## zookeeper.connect=ZOOKEEPER_SERVICE_NAME
  87. ## zookeeper.connection.timeout.ms=6000
  88. ## group.initial.rebalance.delay.ms=0
  89. ##
  90. # config:
  91. ## ConfigMap with Kafka Configuration
  92. ## NOTE: This will override config AND any KAFKA_CFG_ environment variables.
  93. ##
  94. # existingConfigmap:
  95. ## Kafka Log4J Configuration
  96. ## An optional log4j.properties file to overwrite the default of the Kafka brokers.
  97. ## See an example log4j.properties at:
  98. ## https://github.com/apache/kafka/blob/trunk/config/log4j.properties
  99. ##
  100. # log4j:
  101. ## Kafka Log4j ConfigMap
  102. ## The name of an existing ConfigMap containing a log4j.properties file.
  103. ## NOTE: this will override log4j.
  104. ##
  105. # existingLog4jConfigMap:
  106. ## Kafka's Java Heap size
  107. ##
  108. heapOpts: -Xmx1024m -Xms1024m
  109. ## Switch to enable topic deletion or not.
  110. ##
  111. deleteTopicEnable: false
  112. ## Switch to enable auto creation of topics.
  113. ## Enabling auto creation of topics not recommended for production or similar environments.
  114. ##
  115. autoCreateTopicsEnable: true
  116. ## The number of messages to accept before forcing a flush of data to disk.
  117. ##
  118. logFlushIntervalMessages: _10000
  119. ## The maximum amount of time a message can sit in a log before we force a flush.
  120. ##
  121. logFlushIntervalMs: 1000
  122. ## A size-based retention policy for logs.
  123. ##
  124. logRetentionBytes: _1073741824
  125. ## The interval at which log segments are checked to see if they can be deleted.
  126. ##
  127. logRetentionCheckIntervalMs: 300000
  128. ## The minimum age of a log file to be eligible for deletion due to age.
  129. ##
  130. logRetentionHours: 168
  131. ## The maximum size of a log segment file. When this size is reached a new log segment will be created.
  132. ##
  133. logSegmentBytes: _1073741824
  134. ## A comma separated list of directories under which to store log files.
  135. ##
  136. logsDirs: /bitnami/kafka/data
  137. ## The largest record batch size allowed by Kafka
  138. ##
  139. maxMessageBytes: _1000012
  140. ## Default replication factors for automatically created topics
  141. ##
  142. defaultReplicationFactor: 1
  143. ## The replication factor for the offsets topic
  144. ##
  145. offsetsTopicReplicationFactor: 1
  146. ## The replication factor for the transaction topic
  147. ##
  148. transactionStateLogReplicationFactor: 1
  149. ## Overridden min.insync.replicas config for the transaction topic
  150. ##
  151. transactionStateLogMinIsr: 1
  152. ## The number of threads doing disk I/O.
  153. ##
  154. numIoThreads: 8
  155. ## The number of threads handling network requests.
  156. ##
  157. numNetworkThreads: 3
  158. ## The default number of log partitions per topic.
  159. ##
  160. numPartitions: 1
  161. ## The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
  162. ##
  163. numRecoveryThreadsPerDataDir: 1
  164. ## The receive buffer (SO_RCVBUF) used by the socket server.
  165. ##
  166. socketReceiveBufferBytes: 102400
  167. ## The maximum size of a request that the socket server will accept (protection against OOM).
  168. ##
  169. socketRequestMaxBytes: _104857600
  170. ## The send buffer (SO_SNDBUF) used by the socket server.
  171. ##
  172. socketSendBufferBytes: 102400
  173. ## Timeout in ms for connecting to zookeeper.
  174. ##
  175. zookeeperConnectionTimeoutMs: 6000
  176. ## Command and args for running the container. Use array form
  177. ##
  178. command:
  179. - /scripts/setup.sh
  180. args: []
  181. ## All the parameters from the configuration file can be overwritten by using environment variables with this format: KAFKA_CFG_{KEY}
  182. ## ref: https://github.com/bitnami/bitnami-docker-kafka#configuration
  183. ## Example:
  184. ## extraEnvVars:
  185. ## - name: KAFKA_CFG_BACKGROUND_THREADS
  186. ## value: "10"
  187. ##
  188. extraEnvVars: []
  189. ## extraVolumes and extraVolumeMounts allows you to mount other volumes
  190. ## Examples:
  191. # extraVolumes:
  192. # - name: kafka-jaas
  193. # secret:
  194. # secretName: kafka-jaas
  195. # extraVolumeMounts:
  196. # - name: kafka-jaas
  197. # mountPath: /bitnami/kafka/config/kafka_jaas.conf
  198. # subPath: kafka_jaas.conf
  199. extraVolumes: []
  200. extraVolumeMounts: []
  201. ## Extra objects to deploy (value evaluated as a template)
  202. ##
  203. extraDeploy: []
  204. ## Authentication parameteres
  205. ## https://github.com/bitnami/bitnami-docker-kafka#security
  206. ##
  207. auth:
  208. ## Authentication protocol for client and inter-broker communications
  209. ## Supported values: 'plaintext', 'tls', 'mtls', 'sasl' and 'sasl_tls'
  210. ## This table shows the security provided on each protocol:
  211. ## | Method | Authentication | Encryption via TLS |
  212. ## | plaintext | None | No |
  213. ## | tls | None | Yes |
  214. ## | mtls | Yes (two-way authentication) | Yes |
  215. ## | sasl | Yes (via SASL) | No |
  216. ## | sasl_tls | Yes (via SASL) | Yes |
  217. ##
  218. clientProtocol: plaintext
  219. interBrokerProtocol: plaintext
  220. ## SASL configuration
  221. ##
  222. sasl:
  223. ## Comma separated list of allowed SASL mechanisms.
  224. ## Note: ignored unless `auth.clientProtocol` or `auth.interBrokerProtocol` are using either `sasl` or `sasl_tls`
  225. ##
  226. mechanisms: plain,scram-sha-256,scram-sha-512
  227. ## SASL mechanism for inter broker communication.
  228. ##
  229. interBrokerMechanism: plain
  230. ## JAAS configuration for SASL authentication.
  231. ##
  232. jaas:
  233. ## Kafka client user list
  234. ##
  235. ## clientUsers:
  236. ## - user1
  237. ## - user2
  238. ##
  239. clientUsers:
  240. - user
  241. ## Kafka client passwords. This is mandatory if more than one user is specified in clientUsers.
  242. ##
  243. ## clientPasswords:
  244. ## - password1
  245. ## - password2"
  246. ##
  247. clientPasswords: []
  248. ## Kafka inter broker communication user
  249. ##
  250. interBrokerUser: admin
  251. ## Kafka inter broker communication password
  252. ##
  253. interBrokerPassword: ""
  254. ## Kafka Zookeeper user
  255. ##
  256. zookeeperUser: ""
  257. ## Kafka Zookeeper password
  258. ##
  259. zookeeperPassword: ""
  260. ## Name of the existing secret containing credentials for clientUsers, interBrokerUser and zookeeperUser.
  261. ## Create this secret running the command below where SECRET_NAME is the name of the secret you want to create:
  262. ## kubectl create secret generic SECRET_NAME --from-literal=client-passwords=CLIENT_PASSWORD1,CLIENT_PASSWORD2 --from-literal=inter-broker-password=INTER_BROKER_PASSWORD --from-literal=zookeeper-password=ZOOKEEPER_PASSWORD
  263. ##
  264. existingSecret: ""
  265. ## DEPRECATED: use `auth.sasl.mechanisms` instead.
  266. saslMechanisms: plain,scram-sha-256,scram-sha-512
  267. ## DEPRECATED: use `auth.sasl.interBrokerMechanism` instead.
  268. saslInterBrokerMechanism: plain
  269. ## DEPRECATED: use `auth.sasl.jaas` instead.
  270. jaas:
  271. clientUsers:
  272. - user
  273. clientPasswords: []
  274. interBrokerUser: admin
  275. interBrokerPassword: ""
  276. zookeeperUser: ""
  277. zookeeperPassword: ""
  278. existingSecret: ""
  279. ## TLS configuration
  280. ##
  281. tls:
  282. ## Format to use for TLS certificates
  283. ## Supported values: 'jks' and 'pem'
  284. ##
  285. type: jks
  286. ## Name of an existing secret containing the TLS certificates
  287. ##
  288. ## When using 'jks' format for certificates, the secret should contain:
  289. ## - A truststore
  290. ## - One keystore per Kafka broker you have in the cluster
  291. ## Create this secret following the steps below:
  292. ## 1) Generate your trustore and keystore files. Helpful script: https://raw.githubusercontent.com/confluentinc/confluent-platform-security-tools/master/kafka-generate-ssl.sh
  293. ## 2) Rename your truststore to `kafka.truststore.jks`.
  294. ## 3) Rename your keystores to `kafka-X.keystore.jks` where X is the ID of each Kafka broker.
  295. ## 4) Run the command below where SECRET_NAME is the name of the secret you want to create:
  296. ## kubectl create secret generic SECRET_NAME --from-file=./kafka.truststore.jks --from-file=./kafka-0.keystore.jks --from-file=./kafka-1.keystore.jks ...
  297. ##
  298. ## When using 'pem' format for certificates, the secret should contain:
  299. ## - A public CA certificate
  300. ## - One public certificate and one private key per Kafka broker you have in the cluster
  301. ## Create this secret following the steps below:
  302. ## 1) Create a certificate key and signing request per Kafka broker, and sign the signing request with your CA
  303. ## 2) Rename your CA file to `kafka.truststore.pem`.
  304. ## 3) Rename your certificates to `kafka-X.keystore.pem` where X is the ID of each Kafka broker.
  305. ## 3) Rename your keys to `kafka-X.keystore.key` where X is the ID of each Kafka broker.
  306. ## 5) Run the command below where SECRET_NAME is the name of the secret you want to create:
  307. ## kubectl create secret generic SECRET_NAME --from-file=./kafka.truststore.pem --from-file=./kafka-0.keystore.pem --from-file=./kafka-0.keystore.key --from-file=./kafka-1.keystore.pem --from-file=./kafka-1.keystore.key ...
  308. ##
  309. existingSecret: ""
  310. ## Create self-signed TLS certificates. Currently only supported for 'pem' format.
  311. ## Note: ignored when using 'jks' format or `auth.tls.existingSecret` is not empty
  312. ##
  313. autoGenerated: false
  314. ## Password to access the JKS files or PEM key when they are password-protected.
  315. ##
  316. password: ""
  317. ## Name of an existing secret containing your JKS truststore if the JKS truststore doesn't exist
  318. ## or is different from the one in the `auth.tls.existingSecret`.
  319. ## Note: ignored when using 'pem' format for certificates .
  320. ##
  321. jksTruststoreSecret: ""
  322. ## The secret key from the `auth.tls.existingSecret` containing the keystore with a SAN certificate.
  323. ## The SAN certificate in it should be issued with Subject Alternative Names for all headless services:
  324. ## - kafka-0.kafka-headless.kafka.svc.cluster.local
  325. ## - kafka-1.kafka-headless.kafka.svc.cluster.local
  326. ## - kafka-2.kafka-headless.kafka.svc.cluster.local
  327. ## Note: ignored when using 'pem' format for certificates.
  328. ##
  329. jksKeystoreSAN: ""
  330. ## The secret key from the `auth.tls.existingSecret` or `auth.tls.jksTruststoreSecret` containing the truststore.
  331. ## Note: ignored when using 'pem' format for certificates.
  332. ##
  333. jksTruststore: ""
  334. ## The endpoint identification algorithm used by clients to validate server host name.
  335. ## Disable server host name verification by setting it to an empty string.
  336. ## ref: https://docs.confluent.io/current/kafka/authentication_ssl.html#optional-settings
  337. ##
  338. endpointIdentificationAlgorithm: https
  339. ## DEPRECATED: use `auth.tls.existingSecret` instead.
  340. jksSecret: ""
  341. ## DEPRECATED: use `auth.tls.jksTruststoreSecret` instead.
  342. jksTruststoreSecret: ""
  343. ## DEPRECATED: use `auth.tls.jksKeystoreSAN` instead.
  344. jksKeystoreSAN: ""
  345. ## DEPRECATED: use `auth.tls.jksTruststore` instead.
  346. jksTruststore: ""
  347. ## DEPRECATED: use `auth.tls.password` instead.
  348. jksPassword: ""
  349. ## DEPRECATED: use `auth.tls.endpointIdentificationAlgorithm` instead.
  350. tlsEndpointIdentificationAlgorithm: https
  351. ## The address(es) the socket server listens on.
  352. ## When it's set to an empty array, the listeners will be configured
  353. ## based on the authentication protocols (auth.clientProtocol and auth.interBrokerProtocol parameters)
  354. ##
  355. listeners: []
  356. ## The address(es) (hostname:port) the brokers will advertise to producers and consumers.
  357. ## When it's set to an empty array, the advertised listeners will be configured
  358. ## based on the authentication protocols (auth.clientProtocol and auth.interBrokerProtocol parameters)
  359. ##
  360. advertisedListeners: []
  361. ## The listener->protocol mapping
  362. ## When it's nil, the listeners will be configured
  363. ## based on the authentication protocols (auth.clientProtocol and auth.interBrokerProtocol parameters)
  364. ##
  365. # listenerSecurityProtocolMap:
  366. ## Allow to use the PLAINTEXT listener.
  367. ##
  368. allowPlaintextListener: true
  369. ## Name of listener used for communication between brokers.
  370. ##
  371. interBrokerListenerName: INTERNAL
  372. ## Number of Kafka brokers to deploy
  373. ##
  374. replicaCount: 1
  375. ## Minimal broker.id value
  376. ## Brokers increment their ID starting at this minimal value.
  377. ## E.g., with `minBrokerId=100` and 3 nodes, IDs will be 100, 101, 102 for brokers 0, 1, and 2, respectively.
  378. ##
  379. minBrokerId: 0
  380. ## StrategyType, can be set to RollingUpdate or OnDelete by default.
  381. ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
  382. ##
  383. updateStrategy: RollingUpdate
  384. ## Partition update strategy
  385. ## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
  386. ##
  387. # rollingUpdatePartition:
  388. ## Pod labels. Evaluated as a template
  389. ## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  390. ##
  391. podLabels: {}
  392. ## Pod annotations. Evaluated as a template
  393. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  394. ##
  395. podAnnotations: {}
  396. ## Name of the priority class to be used by kafka pods, priority class needs to be created beforehand
  397. ## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
  398. ##
  399. priorityClassName: ""
  400. ## Pod affinity preset
  401. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  402. ## Allowed values: soft, hard
  403. ##
  404. podAffinityPreset: ""
  405. ## Pod anti-affinity preset
  406. ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  407. ## Allowed values: soft, hard
  408. ##
  409. podAntiAffinityPreset: soft
  410. ## Node affinity preset
  411. ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  412. ## Allowed values: soft, hard
  413. ##
  414. nodeAffinityPreset:
  415. ## Node affinity type
  416. ## Allowed values: soft, hard
  417. ##
  418. type: ""
  419. ## Node label key to match
  420. ## E.g.
  421. ## key: "kubernetes.io/e2e-az-name"
  422. ##
  423. key: ""
  424. ## Node label values to match
  425. ## E.g.
  426. ## values:
  427. ## - e2e-az1
  428. ## - e2e-az2
  429. ##
  430. values: []
  431. ## Affinity for pod assignment
  432. ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  433. ## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
  434. ##
  435. affinity: {}
  436. ## Node labels for pod assignment
  437. ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
  438. ##
  439. nodeSelector: {}
  440. ## Tolerations for pod assignment
  441. ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  442. ##
  443. tolerations: []
  444. ## Configure the grace time period for sig term
  445. ## ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-execution
  446. ##
  447. # terminationGracePeriodSeconds: 30
  448. ## Kafka pods' Security Context
  449. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  450. ##
  451. podSecurityContext:
  452. enabled: true
  453. fsGroup: 1001
  454. runAsUser: 1001
  455. ## Kafka containers' Security Context
  456. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
  457. ## Example:
  458. ## containerSecurityContext:
  459. ## capabilities:
  460. ## drop: ["NET_RAW"]
  461. ## readOnlyRootFilesystem: true
  462. ##
  463. containerSecurityContext: {}
  464. ## Kafka containers' resource requests and limits
  465. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  466. ##
  467. resources:
  468. # We usually recommend not to specify default resources and to leave this as a conscious
  469. # choice for the user. This also increases chances charts run on environments with little
  470. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  471. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  472. limits: {}
  473. # cpu: 250m
  474. # memory: 1Gi
  475. requests: {}
  476. # cpu: 250m
  477. # memory: 256Mi
  478. ## Kafka containers' liveness and readiness probes. Evaluated as a template.
  479. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
  480. ##
  481. livenessProbe:
  482. enabled: true
  483. initialDelaySeconds: 10
  484. timeoutSeconds: 5
  485. # failureThreshold: 3
  486. # periodSeconds: 10
  487. # successThreshold: 1
  488. readinessProbe:
  489. enabled: true
  490. initialDelaySeconds: 5
  491. failureThreshold: 6
  492. timeoutSeconds: 5
  493. # periodSeconds: 10
  494. # successThreshold: 1
  495. ## Custom liveness/readiness probes that will override the default ones
  496. ##
  497. customLivenessProbe: {}
  498. customReadinessProbe: {}
  499. ## Pod Disruption Budget configuration
  500. ## The PDB will only be created if replicaCount is greater than 1
  501. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions
  502. ##
  503. pdb:
  504. create: false
  505. ## Min number of pods that must still be available after the eviction
  506. ##
  507. # minAvailable: 1
  508. ## Max number of pods that can be unavailable after the eviction
  509. ##
  510. maxUnavailable: 1
  511. ## Add sidecars to the pod.
  512. ## Example:
  513. ## sidecars:
  514. ## - name: your-image-name
  515. ## image: your-image
  516. ## imagePullPolicy: Always
  517. ## ports:
  518. ## - name: portname
  519. ## containerPort: 1234
  520. ##
  521. sidecars: {}
  522. ## Service parameters
  523. ##
  524. service:
  525. ## Service type
  526. ##
  527. type: ClusterIP
  528. ## Kafka port for client connections
  529. ##
  530. port: 9092
  531. ## Kafka port for inter-broker connections
  532. ##
  533. internalPort: 9093
  534. ## Kafka port for external connections
  535. ##
  536. externalPort: 9094
  537. ## Specify the nodePort value for the LoadBalancer and NodePort service types.
  538. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  539. ##
  540. nodePorts:
  541. client: ""
  542. external: ""
  543. ## Set the LoadBalancer service type to internal only.
  544. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  545. ##
  546. # loadBalancerIP:
  547. ## Load Balancer sources
  548. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  549. ## Example:
  550. ## loadBalancerSourceRanges:
  551. ## - 10.10.10.0/24
  552. ##
  553. loadBalancerSourceRanges: []
  554. ## Provide any additional annotations which may be required. Evaluated as a template
  555. ##
  556. annotations: {}
  557. ## External Access to Kafka brokers configuration
  558. ##
  559. externalAccess:
  560. ## Enable Kubernetes external cluster access to Kafka brokers
  561. ##
  562. enabled: false
  563. ## External IPs auto-discovery configuration
  564. ## An init container is used to auto-detect LB IPs or node ports by querying the K8s API
  565. ## Note: RBAC might be required
  566. ##
  567. autoDiscovery:
  568. ## Enable external IP/ports auto-discovery
  569. ##
  570. enabled: false
  571. ## Bitnami Kubectl image
  572. ## ref: https://hub.docker.com/r/bitnami/kubectl/tags/
  573. ##
  574. image:
  575. registry: docker.io
  576. repository: bitnami/kubectl
  577. tag: 1.19.11-debian-10-r14
  578. ## Specify a imagePullPolicy
  579. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  580. ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  581. ##
  582. pullPolicy: IfNotPresent
  583. ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
  584. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  585. ## Example:
  586. ## pullSecrets:
  587. ## - myRegistryKeySecretName
  588. ##
  589. pullSecrets: []
  590. ## Init Container resource requests and limits
  591. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  592. ##
  593. resources:
  594. # We usually recommend not to specify default resources and to leave this as a conscious
  595. # choice for the user. This also increases chances charts run on environments with little
  596. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  597. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  598. limits: {}
  599. # cpu: 100m
  600. # memory: 128Mi
  601. requests: {}
  602. # cpu: 100m
  603. # memory: 128Mi
  604. ## Parameters to configure K8s service(s) used to externally access Kafka brokers
  605. ## A new service per broker will be created
  606. ##
  607. service:
  608. ## Service type. Allowed values: LoadBalancer or NodePort
  609. ##
  610. type: LoadBalancer
  611. ## Port used when service type is LoadBalancer
  612. ##
  613. port: 9094
  614. ## Array of load balancer IPs for each Kafka broker. Length must be the same as replicaCount
  615. ## Example:
  616. ## loadBalancerIPs:
  617. ## - X.X.X.X
  618. ## - Y.Y.Y.Y
  619. ##
  620. loadBalancerIPs: []
  621. ## Load Balancer sources
  622. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  623. ## Example:
  624. ## loadBalancerSourceRanges:
  625. ## - 10.10.10.0/24
  626. ##
  627. loadBalancerSourceRanges: []
  628. ## Array of node ports used for each Kafka broker. Length must be the same as replicaCount
  629. ## Example:
  630. ## nodePorts:
  631. ## - 30001
  632. ## - 30002
  633. ##
  634. nodePorts: []
  635. ## Use worker host ips
  636. useHostIPs: false
  637. ## When service type is NodePort, you can specify the domain used for Kafka advertised listeners.
  638. ## If not specified, the container will try to get the kubernetes node external IP
  639. ##
  640. # domain: mydomain.com
  641. ## Provide any additional annotations which may be required. Evaluated as a template
  642. ##
  643. annotations: {}
  644. ## Persistence parameters
  645. ##
  646. persistence:
  647. enabled: false
  648. ## A manually managed Persistent Volume and Claim
  649. ## If defined, PVC must be created manually before volume will be bound
  650. ## The value is evaluated as a template
  651. ##
  652. # existingClaim:
  653. ## PV Storage Class
  654. ## If defined, storageClassName: <storageClass>
  655. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  656. ## If undefined (the default) or set to null, no storageClassName spec is
  657. ## set, choosing the default provisioner.
  658. ##
  659. # storageClass: "-"
  660. ## PV Access Mode
  661. ##
  662. accessModes:
  663. - ReadWriteOnce
  664. ## PVC size
  665. ##
  666. size: 8Gi
  667. ## PVC annotations
  668. ##
  669. annotations: {}
  670. ## selector can be used to match an existing PersistentVolume
  671. ## selector:
  672. ## matchLabels:
  673. ## app: my-app
  674. selector: {}
  675. ## Mount point for persistence
  676. ##
  677. mountPath: /bitnami/kafka
  678. ## Log Persistence parameters
  679. ##
  680. logPersistence:
  681. enabled: false
  682. ## A manually managed Persistent Volume and Claim
  683. ## If defined, PVC must be created manually before volume will be bound
  684. ## The value is evaluated as a template
  685. ##
  686. # existingClaim:
  687. ## PV Storage Class
  688. ## If defined, storageClassName: <storageClass>
  689. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  690. ## If undefined (the default) or set to null, no storageClassName spec is
  691. ## set, choosing the default provisioner.
  692. # existingLogClaim:
  693. ## PV Storage Class
  694. ## It getted from persistence.storageClass
  695. ##
  696. ## PV Access Mode
  697. ##
  698. accessModes:
  699. - ReadWriteOnce
  700. ## PVC size
  701. ##
  702. size: 8Gi
  703. ## PVC annotations
  704. ##
  705. annotations: {}
  706. ## selector can be used to match an existing PersistentVolume
  707. ## selector:
  708. ## matchLabels:
  709. ## app: my-app
  710. selector: {}
  711. ## Mount path for persistent logs
  712. ##
  713. mountPath: /opt/bitnami/kafka/logs
  714. ## Init Container parameters
  715. ## Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each component
  716. ## values from the securityContext section of the component
  717. ##
  718. volumePermissions:
  719. enabled: false
  720. ## The security context for the volumePermissions init container
  721. ##
  722. securityContext:
  723. runAsUser: 0
  724. image:
  725. registry: docker.io
  726. repository: bitnami/bitnami-shell
  727. tag: 10-debian-10-r98
  728. ## Specify a imagePullPolicy
  729. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  730. ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  731. ##
  732. pullPolicy: Always
  733. ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
  734. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  735. ## Example:
  736. ## pullSecrets:
  737. ## - myRegistryKeySecretName
  738. ##
  739. pullSecrets: []
  740. ## Init Container resource requests and limits
  741. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  742. ##
  743. resources:
  744. # We usually recommend not to specify default resources and to leave this as a conscious
  745. # choice for the user. This also increases chances charts run on environments with little
  746. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  747. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  748. limits: {}
  749. # cpu: 100m
  750. # memory: 128Mi
  751. requests: {}
  752. # cpu: 100m
  753. # memory: 128Mi
  754. ## Kafka pods ServiceAccount
  755. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  756. ##
  757. serviceAccount:
  758. ## Specifies whether a ServiceAccount should be created
  759. ##
  760. create: true
  761. ## The name of the ServiceAccount to use.
  762. ## If not set and create is true, a name is generated using the kafka.serviceAccountName template
  763. ##
  764. # name:
  765. # Allows auto mount of ServiceAccountToken on the serviceAccount created
  766. # Can be set to false if pods using this serviceAccount do not need to use K8s API
  767. automountServiceAccountToken: true
  768. ## Role Based Access
  769. ## ref: https://kubernetes.io/docs/admin/authorization/rbac/
  770. ##
  771. rbac:
  772. ## Specifies whether RBAC rules should be created
  773. ## binding Kafka ServiceAccount to a role
  774. ## that allows Kafka pods querying the K8s API
  775. ##
  776. create: false
  777. ## Kafka provisioning
  778. ##
  779. provisioning:
  780. enabled: false
  781. image:
  782. registry: docker.io
  783. repository: bitnami/kafka
  784. tag: 2.8.0-debian-10-r29
  785. ## Specify a imagePullPolicy
  786. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  787. ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  788. ##
  789. pullPolicy: IfNotPresent
  790. ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
  791. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  792. ## Example:
  793. ## pullSecrets:
  794. ## - myRegistryKeySecretName
  795. ##
  796. pullSecrets: []
  797. ## Set to true if you would like to see extra information on logs
  798. ##
  799. debug: false
  800. # provisioning.numPartitions: Number of partitions for the topic when it does not specify.
  801. numPartitions: 1
  802. # provisioning.replicationFactor: Replication factor for the topic when it does not specify.
  803. replicationFactor: 1
  804. ## Use an alternate scheduler, e.g. "stork".
  805. ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  806. ##
  807. # schedulerName:
  808. podAnnotations: {}
  809. resources:
  810. # We usually recommend not to specify default resources and to leave this as a conscious
  811. # choice for the user. This also increases chances charts run on environments with little
  812. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  813. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  814. limits: {}
  815. # cpu: 250m
  816. # memory: 1Gi
  817. requests: {}
  818. # cpu: 250m
  819. # memory: 256Mi
  820. ## Command and args for running the container (set to default if not set). Use array form
  821. ##
  822. command: []
  823. args: []
  824. topics: []
  825. # - name: topic-name
  826. # partitions: 1
  827. # replicationFactor: 1
  828. # # https://kafka.apache.org/documentation/#topicconfigs
  829. # config:
  830. # max.message.bytes: 64000
  831. # flush.messages: 1
  832. ## Prometheus Exporters / Metrics
  833. ##
  834. metrics:
  835. ## Prometheus Kafka Exporter: exposes complimentary metrics to JMX Exporter
  836. ##
  837. kafka:
  838. enabled: false
  839. ## Bitnami Kafka exporter image
  840. ## ref: https://hub.docker.com/r/bitnami/kafka-exporter/tags/
  841. ##
  842. image:
  843. registry: docker.io
  844. repository: bitnami/kafka-exporter
  845. tag: 1.3.1-debian-10-r14
  846. ## Specify a imagePullPolicy
  847. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  848. ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  849. ##
  850. pullPolicy: IfNotPresent
  851. ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
  852. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  853. ## Example:
  854. ## pullSecrets:
  855. ## - myRegistryKeySecretName
  856. ##
  857. pullSecrets: []
  858. ## Use an alternate scheduler, e.g. "stork".
  859. ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  860. ##
  861. # schedulerName:
  862. ## Extra flags to be passed to Kafka exporter
  863. ## Example:
  864. ## extraFlags:
  865. ## tls.insecure-skip-tls-verify: ""
  866. ## web.telemetry-path: "/metrics"
  867. ##
  868. extraFlags: {}
  869. ## Name of the existing secret containing the optional certificate and key files
  870. ## for Kafka Exporter client authentication
  871. ##
  872. # certificatesSecret:
  873. ## The secret key from the certificatesSecret if 'client-cert' key different from the default (cert-file)
  874. ##
  875. tlsCert: cert-file
  876. ## The secret key from the certificatesSecret if 'client-key' key different from the default (key-file)
  877. ##
  878. tlsKey: key-file
  879. ## Name of the existing secret containing the optional ca certificate
  880. ## for Kafka Exporter client authentication
  881. ##
  882. # tlsCaSecret:
  883. ## The secret key from the certificatesSecret or tlsCaSecret if 'ca-cert' key different from the default (ca-file)
  884. ##
  885. tlsCaCert: ca-file
  886. ## Prometheus Kafka Exporter' resource requests and limits
  887. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  888. ##
  889. resources:
  890. # We usually recommend not to specify default resources and to leave this as a conscious
  891. # choice for the user. This also increases chances charts run on environments with little
  892. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  893. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  894. limits: {}
  895. # cpu: 100m
  896. # memory: 128Mi
  897. requests: {}
  898. # cpu: 100m
  899. # memory: 128Mi
  900. ## Affinity for pod assignment
  901. ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  902. ## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
  903. ##
  904. affinity: {}
  905. ## Node labels for pod assignment
  906. ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
  907. ##
  908. nodeSelector: {}
  909. ## Tolerations for pod assignment
  910. ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  911. ##
  912. tolerations: []
  913. ## Add init containers to the Kafka exporter pods.
  914. ## Example:
  915. ## initContainers:
  916. ## - name: your-image-name
  917. ## image: your-image
  918. ## imagePullPolicy: Always
  919. ## ports:
  920. ## - name: portname
  921. ## containerPort: 1234
  922. ##
  923. initContainers: {}
  924. ## Service configuration
  925. ##
  926. service:
  927. ## Kafka Exporter Service type
  928. ##
  929. type: ClusterIP
  930. ## Kafka Exporter Prometheus port
  931. ##
  932. port: 9308
  933. ## Specify the nodePort value for the LoadBalancer and NodePort service types.
  934. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  935. ##
  936. nodePort: ""
  937. ## Set the LoadBalancer service type to internal only.
  938. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  939. ##
  940. # loadBalancerIP:
  941. ## Load Balancer sources
  942. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  943. ## Example:
  944. ## loadBalancerSourceRanges:
  945. ## - 10.10.10.0/24
  946. ##
  947. loadBalancerSourceRanges: []
  948. ## Set the Cluster IP to use
  949. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
  950. ##
  951. # clusterIP: None
  952. ## Annotations for the Kafka Exporter Prometheus metrics service
  953. ##
  954. annotations:
  955. prometheus.io/scrape: "true"
  956. prometheus.io/port: "{{ .Values.metrics.kafka.service.port }}"
  957. prometheus.io/path: "/metrics"
  958. ## Prometheus JMX Exporter: exposes the majority of Kafkas metrics
  959. ##
  960. jmx:
  961. enabled: false
  962. ## Bitnami JMX exporter image
  963. ## ref: https://hub.docker.com/r/bitnami/jmx-exporter/tags/
  964. ##
  965. image:
  966. registry: docker.io
  967. repository: bitnami/jmx-exporter
  968. tag: 0.15.0-debian-10-r121
  969. ## Specify a imagePullPolicy
  970. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  971. ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  972. ##
  973. pullPolicy: IfNotPresent
  974. ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
  975. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  976. ## Example:
  977. ## pullSecrets:
  978. ## - myRegistryKeySecretName
  979. ##
  980. pullSecrets: []
  981. ## Prometheus JMX Exporter' resource requests and limits
  982. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  983. ##
  984. resources:
  985. # We usually recommend not to specify default resources and to leave this as a conscious
  986. # choice for the user. This also increases chances charts run on environments with little
  987. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  988. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  989. limits: {}
  990. # cpu: 100m
  991. # memory: 128Mi
  992. requests: {}
  993. # cpu: 100m
  994. # memory: 128Mi
  995. ## Service configuration
  996. ##
  997. service:
  998. ## JMX Exporter Service type
  999. ##
  1000. type: ClusterIP
  1001. ## JMX Exporter Prometheus port
  1002. ##
  1003. port: 5556
  1004. ## Specify the nodePort value for the LoadBalancer and NodePort service types.
  1005. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  1006. ##
  1007. nodePort: ""
  1008. ## Set the LoadBalancer service type to internal only.
  1009. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  1010. ##
  1011. # loadBalancerIP:
  1012. ## Load Balancer sources
  1013. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  1014. ## Example:
  1015. ## loadBalancerSourceRanges:
  1016. ## - 10.10.10.0/24
  1017. ##
  1018. loadBalancerSourceRanges: []
  1019. ## Set the Cluster IP to use
  1020. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
  1021. ##
  1022. # clusterIP: None
  1023. ## Annotations for the JMX Exporter Prometheus metrics service
  1024. ##
  1025. annotations:
  1026. prometheus.io/scrape: "true"
  1027. prometheus.io/port: "{{ .Values.metrics.jmx.service.port }}"
  1028. prometheus.io/path: "/"
  1029. ## JMX Whitelist Objects, can be set to control which JMX metrics are exposed. Only whitelisted
  1030. ## values will be exposed via JMX Exporter. They must also be exposed via Rules. To expose all metrics
  1031. ## (warning its crazy excessive and they aren't formatted in a prometheus style) (1) `whitelistObjectNames: []`
  1032. ## (2) commented out above `overrideConfig`.
  1033. ##
  1034. whitelistObjectNames:
  1035. - kafka.controller:*
  1036. - kafka.server:*
  1037. - java.lang:*
  1038. - kafka.network:*
  1039. - kafka.log:*
  1040. ## Prometheus JMX exporter configuration
  1041. ## Specify content for jmx-kafka-prometheus.yml. Evaluated as a template
  1042. ##
  1043. ## Credits to the incubator/kafka chart for the JMX configuration.
  1044. ## https://github.com/helm/charts/tree/master/incubator/kafka
  1045. ##
  1046. config: |-
  1047. jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:5555/jmxrmi
  1048. lowercaseOutputName: true
  1049. lowercaseOutputLabelNames: true
  1050. ssl: false
  1051. {{- if .Values.metrics.jmx.whitelistObjectNames }}
  1052. whitelistObjectNames: ["{{ join "\",\"" .Values.metrics.jmx.whitelistObjectNames }}"]
  1053. {{- end }}
  1054. ## ConfigMap with Prometheus JMX exporter configuration
  1055. ## NOTE: This will override metrics.jmx.config
  1056. ##
  1057. # existingConfigmap:
  1058. ## Prometheus Operator ServiceMonitor configuration
  1059. ##
  1060. serviceMonitor:
  1061. enabled: false
  1062. ## Namespace in which Prometheus is running
  1063. ##
  1064. # namespace: monitoring
  1065. ## Interval at which metrics should be scraped.
  1066. ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
  1067. ##
  1068. # interval: 10s
  1069. ## Timeout after which the scrape is ended
  1070. ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
  1071. ##
  1072. # scrapeTimeout: 10s
  1073. ## ServiceMonitor selector labels
  1074. ## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration
  1075. ##
  1076. # selector:
  1077. # prometheus: my-prometheus
  1078. ## Relabel configuration for the metrics.
  1079. ##
  1080. # relabelings: []
  1081. # MetricRelabelConfigs to apply to samples before ingestion.
  1082. ##
  1083. # metricRelabelings: []
  1084. ##
  1085. ## Zookeeper chart configuration
  1086. ##
  1087. ## https://github.com/bitnami/charts/blob/master/bitnami/zookeeper/values.yaml
  1088. ##
  1089. zookeeper:
  1090. enabled: false
  1091. auth:
  1092. ## Enable Zookeeper auth
  1093. ##
  1094. enabled: false
  1095. ## User that will use Zookeeper clients to auth
  1096. ##
  1097. # clientUser:
  1098. ## Password that will use Zookeeper clients to auth
  1099. ##
  1100. # clientPassword:
  1101. ## Comma, semicolon or whitespace separated list of user to be created. Specify them as a string, for example: "user1,user2,admin"
  1102. ##
  1103. # serverUsers:
  1104. ## Comma, semicolon or whitespace separated list of passwords to assign to users when created. Specify them as a string, for example: "pass4user1, pass4user2, pass4admin"
  1105. ##
  1106. # serverPasswords:
  1107. ## This value is only used when zookeeper.enabled is set to false
  1108. ##
  1109. externalZookeeper:
  1110. ## Server or list of external zookeeper servers to use.
  1111. ##
  1112. servers: zookeeper
  1113. ## Extra init containers to add to the deployment
  1114. ##
  1115. initContainers: []