Hacker News new | ask | show | jobs
by jeffbee 16 days ago
Actually, setting your limit and request to exactly 1 does mean that, in some common kubernetes configs. There will be exactly 1 visible CPU.
1 comments

Care to name them? I just shelled into a GKE pod with a CPU limit/request set to 1 and I see 8 logical processors from `lscpu` on an 8-vCPU node.
Then your node is probably using the "none" policy rather than the "static" policy.

https://kubernetes.io/docs/tasks/administer-cluster/cpu-mana...