AWS ECR Token auto-refresh
AWS ECR Token auto-refresh

1. Issue AWS ECR authentication tokens are valid for 12 hours. After expiration, you need to re-execute docker login or aws ecr get-login-password. 2. Solution Use ECR Credential Helper to automatically call the AWS API to obtain the latest token when Docker pulls an image. Applicable scenarios: Development machines, CI/CD, servers, and any environment with... » read more

Preventing broken connections during pod shut-down
Preventing broken connections during pod shut-down

Ensuring all client requests are handled properly You now have a good sense of how to make pods shut down cleanly. Now, we’ll look at the pod’s lifecycle from the perspective of the pod’s clients (clients consuming the service the pod is providing). This is important to understand if you don’t want clients to run... » read more

The Kubernetes termination lifecycle
The Kubernetes termination lifecycle

The Kubernetes termination lifecycle Once Kubernetes has decided to terminate your pod, a series of events takes place. Let’s look at each step of the Kubernetes termination lifecycle. The container termination sequence 1 – Pod is set to the “Terminating” State and removed from the endpoints list of all Services At this point, the pod... » read more