Slide 71
Slide 71 text
What's New in OpenShift 4.15
71
Burstable/
Best-Effort
pod4
Burstable/
Best-Effort
pod3
6
CPUs 5
4
3
2
1
pod2
Dedicated CPUs
Shared
CPUs
7 8
pod1
Dedicated
CPUs
Shared
CPUs
resources:
limits:
cpu: '2'
resources:
limits:
cpu: '4'
Shared
CPUs
Shared
CPUs
$ oc exec pod1 -- cat /sys/fs/cgroup/cpuset/cpuset.cpus
1,2,7,8
$ oc exec pod pod2 -- env | grep CPUS
OPENSHIFT_SHARED_CPUS=1,2
OPENSHIFT_ISOLATED_CPUS=7,8
$ oc exec pod2 -- cat /sys/fs/cgroup/cpuset/cpuset.cpus
1,2,3,4,5,6
$ oc exec pod pod1 -- env | grep CPUS
OPENSHIFT_SHARED_CPUS=1,2
OPENSHIFT_ISOLATED_CPUS=3,4,5,6
OPEX, CAPEX & sustainability: Efficient CPU allocation
Before: all CPUs are either dedicated, either shared - Developer Preview in 4.15 (specifications)