Skip to main content

astroctl_clusters_apply

astroctl clusters apply

Apply the cluster configurations to create a new cluster

Synopsis

Apply the cluster configurations to create a new cluster

astroctl clusters apply [flags]

Examples


# Apply the cluster configurations from file
astroctl clusters apply -f cluster.yaml

# Apply the cluster configurations from stdin
echo 'clusterName: my-cluster
provider: aws
region: us-west-2
provisionerType: eks' | astroctl clusters apply -f -

# Or pipe YAML content
cat cluster.yaml | astroctl clusters apply -f -

Options

  -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