I’m trying to get started with Juju managing Charms on Kubernetes. I am having trouble with
I’ve spun up a clean 20.04 LXD instance, installed the
juju snap and the
microk8s snap, and, as per the linked documentation:
If you have installed MicroK8s, the cluster is already registered. Feel free to move to the next section.
To add a model, use the
When I do this, I get an error about lack of controllers:
# juju add-model loremipsum ERROR No controllers registered. Please either create a new controller using "juju bootstrap" or connect to another controller that you have been given access to using "juju register".
and when I try to
juju bootstrap, I get an empty error:
# juju bootstrap Clouds aws aws-china aws-gov azure azure-china cloudsigma google joyent localhost microk8s oracle oracle-classic rackspace Select a cloud [localhost]: microk8s Enter a name for the Controller [microk8s-localhost]: ERROR
Am I doing something wrong or missing something here?
# snap info microk8s | grep ^installed installed: v1.18.2 (1379) 201MB classic # snap info juju | grep ^installed installed: 2.7.6 (11454) 77MB classic