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

feat(aws-eks): Add L2 Construct for Amazon EKS clusters and worker nodes #991

Closed
wants to merge 67 commits into from
Closed

feat(aws-eks): Add L2 Construct for Amazon EKS clusters and worker nodes #991

wants to merge 67 commits into from

Commits on Oct 18, 2018

  1. create initial dependencies for EKS Construct

    Yandy Ramirez committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    c5d4676 View commit details
    Browse the repository at this point in the history
  2. Create eks construct

    Most of this work was done on a separate repo. I have moved it here to
    make sure changes are properly tracked going forward. The code is documented
    and tests will be created
    Yandy Ramirez committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    0c049d8 View commit details
    Browse the repository at this point in the history
  3. create example and dependencies for EKS Construct

    Yandy Ramirez committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    c4c85c6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c126a38 View commit details
    Browse the repository at this point in the history
  5. optimize creation and reference to securityGroup

    Yandy Ramirez committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    942877e View commit details
    Browse the repository at this point in the history
  6. cleanup redundant fields and implement IConnectable

    Yandy Ramirez committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    26ddaa5 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2018

  1. Configuration menu
    Copy the full SHA
    1aade1a View commit details
    Browse the repository at this point in the history
  2. Add instance data to use in node group creation

    This file maps AMI based on instance chosen, normal or gpu.
    It also maps the max pods per node based on AWS cfn template
    https://amazon-eks.s3-us-west-2.amazonaws.com/cloudformation/2018-08-30/amazon-eks-nodegroup.yaml
    
    I tried using a context search, but the account ID for AMIs is different
    The path also seems to be different, will need to investigate.
    This shouldn't be a problem for now, as it's only a total of 6 AMIs
    Yandy Ramirez committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    9fa4cef View commit details
    Browse the repository at this point in the history
  3. work on example file, not currently working

    Yandy Ramirez committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    bfe3569 View commit details
    Browse the repository at this point in the history
  4. add instance data export

    Yandy Ramirez committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    f0bba75 View commit details
    Browse the repository at this point in the history
  5. Make an attempt at creating the worker nodes

    This needs further testing, overall implementation looks good, but example
    file needs to be updated to validate
    Yandy Ramirez committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    86dc5f6 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into ipyandy/aws-eks

    * master:
      v0.13.0 (#975)
      feat(aws-s3-deployment): bucket deployments (#971)
      feat(aws-cloudfront): add support for "webAclId" (#969)
      fix(aws-apigateway): make LambdaRestApi proxy by default (#963)
      chore: fix AutoScalingGroup example in README.md (#970)
      feat(docs): added link to CloudFormation concepts (#934)
    
    # Conflicts:
    #	examples/cdk-examples-typescript/package.json
    #	packages/@aws-cdk/aws-eks/package.json
    Yandy Ramirez committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    6475ffd View commit details
    Browse the repository at this point in the history
  7. resolve conflict from edited files

    Yandy Ramirez committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    9c2dbb2 View commit details
    Browse the repository at this point in the history
  8. change case to PascalCase for enum

    Yandy Ramirez committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    d1b6c44 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8f44986 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2018

  1. Configuration menu
    Copy the full SHA
    1ded6ce View commit details
    Browse the repository at this point in the history
  2. update documentation to instance data

    Yandy Ramirez committed Oct 20, 2018
    Configuration menu
    Copy the full SHA
    401b689 View commit details
    Browse the repository at this point in the history
  3. properly tag worker nodes and update documentation

    Yandy Ramirez committed Oct 20, 2018
    Configuration menu
    Copy the full SHA
    34969a1 View commit details
    Browse the repository at this point in the history
  4. set defaults in Nodes so all INodeProps are optional

    Yandy Ramirez committed Oct 20, 2018
    Configuration menu
    Copy the full SHA
    8e7d651 View commit details
    Browse the repository at this point in the history
  5. Updated documentation and remove update Type for now

    Need to optimize implementation specific to EKS, also default rolling update failing
    Yandy Ramirez committed Oct 20, 2018
    Configuration menu
    Copy the full SHA
    1252310 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2018

  1. Make various code changes and optimizations

    The ClusterRef class is now fully abstract in preparation for multistack
    Implemented the IConnectable interface inside of the Cluster class
    Made more preparations for multistack deployments in INodeProps
    Changed default instance size for Nodes
    Cleaned up the code for the Node constructor a bit
    Took advantage of IConnectable interface to create security group rules
    Yandy Ramirez committed Oct 21, 2018
    Configuration menu
    Copy the full SHA
    c62b704 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c173ab5 View commit details
    Browse the repository at this point in the history
  3. push new nodeGroups into array for tracking

    Yandy Ramirez committed Oct 21, 2018
    Configuration menu
    Copy the full SHA
    8360f75 View commit details
    Browse the repository at this point in the history
  4. continue documenting code and cleanup of some properties

    Yandy Ramirez committed Oct 21, 2018
    Configuration menu
    Copy the full SHA
    087c8ee View commit details
    Browse the repository at this point in the history
  5. continue code commenting for documentation

    Yandy Ramirez committed Oct 21, 2018
    Configuration menu
    Copy the full SHA
    99af1d2 View commit details
    Browse the repository at this point in the history
  6. change k8sversion string to more generic version

    Yandy Ramirez committed Oct 21, 2018
    Configuration menu
    Copy the full SHA
    1435470 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    60abab7 View commit details
    Browse the repository at this point in the history
  8. include README file

    Yandy Ramirez committed Oct 21, 2018
    Configuration menu
    Copy the full SHA
    0ea4322 View commit details
    Browse the repository at this point in the history
  9. merge from original repo

    Yandy Ramirez committed Oct 21, 2018
    Configuration menu
    Copy the full SHA
    7d233da View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. fix simple problem with jsdoc formatting

    Yandy Ramirez committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    047a35f View commit details
    Browse the repository at this point in the history
  2. Implement eks tests

    Yandy Ramirez committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    a345efa View commit details
    Browse the repository at this point in the history
  3. implement integ test

    Yandy Ramirez committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    05fc921 View commit details
    Browse the repository at this point in the history
  4. add integ test expected output file

    Yandy Ramirez committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    9df96d5 View commit details
    Browse the repository at this point in the history
  5. add roadmap details to readme

    Yandy Ramirez committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    9016535 View commit details
    Browse the repository at this point in the history
  6. fix markdown syntax

    Yandy Ramirez committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    bd3db55 View commit details
    Browse the repository at this point in the history
  7. Add package to dev dependencies

    I had added this, not sure what happened, maybe during an npm update.. weird
    Yandy Ramirez committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    c445ffe View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2018

  1. Add pythons virtual env directory to ignore

    I use python3 -m venv .venv quite a bit for any projects that depend
    on python modules to work, especially on a mac with python installed
    via homebrew, as there are path and target error , but pyven fixes them
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    2f00418 View commit details
    Browse the repository at this point in the history
  2. update the dependencies

    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    d88cc2e View commit details
    Browse the repository at this point in the history
  3. group properties closer to match intent

    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    0b94ceb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    593780f View commit details
    Browse the repository at this point in the history
  5. Delete integration tests for now, failing due to "default" acount error

    Though the test actually runs, deploys and cleans up, but after
    it give error of needs credentials for default account "123456..."
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    021fa3c View commit details
    Browse the repository at this point in the history
  6. Merge branch 'awslabs-master'

    * awslabs-master:
      fix(docs): updates to contribution guide (#997)
      fix(docs): fix EC2 readme for "natgatway" configuration (#994)
      feat(core): Pre-concatenate Fn::Join (#967)
      feat: add HostedZone context provider (#823)
      fix: remove CloudFormation property renames (#973)
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    732975b View commit details
    Browse the repository at this point in the history
  7. Merge branch 'master' of github.com:IPyandy/aws-cdk

    * 'master' of github.com:IPyandy/aws-cdk: (39 commits)
      Delete integration tests for now, failing due to "default" acount error
      comment property name in preparation for new generated code
      group properties closer to match intent
      update the dependencies
      Add pythons virtual env directory to ignore
      Add package to dev dependencies
      fix markdown syntax
      add roadmap details to readme
      add integ test expected output file
      implement integ test
      Implement eks tests
      fix simple problem with jsdoc formatting
      include README file
      remove unnecessary ISecurityGroupRule methods instead just IConnectable
      change k8sversion string to more generic version
      continue code commenting for documentation
      continue documenting code and cleanup of some properties
      push new nodeGroups into array for tracking
      Add documentation to eks example and using new properties for Nodes
      Make various code changes and optimizations
      ...
    
    # Conflicts:
    #	packages/@aws-cdk/aws-codebuild/package.json
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    4f3a873 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    856359f View commit details
    Browse the repository at this point in the history
  9. Merge branch 'master' into ipyandy/aws-eks

    Yandy Ramirez authored Oct 23, 2018
    Configuration menu
    Copy the full SHA
    2079abf View commit details
    Browse the repository at this point in the history
  10. bootstrap dev enviroment

    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    4f5b074 View commit details
    Browse the repository at this point in the history
  11. fix dev dependency version issue

    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    e4404e3 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'ipyandy/aws-eks' of github.com:IPyandy/aws-cdk into ipy…

    …andy/aws-eks
    
    * 'ipyandy/aws-eks' of github.com:IPyandy/aws-cdk:
    
    # Conflicts:
    #	packages/@aws-cdk/aws-codebuild/package.json
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    76c547d View commit details
    Browse the repository at this point in the history
  13. damn this dependeny error

    change one thing and bam!!!
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    eebaf95 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'master' into ipyandy/aws-eks

    * master:
      damn this dependeny error
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    d823381 View commit details
    Browse the repository at this point in the history
  15. Merge branch 'master' of github.com:IPyandy/aws-cdk into ipyandy/aws-eks

    * 'master' of github.com:IPyandy/aws-cdk:
      damn this dependeny error
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    bde4025 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    468c016 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'ipyandy/aws-eks' of github.com:IPyandy/aws-cdk into ipy…

    …andy/aws-eks
    
    * 'ipyandy/aws-eks' of github.com:IPyandy/aws-cdk:
      damn this dependeny error
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    3b684a8 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'awslabs-master'

    * awslabs-master:
      refactor(aws-sam): remove duplicate aws-sam (in favor of aws-serverless) (#1000)
      fix(iam): Merge multiple principals correctly (#983)
    Yandy Ramirez committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    4a194d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2018

  1. Fix where not enough security group rules were created

    Yandy Ramirez committed Oct 24, 2018
    Configuration menu
    Copy the full SHA
    360236b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f5bcf4 View commit details
    Browse the repository at this point in the history
  3. re-wrote tests based on new connection rules and methods

    Yandy Ramirez committed Oct 24, 2018
    Configuration menu
    Copy the full SHA
    7066ed1 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Merge branch 'awslabs-master'

    * awslabs-master:
      v0.14.0 (#1021)
      chore: add .NET example for step functions (#1019)
      feat(assert): haveResource lists failing properties (#1016)
      chore: Make build.sh bail by default (#1018)
      chore: fix typo in docs (#1017)
      chore: update init template (#1013)
      fix(aws-ec2): fix retention of all egress traffic rule (#998)
      build: fix usage of "-z" in fetch-dotnet-snk.sh (#1010)
      feat: add construct library for Application AutoScaling (#933)
      fix(aws-s3-deployment): avoid deletion during update using physical ids (#1006)
      fix(cloudformation-diff): ignore changes to DependsOn (#1005)
      feat(aws-cdk): add CDK app version negotiation (#988)
      fix(cloudformation-diff): track replacements (#1003)
      feat(aws-sqs): Add grantXxx() methods (#1004)
      chore: update jsii to 0.7.8 (#1002)
    
    # Conflicts:
    #	examples/cdk-examples-typescript/package.json
    #	packages/@aws-cdk/aws-cloudformation/package.json
    #	packages/@aws-cdk/aws-cloudfront/package.json
    #	packages/@aws-cdk/aws-cloudtrail/package.json
    #	packages/@aws-cdk/aws-codebuild/package.json
    #	packages/@aws-cdk/aws-codecommit/package.json
    #	packages/@aws-cdk/aws-eks/package.json
    #	packages/@aws-cdk/aws-route53/package.json
    #	packages/@aws-cdk/aws-sqs/package.json
    #	packages/@aws-cdk/cfnspec/package.json
    Yandy Ramirez committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    ee4999e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'awslabs-master'

    * awslabs-master:
      v0.14.1 (#1024)
      fix(aws-cdk): fix bug in SSM Parameter Provider (#1023)
    Yandy Ramirez committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    1329d87 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2018

  1. Merge tag 'v0.14.1' into ipyandy/aws-eks

    * tag 'v0.14.1':
      v0.14.1 (#1024)
      fix(aws-cdk): fix bug in SSM Parameter Provider (#1023)
      v0.14.0 (#1021)
      chore: add .NET example for step functions (#1019)
      feat(assert): haveResource lists failing properties (#1016)
      chore: Make build.sh bail by default (#1018)
      chore: fix typo in docs (#1017)
      chore: update init template (#1013)
      fix(aws-ec2): fix retention of all egress traffic rule (#998)
      build: fix usage of "-z" in fetch-dotnet-snk.sh (#1010)
      feat: add construct library for Application AutoScaling (#933)
      fix(aws-s3-deployment): avoid deletion during update using physical ids (#1006)
      fix(cloudformation-diff): ignore changes to DependsOn (#1005)
      feat(aws-cdk): add CDK app version negotiation (#988)
      fix(cloudformation-diff): track replacements (#1003)
      feat(aws-sqs): Add grantXxx() methods (#1004)
      chore: update jsii to 0.7.8 (#1002)
      refactor(aws-sam): remove duplicate aws-sam (in favor of aws-serverless) (#1000)
      fix(iam): Merge multiple principals correctly (#983)
    
    # Conflicts:
    #	examples/cdk-examples-typescript/package.json
    #	packages/@aws-cdk/aws-cloudformation/package.json
    #	packages/@aws-cdk/aws-cloudfront/package.json
    #	packages/@aws-cdk/aws-cloudtrail/package.json
    #	packages/@aws-cdk/aws-codebuild/package.json
    #	packages/@aws-cdk/aws-codecommit/package.json
    #	packages/@aws-cdk/aws-eks/package.json
    #	packages/@aws-cdk/aws-route53/package.json
    #	packages/@aws-cdk/aws-sqs/package.json
    #	packages/@aws-cdk/cfnspec/package.json
    Yandy Ramirez committed Oct 27, 2018
    Configuration menu
    Copy the full SHA
    56bbadd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    777692f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cca308d View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2018

  1. merge update to max pods per node

    Yandy Ramirez committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    b4645b2 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. Merge branch 'awslabs-master'

    * awslabs-master:
      fix(aws-kms): add output value when exporting an encryption key (#1036)
      feat(codepipeline/cfn): Use fewer statements for pipeline permissions (#1009)
      fix(aws-autoscaling): allow minSize to be set to 0 (#1015)
      docs(aws-iam): fix allow and deny comments (#1033)
    Yandy Ramirez committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    e27aa0e View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2018

  1. Merge branch 'master' of https://github.com/awslabs/aws-cdk

    * 'master' of https://github.com/awslabs/aws-cdk: (25 commits)
      feat(aws-codedeploy): CodeDeploy Pipeline Action using the L2 DeploymentGroup Construct. (#1085)
      v0.15.0 (#1094)
      docs: Added tutorial (#1065)
      feat(app-delivery): CI/CD for CDK Stacks (#1022)
      fix: Switch from `js-yaml` to `yaml` (#1092)
      feat: add a new construct library for ECS (#1058)
      chore: peerDependencies (#1091)
      feat(aws-ec2): AmazonLinuxImage supports AL2 (#1081)
      chore: Update to CloudFormation resource specification v2.11.0 (#1088)
      fix(aws-codebuild): correctly pass the timeout property to CFN when creating a Project. (#1071)
      fix(aws-codebuild): correctly set S3 path when using it as artifact. (#1072)
      chore: tell git that images are binary (#1082)
      chore: update IAM README with compiling code samples (#1078)
      feat(toolkit): deployment ui improvements (#1067)
      docs: fix description for CloudWatch graph widget (#1073)
      feat(aws-codecommit): use CloudWatch Events instead of polling by default in the CodePipeline Action. (#1026)
      feat(applets): integrate into toolkit (#1039)
      docs: Added logos for supported languages (#1066)
      feat: don't upload the same asset multiple times (#1011)
      feat(aws-lambda): high level API for event sources (#1063)
      ...
    
    # Conflicts:
    #	.gitignore
    #	packages/@aws-cdk/applet-js/package-lock.json
    #	packages/aws-cdk/package-lock.json
    Yandy Ramirez committed Nov 6, 2018
    Configuration menu
    Copy the full SHA
    38abbe1 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2018

  1. Merge branch 'master' into ipyandy/aws-eks

    * master: (29 commits)
      feat(aws-codedeploy): CodeDeploy Pipeline Action using the L2 DeploymentGroup Construct. (#1085)
      v0.15.0 (#1094)
      docs: Added tutorial (#1065)
      feat(app-delivery): CI/CD for CDK Stacks (#1022)
      fix: Switch from `js-yaml` to `yaml` (#1092)
      feat: add a new construct library for ECS (#1058)
      chore: peerDependencies (#1091)
      feat(aws-ec2): AmazonLinuxImage supports AL2 (#1081)
      chore: Update to CloudFormation resource specification v2.11.0 (#1088)
      fix(aws-codebuild): correctly pass the timeout property to CFN when creating a Project. (#1071)
      fix(aws-codebuild): correctly set S3 path when using it as artifact. (#1072)
      chore: tell git that images are binary (#1082)
      chore: update IAM README with compiling code samples (#1078)
      feat(toolkit): deployment ui improvements (#1067)
      docs: fix description for CloudWatch graph widget (#1073)
      feat(aws-codecommit): use CloudWatch Events instead of polling by default in the CodePipeline Action. (#1026)
      feat(applets): integrate into toolkit (#1039)
      docs: Added logos for supported languages (#1066)
      feat: don't upload the same asset multiple times (#1011)
      feat(aws-lambda): high level API for event sources (#1063)
      ...
    
    # Conflicts:
    #	examples/cdk-examples-typescript/package.json
    #	packages/@aws-cdk/aws-cloudformation/package.json
    #	packages/@aws-cdk/aws-cloudfront/package.json
    #	packages/@aws-cdk/aws-cloudtrail/package.json
    #	packages/@aws-cdk/aws-codebuild/package.json
    #	packages/@aws-cdk/aws-codecommit/package.json
    #	packages/@aws-cdk/aws-eks/package.json
    #	packages/@aws-cdk/aws-route53/package.json
    #	packages/@aws-cdk/aws-sqs/package.json
    #	packages/@aws-cdk/cfnspec/package.json
    Yandy Ramirez committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    9c4313d View commit details
    Browse the repository at this point in the history
  2. fix for v0.15.0 IConnectable array changes

    Yandy Ramirez committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    b2f9e12 View commit details
    Browse the repository at this point in the history