mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
update redis stuff
This commit is contained in:
+19
@@ -56,3 +56,22 @@ kubectl -n kube-system apply -f https://raw.githubusercontent.com/coreos/flannel
|
||||
|
||||
vim /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
|
||||
# update KUBELET_CGROUP_ARGS=--cgroup-driver=systemd to KUBELET_CGROUP_ARGS=--cgroup-driver=cgroupfs
|
||||
|
||||
|
||||
## Add new nodes as control plane
|
||||
|
||||
# first prepre certificate key, run this one the existing control plan
|
||||
kubeadm init phase upload-certs --upload-certs
|
||||
|
||||
|
||||
# run the following the node to be added
|
||||
kubeadm join 192.168.1.2:6443 --token xxx --discovery-token-ca-cert-hash sha256:xxx --control-plane --certificate-key xxx
|
||||
|
||||
|
||||
# disbale swap
|
||||
|
||||
sudo swapoff -a
|
||||
sudo rm /swap.img
|
||||
vim /etc/fstab # and remove swap
|
||||
# check
|
||||
sudo swapon --show
|
||||
|
||||
Reference in New Issue
Block a user