Y
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
seabrookmx
13 days ago
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.
link
jeffbee
12 days ago
Then your node is probably using the "none" policy rather than the "static" policy.
https://kubernetes.io/docs/tasks/administer-cluster/cpu-mana...
link