Edit

opencenter cluster export

Export effective cluster configuration

Synopsis

Export the effective configuration including all applied defaults.

This command loads a cluster configuration, applies all defaults (provider-region, provider, and global defaults), and exports the complete configuration with comments indicating which values came from defaults vs explicit configuration.

The effective configuration shows: • All explicitly configured values • All applied defaults with their source (provider-region, provider, global) • Comments indicating default sources for transparency

This is useful for: • Understanding which defaults are being applied • Debugging configuration issues • Creating explicit configurations from defaults • Documentation and auditing

If no cluster name is provided, exports the currently active cluster.

opencenter cluster export [name] [flags]

Examples

  # Export effective config for active cluster
  opencenter cluster export

  # Export effective config for specific cluster
  opencenter cluster export my-cluster

  # Export to specific file
  opencenter cluster export my-cluster -o /tmp/effective-config.yaml

  # Export with organization prefix
  opencenter cluster export myorg/my-cluster

Options

  -h, --help                 help for export
  -o, --output-file string   write effective configuration to this file instead of stdout

SEE ALSO

  • opencenter_cluster.md[opencenter cluster] - Manage cluster configurations

Auto generated by spf13/cobra on 28-Apr-2026