[ceph-client] Fix resource limit logic with rbd_pool job

This is to fix applying resource limit logic with rbd_pool job as this
job right now taking the values from ceph-mgr pod.

Change-Id: I663ba220df1569c0bd1faca1417936b804d1dc94
This commit is contained in:
Chinasubbareddy Mallavarapu 2020-02-21 11:13:50 -06:00
parent 017c8df602
commit e7fac18ddc
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ spec:
containers:
- name: ceph-rbd-pool
{{ tuple $envAll "ceph_rbd_pool" | include "helm-toolkit.snippets.image" | indent 10 }}
{{ tuple $envAll $envAll.Values.pod.resources.mgr | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.rbd_pool | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
{{ dict "envAll" $envAll "application" "rbd_pool" "container" "rbd_pool" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
env:
- name: CLUSTER

View File

@ -172,7 +172,7 @@ pod:
limits:
memory: "1024Mi"
cpu: "2000m"
rbd-pool:
rbd_pool:
requests:
memory: "128Mi"
cpu: "100m"