(Optional) Adding new worker nodes

Describe new working nodes in inventory.ini file, be sure to add them to groups [kube_vpn_clients] and [kube_node]:

[kube_vpn_clients]
node7
node8
...
[kube_node]
node7
node8
...

Update the VPN server configuration:

ansible-playbook playbooks/vpn_server.yaml

Distribute new configs to nodes:

ansible-playbook playbooks/vpn_clients.yaml

Adding new worker nodes:

ansible-playbook playbooks/facts.yaml
ansible-playbook playbooks/scale.yaml --limit=NODE_NAME

Restart system pods (execute on control-plane node):

kubectl -n kube-system rollout restart daemonset.apps/kube-flannel
kubectl -n kube-system rollout restart daemonset.apps/kube-proxy
kubectl -n ingress-nginx rollout restart deployment.apps/ingress-nginx-controller

Last updated