mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +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:
|
||||
- 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