EKS - Cluster Autoscaler

목차

참고

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeLaunchConfigurations",
"autoscaling:DescribeScalingActivities",
"autoscaling:DescribeTags",
"ec2:DescribeInstanceTypes",
"ec2:DescribeLaunchTemplateVersions"
],
"Resource": ["*"]
},
{
"Effect": "Allow",
"Action": [
"autoscaling:SetDesiredCapacity",
"autoscaling:TerminateInstanceInAutoScalingGroup",
"ec2:DescribeImages",
"ec2:GetInstanceTypesFromInstanceRequirements",
"eks:DescribeNodegroup"
],
"Resource": ["*"]
}
]
}
helm repo add autoscaler https://kubernetes.github.io/autoscaler
helm show values autoscaler/cluster-autoscaler

적용 대상 node에는 아래의 tag가 달려야 한다.

k8s.io/cluster-autoscaler/skcc-dev-floot-eks: owned
k8s.io/cluster-autoscaler/enabled: true
Share