docs: replacement of exit command with creation of .kube directory and usage of newgrp #3779
Labels
kind/docs
Things which may be resolved by or have a docs component
triage/good-first-issue
Good for newcomers
Summary
As discussed in last community meeting a change in the tutorial section under this link in which while getting a error when installing microk8s it is advised to - "To validate the changes you can exit the VM’s shell and log in again." which is not a good practice and can be replaced by using newgrp.
What Should Happen Instead?
Instead of using exit command, a directory named ".kube" can be made if doesn't exit in the current VM and then the commands shown in the screenshot should be copy and pasted in the terminal followed by
newgrp microk8s
Reproduction Steps
multipass launch --name <vm-name> --mem 4G --disk 40G
multipass shell <vm name>
sudo snap install microk8s --classic
microk8s status --wait-ready
Can you suggest a fix?
To overcome this error usage of newgrp is a better than using exit and re-enter
Are you interested in contributing with a fix?
yes
The text was updated successfully, but these errors were encountered: