Skip to content

pilot-agent

pilot-agent is a binary component within the Istio service mesh architecture, typically deployed as part of the istio-proxy sidecar container^[400-devops__07-Monitoring-and-Observability__k8s-istio__samples__grpc-echo__README.md]. Its primary role involves facilitating the communication between the mesh workloads and the Istio control plane.

Functionality

In standard Istio deployments, the istio-proxy sidecar runs both pilot-agent and the Envoy proxy. pilot-agent is responsible for bootstrapping the proxy, fetching configuration from the control plane (specifically istiod), and managing the proxy's lifecycle.^[400-devops__07-Monitoring-and-Observability__k8s-istio__samples__grpc-echo__README.md]

Proxyless gRPC Mode

pilot-agent plays a specific role in Istio's "Proxyless" gRPC feature. When utilizing the grpc-agent injection template, the istio-proxy container is configured to run pilot-agent without running Envoy^[400-devops__07-Monitoring-and-Observability__k8s-istio__samples__grpc-echo__README.md]. In this configuration, pilot-agent provides the necessary control plane services (such as xDS API management) to proxyless gRPC applications, enabling them to participate in the mesh without requiring a full sidecar proxy^[400-devops__07-Monitoring-and-Observability__k8s-istio__samples__grpc-echo__README.md].

  • Istio
  • [[Sidecar pattern]]
  • [[Envoy]]

Sources

^[400-devops__07-Monitoring-and-Observability__k8s-istio__samples__grpc-echo__README.md]