Skip to content

Commit

Permalink
Fix context name used when deleting namespace in federation
Browse files Browse the repository at this point in the history
Closes: #3043
  • Loading branch information
tengqm committed Jan 22, 2018
1 parent b5e1d67 commit b264fab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/tasks/federation/set-up-cluster-federation-kubefed.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

0 comments on commit b264fab

Please sign in to comment.