Skip to content

How to implement graceful shutdown with the controller? #13604

@rukeith-paypay

Description

@rukeith-paypay

What happened:

I deployed the Ingress Nginx controller to AWS EKS. I tried to access the pod and send the nginx -s quit command. But I cannot find the graceful shutdown log from the standard output.

What you expected to happen:
I expected the graceful shutdown log will show up at standard output like this.

Image

NGINX Ingress controller version

-------------------------------------------------------------------------------
NGINX Ingress controller
  Release:       1.21.1
  Build:         64780b1
  Repository:    https://github.com/kubernetes/ingress-nginx
  nginx version: nginx/1.25.5

-------------------------------------------------------------------------------

Kubernetes version (use kubectl version):

Client Version: v1.28.9
Kustomize Version: v5.0.4.0.20230601165947-6ce0bf390ce3
Server Version: v1.29.15-eks-4096722

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-kindIndicates a PR lacks a `kind/foo` label and requires one.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions