From b264fabad0e98be1fe7af87558ada265732dab5c Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Mon, 22 Jan 2018 09:57:28 +0800 Subject: [PATCH] Fix context name used when deleting namespace in federation Closes: #3043 --- docs/tasks/federation/set-up-cluster-federation-kubefed.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/tasks/federation/set-up-cluster-federation-kubefed.md b/docs/tasks/federation/set-up-cluster-federation-kubefed.md index a73e06f6fc..6dcea20c21 100644 --- a/docs/tasks/federation/set-up-cluster-federation-kubefed.md +++ b/docs/tasks/federation/set-up-cluster-federation-kubefed.md @@ -473,7 +473,6 @@ command with the cluster name and the federation's kubefed unjoin gondor --host-cluster-context=rivendell ``` - ## Turning down the federation control plane Proper cleanup of federation control plane is not fully implemented in @@ -484,8 +483,8 @@ federation control plane's etcd. You can delete the federation namespace by running the following command: ``` -kubectl delete ns federation-system --context=rivendell +kubectl delete ns federation-system --host-cluster-context=rivendell ``` -Note that `rivendell` is the host cluster name, replace that with the appropriate name in your configuration. - +Note that `rivendell` is the host cluster name, replace that with the +appropriate name in your configuration.