- Start minikube (I'm using mac so driver is hyperkit
minikube start --cpus 4 --memory 8192 --driver hyperkit
- Enable ingress addon
minikube addons enable ingress
- (Optional) patch ingress to enable TLS passthrough
kubectl patch -n ingress-nginx deployment/ingress-nginx-controller --type='json' \
-p '[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--enable-ssl-passthrough"}]'
- Create microcks namespace
kubectl create namespace microcks
- Install Strimzi in microcks namespace
kubectl apply -f 'https://strimzi.io/install/latest?namespace=microcks' -n microcks
- Create the managed Kafka cluster (this is a one node cluster)
kubectl apply -f 'https://gist.githubusercontent.com/hguerrero/a37cb75416750b13ff02f313c547d2fa/raw/7e413cabdb8131d7f56210f5ce0acdafc6ec0065/kafka-ephemeral-single.yaml' -n microcks
- Install microcks
kubectl apply -f 'https://strimzi.io/install/latest?namespace=microcks' -n microcks
- Create the microcks install CR with external Kafka async feature
curl https://gist.githubusercontent.com/hguerrero/caa84296215d354500a6ade742fec4f0/raw/4b2713352e82333d16f13946b8d31b1f4fedbcf2/minikube-features-external-kafka.yaml -s | sed 's/KUBE_APPS_URL/'$(minikube ip)'.nip.io/g' | kubectl apply -n microcks -f -
Open a browser and go to microcks.${minikube ip}.nip.io, you can use admin/microcks123 to login. Note that if you are using self signed certs, you might need to access and accept the cert for keycloack first. In that case navigate to microcks-keycloak.${minikube ip}.ni.io You can check the ingress created to get the actual ip used.