mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Reconfigure fluentd's resource limits and requests.
-Remove CPU limits to enable CPU bursting once 1.2 begins enforcing CPU limits. -Add a memory limit for fluentd-es to match fluentd-gcp. -Explicitly set requests to match limits.
This commit is contained in:
parent
4b213ed263
commit
4e729c6c7c
@ -11,7 +11,10 @@ spec:
|
|||||||
image: gcr.io/google_containers/fluentd-elasticsearch:1.14
|
image: gcr.io/google_containers/fluentd-elasticsearch:1.14
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
memory: 200Mi
|
||||||
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
memory: 200Mi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: varlog
|
- name: varlog
|
||||||
mountPath: /var/log
|
mountPath: /var/log
|
||||||
|
@ -12,6 +12,8 @@ spec:
|
|||||||
image: gcr.io/google_containers/fluentd-gcp:1.16
|
image: gcr.io/google_containers/fluentd-gcp:1.16
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
memory: 200Mi
|
||||||
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user