Skip to content

Commit d8a4678

Browse files
authored
Set default terminationGracePeriod to 30m in KarpenterNodePools to prevent nodes from getting stuck in Deleting state (#1526)
1 parent b4418cd commit d8a4678

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Set `terminationGracePeriod` default to 30m, to avoid having `karpenter` nodes stuck in `Deleting` state due to `Pods` blocking the deletion i.e. PDBs.
13+
1014
## [6.0.0] - 2025-10-15
1115

1216
### Changed

helm/cluster-aws/templates/_karpenter_machine_pools.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ spec:
156156
{{- end }}
157157
{{- end }}
158158
{{- with $value.terminationGracePeriod }}
159-
terminationGracePeriod: {{ . }}
159+
terminationGracePeriod: {{ . | default "30m" }}
160160
{{- end }}
161161
---
162162
{{ end }}

0 commit comments

Comments
 (0)