From 4ca508e396f1c86ecfcda66a3ac2773f628f7b5a Mon Sep 17 00:00:00 2001 From: Divyam Rai Date: Sun, 5 Jan 2025 16:14:15 +0100 Subject: [PATCH 1/2] fix: typo on swapoff command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c046dc..4b5afe0 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ sudo sysctl --system > Disable swap on controlplane and dataplane nodes ```bash -sudo swappff -a +sudo swapoff -a ``` ```bash From 2ea706c8d7063c1a5e6bbf133f4ae92ee7571166 Mon Sep 17 00:00:00 2001 From: Divyam Rai Date: Sun, 5 Jan 2025 17:03:18 +0100 Subject: [PATCH 2/2] add node untaint command --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4b5afe0..7a1e7a4 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,12 @@ sudo kubeadm join $controller_private_ip:6443 --token $token --discovery-token-c kubeadm token create --print-join-command ``` +> In case you only have a single node, you would need to untaint the control panel node to allow for pods to be deployed on it. + +```bash +kubectl taint nodes --all node-role.kubernetes.io/control-plane- +``` + ### To install metrics server ```bash