Apply kubelet node profiles¶
Once you have added the new kubelet node profiles to the MKE configuration file and uploaded the file to MKE, you can apply the profiles to your nodes.
View the nodes in the Kubernetes cluster:
kubectl get node
Example: output:
NAME STATUS ROLES AGE VERSION node-0 Ready master 23h v1.27.10-mirantis-1 node-1 Ready <none> 23h v1.27.10-mirantis-1 node-2 Ready <none> 23h v1.27.10-mirantis-1 ...
Apply a profile to a target node:
kubectl label node node-1 custom-kubelet-profile=low
Example: output:
node/node-1 labeled
Note
You can apply profiles to any number of nodes, however be aware that each node can only have one active profile.