mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Merge pull request #10260 from dchen1107/clean
Set resource limit for both heapster and influxdb container based on
This commit is contained in:
commit
c1a7055701
@ -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