Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase/set resource requests (to limits) #168

Open
MPV opened this issue Sep 11, 2024 · 1 comment
Open

Increase/set resource requests (to limits) #168

MPV opened this issue Sep 11, 2024 · 1 comment

Comments

@MPV
Copy link

MPV commented Sep 11, 2024

Your support suggested to increase the resource requests to alleviate resource issues, and thus we suggest you upstream this change here too for others to avoid the same issue.

As per your colleagues:

To address the issue of "container ID not found" logs on Kubernetes nodes, it appears that the resource allocations for both the `s1-agent` DaemonSet and the `s1-agent-helper` Deployment have been updated. The changes are as follows:

 DaemonSet `sentinel-one/s1-agent`
- Previous Resource Requests:
  - CPU: 100m
  - Memory: 800Mi
- Updated Resource Requests:
  - CPU: 900m
  - Memory: 1500Mi

 Deployment `sentinel-one/s1-agent-helper`
- Previous Resource Requests:
  - CPU: 100m
  - Memory: 100Mi
- Updated Resource Requests:
  - CPU: 900m
  - Memory: 1945Mi

These changes should help in addressing the resource constraints that might be causing the "container ID not found" logs.

I.e. changing these default values:
 
For the Agent:

resources:
limits:
cpu: 900m
memory: 1500Mi
requests:
cpu: 100m
memory: 800Mi

For the Helper:

resources:
limits:
cpu: 900m
memory: 1945Mi # Almost equals to 1.9Gi but isn't fractional
requests: # The requests will be overriden by the limits if GKE autopilot plaform configuration is set to true.
cpu: 100m
memory: 100Mi

@MPV
Copy link
Author

MPV commented Oct 23, 2024

FYI I found this related PR now:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant