Stop the k0s service.
sudo k0s stop
Reset previous installation that was done without your customized config file:
sudo k0s reset
Re-install k0s with your new config file and with --enable-worker flag -> so that single node k0s with controller and worker functions will be installed again:
sudo k0s install controller --enable-worker -c /etc/k0s/k0s.yaml
Start the k0s service:
sudo k0s start
After a few seconds, check that two storage classes are enabled on the cluster for you to use:
sudo k0s kubectl get storageclass
Created
November 3, 2024 14:07
-
-
Save zoonderkins/c955532af974d3a6175aed2a0b2babb3 to your computer and use it in GitHub Desktop.
k0s note
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment