⚠️ Work in Progress
You are viewing development documentation built from the latest commit on main. APIs and features are subject to change.

kure generate cluster

kure generate cluster

Generate cluster manifests from configuration

Synopsis

Generate complete cluster manifests with GitOps configuration.

This command processes cluster configuration files and generates a complete directory structure with Kubernetes manifests organized for GitOps workflows.

Examples:

Generate cluster from config file

kure generate cluster examples/clusters/basic/cluster.yaml

Generate with custom output directory

kure generate cluster –output-dir ./output cluster.yaml

Generate with different layout options

kure generate cluster –bundle-grouping=nested –flux-placement=separate cluster.yaml

kure generate cluster [flags] CONFIG_FILE

Options

  -a, --application-grouping string   application grouping strategy (flat|nested) (default "flat")
  -b, --bundle-grouping string        bundle grouping strategy (flat|nested) (default "flat")
      --flux-placement string         flux placement strategy (integrated|separate) (default "integrated")
  -h, --help                          help for cluster
  -i, --input-dir string              input directory for loading app configs (defaults to config file directory)
      --manifest-dir string           manifests directory name in output (default "clusters")
  -d, --output-dir string             output directory for generated manifests (default "out")

Options inherited from parent commands

  -c, --config string        config file (default is $HOME/.kure.yaml)
      --debug                debug output
      --dry-run              print generated resources without writing to files
  -n, --namespace string     target namespace for operations
      --no-headers           don't print headers (for table output)
  -o, --output string        output format (yaml|json|table|wide|name) (default "yaml")
  -f, --output-file string   write output to file instead of stdout
      --show-labels          show resource labels in table output
      --strict               treat warnings as errors
  -v, --verbose              verbose output
      --wide                 use wide output format

SEE ALSO