fabric8io / fluent-plugin-kubernetes_metadata_filter

Enrich your fluentd events with Kubernetes metadata
Apache License 2.0
350 stars 166 forks source link

Ensure GET commands use API server cache #287

Closed jpdstan closed 3 years ago

jpdstan commented 3 years ago

For WATCH commands, we specify the resource_version like so in order to ensure that our API requests always hit the API server cache.

      options = {
        resource_version: '0' # Fetch from API server cache instead of etcd quorum read
      }

Is it possible to provide the same options to the GET equivalents so they follow the same behavior? We suspect these GETs to be largely responsible for a significant portion of our overall API server volume, and is increasingly becoming a reliability risk.

For reference: