Skip to content

Commit

Permalink
update worker node notes using traefik as LB.
Browse files Browse the repository at this point in the history
  • Loading branch information
balchua committed Feb 20, 2021
1 parent 54172fe commit 13069c8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions worker-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,12 @@ From the file `/var/snap/microk8s/current/args/kubelet` add at the bottom of th
--cluster-dns=10.152.183.10
```

There's one last file you need to create on each worker node. You need to create a file called `
/var/snap/microk8s/current/var/lock/clustered.lock`. The importance of this file is to make sure that the control plane services such as apiserver, controller manager and scheduler do not start when the snap is updated or when you do a `microk8s stop` and `microk8s start`.

### Start the Kubelet and Kube-proxy


#### Prevent the control plane from starting

The procedure above will not prevent the control plane from starting when the node is restarted or when the snap is refreshed.
The procedure below will prevent the control plane from starting when the node is restarted or when the snap is refreshed.

Create a file `/var/snap/microk8s/current/var/lock/clustered.lock` on each worker node.

Expand Down

0 comments on commit 13069c8

Please sign in to comment.