【问题标题】:Trying to install cp-helm-charts: Settings are ignored尝试安装 cp-helm-charts:设置被忽略
【发布时间】:2020-02-24 15:05:32
【问题描述】:

我正在尝试安装cp-helm-charts

我希望能够从外部访问拓扑。

所以我做到了:

helm install --set external.enabled=true confluentinc/cp-helm-charts

但是kubectl get services 仍然告诉我:

wishful-newt-cp-kafka                ClusterIP   10.106.112.201   <none>        9092/TCP            115s
wishful-newt-cp-kafka-connect        ClusterIP   10.104.46.32     <none>        8083/TCP            115s
wishful-newt-cp-kafka-headless       ClusterIP   None             <none>        9092/TCP            115s
wishful-newt-cp-kafka-rest           ClusterIP   10.105.4.206     <none>        8082/TCP            115s
wishful-newt-cp-ksql-server          ClusterIP   10.104.90.228    <none>        8088/TCP            115s
wishful-newt-cp-schema-registry      ClusterIP   10.103.12.45     <none>        8081/TCP            115s
wishful-newt-cp-zookeeper            ClusterIP   10.101.18.171    <none>        2181/TCP            115s
wishful-newt-cp-zookeeper-headless   ClusterIP   None             <none>        2888/TCP,3888/TCP   115s

有什么我可能缺少的想法吗?

【问题讨论】:

  • 能否提供您的 Helm 和 Kubernetes 版本?还有你的 Helm 安装日志?

标签: kubernetes apache-kafka kubernetes-helm confluent-platform


【解决方案1】:

external.enable 值特定于某些子图表。从父项指定值时,您需要为要更改配置的子图表名称添加前缀。例如:

KSQL设置外部访问权限:

helm install --set=cp-ksql-server.external.enabled=true confluentinc/cp-helm-charts

Kafka Rest设置外部访问:

helm install --set=cp-kafka-rest.external.enabled=true confluentinc/cp-helm-charts


如果您打算将外部访问权限设置为Kafka,您应该使用:

helm install --set=cp-kafka.nodeport.enabled=true confluentinc/cp-helm-charts

【讨论】:

    猜你喜欢
    • 2020-12-08
    • 1970-01-01
    • 2019-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-16
    相关资源
    最近更新 更多