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: DEVELOPMENT.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ make push-to-capi-lab
21
21
Before creating a cluster some manual steps are required beforehand: you need to allocate a node network and a firewall.
22
22
23
23
```bash
24
-
make -C capi-lab node-network firewall
24
+
make -C capi-lab node-network firewall control-plane-ip
25
25
```
26
26
27
27
A basic cluster configuration that relies on `config/clusterctl-templates/cluster-template.yaml` and uses the aforementioned node network can be generated and applied to the management cluster using a make target.
@@ -218,6 +218,7 @@ export METAL_API_URL=
218
218
export METAL_PARTITION=
219
219
export METAL_PROJECT_ID=
220
220
export METAL_NODE_NETWORK_ID=
221
+
export CONTROL_PLANE_IP=
221
222
222
223
export FIREWALL_MACHINE_IMAGE=
223
224
export FIREWALL_MACHINE_SIZE=
@@ -246,6 +247,7 @@ Create firewall if needed:
246
247
```bash
247
248
metalctl project create --name $project_name --tenant $tenant_name --description "Cluster API test project"
export CONTROL_PLANE_IP=$(metalctl network ip create --network internet --project $METAL_PROJECT_ID --name "$CLUSTER_NAME-vip" --type static -o template --template "{{ .ipaddress }}")
63
70
```
64
71
65
72
A firewall needs to be created with appropriate firewall rules. An example can be found at [firewall-rules.yaml](config/target-cluster/firewall-rules.yaml).
@@ -68,14 +75,14 @@ A firewall needs to be created with appropriate firewall rules. An example can b
For your first cluster, it is advised to start with our generated template. Ensure that the namespaced cluster name is unique within the metal stack project.
0 commit comments