Closed MinHtetO closed 2 years ago
Hi @MinHtetO does install with the values found here https://learn.hashicorp.com/tutorials/consul/kubernetes-kind?in=consul/kubernetes-deploy#create-a-values-file also produce the same error? I believe perhaps the bootstrapExpect
may be what is causing the issue here.
Hi @david-yu ,
I removed the bootstrapExpect param and the issues was solved. Thank you.
Background of the issue I'm trying to test consul service mesh locally on my mac with docker desktop k8. I used helm to install consul with consul server instance 1 since I am testing on my laptop ( only one node ). The consul pods are running with no issue. But when I make the deployment, the pods are not ready and have
Init:Error
status issue. When I check the logs of consul-connect-inject-init on the pods, it showsunable to get agent services
error log.Steps to reproduce
Install consul with helm
helm install consul hashicorp/consul --set global.name=consul --set server.replicas=1 --set server.bootstrapExpect=1 --set connectInject.enabled=true --set connectInject.default=true --create-namespace --namespace consul
Create the deployment and service - It's simple k8 deployment with tcp probs, the services are tested with no issues on k8 ( without consul mesh )
The logs
Environment
MacOS Version 12.4
Helm Version
Docker Desktop Version 4.2.0