apiVersion: v1
kind: LimitRange
metadata:
  name: limit-mem-cpu-per-container
  namespace: example-namespace
spec:
  limits:
  - default:
      cpu: '1'
      memory: 512Mi
    defaultRequest:
      cpu: '0.5'
      memory: 256Mi
    type: Container