@@ -740,6 +740,35 @@ clusterctl init --infrastructure vsphere
740
740
For more information about prerequisites, credentials management, or permissions for vSphere, see the [vSphere
741
741
project][vSphere getting started guide].
742
742
743
+ {{# /tab }}
744
+ {{# tab Proxmox}}
745
+
746
+ First, we need to add the IPAM provider to your clusterctl config file ` ~/.cluster-api/clusterctl.yaml` :
747
+ ` ` ` yaml
748
+ providers:
749
+ - name: in-cluster
750
+ url: https://github.com/kubernetes-sigs/cluster-api-ipam-provider-in-cluster/releases/latest/ipam-components.yaml
751
+ type: IPAMProvider
752
+ ` ` `
753
+
754
+ ` ` ` bash
755
+ # The host for the Proxmox cluster
756
+ export PROXMOX_URL=" https://pve.example:8006"
757
+ # The Proxmox token ID to access the remote Proxmox endpoint
758
+ export PROXMOX_TOKEN=' root@pam!capi'
759
+ # The secret associated with the token ID
760
+ # You may want to set this in `$XDG_CONFIG_HOME/cluster-api/clusterctl.yaml` so your password is not in
761
+ # bash history
762
+ export PROXMOX_SECRET=" 1234-1234-1234-1234"
763
+
764
+
765
+ # Finally, initialize the management cluster
766
+ clusterctl init --infrastructure proxmox --ipam in-cluster
767
+ ` ` `
768
+
769
+ For more information about the CAPI provider for Proxmox, see the [Proxmox
770
+ project][Proxmox getting started guide].
771
+
743
772
{{# /tab }}
744
773
{{# /tabs }}
745
774
@@ -1207,6 +1236,37 @@ export CONTROL_PLANE_ENDPOINT_IP="1.2.3.4"
1207
1236
1208
1237
For more information about prerequisites, credentials management, or permissions for vSphere, see the [vSphere getting started guide].
1209
1238
1239
+ {{# /tab }}
1240
+ {{#tab Proxmox}}
1241
+
1242
+ A ClusterAPI compatible image must be available in your Proxmox cluster. For instructions on how to build a compatible VM template
1243
+ see [image-builder](https://image-builder.sigs.k8s.io/capi/capi.html).
1244
+
1245
+ ` ` ` bash
1246
+ # The node that hosts the VM template to be used to provision VMs
1247
+ export PROXMOX_SOURCENODE=" pve"
1248
+ # The template VM ID used for cloning VMs
1249
+ export TEMPLATE_VMID=100
1250
+ # The ssh authorized keys used to ssh to the machines.
1251
+ export VM_SSH_KEYS=" ssh-ed25519 ..., ssh-ed25519 ..."
1252
+ # The IP address used for the control plane endpoint
1253
+ export CONTROL_PLANE_ENDPOINT_IP=10.10.10.4
1254
+ # The IP ranges for Cluster nodes
1255
+ export NODE_IP_RANGES=" [10.10.10.5-10.10.10.50, 10.10.10.55-10.10.10.70]"
1256
+ # The gateway for the machines network-config.
1257
+ export GATEWAY=" 10.10.10.1"
1258
+ # Subnet Mask in CIDR notation for your node IP ranges
1259
+ export IP_PREFIX=24
1260
+ # The Proxmox network device for VMs
1261
+ export BRIDGE=" vmbr1"
1262
+ # The dns nameservers for the machines network-config.
1263
+ export DNS_SERVERS=" [8.8.8.8,8.8.4.4]"
1264
+ # The Proxmox nodes used for VM deployments
1265
+ export ALLOWED_NODES=" [pve1,pve2,pve3]"
1266
+ ` ` `
1267
+
1268
+ For more information about prerequisites and advanced setups for Proxmox, see the [Proxmox getting started guide].
1269
+
1210
1270
{{# /tab }}
1211
1271
{{#/tabs }}
1212
1272
@@ -1623,4 +1683,5 @@ kind delete cluster
1623
1683
[provider components]: ../reference/glossary.md#provider-components
1624
1684
[vSphere getting started guide]: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/master/docs/getting_started.md
1625
1685
[workload cluster]: ../reference/glossary.md#workload-cluster
1626
- [CAPI Operator quickstart]: ./quick-start-operator.md
1686
+ [CAPI Operator quickstart]: ./quick-start-operator.md
1687
+ [Proxmox getting started guide]: https://github.com/ionos-cloud/cluster-api-provider-proxmox/blob/main/docs/Usage.md
0 commit comments