[root@m-k8s ~]# kubectl edit deployment hpa-hname-pods
[중략]
35 spec:
36 containers:
37 - image: sysnet4admin/echo-hname
38 imagePullPolicy: Always
39 name: echo-hname
40 resources:
requests:
cpu: "10m"
limits:
cpu: "50m"
41 terminationMessagePath: /dev/termination-log
42 terminationMessagePolicy: File
[생략]
:wq
deployment.apps/hpa-hname-pods edited
▲ 그림 3-56 limits 조건에 따라 CPU 50m 이상 사용되지 않는 경우