clearlinux / cloud-native-setup

Automation around setting up the cloud-native content (kubernetes) on Clear Linux.
Apache License 2.0
61 stars 41 forks source link

Remove static cpu from kubeadm.yaml #341

Closed jascott1 closed 2 years ago

jascott1 commented 2 years ago

Removing static cpu pinning due to confusion and complications it causes with disabling/enabling cores.

ganeshmaharaj commented 2 years ago

@jascott1 Mind adding this to the commit message?

Static CPU policy by defaults pins the process to CPUs if a kubernetes pod limits are set to be full cpus. While this a neat thing, this also causes issues when setaffinity is tried in a particular CPU. While we would like to set limits, pinning a process to a core is something we will try to avoid in the near future.
ganeshmaharaj commented 2 years ago

:tada: Thanks for fixing this up.