GithubHelp home page GithubHelp logo

Comments (3)

ersushantsood avatar ersushantsood commented on June 18, 2024

I am also getting the same error . Is this issue being looked into?

from fluent-plugin-kubernetes_metadata_filter.

ersushantsood avatar ersushantsood commented on June 18, 2024

I am using below version and configs :

version info:
os rhel7.2
td-agent version 2.3.5
fluent-plugin-kubernetes_metadata_filter (0.26.3)
ruby version ruby 2.0.0p648 (2015-12-16) [x86_64-linux]

td-agent Configuration:
<filter kubernetes.**>
type kubernetes_metadata
kubernetes_url https://KUBERNETES_ENDPOINT:8443
verify_ssl false
bearer_token_file /tmp/token

from fluent-plugin-kubernetes_metadata_filter.

mindfulmonk avatar mindfulmonk commented on June 18, 2024

I'm also hitting the same issue. The debug output doesn't really show what is wrong.

2017-05-25 13:19:05 +0000 [info]: using configuration file: <ROOT>
  <filter kubernetes.**>
    type kubernetes_metadata
    kubernetes_url "https://192.168.99.100:8443"
    bearer_token_file "/etc/fluent/token"
    ca_file "/etc/fluent/ca.crt"
    verify_ssl false
    include_namespace_id true
    use_journal false
    preserve_json_log true
  </filter>
  <match **>
    @type stdout
  </match>
</ROOT>
2017-05-25 13:19:05 +0000 [error]: unexpected error error_class=KubeException error="HTTP status code 400, Bad Request"
  2017-05-25 13:19:05 +0000 [error]: /opt/rh/rh-ruby23/root/usr/local/share/gems/gems/kubeclient-1.1.4/lib/kubeclient/watch_stream.rb:20:in `each'
  2017-05-25 13:19:05 +0000 [error]: /opt/rh/rh-ruby23/root/usr/local/share/gems/gems/fluent-plugin-kubernetes_metadata_filter-0.26.2/lib/fluent/plugin/filter_kubernetes_metadata.rb:365:in `start_watch'
  2017-05-25 13:19:05 +0000 [error]: /opt/rh/rh-ruby23/root/usr/local/share/gems/gems/fluent-plugin-kubernetes_metadata_filter-0.26.2/lib/fluent/plugin/filter_kubernetes_metadata.rb:173:in `block in configure'
2017-05-25 13:19:05 +0000 [error]: unexpected error error="HTTP status code 400, Bad Request"
  2017-05-25 13:19:05 +0000 [error]: suppressed same stacktrace
2017-05-25 13:19:05 +0000 [info]: Worker 0 finished unexpectedly with status 1

from fluent-plugin-kubernetes_metadata_filter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.