Skip to content

Commit eadf826

Browse files
authored
Merge pull request #703 from prankul88/conf-update
📖 Add instructions to use cluster template with load-balancer
2 parents 2162acc + 593b49c commit eadf826

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/configuration.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,26 @@ This command actually uses [the template file](../templates/cluster-template.yam
3434

3535
Note: You can use [the template file](../templates/cluster-template.yaml) by manually replacing values.
3636

37+
**Note:** By default the command creates highly available control plane with internal OpenStack cloud provider. If you wish to create highly available control plane with external OpenStack cloud provider or single control plane without load balancer, use external-cloud-provider or without-lb [flavor](https://cluster-api.sigs.k8s.io/clusterctl/commands/config-cluster.html#flavors) respectively. For example,
38+
39+
```bash
40+
# Using 'external-cloud-provider' flavor
41+
clusterctl config cluster capi-quickstart \
42+
--flavor external-cloud-provider
43+
--kubernetes-version v1.18.2 \
44+
--control-plane-machine-count=3 \
45+
--worker-machine-count=1 \
46+
> capi-quickstart.yaml
47+
48+
# Using 'without-lb' flavor
49+
clusterctl config cluster capi-quickstart \
50+
--flavor without-lb
51+
--kubernetes-version v1.18.2 \
52+
--control-plane-machine-count=1 \
53+
--worker-machine-count=1 \
54+
> capi-quickstart.yaml
55+
```
56+
3757
## Operating system image
3858

3959
We currently depend on an up-to-date version of cloud-init otherwise the operating system choice is yours. The kubeadm bootstrap provider we're using also depends on some pre-installed software like a container runtime, kubelet, kubeadm, etc.. . For an examples how to build such an image take a look at [image-builder (openstack)](https://image-builder.sigs.k8s.io/capi/providers/openstack.html).

0 commit comments

Comments
 (0)