mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

Add memory request and limit with 200Mi so that pods can be guaranteed Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
32 lines
624 B
YAML
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
|