From d6284215b35d87aac11c9edf489b56c9bb7a1c42 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 18 Jul 2021 18:37:40 +0700 Subject: [PATCH] Host network on dest sidero --- bootstrap/bootstrap.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh index faa88bbc..aa6a3095 100644 --- a/bootstrap/bootstrap.sh +++ b/bootstrap/bootstrap.sh @@ -50,3 +50,7 @@ clusterctl move \ --kubeconfig-context=admin@talos-default \ --to-kubeconfig=$HOME/.kube/config \ --to-kubeconfig-context=admin@management-plane + +kubectl taint node talos-192-168-1-24 node-role.kubernetes.io/master:NoSchedule- + +kubectl patch deploy -n sidero-system sidero-controller-manager --type='json' -p='[{"op": "add", "path": "/spec/template/spec/hostNetwork", "value": true}]'