I am quite new to kubernetes and want to run metricbeat in kubernetes, so that I can see whats going on in kubernetes in my elastic stack.
Kubernetes is running on bare metal, so there is no cloud provider involved.
Just for your information. In my case metricbeat is shipping it's data to redis, then logstash pulls it and pushes to elasticsearch.
I've deployed kubernetes like written here: https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-kubernetes.html
Hopefully I installed kube-state-metrics correctly. At least the kubernetes service is answering.
If I check kibana, I can find following events with error messages:
# event.dataset: kubernetes.node: error making http request: Get http://localhost:10255/stats/summary: dial tcp 127.0.0.1:10255: connect: connection refused # event.dataset: kubernetes.container: error doing HTTP request to fetch 'container' Metricset data: error making http request: Get http://localhost:10255/stats/summary: dial tcp 127.0.0.1:10255: connect: connection refused
Did I miss anything to setup on kubernetes to get these metrics?
Any help is appreciated.