-
-
Save briskgopesh/2503f11bfdca6918ec7eb99fad41216c to your computer and use it in GitHub Desktop.
full version (Setup for local kubernetes cluster on my mac) cp-kafka helm chart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ------------------------------------------------------ | |
## Zookeeper | |
## ------------------------------------------------------ | |
cp-zookeeper: | |
enabled: true | |
servers: 3 | |
image: confluentinc/cp-zookeeper | |
imageTag: 5.2.1 | |
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | |
imagePullSecrets: | |
# - name: "regcred" | |
heapOptions: "-Xms512M -Xmx512M" | |
persistence: | |
enabled: true | |
## The size of the PersistentVolume to allocate to each Zookeeper Pod in the StatefulSet. For | |
## production servers this number should likely be much larger. | |
## | |
## Size for Data dir, where ZooKeeper will store the in-memory database snapshots. | |
dataDirSize: 10Gi | |
# dataDirStorageClass: "" | |
## Size for data log dir, which is a dedicated log device to be used, and helps avoid competition between logging and snaphots. | |
dataLogDirSize: 10Gi | |
# dataLogDirStorageClass: "" | |
resources: {} | |
## If you do want to specify resources, uncomment the following lines, adjust them as necessary, | |
## and remove the curly braces after 'resources:' | |
# limits: | |
# cpu: 100m | |
# memory: 128Mi | |
# requests: | |
# cpu: 100m | |
# memory: 128Mi | |
## ------------------------------------------------------ | |
## Kafka | |
## ------------------------------------------------------ | |
cp-kafka: | |
enabled: true | |
brokers: 3 | |
image: confluentinc/cp-enterprise-kafka | |
imageTag: 5.2.1 | |
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | |
imagePullSecrets: | |
# - name: "regcred" | |
heapOptions: "-Xms512M -Xmx512M" | |
persistence: | |
enabled: true | |
# storageClass: "" | |
size: 5Gi | |
disksPerBroker: 1 | |
resources: {} | |
## If you do want to specify resources, uncomment the following lines, adjust them as necessary, | |
## and remove the curly braces after 'resources:' | |
# limits: | |
# cpu: 100m | |
# memory: 128Mi | |
# requests: | |
# cpu: 100m | |
# memory: 128Mi | |
nodeport: | |
enabled: true | |
servicePort: 19092 | |
firstListenerPort: 31090 | |
configurationOverrides: | |
"offsets.topic.replication.factor": "3" | |
# "default.replication.factor": 3 | |
# "min.insync.replicas": 2 | |
# "auto.create.topics.enable": false | |
## Options required for external access via NodePort | |
## ref: | |
## - http://kafka.apache.org/documentation/#security_configbroker | |
## - https://cwiki.apache.org/confluence/display/KAFKA/KIP-103%3A+Separation+of+Internal+and+External+traffic | |
## | |
## Advertised listeners will use the firstListenerPort value as it's default unless overridden here. | |
## Setting "advertised.listeners" here appends to "PLAINTEXT://${POD_IP}:9092," | |
"advertised.listeners": |- | |
EXTERNAL://localhost:$((31090 + ${KAFKA_BROKER_ID})) | |
"listener.security.protocol.map": |- | |
PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT | |
## ------------------------------------------------------ | |
## Schema Registry | |
## ------------------------------------------------------ | |
cp-schema-registry: | |
enabled: true | |
image: confluentinc/cp-schema-registry | |
imageTag: 5.2.1 | |
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | |
imagePullSecrets: | |
# - name: "regcred" | |
heapOptions: "-Xms512M -Xmx512M" | |
resources: {} | |
## If you do want to specify resources, uncomment the following lines, adjust them as necessary, | |
## and remove the curly braces after 'resources:' | |
# limits: | |
# cpu: 100m | |
# memory: 128Mi | |
# requests: | |
# cpu: 100m | |
# memory: 128Mi | |
## ------------------------------------------------------ | |
## REST Proxy | |
## ------------------------------------------------------ | |
cp-kafka-rest: | |
enabled: true | |
image: confluentinc/cp-kafka-rest | |
imageTag: 5.2.1 | |
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | |
imagePullSecrets: | |
# - name: "regcred" | |
heapOptions: "-Xms512M -Xmx512M" | |
resources: {} | |
## If you do want to specify resources, uncomment the following lines, adjust them as necessary, | |
## and remove the curly braces after 'resources:' | |
# limits: | |
# cpu: 100m | |
# memory: 128Mi | |
# requests: | |
# cpu: 100m | |
# memory: 128Mi | |
## ------------------------------------------------------ | |
## Kafka Connect | |
## ------------------------------------------------------ | |
cp-kafka-connect: | |
enabled: true | |
image: confluentinc/cp-kafka-connect | |
imageTag: 5.2.1 | |
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | |
imagePullSecrets: | |
# - name: "regcred" | |
heapOptions: "-Xms512M -Xmx512M" | |
resources: {} | |
## If you do want to specify resources, uncomment the following lines, adjust them as necessary, | |
## and remove the curly braces after 'resources:' | |
# limits: | |
# cpu: 100m | |
# memory: 128Mi | |
# requests: | |
# cpu: 100m | |
# memory: 128Mi | |
## ------------------------------------------------------ | |
## KSQL Server | |
## ------------------------------------------------------ | |
cp-ksql-server: | |
enabled: true | |
image: confluentinc/cp-ksql-server | |
imageTag: 5.2.1 | |
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | |
imagePullSecrets: | |
# - name: "regcred" | |
heapOptions: "-Xms512M -Xmx512M" | |
ksql: | |
headless: false | |
## ------------------------------------------------------ | |
## Control Center | |
## ------------------------------------------------------ | |
cp-control-center: | |
enabled: true | |
image: confluentinc/cp-enterprise-control-center | |
imageTag: 5.2.0 | |
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | |
imagePullSecrets: | |
# - name: "regcred" | |
heapOptions: "-Xms512M -Xmx512M" | |
resources: {} | |
## If you do want to specify resources, uncomment the following lines, adjust them as necessary, | |
## and remove the curly braces after 'resources:' | |
# limits: | |
# cpu: 100m | |
# memory: 128Mi | |
# requests: | |
# cpu: 100m | |
# memory: 128Mi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment