Skip to content

Commit 1e2a103

Browse files
authored
update helm readme with webhooks (#88)
1 parent 3dba296 commit 1e2a103

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ Parameter | Description | Default
5858
`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`
5959
`ignoreDaemonsSets` | Causes kubectl to skip daemon set managed pods | `true`
6060
`instanceMetadataURL` | The URL of EC2 instance metadata. This shouldn't need to be changed unless you are testing. | `http://169.254.169.254:80`
61+
`webhookURL` | Posts event data to URL upon instance interruption action | ``
62+
`webhookHeaders` | Replaces the default webhook headers. | `{"Content-type":"application/json"}`
63+
`webhookTemplate` | Replaces the default webhook message template. | `{"text":"[NTH][Instance Interruption] EventID: {{ .EventID }} - Kind: {{ .Kind }} - Description: {{ .Description }} - State: {{ .State }} - Start Time: {{ .StartTime }}"}`
6164
`affinity` | node/pod affinities | None
6265
`podSecurityContext` | Pod Security Context | `{}`
6366
`podAnnotations` | annotations to add to each pod | `{}`
@@ -71,3 +74,5 @@ Parameter | Description | Default
7174
`serviceAccount.create` | If `true`, create a new service account | `true`
7275
`serviceAccount.name` | Service account to be used | None
7376
`serviceAccount.annotations` | Specifies the annotations for ServiceAccount | `{}`
77+
`procUptimeFile` | (Used for Testing) Specify the uptime file | `/proc/uptime`
78+

0 commit comments

Comments
 (0)