Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[aws-eks] We don't have an AMI for kubernetes version 1.13 #3140

Closed
1 of 5 tasks
lkoniecz opened this issue Jul 1, 2019 · 1 comment
Closed
1 of 5 tasks

[aws-eks] We don't have an AMI for kubernetes version 1.13 #3140

lkoniecz opened this issue Jul 1, 2019 · 1 comment
Assignees
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service bug This issue is a bug.

Comments

@lkoniecz
Copy link

lkoniecz commented Jul 1, 2019

Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.

  • I'm submitting a ...

    • 🪲 bug report
    • 🚀 feature request
    • 📚 construct library gap
    • ☎️ security issue or vulnerability => Please see policy
    • ❓ support request => Please see note at the top of this template.
  • What is the current behavior?
    If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce

class DevelopmentStack(core.Stack):
    def __init__(self, app: core.App, id: str, **kwargs) -> None:
        super().__init__(app, id, **kwargs)
        vpc = aws_ec2.Vpc(scope=self, id='Vpc', cidr='192.168.0.0./16')
        eks_cluster = aws_eks.Cluster(scope=self, id='EksCluster', vpc=vpc, version='1.13')
        eks_cluster.add_capacity(id='EksClusterOnDemandCapacity', 't2.large', desired_capacity=2)


app = core.App()
DevelopmentStack(
    app=app,
    id='Dev',
    env={
        'region': os.environ['CDK_DEFAULT_REGION'],
        'account': os.environ['CDK_DEFAULT_ACCOUNT']
    })

app.synth()

fails with: jsii.errors.JSIIError: We don't have an AMI for kubernetes version 1.13

  • What is the expected behavior (or behavior of feature suggested)?
    Template compiles.

  • What is the motivation / use case for changing the behavior or adding this feature?
    Cannot create EKS cluster with version 1.13

  • Please tell us about your environment:

    • CDK CLI Version: 0.36.0 (build 6d38487)
    • Module Version: 0.36.0
    • OS: [Ubuntu 19.4]
    • Language: [Python]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)

#3120
The template compiles only using autoscaling groups, that is via
eks_cluster.add_auto_scaling_group(...)

@lkoniecz lkoniecz added the needs-triage This issue or PR still needs to be triaged. label Jul 1, 2019
@NGL321 NGL321 added bug This issue is a bug. @aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service needs-reproduction This issue needs reproduction. and removed needs-triage This issue or PR still needs to be triaged. labels Jul 1, 2019
@nmussy
Copy link
Contributor

nmussy commented Jul 22, 2019

This should have been fixed with #3331

@eladb eladb self-assigned this Aug 12, 2019
@eladb eladb closed this as completed Aug 12, 2019
@iliapolo iliapolo changed the title We don't have an AMI for kubernetes version 1.13 [aws-eks] We don't have an AMI for kubernetes version 1.13 Aug 16, 2020
@iliapolo iliapolo removed the needs-reproduction This issue needs reproduction. label Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

5 participants