astroctl_infra_kubernetes_apply
astroctl infra kubernetes apply
Apply the cluster configurations to create a new cluster
Synopsis
Apply the cluster configurations to create a new cluster
astroctl infra kubernetes apply [flags]
Examples
# Apply the cluster configurations from file
astroctl infra k8s apply -f cluster.yaml
# Validate cluster configuration without creating (dry-run)
astroctl infra k8s apply -f cluster.yaml --dry-run
# Apply the cluster configurations from stdin
echo 'clusterName: my-cluster
provider: aws
region: us-west-2
provisionerType: eks' | astroctl infra k8s apply -f -
# Or pipe YAML content
cat cluster.yaml | astroctl infra k8s apply -f -
Options
--dry-run Validate the cluster configuration without creating the cluster
-f, --file string The files that contain the configurations to apply. Use '-' to read from stdin.
-h, --help help for apply
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl infra kubernetes - Manage Kubernetes clusters