Requests 1000m • Overcommitted State ʹͳͬͨࡍʹͲͷΑ͏ʹৼΔ͏ͷ͔ • CPU ͷ߹ CPU Requests ͷͷ CPU Λऔಘͯ͠ΓΛ throttle ͤ͞Δ throttle!! CPU ѹॖՄೳͳ Resource https://github.com/kubernetes/community/blob/master/contributors/design-proposals/scheduling/resources.md $PSF
Resource ͷอূ͞ΕΔ • Pod ͷ CPU Requests ʹهࡌͨ͠ͷ CPU Resource อূ͞ΕΔ • ΞΠυϧͷίϯςφ͕ଘࡏ͢Δ߹ۭ͍ͨͷ CPU Λ ଞͷίϯςφ͕༻͢Δ͜ͱ͕Ͱ͖Δ • Pod CPU Limits ʹୡ͍ͯ͠ͳ͚Ε༨͍ͬͯΔ CPU Resource Λ ͍͍ײ͡ʹ͏͜ͱ͕Ͱ͖Δ
• CPU Limits جຊෆཁͩΑͱ͍͏هࡌΛ͍ͯ͠Δ • CPU Limits Λআ͢Δ͜ͱʹڧ੍ྗΛಇ͔ͤΔ͜ͱ·͍ͩͯ͠ͳ͍ • શͯͷ Pod ͔Β CPU Limits Λআͨ͠Θ͚Ͱແ͍͕ CPU Throttling ͷϝτϦΫεΛ watch ͍ͯͯ͠ Throttling ͕ൃੜ͢ΕରԠΛ͍ͯ͠Δ
requestͱlimit - nekop's blog • https://nekop.hatenablog.com/entry/2017/12/20/182523 • How to Evolve Kubernetes Resource Management Model • https://www.infoq.com/presentations/evolve-kubernetes-resource-manager/
Red Hat Customer Portal • https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/6/html/ resource_management_guide/sec-cpu • 3.4. cpuset Red Hat Enterprise Linux 6 | Red Hat Customer Portal • https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/6/html/ resource_management_guide/sec-cpuset • ୈ4ষ CPU Ϛωʔδϟʔͷ༻ OpenShift Container Platform 4.1 | Red Hat Customer Portal • https://access.redhat.com/documentation/ja-jp/openshift_container_platform/4.1/html/ scalability_and_performance/using-cpu-manager
Issue #67577 · kubernetes/kubernetes • https://github.com/kubernetes/kubernetes/issues/67577 • Throttling: New Developments in Application Performance with CPU Limits - Dave Chiluk, Indeed - YouTube • https://www.youtube.com/watch?v=UE7QX98-kO0 • Throttling CPU usage with Linux cgroups • http://kennystechtalk.blogspot.com/2015/04/throttling-cpu-usage-with-linux-cgroups.html • hjacobs/kubernetes-failure-stories: Compilation of public failure/horror stories related to Kubernetes • https://github.com/hjacobs/kubernetes-failure-stories