16 lines
762 B
Markdown
16 lines
762 B
Markdown
|
# 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
|