Purpose: For platform engineers, operators, shows how to deploying openCenter clusters on VMware vSphere.
Quick reference for deploying openCenter clusters on VMware vSphere.
Prerequisites
-
Pre-provisioned Ubuntu 24.04 VMs
-
Static IP addresses assigned
-
SSH access from bastion host
-
vCenter credentials (for CSI driver)
Quick Setup
2. Edit Configuration
Open the generated configuration and fill in the VMware provider block:
opencenter cluster configure myorg/my-cluster
Minimal required VMware configuration:
opencenter:
infrastructure:
provider: vmware
cloud:
vmware:
vcenter_server: vcenter.example.com
datacenter: Datacenter1
datastore: datastore1
nodes:
- {name: master-1, ip: 192.168.1.10, role: master}
- {name: master-2, ip: 192.168.1.11, role: master}
- {name: master-3, ip: 192.168.1.12, role: master}
- {name: worker-1, ip: 192.168.1.20, role: worker}
- {name: worker-2, ip: 192.168.1.21, role: worker}
Node Configuration
Each node requires:
-
name: Hostname or FQDN -
ip: Static IPv4 address -
role:masterorworker
Optional fields:
-
uuid: VM UUID from vCenter -
mac_address: Primary NIC MAC address
vSphere CSI Driver
Enable persistent storage:
opencenter:
services:
vsphere-csi:
enabled: true
secrets:
vsphere_csi:
vcenter_host: vcenter.example.com
username: administrator@vsphere.local
password: "encrypted-with-sops"
datacenters: Datacenter1