Open guillermodep opened 4 years ago
@guillermodep can you be a little bit more specific what the problem is you experience? Please elaborate otherwise it's hard to help.
Hi Henning, sorry for the little information, the issue is that in my okd cluster I have 3 masters, 3 infra and 4 workers, but kube reports see all the nodes as workers.
Please see the information below:
KUBE-reports
@guillermodep can you paste the output of kubectl get node .... -o yaml
for the master nodes here? Kubernetes Resource Report uses the kubernetes.io/role
label (https://github.com/hjacobs/kube-resource-report/blob/master/kube_resource_report/report.py#L30), maybe a different label is used in your setup.
U 're right, In OKD the label is: "node-role.kubernetes.io/compute=true", so I going to add the label just in order to try.
"node-role.kubernetes.io/compute=true" this is for workers, for masters is: "node-role.kubernetes.io/master=true"
Hi, kube resource reports does not get the masters label.