Skip to content

Commit fdbc946

Browse files
update initial request/limit for contains (#199)
Co-authored-by: Daniel Spray <[email protected]>
1 parent bd2b223 commit fdbc946

File tree

5 files changed

+25
-12
lines changed

5 files changed

+25
-12
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@ Global Flags:
8080
--log_level string Log level to run the agent at (INFO,WARN,DEBUG) (default "INFO")
8181
```
8282

83+
## Computing Resources for Metrics Agent
84+
85+
The following recommendation is based on number of nodes in the cluster. It's for references only. The actual required resources depends on a number of factors such as number of nodes, pods, workload, etc. Please adjust the resources depending on your actual usage. By default, the helm installation and manifest file configures the first row (nodes < 100) from the reference table.
86+
87+
| Number of Nodes | CPU Request | CPU Limit | Mem Request | Mem Limit |
88+
| --- | --- | --- | --- | --- |
89+
| < 100 | 500m | 1000m | 2GBi | 4GBi |
90+
| 100-200 | 1000m | 1500m | 4GBi | 8GBi |
91+
| 200-500 | 1500m | 2000m | 8GBi | 16GBi |
92+
| 500-1000 | 2000m | 3000m | 16GBi | 24GBi |
93+
| 1000+ | 3000m | | 24GBi | |
94+
95+
8396
## Development
8497

8598
### Dependency management

charts/metrics-agent/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ type: application
1414

1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
17-
version: 2.11.2
17+
version: 2.11.3
1818

1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application.
21-
appVersion: 2.11.2
21+
appVersion: 2.11.3

charts/metrics-agent/values.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ pollInterval: 180
2424

2525
image:
2626
name: cloudability/metrics-agent
27-
tag: 2.11.2
27+
tag: 2.11.3
2828
pullPolicy: Always
2929

3030
imagePullSecrets: []
3131

3232
resources:
3333
requests:
34-
cpu: ".1"
35-
memory: "128Mi"
36-
limits:
3734
cpu: ".5"
38-
memory: "1Gi"
35+
memory: "2Gi"
36+
limits:
37+
cpu: "1.0"
38+
memory: "4Gi"
3939

4040
livenessProbe:
4141
exec:

deploy/kubernetes/cloudability-metrics-agent.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ spec:
122122
allowPrivilegeEscalation: false
123123
resources:
124124
requests:
125-
memory: "128Mi"
126-
cpu: ".1"
127-
limits:
128-
memory: "1Gi"
125+
memory: "2Gi"
129126
cpu: ".5"
127+
limits:
128+
memory: "4Gi"
129+
cpu: "1"
130130
livenessProbe:
131131
exec:
132132
command:

version/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package version
22

33
// VERSION is the current version of the agent
4-
var VERSION = "2.11.2"
4+
var VERSION = "2.11.3"

0 commit comments

Comments
 (0)