From 5fe4dc965f390a9481d0b70f1bb6ea5d0e961bc1 Mon Sep 17 00:00:00 2001 From: ycz Date: Thu, 5 Dec 2024 17:46:26 +0800 Subject: [PATCH] toc add kafka deployment document --- toc-upgrade/kafka/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 toc-upgrade/kafka/README.md diff --git a/toc-upgrade/kafka/README.md b/toc-upgrade/kafka/README.md new file mode 100644 index 0000000..0630397 --- /dev/null +++ b/toc-upgrade/kafka/README.md @@ -0,0 +1,15 @@ +# deployment operator +$ helm repo add confluentinc https://packages.confluent.io/helm +$ helm repo update + +# base 为 confluent-operator role mgnt +$ helm upgrade --install confluent-operator confluentinc/confluent-for-kubernetes --namespace base +$ helm upgrade --install confluent-operator confluentinc/confluent-for-kubernetes --set namespaceList="{base,tcs}" --namespace base --set namespaced=true + +# labels k8snode +$ kubectl label node drill-k8snode-10-2-1-17.base.drillinsight.com app.kubernetes.io/name=mq +$ kubectl label node drill-k8snode-10-2-1-18.base.drillinsight.com app.kubernetes.io/name=mq +$ kubectl label node drill-k8snode-10-2-1-19.base.drillinsight.com app.kubernetes.io/name=mq + +# deployment kafka +$ kubectl -n tcs apply -f kafka.yaml