Skip to content

Commit 76ba178

Browse files
committed
feat: Enable graceful node shutdown
- awslabs/amazon-eks-ami#1544
1 parent 8ddc649 commit 76ba178

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eksnode/src/kubelet/config.rs

+2
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,8 @@ impl KubeletConfiguration {
770770
protect_kernel_defaults: Some(true),
771771
serialize_image_pulls: Some(false),
772772
server_tls_bootstrap: Some(true),
773+
shutdown_grace_period: Some("45s".to_string()),
774+
shutdown_grace_period_critical_pods: Some("15s".to_string()),
773775
tls_cipher_suites: Some(vec![
774776
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256".to_string(),
775777
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256".to_string(),

0 commit comments

Comments
 (0)