Restarting nginx ingress controller in Kubernetes

Required after updating TLS secrets with renewed certificate.

Get the name of the ingress controller pod in the ingress namespace:

$ kubectl get pods --namespace ingress

Start a shell in the pod:

$ kubectl exec -it <pod_name> -- /bin/sh

Execute in the pod:

$ nginx -s reload