From b78e3751c39f3b38175e0324af43842af9b42b19 Mon Sep 17 00:00:00 2001 From: Qiming Date: Wed, 8 Nov 2017 08:29:05 +0800 Subject: [PATCH] Remove pod-termination doc (#6199) --- _data/concepts.yml | 1 - docs/concepts/abstractions/pod-termination.md | 16 ---------------- skip_title_check.txt | 1 - skip_toc_check.txt | 1 - 4 files changed, 19 deletions(-) delete mode 100644 docs/concepts/abstractions/pod-termination.md diff --git a/_data/concepts.yml b/_data/concepts.yml index 9f349b56ce..735eaf1866 100644 --- a/_data/concepts.yml +++ b/_data/concepts.yml @@ -43,7 +43,6 @@ toc: - docs/concepts/workloads/pods/init-containers.md - docs/concepts/workloads/pods/podpreset.md - docs/concepts/workloads/pods/disruptions.md - - docs/concepts/abstractions/pod-termination.md - title: Controllers section: - docs/concepts/workloads/controllers/replicaset.md diff --git a/docs/concepts/abstractions/pod-termination.md b/docs/concepts/abstractions/pod-termination.md deleted file mode 100644 index 327bf9cf9d..0000000000 --- a/docs/concepts/abstractions/pod-termination.md +++ /dev/null @@ -1,16 +0,0 @@ ---- ---- - -#### Pod Termination - -Since Pods represent processes running on your cluster, Kubernetes provides for *graceful termination* when Pods are no longer needed. Kubernetes implements graceful termination by applying a default *grace period* of 30 seconds from the time that you issue a termination request. A typical Pod termination in Kubernetes involves the following steps: - -1. You send a command or API call to terminate the Pod. -1. Kubernetes updates the Pod status to reflect the time after which the Pod is to be considered "dead" (the time of the termination request plus the grace period). -1. Kubernetes marks the Pod state as "Terminating" and stops sending traffic to the Pod. -1. Kubernetes sends a `TERM` signal to the Pod, indicating that the Pod should shut down. -1. When the grace period expires, Kubernetes issues a `SIGKILL` to any processes still running in the Pod. -1. Kubernetes removes the Pod from the API server on the Kubernetes Master. - -> **Note:** The grace period is configurable; you can set your own grace period when interacting with the cluster to request termination, such as using the `kubectl delete` command. See the [Terminating a Pod]() tutorial for more information. -{: .note} diff --git a/skip_title_check.txt b/skip_title_check.txt index 511697d9ce..da138f8790 100644 --- a/skip_title_check.txt +++ b/skip_title_check.txt @@ -1,5 +1,4 @@ # Put files you want to skip "title:" check here: -docs/concepts/abstractions/pod-termination.md docs/reference/generated/README.md docs/sitemap.md docs/user-guide/configmap/README.md diff --git a/skip_toc_check.txt b/skip_toc_check.txt index 99a90565c4..a0b6ed8bb0 100644 --- a/skip_toc_check.txt +++ b/skip_toc_check.txt @@ -2,7 +2,6 @@ docs/admin/kubelet-authentication-authorization.md docs/admin/kubelet-tls-bootstrapping.md docs/api-reference/labels-annotations-taints.md -docs/concepts/abstractions/pod-termination.md docs/concepts/example-concept-template.md docs/contribute/README.md docs/reference/generated/README.md