-
Install Docker Engine
-
Start Docker service in Linux
sudo service docker start
-
Post-installation steps for Linux
-
Test
docker run hello-world
-
Install kubectl:
-
Test
kubectl version --client kubectl version --client --output=yaml
-
Install Minikube:
-
Start cluster
minikube start
-
Get Cluster Information
kubectl get po -A
-
Open Kubernetes Dashboard
minikube dashboard
Helm is the package manager for Kubernetes.
-
Install
-
Create the namespace to use.
kubectl create namespace confluent
-
Set this namespace to default for your Kubernetes context.
kubectl config set-context --current --namespace confluent
-
Add the Confluent for Kubernetes Helm repository.
helm repo add confluentinc https://packages.confluent.io/helm helm repo update
-
Install Confluent for Kubernetes.
helm upgrade --install confluent-operator confluentinc/confluent-for-kubernetes
-
Install all Confluent Platform components.
kubectl apply -f https://raw.githubusercontent.com/confluentinc/confluent-kubernetes-examples/master/quickstart-deploy/confluent-platform.yaml
-
Install a sample producer app and topic.
kubectl apply -f https://raw.githubusercontent.com/confluentinc/confluent-kubernetes-examples/master/quickstart-deploy/producer-app-data.yaml
-
Check that everything is deployed:
kubectl get pods
Use Control Center to monitor the Confluent Platform, and see the created topic and data.
-
Set up port forwarding to Control Center web UI from local machine:
kubectl port-forward controlcenter-0 9021:9021
-
Browse to Control Center:
-
Check that the elastic-0 topic was created and that messages are being produced to the topic.
-
Open Confluent Control Center.
kubectl confluent dashboard controlcenter
-
View the Confluent Platform version
kubectl confluent version
-
Test.
docker compose version
-
Start Docker service.
sudo service docker start
-
Start cluster.
minikube start
For troubleshooting,
minikube start --alsologtostderr --v=2
-
Get Cluster Information
kubectl get po --namespace confluent
-
Open Kubernetes Dashboard
minikube dashboard
-
Open Confluent Control Center.
kubectl confluent dashboard controlcenter --namespace confluent