Skip to content

Commit 23b97f4

Browse files
authored
Clarify podTerminationGracePeriod docs (#351)
Fixes #348
1 parent 8b6d843 commit 23b97f4

File tree

1 file changed

+2
-2
lines changed
  • config/helm/aws-node-termination-handler

1 file changed

+2
-2
lines changed

config/helm/aws-node-termination-handler/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ The configuration in this table applies to both queue-processor mode and IMDS mo
5555
Parameter | Description | Default
5656
--- | --- | ---
5757
`deleteLocalData` | Tells kubectl to continue even if there are pods using emptyDir (local data that will be deleted when the node is drained). | `true`
58-
`gracePeriod` | (DEPRECATED: Renamed to podTerminationGracePeriod) The time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used. | `30`
59-
`podTerminationGracePeriod` | The time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used. | `30`
58+
`gracePeriod` | (DEPRECATED: Renamed to podTerminationGracePeriod) The time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used, which defaults to 30 seconds if not specified. | `-1`
59+
`podTerminationGracePeriod` | The time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used, which defaults to 30 seconds if not specified. | `-1`
6060
`nodeTerminationGracePeriod` | Period of time in seconds given to each NODE to terminate gracefully. Node draining will be scheduled based on this value to optimize the amount of compute time, but still safely drain the node before an event. | `120`
6161
`ignoreDaemonSets` | Causes kubectl to skip daemon set managed pods | `true`
6262
`instanceMetadataURL` | The URL of EC2 instance metadata. This shouldn't need to be changed unless you are testing. | `http://169.254.169.254:80`

0 commit comments

Comments
 (0)