dlb:Add memory request and limit for demo pods

Add memory request and limit with 200Mi so that pods can be guaranteed

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
This commit is contained in:
Hyeongju Johannes Lee 2021-11-15 00:58:14 -08:00
parent 48dcc8eb6d
commit 413e4bc58f
2 changed files with 8 additions and 1 deletions

View File

@ -12,9 +12,11 @@ spec:
limits: limits:
dlb.intel.com/pf: 1 dlb.intel.com/pf: 1
cpu: 1 cpu: 1
memory: 200Mi
requests: requests:
dlb.intel.com/pf: 1 dlb.intel.com/pf: 1
cpu: 1 cpu: 1
memory: 200Mi
- name: vf - name: vf
image: intel/dlb-dpdk-demo:devel image: intel/dlb-dpdk-demo:devel
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
@ -22,7 +24,8 @@ spec:
limits: limits:
dlb.intel.com/vf: 1 dlb.intel.com/vf: 1
cpu: 1 cpu: 1
memory: 200Mi
requests: requests:
dlb.intel.com/vf: 1 dlb.intel.com/vf: 1
cpu: 1 cpu: 1
memory: 200Mi

View File

@ -12,9 +12,11 @@ spec:
limits: limits:
dlb.intel.com/pf: 1 dlb.intel.com/pf: 1
cpu: 1 cpu: 1
memory: 200Mi
requests: requests:
dlb.intel.com/pf: 1 dlb.intel.com/pf: 1
cpu: 1 cpu: 1
memory: 200Mi
- name: vf - name: vf
image: intel/dlb-libdlb-demo:devel image: intel/dlb-libdlb-demo:devel
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
@ -22,6 +24,8 @@ spec:
limits: limits:
dlb.intel.com/vf: 1 dlb.intel.com/vf: 1
cpu: 1 cpu: 1
memory: 200Mi
requests: requests:
dlb.intel.com/vf: 1 dlb.intel.com/vf: 1
cpu: 1 cpu: 1
memory: 200Mi