Skip to content

Commit

Permalink
updated on new PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
killianmuldoon committed Oct 5, 2021
1 parent 72c16f1 commit 5af66fa
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docs/book/src/tasks/experimental-features/cluster-classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This guide requires the following tools are installed:
#### Enable experimental features

ClusterClass is currently behind a feature gate that needs to be enabled.
This tutorial will also use another experimental gated feature - Cluster Resource Set - in this tutorial. This is not required for ClusterClass but is used in this tutorial to set up networking.
This tutorial will also use another experimental gated feature - Cluster Resource Set. This is not required for ClusterClass to work but is used in this tutorial to set up networking.

To enable these features set the respective environment variables by running:
```bash
Expand All @@ -49,9 +49,8 @@ clusterctl init --infrastructure docker

#### Create the ClusterClass and templates

With a management Cluster with CAPD and Cluster Topology the ClusterClass and other templates needed to stamp clusters can be created.

The below contains six yaml objects which are used to define the cluster:
With a management Cluster with CAPD initialized and the Cluster Topology feature gate enabled, the next step is to create the ClusterClass and its referenced templates.
The ClusterClass - first in the yaml below - contains references to the templates needed to build a full cluster, defining a shape that can be re-used for any number of clusters.
* ClusterClass
* For the InfrastructureCluster:
* DockerClusterTemplate
Expand All @@ -62,8 +61,6 @@ The below contains six yaml objects which are used to define the cluster:
* DockerMachineTemplate
* KubeadmConfigTemplate

The ClusterClass - first in the below yaml - contains references to the templates needed to build a full cluster using the shape defined in the ClusterClass.

The full ClusterClass definition can also be found in the [CAPI repo](https://raw.githubusercontent.com/kubernetes-sigs/cluster-api/main/docs/book/src/tasks/yamls/clusterclass.yaml).

<details><summary>ClusterClass</summary>
Expand Down Expand Up @@ -195,7 +192,7 @@ kind delete clusters capi-test
<!-- links -->
[quick start guide]: ../../user/quick-start.md
[bootstrap cluster]: ../../reference/glossary.md#bootstrap-cluster
[clusterctl]: ../../clusterctl/overview.md
[clusterctl]: ../../user/quick-start.md#install-clusterctl
[Docker]: https://www.docker.com/
[infrastructure provider]: ../../reference/glossary.md#infrastructure-provider
[kind]: https://kind.sigs.k8s.io/
Expand Down

0 comments on commit 5af66fa

Please sign in to comment.