apiVersion: v1
kind: Pod
metadata:
  name: pod-with-resources-limits
spec:
  containers:
  - name: nginx-good
    image: nginx
    resources:
      requests:
        memory: "64Mi"
        cpu: "250m"
      limits:
        memory: "128Mi"
        cpu: "500m"