kure init
kure init
Scaffold a new kure project
Synopsis
Scaffold a new kure project with cluster configuration and example application templates.
Creates a directory structure ready for use with “kure generate cluster”: cluster.yaml - Cluster configuration apps/ - Application definitions infra/ - Infrastructure definitions
Examples:
Scaffold in current directory using directory name as project name
kure init
Scaffold with explicit project name
kure init my-cluster
Scaffold for ArgoCD
kure init my-cluster –gitops argocd
Scaffold in a specific directory
kure init my-cluster –dir /path/to/project
kure init [PROJECT_NAME] [flags]Options
--dir string target directory (default ".")
--gitops string gitops tool: flux or argocd (default "flux")
-h, --help help for initOptions 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 formatSEE ALSO
- kure - A Go library for programmatically building Kubernetes resources