You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/next/modules/en/pages/user/clusterclass.adoc
+4-4
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ Docker::
80
80
+
81
81
To prepare the management Cluster, we are going to install the Docker Cluster API Provider.
82
82
+
83
-
* Provider installation
83
+
* Infrastructure Docker provider installation
84
84
+
85
85
[source,yaml]
86
86
----
@@ -98,7 +98,7 @@ spec:
98
98
type: infrastructure
99
99
----
100
100
+
101
-
* Boostrap and control plane setup
101
+
* https://github.com/rancher/cluster-api-provider-rke2[Bootstrap/Control Plane provider for RKE2](installed by default) or https://github.com/kubernetes-sigs/cluster-api[Bootstrap/Control Plane provider for Kubeadm], example of Kubeadm installation:
* For this example we are also going to install Calico as the default CNI. +
270
+
* For this example we are also going to install Calico as the default CNI.
271
271
+
272
272
We can do this automatically at Cluster creation using the https://rancher-sandbox.github.io/cluster-api-addon-provider-fleet/[Cluster API Add-on Provider Fleet]. +
273
273
This Add-on provider is installed by default with {product_name}. +
* For this example we are also going to install Calico as the default CNI. +
323
+
* For this example we are also going to install Calico as the default CNI.
324
324
+
325
325
We can do this automatically at Cluster creation using the https://rancher-sandbox.github.io/cluster-api-addon-provider-fleet/[Cluster API Add-on Provider Fleet]. +
326
326
This Add-on provider is installed by default with {product_name}. +
Copy file name to clipboardExpand all lines: docs/next/modules/en/pages/user/clusters.adoc
+3-114
Original file line number
Diff line number
Diff line change
@@ -118,61 +118,7 @@ spec:
118
118
119
119
Docker RKE2/Kubeadm::
120
120
+
121
-
* Rancher Manager cluster with {product_name} installed
122
-
* Cluster API Providers: you can find a guide on how to install a provider using the `CAPIProvider` resource xref:../operator/capiprovider.adoc[here]
123
-
** https://github.com/kubernetes-sigs/cluster-api[Infrastructure provider for Docker], example of Docker provider installation:
124
-
+
125
-
[source,yaml]
126
-
----
127
-
---
128
-
apiVersion: v1
129
-
kind: Namespace
130
-
metadata:
131
-
name: capd-system
132
-
---
133
-
apiVersion: turtles-capi.cattle.io/v1alpha1
134
-
kind: CAPIProvider
135
-
metadata:
136
-
name: docker
137
-
namespace: capd-system
138
-
spec:
139
-
type: infrastructure
140
-
----
141
-
+
142
-
** https://github.com/rancher/cluster-api-provider-rke2[Bootstrap/Control Plane provider for RKE2](installed by default) or https://github.com/kubernetes-sigs/cluster-api[Bootstrap/Control Plane provider for Kubeadm], example
143
-
of Kubeadm installation:
144
-
+
145
-
[source,yaml]
146
-
----
147
-
---
148
-
apiVersion: v1
149
-
kind: Namespace
150
-
metadata:
151
-
name: capi-kubeadm-bootstrap-system
152
-
---
153
-
apiVersion: turtles-capi.cattle.io/v1alpha1
154
-
kind: CAPIProvider
155
-
metadata:
156
-
name: kubeadm-bootstrap
157
-
namespace: capi-kubeadm-bootstrap-system
158
-
spec:
159
-
name: kubeadm
160
-
type: bootstrap
161
-
---
162
-
apiVersion: v1
163
-
kind: Namespace
164
-
metadata:
165
-
name: capi-kubeadm-control-plane-system
166
-
---
167
-
apiVersion: turtles-capi.cattle.io/v1alpha1
168
-
kind: CAPIProvider
169
-
metadata:
170
-
name: kubeadm-control-plane
171
-
namespace: capi-kubeadm-control-plane-system
172
-
spec:
173
-
name: kubeadm
174
-
type: controlPlane
175
-
----
121
+
* Following installation guide was moved here xref:../user/clusterclass.adoc[here]
. View **cluster1.yaml** to ensure there are no tokens. You can make any changes you want as well.
355
-
+
356
-
> The Cluster API quickstart guide contains more detail. Read the steps related to this section https://cluster-api.sigs.k8s.io/user/quick-start.html#required-configuration-for-common-providers[here].
357
-
358
-
. Create the cluster using kubectl
359
-
+
360
-
[source,bash]
361
-
----
362
-
kubectl create namespace ${NAMESPACE}
363
-
kubectl create -f cluster1.yaml
364
-
----
282
+
* Following installation guide was moved here xref:../user/clusterclass.adoc[here]
365
283
366
284
Docker Kubeadm::
367
285
+
368
-
To generate the YAML for the cluster, do the following:
. View **cluster1.yaml** to ensure there are no tokens. You can make any changes you want as well.
384
-
+
385
-
> The Cluster API quickstart guide contains more detail. Read the steps related to this section https://cluster-api.sigs.k8s.io/user/quick-start.html#required-configuration-for-common-providers[here].
386
-
387
-
. Create the cluster using kubectl
388
-
+
389
-
[source,bash]
390
-
----
391
-
kubectl create namespace ${NAMESPACE}
392
-
kubectl create -f cluster1.yaml
393
-
----
394
-
+
395
-
. Deploy CNI
396
-
+
397
-
> Once cluster is created a CNI is required for Nodes to become ready. You can refer to Cluster API documentation for example CNI installation https://cluster-api.sigs.k8s.io/user/quick-start#deploy-a-cni-solution[here].
286
+
* Following installation guide was moved here xref:../user/clusterclass.adoc[here]
0 commit comments