After i finish install mesherycli with minikube ,
i run the command
minikube start
mesheryctl system start
i got error like this:
Starting Meshery...
⣾ Deploying Meshery on KubernetesError: failed to start Meshery
See https://docs.meshery.io/reference/mesheryctl/system for usage details
: could not install meshery server: Kubernetes cluster unreachable: Get "https://127.0.0.1:51524/version": tls: failed to verify certificate: x509: “minikube” certificate is not standards compliant
could not install meshery-operator: Kubernetes cluster unreachable: Get "https://127.0.0.1:51524/version": tls: failed to verify certificate: x509: “minikube” certificate is not standards compliant
i’m confuse about that problem, Please help me with this problem.
I am getting the same error while trying to setup meshery on minikube using mesheryctl,looking for potential solutions.
turns out this a common problem faced by many starting with meshery, you need move minikube certificate
cp ~/minikube/ca.crt /usr/share/pki/anchor
then
sudo update-ca-certificates
Thanks for your reply, but i installed the meshery on Mac not linux. I will try the same idea to reproduce this solution.
Are you using a docker driver to start up minikube
Are you referring to using minikube start --driver=docker
to start the Minikube cluster? If so, then yes, that’s correct. However, I’m now only running Meshery CLI with Docker, and it’s working. i’m still confused how to run mesherycli with minikube.
Hi @JianMin.Tang
Did you checked this section of Meshery docs? Minikube | Meshery
Generally, minifying kubeconfig fixes x509 issues.
kubectl config view --minify --flatten > config_minikube.yaml