Jump to content

Kubernetes: Difference between revisions

Line 97: Line 97:


{{hidden | Control Plane Init |
{{hidden | Control Plane Init |
<pre>
<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-
</pre>
</syntaxhighlight>
}}
}}
{{hidden | Setup Networking With Calico |
{{hidden | Setup Networking With Calico |