OKR/toc-upgrade/kafka/README.md

20 lines
798 B
Markdown
Raw Permalink Normal View History

2024-12-05 17:46:26 +08:00
# deployment operator
2024-12-05 17:48:11 +08:00
$ helm repo add confluentinc https://packages.confluent.io/helm
$ helm repo update
2024-12-05 17:46:26 +08:00
# base 为 confluent-operator role mgnt
2024-12-05 17:48:11 +08:00
$ 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
2024-12-05 17:46:26 +08:00
# labels k8snode
2024-12-05 17:48:11 +08:00
$ 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
2024-12-05 17:46:26 +08:00
# deployment kafka
2024-12-05 17:48:11 +08:00
$ kubectl -n tcs apply -f kafka.yaml