From 28eb1cfa516e2046628c646adaa6454a8cb79bc5 Mon Sep 17 00:00:00 2001 From: Minhan Xia Date: Wed, 5 Sep 2018 23:54:01 -0700 Subject: [PATCH] adjust docs for pod ready++ (#10049) --- content/en/docs/concepts/workloads/pods/pod-lifecycle.md | 8 +++++--- .../command-line-tools-reference/feature-gates.md | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md index 85c052466c1ae..deb29511ca96e 100644 --- a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md +++ b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md @@ -157,7 +157,7 @@ Note that the information reported as Pod status depends on the current ## Pod readiness gate -{{< feature-state for_k8s_version="v1.11" state="alpha" >}} +{{< feature-state for_k8s_version="v1.12" state="beta" >}} In order to add extensibility to Pod readiness by enabling the injection of extra feedbacks or signals into `PodStatus`, Kubernetes 1.11 introduced a @@ -203,9 +203,11 @@ when both the following statements are true: To facilitate this change to Pod readiness evaluation, a new Pod condition `ContainersReady` is introduced to capture the old Pod `Ready` condition. -As an alpha feature, the "Pod Ready++" feature has to be explicitly enabled by +In K8s 1.11, as an alpha feature, the "Pod Ready++" feature has to be explicitly enabled by setting the `PodReadinessGates` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) -to True. +to true. + +In K8s 1.12, the feature is enabled by default. ## Restart policy diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates.md b/content/en/docs/reference/command-line-tools-reference/feature-gates.md index cd62ba6d182ae..6561230aea5f9 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates.md @@ -81,6 +81,7 @@ different Kubernetes components. | `PersistentLocalVolumes` | `true` | Beta | 1.10 | | | `PodPriority` | `false` | Alpha | 1.8 | | | `PodReadinessGates` | `false` | Alpha | 1.11 | | +| `PodReadinessGates` | `true` | Beta | 1.12 | | | `PodShareProcessNamespace` | `false` | Alpha | 1.10 | | | `PVCProtection` | `false` | Alpha | 1.9 | 1.9 | | `ReadOnlyAPIDataVolumes` | `true` | Deprecated | 1.10 | |