microk8s.{start,stop} don't exist anymore but are referenced in the docs

Created on 22 Nov 2018  路  2Comments  路  Source: ubuntu/microk8s

The current version of the README and the rest of the repo are not syncronized. The readme states to use microk8s.start and microk8s.stop to start/stop the cluster, but the actions are not defined anymore.

Please either readd the actions or clarify how to restart the cluster in the readme, thanks!

Most helpful comment

Hi @trusch ,

The start/stop commands (as well as microk8s.status) are recent additions. They exist on the edge channel (sudo snap install microk8s --classic --edge) and they will be released to the stable channel soon. So this is an issue of the source code on github being a bit ahead of what is released, and that's expected.

For now to stop/start the microk8s you can do:

sudo snap disable microk8s
sudo snap enable microk8s

Thank you for using microk8s.

All 2 comments

Hi @trusch ,

The start/stop commands (as well as microk8s.status) are recent additions. They exist on the edge channel (sudo snap install microk8s --classic --edge) and they will be released to the stable channel soon. So this is an issue of the source code on github being a bit ahead of what is released, and that's expected.

For now to stop/start the microk8s you can do:

sudo snap disable microk8s
sudo snap enable microk8s

Thank you for using microk8s.

@ktsakalozos Thank you for your explanation!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

singram picture singram  路  4Comments

toxsick picture toxsick  路  4Comments

edsiper picture edsiper  路  5Comments

alphawolf1988 picture alphawolf1988  路  3Comments

khteh picture khteh  路  5Comments