Edit

opencenter cluster normalize

Add missing default fields to a cluster configuration

Synopsis

Add missing default fields to an existing cluster configuration.

This command loads the current cluster configuration, merges it with the default configuration template to add any missing keys, and writes the updated configuration back to the file.

To set specific configuration values, use 'opencenter cluster set' with native v2 dot notation instead (e.g., opencenter.gitops.repository.url=…​).

A timestamped backup is automatically created before modification:<config-file>.backup.<timestamp>The backup allows you to review changes and revert if needed. Delete the backup once you’re satisfied with the updated configuration. Missing keys are added with their default values based on: • Provider-specific defaults (if provider is configured) • Global schema defaults • Empty/zero values for required fields Existing values are preserved - only missing keys are added. If no cluster name is provided, normalizes the currently active cluster. ` opencenter cluster normalize [name] [flags] ` <mark>#</mark> Examples ` # Normalize active cluster configuration opencenter cluster normalize # Normalize specific cluster opencenter cluster normalize my-cluster # Normalize with organization prefix opencenter cluster normalize myorg/my-cluster # Dry run to preview changes opencenter cluster normalize my-cluster --dry-run # Update without creating backup (not recommended) opencenter cluster normalize my-cluster --no-backup ` <mark>#</mark> Options ` -h, --help help for normalize --no-backup skip creating a backup before normalizing ` <mark>#</mark> SEE ALSO * opencenter_cluster.md[opencenter cluster] - Manage cluster configurations <mark>#</mark><mark>#</mark> Auto generated by spf13/cobra on 28-Apr-2026</timestamp></config-file>