astroctl_infra_kubernetes_template
astroctl infra kubernetes template
Print a starter YAML template for cluster creation or registration
Synopsis
Print a starter YAML template and exit. No API call is made.
Providers: eks | gke | aks | selfHosted | register
Pipe the output into a file, fill in your values, then apply:
astroctl infra k8s template eks > cluster.yaml astroctl infra k8s apply --dry-run -f cluster.yaml astroctl infra k8s apply -f cluster.yaml
Use --schema to show all available fields from the Go struct — every field, every option.
astroctl infra kubernetes template [provider] [flags]
Examples
# EKS starter template
astroctl infra k8s template eks
# GKE starter template
astroctl infra k8s template gke
# Cluster registration template
astroctl infra k8s template register
# Show all templates
astroctl infra k8s template
# Full schema — all available fields from Go struct
astroctl infra k8s template eks --schema
Options
-h, --help help for template
--schema Show all available fields from the Go struct
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl infra kubernetes - Manage Kubernetes clusters