Skip to content

Commit b36c9b4

Browse files
authored
feat: set oom score for ssm-agent (#2618)
Add systemd drop-ins for this service that it won't get OOM-killed before Guaranteed pods. See #2175.
1 parent e9ce09d commit b36c9b4

File tree

1 file changed

+4
-0
lines changed
  • templates/al2023/runtime/rootfs/etc/systemd/system/amazon-ssm-agent.service.d

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[Slice]
2+
# Ensure that this is not OOM killed before Kubernetes Guaranteed QoS pods.
3+
# https://github.com/awslabs/amazon-eks-ami/issues/2175
4+
OOMScoreAdjust=-999

0 commit comments

Comments
 (0)