[Kubernetes] Kafbat - Kafka UI(1.1.0)

Helm 설치 및 설명 참고 {: .prompt-info }

Add Repo the Helm charts #

1helm repo add kafbat-ui https://kafbat.github.io/helm-charts

values 수정 - kafka 연결 세팅 #

 1...✂...
 2
 3yamlApplicationConfig:
 4  kafka:
 5    clusters:
 6      - name: yaml
 7        bootstrapServers:  kafka-cluster-broker-endpoints:9092
 8  auth:
 9    type: disabled
10  management:
11    health:
12      ldap:
13        enabled: false
14
15...✂...

values 수정 - NodePort 설정 #

 1...✂...
 2
 3yamlApplicationConfig:
 4  kafka:
 5    clusters:
 6      - name: yaml
 7        bootstrapServers:  my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092
 8  auth:
 9    type: disabled
10  management:
11    health:
12      ldap:
13        enabled: false
14service:
15  ## @param service.type Kafka-UI service type
16  type: NodePort
17  ## @param service.port Kafka-UI pod port number
18  port: 80
19  # In case of service type LoadBalancer, you can specify reserved static IP
20  # loadBalancerIP: 10.11.12.13
21  # if you want to force a specific nodePort. Must be use with service.type=NodePort
22  nodePort: 30092
23
24...✂...

Install kafka UI #

1helm install -n [NAMESPACE] kafbat-ui kafbat-ui/kafka-ui -f values.yaml

kafbat helm 참고 - https://github.com/kafbat/helm-charts

1helm install -n [NAMESPACE] kafka-ui charts/kafka-ui -f charts/kafka-ui/values.yaml

{: .prompt-info }

Advertisement