mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #55751 from MrHohn/default-termination-period
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Move `DefaultTerminationGracePeriodSeconds` into a separate const group **What this PR does / why we need it**: It seems odd to me to keep `DefaultTerminationGracePeriodSeconds` in the const group where DNSPolicies live in. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #NONE **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
3c7177fd57
@ -2459,7 +2459,11 @@ const (
|
|||||||
// parameters such as nameservers and search paths should be defined via
|
// parameters such as nameservers and search paths should be defined via
|
||||||
// DNSConfig.
|
// DNSConfig.
|
||||||
DNSNone DNSPolicy = "None"
|
DNSNone DNSPolicy = "None"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
// DefaultTerminationGracePeriodSeconds indicates the default duration in
|
||||||
|
// seconds a pod needs to terminate gracefully.
|
||||||
DefaultTerminationGracePeriodSeconds = 30
|
DefaultTerminationGracePeriodSeconds = 30
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user