From c2d80b9b73a313ee6337bbf13b839e0e5b72dde5 Mon Sep 17 00:00:00 2001 From: vpalazhi <32654249+vpalazhi@users.noreply.github.com> Date: Thu, 7 Nov 2019 11:11:46 -0500 Subject: [PATCH] fixed cert path in the answer --- .../bootstrap-worker-node-2/tls-bootstrap-worker-node-2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/practice-questions-answers/install/bootstrap-worker-node-2/tls-bootstrap-worker-node-2.md b/practice-questions-answers/install/bootstrap-worker-node-2/tls-bootstrap-worker-node-2.md index 26c7aa0..80d90fa 100644 --- a/practice-questions-answers/install/bootstrap-worker-node-2/tls-bootstrap-worker-node-2.md +++ b/practice-questions-answers/install/bootstrap-worker-node-2/tls-bootstrap-worker-node-2.md @@ -125,7 +125,7 @@ EOF # Create bootstrap context on node03 ``` -kubectl config --kubeconfig=/tmp/bootstrap-kubeconfig set-cluster bootstrap --server='https://172.17.0.65:6443' --certificate-authority=/etc/kubernetes/pki/ca.crt +kubectl config --kubeconfig=/tmp/bootstrap-kubeconfig set-cluster bootstrap --server='https://172.17.0.65:6443' --certificate-authority=/etc/kubernetes/ca.crt kubectl config --kubeconfig=/tmp/bootstrap-kubeconfig set-credentials kubelet-bootstrap --token=09426c.g262dkeidk3dx21x kubectl config --kubeconfig=/tmp/bootstrap-kubeconfig set-context bootstrap --user=kubelet-bootstrap --cluster=bootstrap kubectl config --kubeconfig=/tmp/bootstrap-kubeconfig use-context bootstrap