Gitlab CI - AWS EKS Integration - Kubernetes version update
Hey there,
thank you for your great project. We tried the Gitlab CI AWS EKS integration and it figured out that the only Kubernetes version supported is the 1.14. As you can see in the screenshot below, AWS won't support anymore this version and suggests to upgrade. Any plan for the official support?
Thank you!
Release notes
GitLab users can create EKS clusters with Kubernetes 1.14 - 1.17. Following the changes in supported clusters by EKS, we have added support to Kubernetes versions 1.14 - 1.17, the default being Kubernetes version 1.16.
AWS Docs
- https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#available-versions
- https://aws.amazon.com/about-aws/whats-new/2020/04/amazon-eks-now-supports-kubernetes-version-1-16/
- https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html
Workaround
Click the "Update Now" button on AWS to upgrade the cluster
Proposal
Update GitLab's EKS cloudformation template (https://gitlab.com/gitlab-org/gitlab/-/blob/master/vendor/aws/cloudformation/eks_cluster.yaml#L7-15) to:
- Add
AllowedValues
1.15, and 1.16 -
Default
to 1.16
Local testing
Please see https://docs.gitlab.com/ee/user/project/clusters/add_eks_clusters.html, as you will need access to setup an instance level integration with an AWS account.
See also gitlab-development-kit!983 (closed)