Skip to content

Commit

Permalink
New Module - eks_nodegroup (#1415) (#1702)
Browse files Browse the repository at this point in the history
[PR #1415/3f37c975 backport][stable-5] New Module - eks_nodegroup

This is a backport of PR #1415 as merged into main (3f37c97).
SUMMARY
Add a new module to manage nodegroups in EKS clusters.
ISSUE TYPE

New Module Pull Request

COMPONENT NAME
eks_nodegroup
ADDITIONAL INFORMATION
TODO:

 PR ansible-collections/amazon.aws/pull/975 to add waiters for EKS nodegroup.
 PR aws-terminator/pull/223 to add permissions to execute integration tests.

- name: create nodegroup
  community.aws.eks_nodegroup:
    name: test_nodegroup
    state: present
    cluster_name: test_cluster
    node_role: arn:aws:eks:us-east-1:1231231123:role/asdf
    subnets:
      - subnet-qwerty123
      - subnet-asdfg456
    scaling_config:
      - min_size: 1
      - max_size: 2
      - desired_size: 1
    disk_size: 20
    instance_types: 't3.micro'
    ami_type: 'AL2_x86_64'
    labels:
      - 'teste': 'test'
    taints:
      - key: 'test'
        value: 'test'
        effect: 'NO_SCHEDULE'
    capacity_type: 'on_demand'
  • Loading branch information
patchback[bot] authored Feb 3, 2023
1 parent 287672c commit 0ff44e6
Show file tree
Hide file tree
Showing 10 changed files with 1,517 additions and 0 deletions.
1 change: 1 addition & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ action_groups:
- eks_cluster
- efs_tag
- eks_fargate_profile
- eks_nodegroup
- elasticbeanstalk_app
- elasticache
- elasticache_info
Expand Down
Loading

0 comments on commit 0ff44e6

Please sign in to comment.