toc add kafka deployment document

main
ycz 2024-12-05 17:46:26 +08:00
parent ee588ab0e5
commit 5fe4dc965f
1 changed files with 15 additions and 0 deletions

View File

@ -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