Good day,
I am attempting to install Consul, using consul-k8s to a three node minikube cluster. Unfortunately it always fails when deploying t he 45 resources. I’ve checked the pods and see:
ubectl get po -n consul INT ✘ minikube ⎈
NAME READY STATUS RESTARTS AGE
consul-connect-injector-76f9c4b7db-zrw7b 0/1 CrashLoopBackOff 33 (4m9s ago) 109m
consul-server-0 0/1 CrashLoopBackOff 25 (4m31s ago) 109m
consul-server-1 0/1 CrashLoopBackOff 25 (4m6s ago) 109m
consul-server-2 0/1 Running 0 109m
consul-server-acl-init-5rtx5 0/1 Error 0 92m
consul-server-acl-init-d94jd 0/1 Error 0 61m
consul-server-acl-init-kljwc 0/1 Error 0 109m
consul-server-acl-init-rfsh6 0/1 Error 0 77m
consul-server-acl-init-s9xjh 0/1 Error 0 16m
consul-server-acl-init-tjfb5 0/1 Error 0 31m
consul-server-acl-init-vc4np 0/1 Error 0 46m
consul-webhook-cert-manager-6b787686d5-4wdxx 1/1 Running 0 109m
and if I inspect one of the servers I get the following error:
kubectl logs consul-server-0 -n consul minikube ⎈
==> failed to setup node ID: failed to write NodeID to disk: open /consul/data/node-id: permission denied
If I create the cluster with a single node all works as expected and Consul is deployed successfully. Any thoughts please?