Skip to content

relaxdiego/demo-charm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Charm

It's new! It's shiny! It's definitely buggy!

This is just a charm that I'm using to learn the Operator Framework.

Installation

sudo snap install juju --classic
sudo snap install microk8s --classic
sudo microk8s.enable dns dashboard registry storage
sudo usermod -a -G microk8s ubuntu

Log out, log back in.

juju bootstrap microk8s mk8s

Optional: Grab coffee/beer/tea or do a 5k run

juju create-storage-pool operator-storage kubernetes storage-class=microk8s-hostpath
juju add-model demo-charm
juju deploy .

Developing

We do charm unit testing in this here parts. We're not savages.

pip install tox
tox

Check out how tests are written in the test/ dir.

About

Demo charm to try out the Operator Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages