@@ -709,7 +709,11 @@ Please follow the Cluster API Provider for [Oracle Cloud Infrastructure (OCI) Ge
709
709
{{# /tab }}
710
710
{{# tab OpenStack}}
711
711
712
+ Cluster API Provider OpenStack depends on [openstack-resource-controller] since v0.12.
713
+
712
714
` ` ` bash
715
+ # Install ORC (needed for CAPO >=v0.12)
716
+ kubectl apply -f https://github.com/k-orc/openstack-resource-controller/releases/latest/download/install.yaml
713
717
# Initialize the management cluster
714
718
clusterctl init --infrastructure openstack
715
719
` ` `
@@ -1076,7 +1080,7 @@ export HARVESTER_ENDPOINT=""
1076
1080
export HARVESTER_KUBECONFIG_B64=" <HARVESTER_KUBECONFIG_ENCODED_IN_BASE64>"
1077
1081
# Namespace for all resources in the Management Cluster
1078
1082
export NAMESPACE=" test"
1079
- # Pod CIDR for the Workload Cluster, it should have the format: 192.168.0.0/16
1083
+ # Pod CIDR for the Workload Cluster, it should have the format: 192.168.0.0/16
1080
1084
export POD_CIDR=" 10.42.0.0/16"
1081
1085
# Service CIDR for the Workload Cluster, it should have the format : 192.168.0.0/16 and be different from POD_CIDR
1082
1086
export SERVICE_CIDR=" 10.43.0.0/16"
@@ -1144,7 +1148,7 @@ export IONOSCLOUD_DATACENTER_ID="<your-datacenter-id>"
1144
1148
# The IP of the control plane endpoint
1145
1149
export CONTROL_PLANE_ENDPOINT_IP=10.10.10.4
1146
1150
# The location of the data center where the cluster will be deployed
1147
- export CONTROL_PLANE_ENDPOINT_LOCATION=de/txl
1151
+ export CONTROL_PLANE_ENDPOINT_LOCATION=de/txl
1148
1152
# The image ID of the custom image that will be used for the VMs
1149
1153
export IONOSCLOUD_MACHINE_IMAGE_ID=" <your-image-id>"
1150
1154
# The SSH key that will be used to access the VMs
@@ -1233,21 +1237,25 @@ clusterctl generate cluster --infrastructure nutanix --list-variables capi-quick
1233
1237
A ClusterAPI compatible image must be available in your OpenStack. For instructions on how to build a compatible image
1234
1238
see [image-builder](https://image-builder.sigs.k8s.io/capi/capi.html).
1235
1239
Depending on your OpenStack and underlying hypervisor the following options might be of interest:
1240
+
1236
1241
* [image-builder (OpenStack)](https://image-builder.sigs.k8s.io/capi/providers/openstack.html)
1237
1242
* [image-builder (vSphere)](https://image-builder.sigs.k8s.io/capi/providers/vsphere.html)
1238
1243
1239
1244
To see all required OpenStack environment variables execute:
1245
+
1240
1246
` ` ` bash
1241
1247
clusterctl generate cluster --infrastructure openstack --list-variables capi-quickstart
1242
1248
` ` `
1243
1249
1244
1250
The following script can be used to export some of them:
1251
+
1245
1252
` ` ` bash
1246
1253
wget https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-openstack/master/templates/env.rc -O /tmp/env.rc
1247
1254
source /tmp/env.rc < path/to/clouds.yaml> < cloud>
1248
1255
` ` `
1249
1256
1250
1257
Apart from the script, the following OpenStack environment variables are required.
1258
+
1251
1259
` ` ` bash
1252
1260
# The list of nameservers for OpenStack Subnet being created.
1253
1261
# Set this value when you need create a new network/subnet while the access through DNS is required.
@@ -1408,10 +1416,10 @@ export CONTROL_PLANE_MACHINE_COUNT=1
1408
1416
export CONTROL_PLANE_PLANID=< plan_id>
1409
1417
export WORKER_MACHINE_COUNT=1
1410
1418
export WORKER_PLANID=< plan_id>
1411
- export MACHINE_IMAGE=< snapshot_id>
1419
+ export MACHINE_IMAGE=< snapshot_id>
1412
1420
export REGION=< region>
1413
1421
export PLANID=< plan_id>
1414
- export VPCID=< vpc_id>
1422
+ export VPCID=< vpc_id>
1415
1423
export SSHKEY_ID=< sshKey_id>
1416
1424
` ` `
1417
1425
@@ -1882,6 +1890,7 @@ kind delete cluster
1882
1890
[KubeVirt provider]: https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt/
1883
1891
[KubeVirt]: https://kubevirt.io/
1884
1892
[oci-provider]: https://oracle.github.io/cluster-api-provider-oci/#getting-started
1893
+ [openstack-resource-controller]: https://k-orc.cloud/
1885
1894
[Equinix Metal getting started guide]: https://github.com/kubernetes-sigs/cluster-api-provider-packet#using
1886
1895
[provider]:../reference/providers.md
1887
1896
[provider components]: ../reference/glossary.md#provider-components
0 commit comments