gpt4 book ai didi

ssl - 带 SSL 的 Kubernetes 上的 Kafka

转载 作者:太空宇宙 更新时间:2023-11-03 13:10:59 24 4
gpt4 key购买 nike

我有一个在 K8S 上运行的 Kafka 集群。我正在使用汇合的 kafka 图像,并且我有一个正在工作的 EXTERNAL 监听器。如何添加 SSL 加密?我应该使用入口吗?我在哪里可以找到好的文档?谢谢

最佳答案

你有一个 manual way in this gist , 它不使用合流图像。

但对于 Confluent and its Helm chart (参见 Confluent Operator: Getting Started with Apache Kafka and Kubernetes 中的“Rohit Bakhshi ”),您可以关注:

"Encryption, authentication and external access for Confluent Kafka on Kubernetes "来自 Ryan Morris

Out of the box, the helm chart doesn’t support SSL configurations for encryption and authentication, or exposing the platform for access from outside the Kubernetes cluster.

To implement these requirements, there are a few modifications to the installation needed.
In summary, they are:

  • Generate some private keys/certificates for brokers and clients
  • Create Kubernetes Secrets to provide them within your cluster
  • Update the broker StatefulSet with your Secrets and SSL configuration
  • Expose each broker pod via an external service

关于ssl - 带 SSL 的 Kubernetes 上的 Kafka,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58786042/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com