- Home
- Operations Guide
- Administer an MKE cluster
- Custom kubelet profiles
- Apply kubelet node profiles
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 nodeExample: 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=lowExample: output:
node/node-1 labeledNote
You can apply profiles to any number of nodes, however be aware that each node can only have one active profile.