Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 2.08 KB

GETTING_STARTED.md

File metadata and controls

42 lines (31 loc) · 2.08 KB

Getting Started

Deploying the Operator

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

Deploying the example

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
  1. 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

Tearing Down

minikube delete && minikube start --memory 24576 --cpus 12