# Graceful shutdown in Kubernetes

DevFeed: [Graceful shutdown in Kubernetes](<https://devfeed.tech/articles/graceful-shutdown-in-kubernetes-19132.md>)

Original publisher: [Read original article](<https://learnkube.com/graceful-shutdown>)

Author: Daniele Polencic

Published: 2020-08-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>), [API](<https://devfeed.tech/topics/api.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [learn](<https://devfeed.tech/tags/learn.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

## AI overview

This tutorial explains graceful shutdown in Kubernetes, focusing on preventing broken connections when Pods start or terminate and handling long-running tasks and connections during shutdown. It also describes how Pod creation moves through the Kubernetes API, etcd, authentication and authorization checks, scheduling, and kubelet activity.

## Source excerpt

Prevent broken connections in Kubernetes. Learn graceful Pod shutdown techniques and how to handle long-running tasks during termination.