I access my service through traefik when the service rolling update in kubernetes

I deploy a service in kubernetes, it has two replicas. I access my service through NodePort when the service rolling update, it success, don't throw exception. but I access my service through traefik when the service rolling update, it throw exception,After a few seconds it normal.

Hello @lijunyong,

If you are having issues with pods starting up and shutting down, you may have to look into lifecycle hooks:

https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/