Before you can deploy any of the deployment examples found in ./stable
and ./incubator
, we must first deploy the CFK Operator, and it's dependent CRDs. To deploy, from the root of this repository, run:
kubectl apply --kustomize ./base/cfk-base/latest/crds && sleep 5 && kubectl apply --kustomize ./base/cfk-base/latest/templates
We have taken the approach to deploy the Operator at a cluster-wide level, to allow use to experiment with multi-tenant configurations
Unless otherwise started in the README.md of each example, it should be assumed that we will deploy the example by running
export EXAMPLE=base-rbac
kubectl apply -k ./stable/$EXAMPLE
- Using a tool like K9s check the status of the pods:
➜ replicator git:(replicator) ✗ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
sandbox confluent-operator-d4bb8cbd6-qg4dq 1/1 Running 0 14m
sandbox console-producer-0 1/1 Running 1 14m
sandbox kafka-0 1/1 Running 1 13m
sandbox kafka-1 1/1 Running 0 13m
sandbox kafka-2 1/1 Running 0 13m
sandbox zookeeper-0 1/1 Running 0 13m
sandbox zookeeper-1 1/1 Running 0 13m
sandbox zookeeper-2 1/1 Running 0 13m
tools ldap 1/1 Running 1 14m
minikube delete && minikube start --memory 24576 --cpus 12