From 8273e36bfa7bac5852e21b9c2927a49fa650615f Mon Sep 17 00:00:00 2001 From: Chris Reed Date: Sat, 18 Jan 2020 21:14:41 -0500 Subject: [PATCH] Update 05-kubernetes-configuration-files.md Having ~/ after ${instance}: would return pscp: remote filespec ~/: not a directory error. Removing the ~/ section resolves the issue. --- docs/05-kubernetes-configuration-files.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/05-kubernetes-configuration-files.md b/docs/05-kubernetes-configuration-files.md index 7275597..f84b30c 100644 --- a/docs/05-kubernetes-configuration-files.md +++ b/docs/05-kubernetes-configuration-files.md @@ -199,7 +199,7 @@ Copy the appropriate `kubelet` and `kube-proxy` kubeconfig files to each worker ``` for instance in worker-0 worker-1 worker-2; do - gcloud compute scp ${instance}.kubeconfig kube-proxy.kubeconfig ${instance}:~/ + gcloud compute scp ${instance}.kubeconfig kube-proxy.kubeconfig ${instance}: done ``` @@ -207,7 +207,7 @@ Copy the appropriate `kube-controller-manager` and `kube-scheduler` kubeconfig f ``` for instance in controller-0 controller-1 controller-2; do - gcloud compute scp admin.kubeconfig kube-controller-manager.kubeconfig kube-scheduler.kubeconfig ${instance}:~/ + gcloud compute scp admin.kubeconfig kube-controller-manager.kubeconfig kube-scheduler.kubeconfig ${instance}: done ```