diff --git a/stable/aws-node-termination-handler/Chart.yaml b/stable/aws-node-termination-handler/Chart.yaml index f80db5985..7b6065d78 100644 --- a/stable/aws-node-termination-handler/Chart.yaml +++ b/stable/aws-node-termination-handler/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aws-node-termination-handler description: A Helm chart for the AWS Node Termination Handler. type: application -version: 0.20.2 -appVersion: 1.18.2 +version: 0.20.3 +appVersion: 1.18.3 kubeVersion: ">= 1.16-0" keywords: - aws diff --git a/stable/aws-node-termination-handler/README.md b/stable/aws-node-termination-handler/README.md index e4809a7ac..3e2e74e06 100644 --- a/stable/aws-node-termination-handler/README.md +++ b/stable/aws-node-termination-handler/README.md @@ -152,10 +152,10 @@ The configuration in this table applies to AWS Node Termination Handler in IMDS | `windowsTolerations` | Override `daemonsetTolerations` for the Linux DaemonSet. | `[]` | | `enableProbesServer` | If `true`, start an http server exposing `/healthz` endpoint for probes. | `false` | | `metadataTries` | The number of times to try requesting metadata. | `3` | -| `enableSpotInterruptionDraining` | If `true`, drain nodes when the spot interruption termination notice is received. | `true` | -| `enableScheduledEventDraining` | If `true`, drain nodes before the maintenance window starts for an EC2 instance scheduled event. | `true` | -| `enableRebalanceMonitoring` | If `true`, cordon nodes when the rebalance recommendation notice is received. If you'd like to drain the node in addition to cordoning, then also set `enableRebalanceDraining`. | `false` | -| `enableRebalanceDraining` | If `true`, drain nodes when the rebalance recommendation notice is received. | `false` | +| `enableSpotInterruptionDraining` | If `true`, drain nodes when the spot interruption termination notice is received. Only used in IMDS mode. | `true` | +| `enableScheduledEventDraining` | If `true`, drain nodes before the maintenance window starts for an EC2 instance scheduled event. Only used in IMDS mode. | `true` | +| `enableRebalanceMonitoring` | If `true`, cordon nodes when the rebalance recommendation notice is received. If you'd like to drain the node in addition to cordoning, then also set `enableRebalanceDraining`. Only used in IMDS mode. | `false` | +| `enableRebalanceDraining` | If `true`, drain nodes when the rebalance recommendation notice is received. Only used in IMDS mode. | `false` | ### Testing Configuration diff --git a/stable/aws-node-termination-handler/templates/deployment.yaml b/stable/aws-node-termination-handler/templates/deployment.yaml index eeecafb7d..3024e42f5 100644 --- a/stable/aws-node-termination-handler/templates/deployment.yaml +++ b/stable/aws-node-termination-handler/templates/deployment.yaml @@ -146,14 +146,6 @@ spec: - name: WEBHOOK_TEMPLATE value: {{ .Values.webhookTemplate | quote }} {{- end }} - - name: ENABLE_SPOT_INTERRUPTION_DRAINING - value: {{ .Values.enableSpotInterruptionDraining | quote }} - - name: ENABLE_SCHEDULED_EVENT_DRAINING - value: {{ .Values.enableScheduledEventDraining | quote }} - - name: ENABLE_REBALANCE_MONITORING - value: {{ .Values.enableRebalanceMonitoring | quote }} - - name: ENABLE_REBALANCE_DRAINING - value: {{ .Values.enableRebalanceDraining | quote }} - name: ENABLE_SQS_TERMINATION_DRAINING value: "true" {{- with .Values.awsRegion }} diff --git a/stable/aws-node-termination-handler/values.yaml b/stable/aws-node-termination-handler/values.yaml index 62a94c1e5..4ec9e1ddf 100644 --- a/stable/aws-node-termination-handler/values.yaml +++ b/stable/aws-node-termination-handler/values.yaml @@ -259,22 +259,22 @@ daemonsetTolerations: linuxTolerations: [] windowsTolerations: [] -# If the probes server is running for the Daemonset +# If the probes server is running. enableProbesServer: false # Total number of times to try making the metadata request before failing. metadataTries: 3 -# enableSpotInterruptionDraining If false, do not drain nodes when the spot interruption termination notice is received +# enableSpotInterruptionDraining If false, do not drain nodes when the spot interruption termination notice is received. Only used in IMDS mode. enableSpotInterruptionDraining: true -# enableScheduledEventDraining If false, do not drain nodes before the maintenance window starts for an EC2 instance scheduled event +# enableScheduledEventDraining If false, do not drain nodes before the maintenance window starts for an EC2 instance scheduled event. Only used in IMDS mode. enableScheduledEventDraining: true -# enableRebalanceMonitoring If true, cordon nodes when the rebalance recommendation notice is received +# enableRebalanceMonitoring If true, cordon nodes when the rebalance recommendation notice is received. Only used in IMDS mode. enableRebalanceMonitoring: false -# enableRebalanceDraining If true, drain nodes when the rebalance recommendation notice is received +# enableRebalanceDraining If true, drain nodes when the rebalance recommendation notice is received. Only used in IMDS mode. enableRebalanceDraining: false # ---------------------------------------------------------------------------------------------------------------------