helm/charts

[stable/telegraf] kube_inventory plugin throws error for current telegraf version

MubeenaNaragund opened this issue · 2 comments

Describe the bug
I am running telegraf on minikube.
kube_inventory plugin is not working and throwing the below error:

2021-08-23T07:40:08Z I! Starting Telegraf 1.10.0
2021-08-23T07:40:08Z I! Using config file: /etc/telegraf/telegraf.conf
2021-08-23T07:40:08Z I! Loaded inputs: mem processes swap kubernetes statsd disk kernel kube_inventory cpu diskio system
2021-08-23T07:40:08Z I! Loaded aggregators:
2021-08-23T07:40:08Z I! Loaded processors:
2021-08-23T07:40:08Z I! Loaded outputs: influxdb
2021-08-23T07:40:08Z I! Tags enabled: host=telegraf-58cc9b7b88-v2jzw
2021-08-23T07:40:08Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"telegraf-58cc9b7b88-v2jzw", Flush Interval:10s
2021-08-23T07:40:08Z I! Started the statsd service on :8125
2021-08-23T07:40:08Z I! Statsd UDP listener listening on: [::]:8125
2021-08-23T07:40:10Z E! [inputs.kube_inventory]: Error in plugin: kubernetes api: Failure 404 the server could not find the requested resource
2021-08-23T07:40:10Z E! [inputs.kube_inventory]: Error in plugin: kubernetes api: Failure 404 the server could not find the requested resource
2021-08-23T07:40:10Z E! [inputs.kube_inventory]: Error in plugin: kubernetes api: Failure 404 the server could not find the requested resource

input plugin configuration used:

[[inputs.kube_inventory]]
  bearer_token = "/run/secrets/kubernetes.io/serviceaccount/token"
  insecure_skip_verify = true
  url = "https://192.168.49.2:8443"
  namespace = ""
  resource_exclude = []
  resource_include = []

Can anyone please help me here ?

Thanks in advance!

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

Hi, @MubeenaNaragund - no support is available in this repo. Please consult https://github.com/influxdata/helm-charts/tree/master/charts/telegraf for assistance.