intel-device-plugins-for-ku.../demo/dlb-libdlb-demo-pod.yaml
Hyeongju Johannes Lee 413e4bc58f 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>
2021-11-15 00:58:54 -08:00

32 lines
624 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: dlb-libdlb-demo
spec:
restartPolicy: Never
containers:
- name: pf
image: intel/dlb-libdlb-demo:devel
imagePullPolicy: IfNotPresent
resources:
limits:
dlb.intel.com/pf: 1
cpu: 1
memory: 200Mi
requests:
dlb.intel.com/pf: 1
cpu: 1
memory: 200Mi
- name: vf
image: intel/dlb-libdlb-demo:devel
imagePullPolicy: IfNotPresent
resources:
limits:
dlb.intel.com/vf: 1
cpu: 1
memory: 200Mi
requests:
dlb.intel.com/vf: 1
cpu: 1
memory: 200Mi