From 576e7752349b70d82ee7f2b53d552337b30391ad Mon Sep 17 00:00:00 2001 From: ycz Date: Thu, 5 Dec 2024 17:48:11 +0800 Subject: [PATCH] toc add kafka deployment document --- toc-upgrade/kafka/README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/toc-upgrade/kafka/README.md b/toc-upgrade/kafka/README.md index 0630397..0a0b07a 100644 --- a/toc-upgrade/kafka/README.md +++ b/toc-upgrade/kafka/README.md @@ -1,15 +1,19 @@ # deployment operator -$ helm repo add confluentinc https://packages.confluent.io/helm -$ helm repo update + + $ 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 + + $ 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 + + $ 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 + + $ kubectl -n tcs apply -f kafka.yaml