Charmed Kubernetes
I’m investigating Charmed Kubernetes. Canonical’s version. Maybe a short detour.
juju is an ubuntu specific bare metal install system. I’ve never tried it before so I guess I’ll do it now. sudo snap install juju --classic Create a new intellij project charmed. Make it into a git repo. This is the README.md, or would be if stackedit supported raw git repos. Gitlab isn’t up.
According to ubuntu’s kubernetes install manual the first thing I need to do is create an override.yaml file with a bunch of snippets starting with the network snippet. I chose this one
Since I’m not using anyone’s cloud, that appears to be the only thing I need to do except juju deploy charmed-kubernetes --overlay deepthot-overlay.yaml nope:
Since Juju 2 is being run for the first time, downloading latest cloud information.
Fetching latest public cloud list...
This client's list of public clouds is up to date, see `juju clouds --client-only`.
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".
Clouds
aws
aws-china
aws-gov
azure
azure-china
cloudsigma
google
joyent
localhost
oracle
oracle-classic
rackspace
Select a cloud [localhost]:
Enter a name for the Controller [localhost-localhost]:
ERROR Permission denied, are you in the lxd group?
Please configure LXD by running:
$ newgrp lxd
$ lxd init
sudo lxd init
Would you like to use LXD clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]:
Name of the new storage pool [default=default]:
Name of the storage backend to use (btrfs, ceph, dir, lvm, zfs) [default=btrfs]:
Would you like to create a new btrfs subvolume under /var/snap/lxd/common/lxd? (yes/no) [default=yes]:
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new local network bridge? (yes/no) [default=yes]:
What should the new bridge be called? [default=lxdbr0]:
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
Would you like LXD to be available over the network? (yes/no) [default=no]: yes
Address to bind LXD to (not including port) [default=all]:
Port to bind LXD to [default=8443]:
Trust password for new clients:
Again:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]
denebeim@frankiemouse:~$ sudo gpasswd -a denebeim lxd
Adding user denebeim to group lxd
denebeim@frankiemouse:~$ sudo gpasswd -a denebeim@deepthot.aa lxd
Adding user denebeim@deepthot.aa to group lxd
Heck with it, don’t waste your time Joy. The free esx hypervisor has a read only rest api. Which means NOTHING can be used to create VMs. You must do it yourself. So, no shortcuts. None… never
No comments:
Post a Comment