--- title: Kubernetes Env description: Adapter that extracts information from a Kubernetes environment. location: https://istio.io/docs/reference/config/policy-and-telemetry/adapters/kubernetesenv.html layout: protoc-gen-docs generator: protoc-gen-docs aliases: - /docs/reference/config/adapters/kubernetesenv.html number_of_entries: 1 ---
The kubernetesenv
adapter extracts information from a Kubernetes environment
and produces attribtes that can be used in downstream adapters.
This adapter supports the kubernetesenv template.
Configuration parameters for the kubernetes adapter. These params control the manner in which the kubernetes adapter discovers and generates values related to pod information.
The adapter works by looking up pod information by UIDs (of the form: “kubernetes://pod.namespace”). It expects that the UIDs will be supplied in an input map for three distinct traffic classes (source, destination, and origin).
For all valid UIDs supplied, this adapter generates output values containing information about the related pods.