Running Strimzi on Kubernetes
Starting Minikube 1.11+ (1.11.3 / 1.12.1)
minikube start --memory=8192 --cpus=4 \
--kubernetes-version=v1.12.1 \
--vm-driver=kvm2 \
--bootstrapper=kubeadm \
--extra-config=apiserver.enable-admission-plugins=" LimitRanger,NamespaceExists,NamespaceLifecycle,ResourceQuota,ServiceAccount,DefaultStorageClass,MutatingAdmissionWebhook"
kubectl create namespace kafka
Apply the Strimzi install files (e.g. Roles, Bindings, CRDs)
curl -L https://gist.githubusercontent.com/matzew/3f373f9de6696f08f989814065d77fd6/raw/8a89c7e91d91106b65390a83538e6141396b9c59/Strimzi_070_install.yaml \
| sed ' s/namespace: .*/namespace: kafka/' \
| kubectl -n kafka apply -f -
Wait for the Operator to be ready (not required, but nice to show)
sleep 5; while echo && kubectl get pods -n kafka | grep -v -E " (Running|Completed|STATUS)" ; do sleep 5; done
Apply the Kafka
Cluster CR file
kubectl -n kafka apply -f https://raw.githubusercontent.com/knative/eventing/master/config/buses/kafka/strimzi/kafka-persistent.yaml