This page is incomplete
This page assumes you’ve worked through the tutorials and is meant to distill the concept taught in those. If you haven’t already gone through them, please start there.
This outlines a sample workflow using Sugarkube to spin up and tear down Kubernetes clusters.
cluster_updateaction to create a cluster, explicitly create a cluster by running
cluster create. Don’t do this if one of your kapps/manifests calls that action though.
kapps installto install your kapps (and create your cluster if they call the
kapps install -i <manifest:kapp-id>to reinstall just the kapp you’re working on.
cluster_deleteaction, manually run
Other useful commands while you’re developing a kapp are:
cluster vars- see all the interpolated, merged variables for your target cluster
kapp vars- see the output of
cluster varsplus the values of variables that will be supplied to your kapp and the values of any available outputs
kapp template- render templates declared in your kapp
kapp clean- run
make cleanacross all your kapps to reset their state