Skip to content

Commit

Permalink
Merge pull request #9 from Samseppiol/master
Browse files Browse the repository at this point in the history
Add required auto-scaler permissions
  • Loading branch information
Guslington committed Oct 12, 2020
2 parents ccf77f1 + f2ed645 commit 0ba89bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eks-cluster.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ iam:
- arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy
- arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy
- arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly
policies:
cluster-autoscaler:
action:
- autoscaling:DescribeAutoScalingGroups
- autoscaling:DescribeAutoScalingInstances
- autoscaling:DescribeLaunchConfigurations
- autoscaling:DescribeTags
- autoscaling:SetDesiredCapacity
- autoscaling:TerminateInstanceInAutoScalingGroup
- ec2:DescribeLaunchTemplateVersions

eks_bootstrap: |
/etc/eks/bootstrap.sh ${EksCluster} ${BootstrapArguments}
Expand Down

0 comments on commit 0ba89bb

Please sign in to comment.