Skip to main content

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

FieldTypeDescription
opencenter.meta.namestringCluster identifier
opencenter.meta.organizationstringOrganization identifier
opencenter.infrastructure.providerenumInfrastructure provider
opencenter.cluster.kubernetes.versionstringKubernetes version

Validation

opencenter cluster validate my-cluster

See Validation Rules for all constraints.