EKS nginx 인그레스 Dynamic Config 관련 no connection drop

IT/EKS 2022. 8. 1. 10:13
반응형

nginx 인그레스 리스너 패스 적용 시, 간간히 몇개의 커넥션 리셋 / 드랍 에러가 튀 나옴

별로 보고 싶지 않아서 여러개를 찾아보다가, enable-dynamic-configuration 이 최신 버전 들어서면서부터 default로 적용된 것을 확인헀댜 ㅇㅇㅇ

 

과거 버전에서는 false로 되어있던 것을, true로 켜줘야만 했던 것 같다. 그래봤자 2019년이지만..

이 스레드는 동적 컨피그 적용이 안된다고 하는 문제댜

https://github.com/kubernetes/ingress-nginx/issues/2985 

 

Nginx ingress keeps reloading and dropping connections · Issue #2985 · kubernetes/ingress-nginx

Is this a request for help? I don't know. Either it is a bug or I am misunderstanding some concept What keywords did you search in NGINX Ingress controller issues before filing this one? (If yo...

github.com

 

이 qna 스레드는 동적 컨피그 적용 시, 커넥션 드랍 / 클로즈를 피하는 방법을 문의하는건데, 똑같이 enable-dynamic-config 옵션 모드를 통해 설정하라 되어있댜

https://github.com/kubernetes/ingress-nginx/issues/2461

 

Ingress controller dropping websocket connections when performing backend reload · Issue #2461 · kubernetes/ingress-nginx

NGINX Ingress controller version: 0.12.0 and 0.14.0 Kubernetes version (use kubectl version): v1.8.0 Environment: aws with elb Cloud provider or hardware configuration: aws m4 medium OS (e.g. from ...

github.com

 

 

 

 

nginx 0.12.0 에서 enable-dynamic-config 아규먼트가 등장했고.

0.22.0 에서 아예 이 아규먼트가 사라졌다.

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

 

remove the command args of enable-dynamic-configuration by hchenxa · Pull Request #3252 · kubernetes/ingress-nginx

What this PR does / why we need it: as PR 74c2f93 have only support dynamic configuration enabled, so the command args can not be used any more. Which issue this PR fixes (optional, in fixes #<issu...

github.com

 

지금은 1.0 버전이상으로 되니, 아예 동적 컨피그를 끌 수 있는 방법이 없어졌댜.

https://github.com/kubernetes/ingress-nginx/issues/2985

 

Nginx ingress keeps reloading and dropping connections · Issue #2985 · kubernetes/ingress-nginx

Is this a request for help? I don't know. Either it is a bug or I am misunderstanding some concept What keywords did you search in NGINX Ingress controller issues before filing this one? (If yo...

github.com

 

오래전 스레드에 그레이스풀 셧다운을 높이라고는 되어있는데, 0.3x 버전 nginx에서는 디폴트가 240초, 4분이다.

이정도의 기간에도 불구하고 커넥션 드랍 / 순단이 생기는 것은 영 어쩔수 없나봉가...

정답은 dynamic config를 끄고, 수동으로 재적용 시키는 방법을 쓰고 싶은데 현재로선 방법이 도저히 없는 것 같댜 ㅇㅇ 

 

 

반응형

설정

트랙백

댓글