mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Move 'DefaultTerminationGracePeriodSeconds' into a separate const group
This commit is contained in:
parent
73bb9810e0
commit
0acf12a4e8
@ -2433,7 +2433,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