camilb / prometheus-kubernetes

Monitoring Kubernetes clusters on AWS, GCP and Azure using Prometheus Operator and Grafana
Apache License 2.0
670 stars 299 forks source link

Kubelet Connection Refused #129

Open pdrcastro opened 5 years ago

pdrcastro commented 5 years ago

Hi camilb,

Before i describe my problem, i want to thank you for your amazing work.

My scenario is: Kubernetes AWS EKS with autoscaling V1.11.

Everything is ok except the kubelet is try to connect on port 10255 but in server kubelet is listen in port 10250.

How can i fix this ?

I try to change my service monitor for: **``` apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: k8s-app: kubelet name: kubelet namespace: monitoring spec: endpoints:

And for this without success.

**apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: kubelet labels: k8s-app: kubelet spec: jobLabel: k8s-app endpoints:

Thanks.

pdrcastro commented 5 years ago

Problem solve.

Change port to port: https-metrics

Thanks.

You can close.