Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit e3d940d

Browse files
authored
Merge pull request #399 from cprivitere/cprivitere/issue381
📖 Add example documentation for using kube-vip version of CAPP
2 parents 92952f6 + 1bb079e commit e3d940d

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,26 @@ You can follow the [Cluster API Quick Start Guide](https://cluster-api.sigs.k8s.
8686

8787
If you do not change the generated `yaml` files, it will use defaults. You can look in the [templates/cluster-template.yaml](./templates/cluster-template.yaml) file for details.
8888

89-
* SERVICE_CIDR: `172.26.0.0/16`
90-
* POD_CIDR: `192.168.0.0/16`
91-
* NODE_OS: `ubuntu_18_04`
89+
* CLUSTER_NAME (defaults to my-cluster)
90+
* CONTROL_PLANE_MACHINE_COUNT (defaults to 1)
91+
* KUBE_VIP_VERSION (defaults to "v0.4.2")
92+
* NODE_OS (defaults to "ubuntu_18_04")
93+
* POD_CIDR (defaults to "192.168.0.0/16")
94+
* SERVICE_CIDR (defaults to "172.26.0.0/16")
95+
* WORKER_MACHINE_COUNT (defaults to 0)
96+
97+
#### API Server VIP Management Choice
98+
As of v0.6.0 you can choose to use kube-vip to manage the api-server VIP instead of CPEM. By default CPEM will be used to manage the EIP that serves as the VIP for the api-server. To use kube-vip, when generating the template with `clusterctl`, pass in the `--flavor kube-vip` flag. For example, your `clusterctl generate` command might look like the following:
99+
100+
```sh
101+
clusterctl generate cluster capi-quickstart \
102+
--kubernetes-version v1.24.0 \
103+
--control-plane-machine-count=3 \
104+
--worker-machine-count=3 \
105+
--infrastructure packet \
106+
--flavor kube-vip
107+
> capi-quickstart.yaml
108+
```
92109

93110
## Community, discussion, contribution, and support
94111

0 commit comments

Comments
 (0)