From 012a41a5fcbe6849573f28a7b8a41a7cb7f32428 Mon Sep 17 00:00:00 2001 From: Draven Date: Sun, 3 Nov 2019 20:03:39 +0800 Subject: [PATCH] feat: graduate ScheduleDaemonSetPods to GA (#17350) --- .../concepts/workloads/controllers/daemonset.md | 16 ++-------------- .../feature-gates.md | 5 +++-- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/content/en/docs/concepts/workloads/controllers/daemonset.md b/content/en/docs/concepts/workloads/controllers/daemonset.md index 4ce8e0f319..72118108a0 100644 --- a/content/en/docs/concepts/workloads/controllers/daemonset.md +++ b/content/en/docs/concepts/workloads/controllers/daemonset.md @@ -101,21 +101,9 @@ If you do not specify either, then the DaemonSet controller will create Pods on ## How Daemon Pods are Scheduled -### Scheduled by DaemonSet controller (disabled by default since 1.12) +### Scheduled by default scheduler -Normally, the machine that a Pod runs on is selected by the Kubernetes scheduler. However, Pods -created by the DaemonSet controller have the machine already selected (`.spec.nodeName` is specified -when the Pod is created, so it is ignored by the scheduler). Therefore: - - - The [`unschedulable`](/docs/admin/node/#manual-node-administration) field of a node is not respected - by the DaemonSet controller. - - The DaemonSet controller can make Pods even when the scheduler has not been started, which can help cluster - bootstrap. - - -### Scheduled by default scheduler (enabled by default since 1.12) - -{{< feature-state state="beta" for-kubernetes-version="1.12" >}} +{{< feature-state state="stable" for-kubernetes-version="1.17" >}} A DaemonSet ensures that all eligible nodes run a copy of a Pod. Normally, the node that a Pod runs on is selected by the Kubernetes scheduler. However, 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 f5edc18b92..36a0de5b27 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 @@ -125,8 +125,6 @@ different Kubernetes components. | `RunAsGroup` | `true` | Beta | 1.14 | | | `RuntimeClass` | `false` | Alpha | 1.12 | 1.13 | | `RuntimeClass` | `true` | Beta | 1.14 | | -| `ScheduleDaemonSetPods` | `false` | Alpha | 1.11 | 1.11 | -| `ScheduleDaemonSetPods` | `true` | Beta | 1.12 | | | `SCTPSupport` | `false` | Alpha | 1.12 | | | `ServerSideApply` | `false` | Alpha | 1.14 | 1.15 | | `ServerSideApply` | `true` | Beta | 1.16 | | @@ -232,6 +230,9 @@ different Kubernetes components. | `PodReadinessGates` | `true` | GA | 1.14 | - | | `PVCProtection` | `false` | Alpha | 1.9 | 1.9 | | `PVCProtection` | - | Deprecated | 1.10 | - | +| `ScheduleDaemonSetPods` | `false` | Alpha | 1.11 | 1.11 | +| `ScheduleDaemonSetPods` | `true` | Beta | 1.12 | 1.16 | +| `ScheduleDaemonSetPods` | `true` | GA | 1.17 | - | | `StorageObjectInUseProtection` | `true` | Beta | 1.10 | 1.10 | | `StorageObjectInUseProtection` | `true` | GA | 1.11 | - | | `SupportIPVSProxyMode` | `false` | Alpha | 1.8 | 1.8 |