The code for this charm can be downloaded from GitHub as follows:
git clone https://github.com/catalogicsoftware/cloudcasa-charm
Setup
A typical setup using snap, for deployments to a microk8s cluster can be done using the following commands.
Install the dependencies:
sudo snap install juju --classic
sudo snap install microk8s --classic
microk8s.enable dns storage
Create a controller named micro
into the cloud microk8s
:
juju bootstrap microk8s micro
In Juju you interact with the client, the juju
command on your local machine. It connects to a controller, which controls the models.
juju add-model cloudcasa-system
Then you build and deploy this charm into the model you just created:
charmcraft build
juju deploy --trust ./cloudcasa.charm --resource cloudcasa-image=catalogicsoftware/amds-kagent:latest
To check the status, run:
juju status
Alternatively, you can completely clean up the environment with:
juju remove-application cloudcasa --force --no-wait
juju destroy-model cloudcasa-system --destroy-storage --force --no-wait
juju destroy-controller micro --destroy-all-models