Fix context name used when deleting namespace in federation

Closes: #3043
This commit is contained in:
Qiming Teng
2018-01-22 09:57:28 +08:00
parent b5e1d67435
commit b264fabad0
@@ -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.