TCA: 3.4
TCP: 5.1
This is a known architectural behavior in ClusterAPI (CAPI) JSON patching. When the workerKubeletExtraArgs variable is injected into a node pool configuration, the CAPI controller processes it as a JSON patch replacement operation. This completely overwrites the entire kubeletExtraArgs map at the /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs path defined in the Day 0 template. Consequently, any baseline parameters (such as kube-reserved, system-reserved, and cpu-manager-policy) defined in the template are discarded.
Do not use the workerKubeletExtraArgs variable interface when overlapping with baseline template configurations.
After consolidating the arguments on one of the worker node in the nodepool:
cat /var/lib/kubelet/kubeadm-flags.envcat /var/lib/kubelet/cpu_manager_state | grep -i staticsystemctl status kubelet