Git Product home page Git Product logo

cdk-django's Introduction

cdk-django's People

Contributors

briancaffey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cdk-django's Issues

Split EKS stack into parent and nested stacks

For reference, see https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/deploy-multiple-stack-applications-using-aws-cdk-with-typescript.html

Consider splitting the EKS stack into nested stacks with one parent stack. This should solve issues of ALB DNS name.

Nested stacks:

  • EksBaseStack: (VPC, EKS, AWS Load Balancer Controller)
  • ApplicationStack: (IRSA, S3, RDS, ElastiCache, Deployments, Services, Ingress, ACM)
  • DnsResourceStack: (Route53 Records for web, flower, etc. - Looks up ALB DNS from Application Stack)

Pass the clusterId form EksBaseStack to ApplicationStack

no endpoints available for service "aws-load-balancer-webhook-service"

I'm getting this error when the Ingress is applied to the cluster.

Received response status [FAILED] from custom resource. Message returned: Error: b'Warning: networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unav
ailable in v1.22+; use networking.k8s.io/v1 Ingress\nError from server (InternalError): error when creating "/tmp/manifest.yaml": Internal error occurred:
failed calling webhook "vingress.elbv2.k8s.aws": Post "https://aws-load-balancer-webhook-service.kube-system.svc:443/validate-networking-v1beta1-ingress?ti
meout=10s": no endpoints available for service "aws-load-balancer-webhook-service"\n'

[aws-load-balancer-controller] Unable to deploy stack

Errors deploying the stack, seems to be related to AWS Load Balancer Controller

Received response status [FAILED] from custom resource. Message returned: Error: Operation failed after 3 attempts: b'Unable to connect to the server: dial tcp: lookup C4764B11B1ACD0375678D408758A6E73.sk1.us-east-1.eks.amazonaws.com on 169.254.78.1:53: read udp 169.254.76.1:48370->169.254.78.1:53: i/o timeout\n' Logs: /aws/lambda/DjangoEksStack-awscdkawseksKubectl-Handler886CB40B-NgbKmkuyQRzI at invokeUserFunction (/var/task/framework.js:95:19) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async onEvent (/var/task/framework.js:19:27) at async Runtime.handler (/var/task/cfn-response.js:48:13) (RequestId: 42c5be50-d5cd-4a7d-8a6e-832bc0899d8e)

This could be related to aws/aws-cdk#4087

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.