website/docs/tasks/administer-cluster/memory-constraints-pod.yaml

14 lines
229 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: constraints-mem-demo
spec:
containers:
- name: constraints-mem-demo-ctr
image: nginx
resources:
limits:
memory: "800Mi"
requests:
memory: "600Mi"