Skip to content

Commit 0268fa9

Browse files
authored
Merge pull request kubernetes#7044 from tengqm/fed-ns
Fix context name used when deleting namespace in federation
2 parents aef3969 + b264fab commit 0268fa9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/tasks/federation/set-up-cluster-federation-kubefed.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,6 @@ command with the cluster name and the federation's
473473
kubefed unjoin gondor --host-cluster-context=rivendell
474474
```
475475

476-
477476
## Turning down the federation control plane
478477

479478
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
484483
namespace by running the following command:
485484

486485
```
487-
kubectl delete ns federation-system --context=rivendell
486+
kubectl delete ns federation-system --host-cluster-context=rivendell
488487
```
489488

490-
Note that `rivendell` is the host cluster name, replace that with the appropriate name in your configuration.
491-
489+
Note that `rivendell` is the host cluster name, replace that with the
490+
appropriate name in your configuration.

0 commit comments

Comments
 (0)