kubelet/config
David Porter 8fd5ebff85 Promote kubelet graceful node shutdown to beta
- Change the feature gate from alpha to beta and enable it by default

- Update a few of the unit tests due to feature gate being enabled by
  default

- Small refactor in `nodeshutdown_manager` which adds `featureEnabled`
  function (which checks that feature gate and that
  `kubeletConfig.ShutdownGracePeriod > 0`).

- Use `featureEnabled()` to exit early from shutdown manager in the case
  that the feature is disabled

- Update kubelet config defaulting to be explicit that
  `ShutdownGracePeriod` and `ShutdownGracePeriodCriticalPods` default to
  zero and update the godoc comments.

- Update defaults and add featureGate tag in api config godoc.

With this feature now in beta and the feature gate enabled by default,
to enable graceful shutdown all that will be required is to configure
`ShutdownGracePeriod` and `ShutdownGracePeriodCriticalPods` in the
kubelet config. If not configured, they will be defaulted to zero, and
graceful shutdown will effectively be disabled.

Kubernetes-commit: 893f5fd4f007775d48536cae192d79f209eeeac2
2021-03-02 15:41:50 -08:00
..
v1alpha1 kubelet: add initial credentialprovider v1alpha1 APIs 2020-11-10 13:44:06 -05:00
v1beta1 Promote kubelet graceful node shutdown to beta 2021-03-02 15:41:50 -08:00
OWNERS Updated OWNERS files to include link to docs 2019-01-30 20:05:00 +01:00