Skip to main content
Question

Clarification - Master detection


Hey team.

Does anyone know what the license count is specifically looking for when identifying master vs worker?

We have a new issue where our masters are being identified as a worker and thus consuming our license count.

We (well... rke2) tag the following on our masters:

node-role.kubernetes.io/etcd=true
node-role.kubernetes.io/master=true
node-role.kubernetes.io/control-plane=true

 

4 comments

Madi.Cristil
Forum|alt.badge.img+8
  • Community Manager
  • 617 comments
  • January 12, 2023

  • Author
  • Not a newbie anymore
  • 3 comments
  • January 20, 2023

Friendly bump. :)


  • Author
  • Not a newbie anymore
  • 3 comments
  • February 21, 2023

We appear to have resolved this by adding a taint to the Master nodes as follows:

kubectl taint node name-of-master-node-n node-role.kubernetes.io/master=:NoSchedule

 


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1318 comments
  • February 21, 2023
str-group wrote:

We appear to have resolved this by adding a taint to the Master nodes as follows:

kubectl taint node name-of-master-node-n node-role.kubernetes.io/master=:NoSchedule

 

That would make sense if the taint is not present I believe the kube-scheduler will schedule workoads on that node. It would seem to be the easiest way for K10 to check if a node needs to be licensed as well. 

 


Comment