Skip to content

Commit 25a8e0e

Browse files
committed
Merge branch 'main' into feature/tilt
2 parents d92322e + 7080b07 commit 25a8e0e

File tree

2 files changed

+14
-61
lines changed

2 files changed

+14
-61
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ for more information : https://cluster-api.sigs.k8s.io/user/quick-start.html#ini
2222
```sh
2323
# install cluster-api components
2424
export EXP_CLUSTER_RESOURCE_SET=true
25-
clusterctl init --infrastructure=proxmox:v0.3.3 --config https://raw.githubusercontent.com/k8s-proxmox/cluster-api-provider-proxmox/main/clusterctl.yaml
25+
clusterctl init --infrastructure=proxmox:v0.3.4 --config https://raw.githubusercontent.com/k8s-proxmox/cluster-api-provider-proxmox/main/clusterctl.yaml
2626
```
2727

2828
**Note:** container images are available at [ghcr.io/k8s-proxmox/cluster-api-provider-proxmox:\<tag\>](https://github.com/k8s-proxmox/cluster-api-provider-proxmox/pkgs/container/cluster-api-provider-proxmox)
@@ -37,7 +37,7 @@ export PROXMOX_PASSWORD=password
3737
export PROXMOX_USER=user@pam
3838

3939
# generate manifests (available flags: --target-namespace, --kubernetes-version, --control-plane-machine-count, --worker-machine-count)
40-
clusterctl generate cluster cappx-test --control-plane-machine-count=3 --infrastructure=proxmox:v0.3.3 --config https://raw.githubusercontent.com/k8s-proxmox/cluster-api-provider-proxmox/main/clusterctl.yaml > cappx-test.yaml
40+
clusterctl generate cluster cappx-test --control-plane-machine-count=3 --infrastructure=proxmox:v0.3.4 --config https://raw.githubusercontent.com/k8s-proxmox/cluster-api-provider-proxmox/main/clusterctl.yaml > cappx-test.yaml
4141

4242
# inspect and edit
4343
vi cappx-test.yaml
@@ -56,6 +56,18 @@ clusterctl get kubeconfig cappx-test > kubeconfig.yaml
5656

5757
# get node command for workload cluster
5858
kubectl --kubeconfig=kubeconfig.yaml get node
59+
### example output: this is your first workload cluster !!
60+
## NAME STATUS ROLES AGE VERSION
61+
## cappx-test-controlplane-qc9vw NotReady control-plane 6m53s v1.27.3
62+
```
63+
64+
3-a. [OPTIONAL] Apply your favorite CNI to your workload cluster
65+
66+
Until you apply CNI to your cluster, all the node is NotReady. After this step, all your nodes will become Ready :)
67+
68+
```sh
69+
# use weave-cni for this example
70+
kubectl --kubeconfig=kubeconfig.yaml apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s.yaml
5971
```
6072

6173
4. Tear down your workload cluster
@@ -80,8 +92,6 @@ CAPPX relies on a few prerequisites which have to be already installed in the us
8092

8193
To build your custom node image, you can use [kubernetes-sigs/image-builder](https://github.com/kubernetes-sigs/image-builder) project.
8294

83-
Also there are some available out-of-box images published other communities such as [Metal3](https://github.com/metal3-io). For example https://artifactory.nordix.org/ui/native/metal3/images/. Example MD can be found [metal3-ubuntu2204-k8s127.yaml](examples/machine_deployment/metal3-ubuntu2204-k8s127.yaml).
84-
8595
If it isn't possible to pre-install those prerequisites in the image, you can always deploy and execute some custom scripts through the `ProxmoxMachine.spec.cloudInit` or `KubeadmConfig`. Example MD can be found [ubuntu2204.yaml](examples/machine_deployment/ubuntu2204.yaml).
8696

8797
## Compatibility

examples/machine_deployment/metal3-ubuntu2204-k8s127.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)