Set up your development environment

Sounds like the TODOs here are:

  • Juju should make sure to create /var/snap/juju/current/microk8s/credentials so the user doesn’t have to do it manually.

  • @jose-mingorance should consider changing the way to do the second step to something simpler and safer such as microk8s config | juju add-k8s --client microk8s .

If it helps: Note that this only affects users who already have a MicroK8s installed from a snap that is not strictly confined.

I’m actually leaning away from “make sure to create the dir” in favor of using juju add-k8s, but plausibly improving the error message to point you in that direction.

1 Like