mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
Set resource limit for both heapster and influxdb container based on
data collected by #5880
This commit is contained in:
parent
c5e504a0c8
commit
e0186c3bd0
@ -22,6 +22,10 @@ spec:
|
||||
containers:
|
||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||
name: heapster
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 2.5Gi
|
||||
command:
|
||||
- /heapster
|
||||
- --source=kubernetes:''
|
||||
|
@ -22,6 +22,10 @@ spec:
|
||||
containers:
|
||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||
name: heapster
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 2.5Gi
|
||||
command:
|
||||
- /heapster
|
||||
- --source=kubernetes:''
|
||||
|
@ -22,6 +22,10 @@ spec:
|
||||
containers:
|
||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||
name: heapster
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 2.5Gi
|
||||
command:
|
||||
- /heapster
|
||||
- --source=kubernetes:''
|
||||
|
@ -22,6 +22,10 @@ spec:
|
||||
containers:
|
||||
- image: gcr.io/google_containers/heapster_influxdb:v0.3
|
||||
name: influxdb
|
||||
resources:
|
||||
limits:
|
||||
cpu: 300m
|
||||
memory: 2Gi
|
||||
ports:
|
||||
- containerPort: 8083
|
||||
hostPort: 8083
|
||||
|
@ -22,6 +22,10 @@ spec:
|
||||
containers:
|
||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||
name: heapster
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 2.5Gi
|
||||
command:
|
||||
- /heapster
|
||||
- --source=kubernetes:''
|
||||
|
Loading…
Reference in New Issue
Block a user