개인 AWS 에서 EKS 테스트를 자주 진행하고 있었습니다. 

 

EKS 생성은 하기 링크를 사용했습니다. 

 

https://gasidaseo.notion.site/Amazon-EKS-23-6-6-16ed4098c3314802a1e4dbf12a9d1da8

 

Amazon EKS 윈클릭 배포 가이드 (’23.6.6 업데이트)

구성 환경

gasidaseo.notion.site

 

alb 생성은 공식 문서를 보고 진행했고 계속 실패를 했습니다 

 

에러 예시

 

1 existing iamserviceaccount(s) (kube-system/aws-load-balancer-controller) will be excluded
1 iamserviceaccount (kube-system/aws-node) was included (based on the include/exclude rules)
1 iamserviceaccount (kube-system/aws-load-balancer-controller) was excluded (based on the include/exclude rules)
metadata of serviceaccounts that exist in Kubernetes will be updated, as --override-existing-serviceaccounts was set

 

 

원인은 제가 동일한 이름에 정책, 롤 (lb 컨트롤러)를 생성한것이 문제였습니다.

(기타 문제 : 과거 테스트에서 생성한 oidc가 등록되어 있음... )

 

조치 :

 

Clodformation 에서 컨트롤러 생성 스택 제거 

+ Recent posts