본문 바로가기
공부/Open Source

[k8s/ingress-nginx/aws] Chart: Add a TargetGroupBinding

by haejang 2024. 4. 4.
728x90
728x90

 

결론 : 너무 user specific하다고 close 됨.

>> 내가 별도로 차트 올려둠 (ingress-nginx-4.10.0 기반, https://artifacthub.io/packages/helm/suminhong/ingress-nginx-external-lb)

 

 

https://github.com/kubernetes/ingress-nginx/pull/11198

 

Chart: Add a TargetGroupBinding object to the ingress-nginx helm chart template. by suminhong · Pull Request #11198 · kubernet

What this PR does / why we need it: Add a TargetGroupBinding object to the ingress-nginx helm chart template. When creating an ingress-nginx controller, it is necessary to use an already existing...

github.com

 

오픈소스에 처음으로 PR을 올려보게 되었다.

 

ingress-nginx 앞에 별도로 관리하는 (테라폼 등으로) LB를 붙이고 싶을 때,

nodePort 타입으로 선언 후 노드들을 target group에 붙여줘야 한다.

 

ec2 managed node group을 쓴다면 그냥 auto scaling group attach를 해주면 되지만, 난 카펜터를 사용하기 때문에 이 작업이 필요했다.

별도 리소스로 관리할수도 있겠지만, targetport 설정값을 참조하고 싶어서 차트를 수정하게 되었다.

 

머지될지 안될진 모르겠지만,,

(첫 오픈소스 pr을 올린게) 신기해서 일단 기록해둔다.

 

참조(contribution하기) https://chanhuiseok.github.io/posts/git-3/

 

끝!

 

 

728x90
728x90

댓글