Skip to main content

astroctl cloud aws k8s-versions

Get supported Kubernetes versions for AWS

Synopsis​

Get supported Kubernetes versions for AWS clusters.

By default, shows EKS (managed) supported versions, with the AMI families a node group can use at each one and which of them have a GPU image. Use --self-hosted for self-hosted cluster versions; self-hosted clusters choose their node image by their own rules, so no AMI families are listed.

The AMI families are read through a connected AWS account: pass it with --account-id.

Terminal
astroctl cloud aws k8s-versions [flags]

Examples​

Terminal

# Get supported EKS versions (default)
astroctl cloud aws k8s-versions

# Get versions for a specific region
astroctl cloud aws k8s-versions -r us-west-2

# With the AMI families each version offers, read through a connected account
astroctl cloud aws k8s-versions -r us-west-2 --account-id 123456789012

# Get versions for self-hosted clusters
astroctl cloud aws k8s-versions --self-hosted

# Show upgrade paths
astroctl cloud aws k8s-versions --show-upgrade-paths

Options​

Terminal
--account-id string Connected AWS account to read the AMI families through (optional)
-h, --help help for k8s-versions
-o, --output string Output format (table|wide|json|yaml) (default "table")
-r, --region string AWS region (optional, uses default if not specified)
--self-hosted Show versions for self-hosted clusters instead of EKS
--show-upgrade-paths Show available upgrade paths

SEE ALSO​