diff --git a/knowledge base/cloud computing/aws/eks.md b/knowledge base/cloud computing/aws/eks.md index 9b183ff..70b214a 100644 --- a/knowledge base/cloud computing/aws/eks.md +++ b/knowledge base/cloud computing/aws/eks.md @@ -825,9 +825,10 @@ This means giving them pods access keys, or enabling [Pod Identity]. Just use the [Kubernetes' cluster autoscaler component]. Suggested the use of a custom IAM role.
-Refer https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md. +Refer the autoscaler's +[AWS-specific README](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md). -
+
Pulumi ```ts @@ -892,10 +893,12 @@ new aws.eks.PodIdentityAssociation("clusterAutoscalingRole-to-clusterAutoscalerS
+Install the cluster autoscaler component with the proper configuration: + ```sh # Use a service account with podIdentityAssociation aws eks --region 'eu-west-1' update-kubeconfig --name 'DeepThought' -helm --namespace 'kube-system' upgrade --install 'https://kubernetes.github.io/autoscaler' \ +helm --namespace 'kube-system' upgrade --install --repo 'https://kubernetes.github.io/autoscaler' \ 'cluster-autoscaler' 'cluster-autoscaler' \ --set 'cloudProvider'='aws' \ --set 'awsRegion'='eu-west-1' \