hardStudy question · answer published in Kubernetes interview questions, so no pointsdockerkubernetesgraceful-shutdown
Container ignores SIGTERM
Pods with this image always take the full 30-second grace period to stop and are then SIGKILLed, dropping requests. What is the most likely cause?
FROM python:3.12-slim COPY app.py . CMD python app.py
Discussion 0
Join free to post in the discussion.
Related questions
- Ordering Dockerfile steps for cachingDevOps Engineer
- Image vs containerDevOps Engineer
- Smallest unit in KubernetesDevOps Engineer
- Why use a .dockerignore fileDevOps Engineer
- Container exits right after startDevOps Engineer
- Deployment and ReplicaSetDevOps Engineer
- Logs from a crashed containerDevOps Engineer
- Are Kubernetes Secrets encryptedDevOps Engineer