This error occurs because of a race condition when the pod is deleted. When the pod is deleted, it basically shuts before the ingress knows it stops sending traffic. The easiest way out is to prevent the pod from shutting immediately. This is possible with a preStop hook.