Cluster Configuration
Purpose: For platform engineers, provides the cluster YAML config file structure, required fields, optional fields, and defaults.
Configuration File Location
~/.config/opencenter/clusters/<org>/<cluster>/.<cluster>-config.yaml
Configuration Structure
opencenter:
meta:
name: my-cluster
organization: my-org
infrastructure:
provider: vmware # openstack | vmware | baremetal | kind
bastion:
address: bastion.example.com
cluster:
cluster_name: my-cluster
kubernetes:
version: "1.33.5"
master_count: 3
worker_count: 2
services:
cert-manager:
enabled: true
kyverno:
enabled: true
Required Fields
| Field | Type | Description |
|---|---|---|
opencenter.meta.name | string | Cluster identifier |
opencenter.meta.organization | string | Organization identifier |
opencenter.infrastructure.provider | enum | Infrastructure provider |
opencenter.cluster.kubernetes.version | string | Kubernetes version |
Validation
opencenter cluster validate my-cluster
See Validation Rules for all constraints.