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
This process has been tested with this version of clusterctl. Subsequent 1.0.x versions should work as well.
16
+
17
+
### - A CloudStack Environment with the following resources defined
18
+
- Zone
19
+
- Network
20
+
- CAPI-compatible QEMU template (i.e., created with https://github.com/kubernetes-sigs/image-builder)
21
+
- Machine Offerings (suitable for running Kubernetes nodes)
22
+
- apikey and secretkey for a CloudStack user having domain administrative privileges
23
+
- Available ACS IP Address for the k8s Control Plane endpoint (Shared network: available IP address in the network range; isolated network: public IP address)
24
+
25
+
## Deployment Steps
26
+
### Define Identity Environment Variable
27
+
28
+
An environment variable named CLOUDSTACK_B64ENCODED_SECRET must be defined, containing the base64 encoding of a
29
+
cloud-config properties file. This file is of the form:
30
+
31
+
```
32
+
[Global]
33
+
api-url = <urlOfCloudStackAPI>
34
+
api-key = <cloudstackUserApiKey>
35
+
secret-key = <cloudstackUserSecretKey>
36
+
```
37
+
After defining this in a file named cloud-config, create the environment variable with:
*Note: If you already have a $HOME/.cluster-api we strongly suggest you delete or stash it.*
86
+
87
+
```
88
+
cd ~
89
+
mkdir .cluster-api
90
+
cd .cluster-api
91
+
unzip cluster-api.zip
92
+
```
93
+
94
+
### Edit the clusterctl configuration files
95
+
-**clusterctl.yaml:** in the *url* attribute replace \<USERID\> with your OS user id to form a valid absolute path to infrastructure-components.yaml.
96
+
97
+
-**dev-repository/infrastructure-cloudstack/v0.4.4/infrastructure-components.yaml:** if you're not using a local registry modify the capc-controller-manager deployment, changing the spec.template.spec.containers[0].image (line 617) to correctly reflect your container registry.
98
+
99
+
### Deploy CAPI and CAPC to your bootstrap Kubernetes cluster
100
+
```
101
+
clusterctl init --infrastructure cloudstack
102
+
```
103
+
104
+
### Generate a manifest for the CAPI custom resources needed to allocate a workload cluster.
105
+
106
+
*Set the below environment variables as appropriate for your CloudStack environment.*
0 commit comments