kubernetes-yaml/description/Strategy/LimitRanges/example.yml

23 lines
383 B
YAML

apiVersion: v1
kind: LimitRange
metadata:
name: limit-range-example
namespace: demo
spec:
limits:
- default:
cpu: 500m
memory: 1Gi
defaultRequest:
cpu: 500m
memory: 1Gi
max:
cpu: 800m
memory: 2Gi
storage: 5Gi
min:
cpu: 200m
memory: 500Mi
storage: 1Gi
type: Container