v2-67c288406f722f94444ff5e9ff9fc6a8_r.jpg

chart

[编辑values.yaml

image:
  repository: zenko/kafka-manager
  tag: 1.3.3.22
  pullPolicy: IfNotPresent

zkHosts: "kafka-zookeeper:2181"


basicAuth:
  enabled: true
  username: "admin"
  password: "admin"

service:
  type: NodePort
  port: 9000
  nodePort: 30056
  annotations: {}

[helm部署kafka-manager

helm install --name kafka-manager \
        -f values.yaml \
        stable/kafka-manager \
        --namespace video

访问:http://172.16.0.21:30056

ingress

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: kafka-manager
  namespace: video
  annotations: 
    kubernetes.io/ingress.class: "nginx"
spec:
  rules:
  - host: kafka.test.com
    http:
      paths:
      - path: 
        backend:
          serviceName: kafka-manager
          servicePort: 9000

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code