From 50d9795fb830b7829ab948fd6ce993db5b4f41af Mon Sep 17 00:00:00 2001 From: Lee Verberne Date: Thu, 21 Nov 2019 10:21:28 +0100 Subject: [PATCH] Promote PodShareProcessNamespace to stable (#17192) * Promote PodShareProcessNamespace to stable * Add for_k8s_version to feature-state label Co-Authored-By: Tim Bannister * Readd version-check to shareProcessNamespace task --- .../reference/command-line-tools-reference/feature-gates.md | 5 +++-- .../tasks/configure-pod-container/share-process-namespace.md | 5 +---- content/en/examples/examples_test.go | 2 -- content/ja/examples/examples_test.go | 2 -- 4 files changed, 4 insertions(+), 10 deletions(-) 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 bee18304c4..665712b23c 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 @@ -106,8 +106,6 @@ different Kubernetes components. | `NodeDisruptionExclusion` | `false` | Alpha | 1.16 | | | `NonPreemptingPriority` | `false` | Alpha | 1.15 | | | `PodOverhead` | `false` | Alpha | 1.16 | - | -| `PodShareProcessNamespace` | `false` | Alpha | 1.10 | 1.11 | -| `PodShareProcessNamespace` | `true` | Beta | 1.12 | | | `ProcMountType` | `false` | Alpha | 1.12 | | | `QOSReserved` | `false` | Alpha | 1.11 | | | `RemainingItemCount` | `false` | Alpha | 1.15 | | @@ -233,6 +231,9 @@ different Kubernetes components. | `PodReadinessGates` | `false` | Alpha | 1.11 | 1.11 | | `PodReadinessGates` | `true` | Beta | 1.12 | 1.13 | | `PodReadinessGates` | `true` | GA | 1.14 | - | +| `PodShareProcessNamespace` | `false` | Alpha | 1.10 | 1.11 | +| `PodShareProcessNamespace` | `true` | Beta | 1.12 | 1.16 | +| `PodShareProcessNamespace` | `true` | GA | 1.17 | - | | `PVCProtection` | `false` | Alpha | 1.9 | 1.9 | | `PVCProtection` | - | Deprecated | 1.10 | - | | `ScheduleDaemonSetPods` | `false` | Alpha | 1.11 | 1.11 | diff --git a/content/en/docs/tasks/configure-pod-container/share-process-namespace.md b/content/en/docs/tasks/configure-pod-container/share-process-namespace.md index 83924865c5..ee227d3f9b 100644 --- a/content/en/docs/tasks/configure-pod-container/share-process-namespace.md +++ b/content/en/docs/tasks/configure-pod-container/share-process-namespace.md @@ -11,7 +11,7 @@ weight: 160 {{% capture overview %}} -{{< feature-state state="beta" >}} +{{< feature-state state="stable" for_k8s_version="v1.17" >}} This page shows how to configure process namespace sharing for a pod. When process namespace sharing is enabled, processes in a container are visible @@ -27,9 +27,6 @@ include debugging utilities like a shell. {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}} -Process Namespace Sharing is a **beta** feature that is enabled by default. It -may be disabled by setting `--feature-gates=PodShareProcessNamespace=false`. - {{% /capture %}} {{% capture steps %}} diff --git a/content/en/examples/examples_test.go b/content/en/examples/examples_test.go index 279ade8f29..ee29c3a68b 100644 --- a/content/en/examples/examples_test.go +++ b/content/en/examples/examples_test.go @@ -569,8 +569,6 @@ func TestExampleObjectSchemas(t *testing.T) { capabilities.SetForTests(capabilities.Capabilities{ AllowPrivileged: true, }) - // PodShareProcessNamespace needed for example share-process-namespace.yaml - utilfeature.DefaultFeatureGate.Set("PodShareProcessNamespace=true") for dir, expected := range cases { tested := 0 diff --git a/content/ja/examples/examples_test.go b/content/ja/examples/examples_test.go index 11916f87dd..9b14aa6b38 100644 --- a/content/ja/examples/examples_test.go +++ b/content/ja/examples/examples_test.go @@ -543,8 +543,6 @@ func TestExampleObjectSchemas(t *testing.T) { capabilities.SetForTests(capabilities.Capabilities{ AllowPrivileged: true, }) - // PodShareProcessNamespace needed for example share-process-namespace.yaml - utilfeature.DefaultFeatureGate.Set("PodShareProcessNamespace=true") for dir, expected := range cases { tested := 0