apiVersion: v1 kind: Pod metadata: name: memory-demo namespace: pod-resources-example spec: resources: requests: memory: "100Mi" limits: memory: "200Mi" containers: - name: memory-demo-ctr image: nginx command: ["stress"] args: ["--vm", "1", "--vm-bytes", "150M", "--vm-hang", "1"]