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
@@ -17,23 +19,59 @@ This document describes how to use [kind](https://kind.sigs.k8s.io) and [Tilt](h
17
19
locally
18
20
7. Clone the [cluster-api-provider-ibmcloud](https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud) repository you want to deploy locally as well
19
21
22
+
---
23
+
If the user prefers to have Podman as the CRI, then follow the steps listed below:
24
+
25
+
1. Emulate Docker CLI with Podman: Instructions can be found [here](https://podman-desktop.io/docs/migrating-from-docker/emulating-docker-cli-with-podman)
26
+
2. On `Mac OS` migrate from Docker to Podman: Instructions can be found
First, make sure you have a kind cluster and that your `KUBECONFIG` is set up correctly:
23
59
24
60
```bash
25
-
kind create cluster
61
+
make kind-cluster
26
62
```
27
63
28
-
This local cluster will be running all the cluster api controllers and become the management cluster which then can be used to spin up workload clusters on IBM Cloud.
64
+
This local cluster will host the cluster-api controllers, which makes it the management cluster. The management cluster can be used to create and manage workload clusters on IBM Cloud.
65
+
66
+
---
29
67
30
68
## Create a tilt-settings.yaml file
31
69
32
70
Next, create a `tilt-settings.yaml` file and place it in your local copy of `cluster-api`. Here is an example:
33
71
34
72
**Example `tilt-settings.yaml` for CAPI-IBM clusters:**
35
73
36
-
Make sure to replace the parameter `IBMCLOUD_API_KEY` with a valid API key.
74
+
Make sure to set a valid API key for the field `IBMCLOUD_API_KEY`.
37
75
38
76
```yaml
39
77
default_registry: "gcr.io/you-project-name-here"
@@ -54,30 +92,16 @@ extra_args:
54
92
ibmcloud:
55
93
- '-v=5'
56
94
```
95
+
---
96
+
## Different flavors of deploying workload clusters using CAPIBM.
57
97
58
-
### 1. Configuration to deploy PowerVS workload cluster with external cloud controller manager
59
-
60
-
To deploy workload cluster with [PowerVS cloud controller manager](/topics/powervs/external-cloud-provider.html) which is currently in experimental stage, Set `PROVIDER_ID_FORMAT` to `v2` and enable cluster resourceset feature gate under kustomize_substitutions.
61
-
Currently, [ClusterResourceset](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-resource-set.html) is experimental feature so we need to enable the feature gate by setting `EXP_CLUSTER_RESOURCE_SET` variable under kustomize_substitutions.
98
+
> **Note:** Currently, both [ClusterClass](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-class/index.html) and [ClusterResourceset](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-resource-set.html) are experimental features.
62
99
63
-
```yaml
64
-
default_registry: "gcr.io/you-project-name-here"
65
-
provider_repos:
66
-
- ../cluster-api-provider-ibmcloud
67
-
enable_providers:
68
-
- ibmcloud
69
-
- kubeadm-bootstrap
70
-
- kubeadm-control-plane
71
-
kustomize_substitutions:
72
-
IBMCLOUD_API_KEY: "XXXXXXXXXXXXXXXXXX"
73
-
PROVIDER_ID_FORMAT: "v2"
74
-
EXP_CLUSTER_RESOURCE_SET: "true"
75
-
```
100
+
### 1. Configuration to deploy PowerVS workload cluster with external cloud controller manager
76
101
77
-
### 2. Configuration to deploy VPC workload cluster with external cloud controller manager
102
+
To deploy workload cluster with [PowerVS cloud controller manager](/topics/powervs/external-cloud-provider.html)(experimental) or to deploy workload cluster with [cloud controller manager](/topics/vpc/load-balancer.html)(experimental), set `PROVIDER_ID_FORMAT` to `v2` and enable cluster resourceset feature gate under kustomize_substitutions.
78
103
79
-
To deploy workload cluster with [cloud controller manager](/topics/vpc/load-balancer.html) which is currently in experimental stage, Set `PROVIDER_ID_FORMAT` to `v2` and enable cluster resourceset feature gate under kustomize_substitutions.
80
-
Currently, [ClusterResourceset](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-resource-set.html) is experimental feature so we need to enable the feature gate by setting `EXP_CLUSTER_RESOURCE_SET` variable under kustomize_substitutions.
104
+
This requires setting the feature gate `EXP_CLUSTER_RESOURCE_SET` to `true` under kustomize_substitutions.
81
105
82
106
```yaml
83
107
default_registry: "gcr.io/you-project-name-here"
@@ -93,10 +117,11 @@ kustomize_substitutions:
93
117
EXP_CLUSTER_RESOURCE_SET: "true"
94
118
```
95
119
96
-
### 3. Configuration to deploy workload cluster from ClusterClass template
120
+
### 2. Configuration to deploy workload cluster from ClusterClass template
121
+
122
+
To deploy workload cluster with [clusterclass-template](/topics/powervs/clusterclass-cluster.html), set the `PROVIDER_ID_FORMAT` to `v2` under kustomize_substitutions.
97
123
98
-
To deploy workload cluster with [clusterclass-template](/topics/powervs/clusterclass-cluster.html) under kustomize_substitutions set `PROVIDER_ID_FORMAT` to `v2`.
99
-
Currently, both [ClusterClass](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-class/index.html) and [ClusterResourceset](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-resource-set.html) are experimental feature so we need to enable the feature gate by setting `EXP_CLUSTER_RESOURCE_SET`, `CLUSTER_TOPOLOGY` variable under kustomize_substitutions.
124
+
This requires setting the feature gates `EXP_CLUSTER_RESOURCE_SET` and `CLUSTER_TOPOLOGY` to `true` under kustomize_substitutions.
100
125
101
126
```yaml
102
127
default_registry: "gcr.io/you-project-name-here"
@@ -113,7 +138,7 @@ kustomize_substitutions:
113
138
CLUSTER_TOPOLOGY: "true"
114
139
```
115
140
116
-
### 4. Configuration to deploy workload cluster with Custom Service Endpoint
141
+
### 3. Configuration to deploy workload cluster with Custom Service Endpoint
117
142
118
143
To deploy workload cluster with Custom Service Endpoint, Set `SERVICE_ENDPOINT` environmental variable in semi-colon separated format: `${ServiceRegion}:${ServiceID1}=${URL1},${ServiceID2}=${URL2...}`
Copy file name to clipboardExpand all lines: docs/book/src/getting-started.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,22 +88,18 @@ it into a management cluster using `clusterctl`.
88
88
89
89
6. Once the management cluster is ready with the required providers up and running, proceed to provisioning the workload cluster. Check the respective sections for [VPC](/topics/vpc/creating-a-cluster.html) and [PowerVS](/topics/powervs/creating-a-cluster.html) to deploy the cluster.
90
90
91
-
7. For deploying with your workload cluster with Cloud Controller manager or Cluster Class template, refer to [deploy with cloud controller manager](#deploy-with-cloud-contoller-manager) and [deploy PowerVS cluster with cluster class template](#deploy-powervs-cluster-with-clusterclass-template) sections respectively.
91
+
7. For deploying with your workload cluster with Cloud Controller manager or Cluster Class template, refer to [deploy with cloud controller manager](#deploy-with-cloud-controller-manager) and [deploy PowerVS cluster with cluster class template](#deploy-powervs-cluster-with-clusterclass-template) sections respectively.
92
92
93
93
94
-
### Deploy with Cloud Contoller manager
94
+
### Deploy with Cloud Controller manager
95
95
96
-
1. To deploy VPC workload cluster with [IBM cloud controller manager](/topics/vpc/load-balancer.html), set the `PROVIDER_ID_FORMAT` environmental variable.
97
-
```console
98
-
export PROVIDER_ID_FORMAT=v2
99
-
export EXP_CLUSTER_RESOURCE_SET=true
100
-
```
96
+
To deploy VPC workload cluster with [IBM cloud controller manager](/topics/vpc/load-balancer.html), or with [PowerVS cloud controller manager](/topics/powervs/external-cloud-provider.html), set the `PROVIDER_ID_FORMAT` environmental variable to `v2`.
101
97
102
-
2. To deploy workload cluster with [PowerVS cloud controller manager](/topics/powervs/external-cloud-provider.html), set the `PROVIDER_ID_FORMAT` environmental variable.
103
-
```console
98
+
```console
104
99
export PROVIDER_ID_FORMAT=v2
105
100
export EXP_CLUSTER_RESOURCE_SET=true
106
-
```
101
+
```
102
+
107
103
> Note: `EXP_CLUSTER_RESOURCE_SET` should be set for deploying workload cluster with Cloud Controller manager.
108
104
109
105
### Deploy PowerVS cluster or VPC cluster with ClusterClass template
0 commit comments