Hello everyone, I tried to set up meshery through this link, wherein I ran the docker desktop, k3d cluster create in wsl, and then tried running mesheryctl system start. The first time I did that, it ran okay, and I tried installing some adapters (which seemed to work okay), but the second time, it is giving me these errors:
Also, I didn’t set up the KUBECONFIG environment variable. The first time, I tried setting it up, and it just wouldn’t start no matter what. So I tried starting with the local config, and it worked that time. Should I be setting up the KUBECONFIG variable using export KUBECONFIG="$(k3d kubeconfig get 'k3s-default')"?
But when I try this, I get the below error when I try running kubectl config get-contexts:
If you’re running Docker Desktop, you can skip k3d and simply check the box for Kubernetes within Docker Desktop instead. This will simplify your networking setup.
I actually have both of them. I have enabled kubernetes within docker desktop, and I have also installed k3d. So if I understand what you said correctly, should I use the docker-desktop context in kubernetes while trying to run meshery, instead of trying to use the k3d cluster? Although that is what I was doing till now, that is, I was using docker-desktop as the context instead of the k3d cluster.
Sure, yes, you can delete that folder to start fresh or you can use mesheryctl system context and its subcommands to create and switch between different Meshery deployment contexts, @Samarth_Mayya.
@Lee I couldn’t get it to work either way . I am trying to run meshery on docker desktop with kubernetes enabled. Should the platform be docker or kubernetes for that? Because right now, in the screenshot of the config file below, the platform is being shown as kubernetes.
I’m not very sure actually. So I have enabled docker desktop, and the kubernetes context is docker-desktop. Does that mean it is in-cluster or out-of-cluster?
Also, I’m not able to start meshery itself. So the status command doesn’t really work
According to your screenshots, if you’re using either the local or the new_context context, then it means In-Cluster, because of the platform: kubernetes setting.
Right, so it should be in-cluster then. But the mesheryctl system status command doesn’t really output anything, except that meshery hasn’t been started
Thanks for huddling up on this, @Samarth_Mayya. It turned out the the particular release of Meshery that you were using was a botched GitHub workflow (a bad release). I’m pleased that we were able to get you up and running by updating to the latest release.