Hi
I’m lost in the Resource cpu reservation in k8s.
I’m trying to figure out how many cores my rancher managed cluster should have. Running RKE2 and only have 1 Statefulset installed (a tomcat application that uses an external database).
I have reserved 2000mCPUs for that Statefulset, I have found 3 Deploymentset that totally have 100mCPUs each reserved (rke2-coredns-rke2-coredns, rke2-coredns-rke2-coredns-autoscaler and rke2-metrics-server)
So totally 2300mCPUs is reserved.
My 3 node RKE2 cluster has 6 cores (4,89 reserved and 1,71 used).
If I read the
docs right 2300mCPUs would be equal to 2.3 physical CPU cores ore virtual cores“1 CPU unit is equivalent to
1 physical CPU core, or
1 virtual core”
So, what’s reserving the rest 2,59 cores?