question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[aws-eks] Mismatch between EKS AMI and Kubernetes version

See original GitHub issue

Describe the bug The version for EKS is being selected based on what the hardcoded latest version is, in the codebase. Which is 1.11 source. However, specifying no version for EKS at all creates 1.12 based on what CloudFormation decides for you.

To Reproduce Create an EKS cluster and worker nodes without specifying any version.

Expected behavior I would like to see the same AMI being used as the Kubernetes version that CloudFormation is selecting for EKS.

Version:

  • OS X
  • Typescript
  • CDK 0.33.0 (still the same in 0.35.0)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
eladbcommented, Sep 8, 2019

I am leaning towards making the version explicit. Seems like any automatic selection of a version will result in non-deterministic behavior.

0reactions
eladbcommented, Jun 24, 2020

Duplicate #7762

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon EKS troubleshooting - AWS Documentation
Node groups must match Kubernetes version before updating control plane. Before you update a control plane to a new Kubernetes version, the minor...
Read more >
Amazon EKS optimized Amazon Linux AMI versions
Amazon EKS optimized Amazon Linux AMIs are versioned by Kubernetes version and the release date of the AMI in the following format:
Read more >
Questions tagged with Amazon Elastic Kubernetes Service
Does EKS perform any updates without initiation from administrator? Premise: - Updates of kubernetes version or of the node group AMI drain nodes...
Read more >
Using Launch Templates to Create AWS EKS Managed Node ...
We can also use Launch Template with AWS EKS (Elastic Kubernetes ... Create a new EKS Cluster using version 1 of this Launch...
Read more >
Migration From On-Prem to AWS Kubernetes EKS - WWT
Differences between on-premise Kubernetes and EKS ... In addition, EKS makes it easy to test different cluster versions; one cluster can run ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found