istio.io/content/zh/blog/2020/istio-agent/index.md

1017 B
Raw Permalink Blame History

title description publishdate attribution keywords target_release
移除跨 Pod Unix Domain Socket 一种更安全的秘密管理方式。 2020-02-20 Lei Tang (Google)
security
secret discovery service
unix domain socket
1.5

在 Istio 1.5 之前执行秘密发现服务SDS期间SDS 客户端和 SDS 服务器通过跨 Pod Unix Domain SocketUDS进行通信该法需要 Kubernetes Pod 安全策略提供保护。

在 Istio 1.5 中Pilot Agent、Envoy 和 Citadel Agent 将运行在同一个容器中(体系结构如下图所示)。为了防止攻击者窃听 EnvoySDS 客户端)和 Citadel AgentSDS 服务器)之间的跨 Pod UDSIstio 1.5 将 Pilot Agent 和 Citadel Agent 合并为一个 Istio Agent并将 Envoy 和 Citadel Agent 之间的 UDS 变为 Istio Agent 专用的私有的。Istio Agent 容器被部署为应用服务容器的 Sidecar。

{{< image width="70%" link="./istio_agent.svg" caption="Istio Agent 的体系结构" >}}