Skip to content

Commit

Permalink
Add memory requests and limits to cilium agent container.
Browse files Browse the repository at this point in the history
We want to limit the memory consumption of cilium agent in case of bugs.
The way we set the limits we also have to specify the requests. Otherwise,
the requests will be equal to the limits, which would be wasteful.
  • Loading branch information
ScheererJ committed Mar 29, 2022
1 parent efd0ce6 commit 9c2fa21
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/internal/cilium/charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ monitor:
resources: {}

# Specifies the resources for the agent container
resources: {}
resources:
requests:
memory: 200Mi
limits:
memory: 1Gi

# Specifies the resources for the clean-cilium-state init container
initResources:
Expand Down

0 comments on commit 9c2fa21

Please sign in to comment.