User guide doesn't cover `unjoin`
- [Operations](#operations)
- [Join Clusters](#join-clusters)
- [Check Status of Joined Clusters](#check-status-of-joined-clusters)
+ - [Unjoin Clusters](#unjoin-clusters)
- [Enabling federation of an API type](#enabling-federation-of-an-api-type)
- [Disabling federation of an API type](#disabling-federation-of-an-api-type)
- [Example](#example)
@@ -174,6 +175,14 @@ Status:
Status: True
Type: Ready
```
+### Unjoin Clusters
+
+If required, federation allows you to unjoin clusters using `kubefed2` tool.
+
+```bash
+./bin/kubefed2 unjoin cluster2 --cluster-context cluster2 --host-cluster-context cluster1 --remove-from-registry --v=2
+```
+You can repeat these steps to unjoin any additional clusters.
## Enabling federation of an API type
