From f7b098ee157e762b0d10cce2f667ab7129bf7b0e Mon Sep 17 00:00:00 2001 From: Hyunsun Moon Date: Thu, 21 Jun 2018 01:57:23 +0900 Subject: [PATCH] [ingress] fix ingress-vip container to exit immediately with sigterm currently it lives until the grace preiod ends and gets sigkill Change-Id: I37d7fac57c2d51633f3ecdd6c0457b9044f7b011 --- ingress/templates/bin/_ingress-vip.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingress/templates/bin/_ingress-vip.sh.tpl b/ingress/templates/bin/_ingress-vip.sh.tpl index 3df0053ef6..e0ad6fc3c7 100644 --- a/ingress/templates/bin/_ingress-vip.sh.tpl +++ b/ingress/templates/bin/_ingress-vip.sh.tpl @@ -38,7 +38,7 @@ function start () { } function sleep () { - exec bash -c "while :; do sleep 2073600; done" + exec /usr/bin/dumb-init bash -c "while :; do sleep 2073600; done" } function stop () {