k8s-samples/CKA_Course/pods/resources/limits.yaml

13 lines
232 B
YAML
Raw Permalink Normal View History

2022-08-17 02:59:58 +00:00
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: busybox
image:busybox
resources:
limits:
cpu: "250m" # 250 milliCPU = 1/4 CPU
memory: "128Mi" # 128 mebibytes