First of all, I use a GCP k8s standard cluster, which works fine. I am a bit interested in autopilot, so I tried to deploy the same pods on a k8s autopilot.
The thing is, I got many 502 errors when rolling updates pods implemented in Go Gin and Python FastAPI(uvicorn). Go is less 502 errors than Python.
I doubt that Service(ClusterIP) correctly switches traffic across pods during rolling update.
Again, the same applications works fine with the standard version, and preStop, maxSurge, and graceful shutdown in Go and Python are implemented as the following doc says. Is there any settings that are specific to Autopilot?