shutdownGracePeriodSeconds property

int? shutdownGracePeriodSeconds
getter/setter pair

shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown.

This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120.

Optional.

Implementation

core.int? shutdownGracePeriodSeconds;