Skip to content

CPU Management Policies for RKE2 #3034

Answered by brandond
mittasau asked this question in Q&A
Discussion options

You must be logged in to vote

Assuming those are all kubelet args, what you want would look something like this:

kubelet-arg:
  - "cpu-manager=true"
  - "cpu-manager-policy=static"
  - "cpu-manager-policy-options=full-pcpus-only=true"
  - "cpu-manager-reconcile-period=0s"
  - "kubelet-reserved=cpu=1"
  - "system-reserved=cpu=1"

If you want to pass arguments to a specific Kubernetes component, you need to put them in the arg list for that component, not just directly as rke2 config.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jokuniew
Comment options

Answer selected by dereknola
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants