Thakurvaibhav/k8s

node-exporter pod running failed on EKS

Closed this issue · 4 comments

hnhai commented

Logs: 0/3 nodes are available: 2 node(s) didn't match node selector, 3 node(s) didn't have free ports for the requested pod ports.

Hi @hnhai
Is there any other pod running on the nodes which could be occupying port 9100 ?

hnhai commented

@Thakurvaibhav I don't have permission to check it. Can I change port of node-exporter ?
If change how can I config prometheus to pull metrics from node-exporter. Tks !!!

@hnhai Node exporter uses hostNetwork: true, imo changing the port would not be a great idea. I would suggest looking for applications which are occupying port 9100 on the host.

hnhai commented

@Thakurvaibhav thank you very much. I fixed it