From 5f5bde53c9874e1788bcab1a5f23b5b3fe4aefa7 Mon Sep 17 00:00:00 2001 From: Hosh Date: Mon, 23 Oct 2017 22:18:13 +0100 Subject: [PATCH] Added explanation on context to when joining (#6018) --- .../tasks/federation/set-up-cluster-federation-kubefed.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/tasks/federation/set-up-cluster-federation-kubefed.md b/docs/tasks/federation/set-up-cluster-federation-kubefed.md index fb23af29a687f..b52192503ebbe 100644 --- a/docs/tasks/federation/set-up-cluster-federation-kubefed.md +++ b/docs/tasks/federation/set-up-cluster-federation-kubefed.md @@ -374,7 +374,13 @@ For more information see Once you've deployed a federation control plane, you'll need to make that control plane aware of the clusters it should manage. You can add a cluster to your federation by using the [`kubefed join`](/docs/admin/kubefed_join/) -command. +command. A new context will have been added to your kubeconfig named `fellowship` +(after the name of your federation). To join clusters into the federation, you will +need to change the context. + +``` +kubectl config use-context fellowship +``` To use `kubefed join`, you'll need to provide the name of the cluster you want to add to the federation, and the `--host-cluster-context`