5,323
edits
Line 97: | Line 97: | ||
{{hidden | Control Plane Init | | {{hidden | Control Plane Init | | ||
< | <syntaxhighlight lang="bash"> | ||
# Disable swap | # Disable swap | ||
sudo swapoff -a && sudo sed -i '/swap/s/^/#/' /etc/fstab | sudo swapoff -a && sudo sed -i '/swap/s/^/#/' /etc/fstab | ||
Line 106: | Line 106: | ||
# (Optional) Remove taint on control-node to allow job scheduling | # (Optional) Remove taint on control-node to allow job scheduling | ||
kubectl taint nodes --all node-role.kubernetes.io/master- | kubectl taint nodes --all node-role.kubernetes.io/master- | ||
</ | </syntaxhighlight> | ||
}} | }} | ||
{{hidden | Setup Networking With Calico | | {{hidden | Setup Networking With Calico | |