Tagged articles
2 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Dec 21, 2023 · Cloud Native

Why Does a Kubernetes Pod Stay in Terminating State for 30 Seconds?

This article explains why a Kubernetes pod may remain in the Terminating state for up to 30 seconds, detailing the graceful shutdown process, the role of terminationGracePeriodSeconds and preStop hooks, and how to modify startup scripts to ensure prompt pod deletion.

Init ContainerKubernetesPod Termination
0 likes · 6 min read
Why Does a Kubernetes Pod Stay in Terminating State for 30 Seconds?
Selected Java Interview Questions
Selected Java Interview Questions
Dec 14, 2023 · Operations

Graceful Shutdown for Kubernetes‑Based Spring Boot Microservices with Nacos

This article explains the concept of graceful shutdown, outlines the essential steps, and demonstrates a practical Kubernetes‑Spring Boot‑Nacos case study, including PreStopHook handling, terminationGracePeriodSeconds tuning, and further optimizations for message queues, scheduled tasks, and traffic control.

Graceful ShutdownNacosSpring Boot
0 likes · 13 min read
Graceful Shutdown for Kubernetes‑Based Spring Boot Microservices with Nacos