Skip to content

Commit fa6bb7f

Browse files
antoinne85k8s-ci-robot
authored andcommitted
Added missing HPAScaleToZero feature gate (#16592)
I discovered this feature gate when trying to configure scale-to-zero but found that it wasn't included in the documentation.
1 parent 11f60c5 commit fa6bb7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/en/docs/reference/command-line-tools-reference/feature-gates.md

+2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ different Kubernetes components.
9191
| `ExpandPersistentVolumes` | `true` | Beta | 1.11 | |
9292
| `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | |
9393
| `EvenPodsSpread` | `false` | Alpha | 1.16 | |
94+
| `HPAScaleToZero` | `false` | Alpha | 1.16 | |
9495
| `HyperVContainer` | `false` | Alpha | 1.10 | |
9596
| `KubeletPodResources` | `false` | Alpha | 1.13 | 1.14 |
9697
| `KubeletPodResources` | `true` | Beta | 1.15 | |
@@ -347,6 +348,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
347348
- `GCERegionalPersistentDisk`: Enable the regional PD feature on GCE.
348349
- `HugePages`: Enable the allocation and consumption of pre-allocated [huge pages](/docs/tasks/manage-hugepages/scheduling-hugepages/).
349350
- `HyperVContainer`: Enable [Hyper-V isolation](https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/hyperv-container) for Windows containers.
351+
- `HPAScaleToZero`: Enables setting `minReplicas` to 0 for `HorizontalPodAutoscaler` resources when using custom or external metrics.
350352
- `KubeletConfigFile`: Enable loading kubelet configuration from a file specified using a config file.
351353
See [setting kubelet parameters via a config file](/docs/tasks/administer-cluster/kubelet-config-file/) for more details.
352354
- `KubeletPluginsWatcher`: Enable probe-based plugin watcher utility to enable kubelet

0 commit comments

Comments
 (0)