mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +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:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||||
name: heapster
|
name: heapster
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 2.5Gi
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes:''
|
- --source=kubernetes:''
|
||||||
|
@ -22,6 +22,10 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||||
name: heapster
|
name: heapster
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 2.5Gi
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes:''
|
- --source=kubernetes:''
|
||||||
|
@ -22,6 +22,10 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||||
name: heapster
|
name: heapster
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 2.5Gi
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes:''
|
- --source=kubernetes:''
|
||||||
|
@ -22,6 +22,10 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster_influxdb:v0.3
|
- image: gcr.io/google_containers/heapster_influxdb:v0.3
|
||||||
name: influxdb
|
name: influxdb
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 300m
|
||||||
|
memory: 2Gi
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8083
|
- containerPort: 8083
|
||||||
hostPort: 8083
|
hostPort: 8083
|
||||||
|
@ -22,6 +22,10 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v0.14.3
|
- image: gcr.io/google_containers/heapster:v0.14.3
|
||||||
name: heapster
|
name: heapster
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 2.5Gi
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes:''
|
- --source=kubernetes:''
|
||||||
|
Loading…
Reference in New Issue
Block a user