Add links to kubefed commands in federation set up doc
This commit is contained in:
committed by
Andrew Chen
parent
0166cb7fce
commit
adc08d543e
@@ -8,10 +8,10 @@ title: Set up Cluster Federation with Kubefed
|
|||||||
{:toc}
|
{:toc}
|
||||||
|
|
||||||
Kubernetes version 1.5 and above includes a new command line tool called
|
Kubernetes version 1.5 and above includes a new command line tool called
|
||||||
`kubefed` to help you administrate your federated clusters.
|
[`kubefed`](/docs/admin/kubefed/) to help you administrate your federated
|
||||||
`kubefed` helps you to deploy a new Kubernetes cluster federation
|
clusters. `kubefed` helps you to deploy a new Kubernetes cluster federation
|
||||||
control plane, and to add clusters to or remove clusters from an
|
control plane, and to add clusters to or remove clusters from an existing
|
||||||
existing federation control plane.
|
federation control plane.
|
||||||
|
|
||||||
This guide explains how to administer a Kubernetes Cluster Federation
|
This guide explains how to administer a Kubernetes Cluster Federation
|
||||||
using `kubefed`.
|
using `kubefed`.
|
||||||
@@ -69,7 +69,7 @@ kubefed is available as a [snap](https://snapcraft.io/) application.
|
|||||||
|
|
||||||
sudo snap install kubefed --classic
|
sudo snap install kubefed --classic
|
||||||
|
|
||||||
2. Run `kubefed version` to verify that the version you've installed is sufficiently up-to-date.
|
2. Run [`kubefed version`](/docs/admin/kubefed_version/) to verify that the version you've installed is sufficiently up-to-date.
|
||||||
|
|
||||||
## Choosing a host cluster.
|
## Choosing a host cluster.
|
||||||
|
|
||||||
@@ -101,8 +101,8 @@ control plane.
|
|||||||
## Deploying a federation control plane
|
## Deploying a federation control plane
|
||||||
|
|
||||||
To deploy a federation control plane on your host cluster, run
|
To deploy a federation control plane on your host cluster, run
|
||||||
`kubefed init` command. When you use `kubefed init`, you must provide
|
[`kubefed init`](/docs/admin/kubefed_init/) command. When you use
|
||||||
the following:
|
`kubefed init`, you must provide the following:
|
||||||
|
|
||||||
* Federation name
|
* Federation name
|
||||||
* `--host-cluster-context`, the `kubeconfig` context for the host cluster
|
* `--host-cluster-context`, the `kubeconfig` context for the host cluster
|
||||||
@@ -373,7 +373,8 @@ For more information see
|
|||||||
|
|
||||||
Once you've deployed a federation control plane, you'll need to make
|
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
|
that control plane aware of the clusters it should manage. You can add
|
||||||
a cluster to your federation by using the `kubefed join` command.
|
a cluster to your federation by using the [`kubefed join`](/docs/admin/kubefed_join)
|
||||||
|
command.
|
||||||
|
|
||||||
To use `kubefed join`, you'll need to provide the name of the cluster
|
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`
|
you want to add to the federation, and the `--host-cluster-context`
|
||||||
@@ -467,7 +468,7 @@ as described in the
|
|||||||
|
|
||||||
## Removing a cluster from a federation
|
## Removing a cluster from a federation
|
||||||
|
|
||||||
To remove a cluster from a federation, run the `kubefed unjoin`
|
To remove a cluster from a federation, run the [`kubefed unjoin`](/docs/admin/kubefed_unjoin)
|
||||||
command with the cluster name and the federation's
|
command with the cluster name and the federation's
|
||||||
`--host-cluster-context`:
|
`--host-cluster-context`:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user