Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
simcod committed Jan 30, 2025
1 parent 19198bf commit f961ef4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ metalctl network allocate --description "<description>" --name <name> --project

A firewall needs to be created with appropriate firewall rules. An example can be found at [firewall-rules.yaml](capi-lab/firewall-rules.yaml).
```bash
metalctl firewall create --description <description> --name <name> --hostname <hostname> --project <project-id> --partition <partition> --image <image> --size <size> --firewall-rules-file=<rules.yaml> --networks internet,$(shell metalctl network list --name <name> -o template --template '{{ .id }}')
metalctl firewall create --description <description> --name <name> --hostname <hostname> --project <project-id> --partition <partition> --image <image> --size <size> --firewall-rules-file=<rules.yaml> --networks internet,$(metalctl network list --name <name> -o template --template '{{ .id }}')
```

For your first cluster, it is advised to start with our generated template.
Expand Down Expand Up @@ -113,6 +113,10 @@ EOF

Additionally, the `metal-ccm` has to be deployed for the machines to reach `Running` phase. For this use the [template](capi-lab/metal-ccm.yaml) and fill in the required variables.

```bash
cat capi-lab/metal-ccm.yaml | envsubst | kubectl --kubeconfig capms-cluster.kubeconfig apply -f -
```

If you want to provide service's of type `LoadBalancer` through MetalLB by the `metal-ccm`, you need to deploy MetalLB:

```bash
Expand Down

0 comments on commit f961ef4

Please sign in to comment.