toc add kafka deployment document

main
ycz 2024-12-05 17:48:11 +08:00
parent 5fe4dc965f
commit 576e775234
1 changed files with 12 additions and 8 deletions

View File

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