On macOS, With conjure-up version 2.5.1 and the latest canonical-kubernetes spell, some failures are because the kubectl script created in $HOME/bin in step 02_get-kubectl refers to the ubuntu directory location of /snap/bin/kubectl instead of the macos standard of /usr/local/bin/kubectl.
On macOS, With conjure-up version 2.5.1 and the latest canonical-kubernetes spell, some failures are because the kubectl script created in $HOME/bin in step 02_get-kubectl refers to the ubuntu directory location of /snap/bin/kubectl instead of the macos standard of /usr/local/bin/kubectl.
Please see line 25 in https://github.com/conjure-up/spells/blob/master/canonical-kubernetes/steps/02_get-kubectl/after-deploy echo "KUBECONFIG=$HOME/.kube/config.$JUJU_MODEL /snap/bin/kubectl \$@" > $HOME/bin/kubectl this line can be made os independent.