New AMIs are built whenever a new Kubernetes version is released for each supported OS distribution and then published to supported regions.
clusterawsadm ami list command lists pre-built reference AMIs by Kubernetes version, OS, or AWS region.
See clusterawsadm ami list for details.
Note: These images are not updated for security fixes and it is recommended to always use the latest patch version for the Kubernetes version you want to run. For production environments, it is highly recommended to build and use your own custom images.
- Amazon Linux 2 (amazon-2)
- Ubuntu (ubuntu-20.04, ubuntu-18.04)
- Centos (centos-7)
- Flatcar (flatcar-stable)
If you want to query any other AMI which is not listed in the table, then use below command
clusterawsadm ami list --kubernetes-version <some-k8s-version> --region <supported-aws-region> --os <supported-os-name>