|
| 1 | +--- |
| 2 | +title: Istio 1.27.0 Change Notes |
| 3 | +linktitle: 1.27.0 |
| 4 | +subtitle: Minor Release |
| 5 | +description: Istio 1.27.0 release notes. |
| 6 | +publishdate: 2025-08-11 |
| 7 | +release: 1.27.0 |
| 8 | +weight: 10 |
| 9 | +aliases: |
| 10 | + - /zh/news/announcing-1.27.0 |
| 11 | + - /zh/news/announcing-1.27.x |
| 12 | +--- |
| 13 | + |
| 14 | +## 流量治理 {#traffic-management} |
| 15 | + |
| 16 | +- **更新** 当 Kubernetes 服务 `trafficDistribution` 字段设置为 |
| 17 | + `PreferClose` 时,更新了流量分布以忽略子区域。 |
| 18 | + ([Issue #55848](https://github.com/istio/istio/issues/55848)) |
| 19 | + |
| 20 | +- **新增** 添加了对网关(istio 和 Gateway API)中的多个服务器证书的支持。 |
| 21 | + ([Issue #36181](https://github.com/istio/istio/issues/36181)) |
| 22 | + |
| 23 | +- **新增** 添加了 Alpha 版本支持在 Ambient 多集群配置的 MeshConfig |
| 24 | + 中指定 `ServiceScope`。`ServiceScope` 允许选择单个服务或命名空间中的服务为全局或本地服务。 |
| 25 | + 本地服务只能由与其位于同一集群的数据平面发现。本地服务无法被其他集群中的数据平面发现。 |
| 26 | + 全局服务可被所有集群中的数据平面发现。定义 `serviceScopeConfigs` 的选择器可确定哪些服务和工作负载与数据平面共享, |
| 27 | + 以及为网格中的 waypoint(包括东西向网关)配置哪些集群和侦听器。 |
| 28 | + |
| 29 | +- **新增** 添加了功能标志 `EnableGatewayAPICopyLabelsAnnotations`, |
| 30 | + 允许用户选择部署资源是否从父 Gateway API 资源继承属性。此功能默认启用。 |
| 31 | + |
| 32 | +- **新增** 添加了对 Kubernetes 服务 `trafficDistribution` 字段上的 |
| 33 | + `PreferSameNode` 和 `PreferSameZone` 的支持。 |
| 34 | + ([Issue #55848](https://github.com/istio/istio/issues/55848)) |
| 35 | + |
| 36 | +- **新增** 添加了 Pilot 环境变量 `PILOT_IP_AUTOALLOCATE_IPV4_PREFIX` 和 `PILOT_IP_AUTOALLOCATE_IPV6_PREFIX`, |
| 37 | + 用于配置自动分配 IP 的 IP CIDR 前缀。这允许用户设置用于自动分配的特定 IP 范围, |
| 38 | + 从而更好地控制 ipallocate 控制器用于 VIP 的 IP 地址空间。 |
| 39 | + |
| 40 | +- **新增** 当证书无效时,添加了对 Secret 的命名空间和名称的日志。 |
| 41 | + ([Issue #56651](https://github.com/istio/istio/issues/56651)) |
| 42 | + |
| 43 | +- **新增** 添加了对 [Gateway API 推理扩展](https://gateway-api-inference-extension.sigs.k8s.io/) |
| 44 | + 的支持。此功能默认关闭,可通过 `SUPPORT_GATEWAY_API_INFERENCE_EXTENSION` 环境变量开启。 |
| 45 | + ([Issue #55768](https://github.com/istio/istio/issues/55768)) |
| 46 | + |
| 47 | +- **新增** 添加了在应用于 EnvoyFilter 中的 `LISTENER_FILTER` 时对合并操作的支持。 |
| 48 | + |
| 49 | +- **新增** 添加了功能 `ENABLE_LAZY_SIDECAR_EVALUATION`, |
| 50 | + 允许启用 Sidecar 资源的延迟初始化,仅在代理实际使用 `SidecarScopes` 时才计算内部索引。 |
| 51 | + 此功能取代了之前的 `PILOT_CONVERT_SIDECAR_SCOPE_CONCURRENCY`, |
| 52 | + 后者允许使用指定的并发度进行并发转换,而 `ENABLE_LAZY_SIDECAR_EVALUATION` |
| 53 | + 将使用与 `PILOT_PUSH_THROTTLE` 相同的并发度。 |
| 54 | + |
| 55 | +- **新增** 添加了使用 Istio Sidecar 模式时对原生 `nftables` 的支持。 |
| 56 | + 此更新使得可以使用 `nftables` 替代 iptables 来管理网络规则成为可能, |
| 57 | + 从而为 Pod 和服务提供更高效的流量重定向方法。要启用 `nftables` 模式, |
| 58 | + 请在安装时使用 `--set values.global.nativeNftables=true`。 |
| 59 | + ([Issue #56487](https://github.com/istio/istio/issues/56487)) |
| 60 | + |
| 61 | +- **新增** 添加了对指定服务流量分配模式的支持。 |
| 62 | + ([Issue #53354](https://github.com/istio/istio/issues/53354)) |
| 63 | + |
| 64 | +- **新增** 添加了 `ENABLE_PROXY_FIND_POD_BY_IP` 功能, |
| 65 | + 如果通过名称和命名空间的关联失败,则允许通过 IP 地址将 Pod 与代理关联。 |
| 66 | + |
| 67 | +- **新增** 添加了对 `DestinationRule` 资源中重试预算的支持。 |
| 68 | + |
| 69 | +- **修复** 修复了网关状态控制器领导者选举未按修订版本运行的问题, |
| 70 | + 该问题可能导致多修订版本设置出现问题。现在,领导者选举已正确限定在每个修订版本内, |
| 71 | + 确保网关状态控制器在每个修订版本中独立运行。 |
| 72 | + ([Issue #55717](https://github.com/istio/istio/issues/55717)) |
| 73 | + |
| 74 | +- **修复** 修复了当虚拟服务配置了包含混合大小写字母的主机时虚拟服务路由被忽略的问题。 |
| 75 | + ([Issue #55767](https://github.com/istio/istio/issues/55767)) |
| 76 | + |
| 77 | +- **修复** 修复了 Istio 1.26.0 中的一个回归问题,该问题在处理 Gateway API 主机名时导致 istiod 出现混乱。 |
| 78 | + ([Issue #56300](https://github.com/istio/istio/issues/56300)) |
| 79 | + |
| 80 | +- **修复** 修复了当 `PILOT_ENABLE_TELEMETRY_LABEL` 或 `PILOT_ENDPOINT_TELEMETRY_LABEL` |
| 81 | + 设置为 `false` 时意外禁用 mTLS 的问题。 |
| 82 | + ([Issue #56352](https://github.com/istio/istio/issues/56352)) |
| 83 | + |
| 84 | +- **修复** 修复了由于某些部署中优先级较高的 CNI 规则而跳过 Ambient 主机网络 iptables 规则的问题。 |
| 85 | + ([Issue #56414](https://github.com/istio/istio/issues/56414)) |
| 86 | + |
| 87 | +- **修复** 修复了 `EnvoyFilter` 与 `targetRefs` 匹配不正确资源的问题。 |
| 88 | + ([Issue #56417](https://github.com/istio/istio/issues/56417)) |
| 89 | + |
| 90 | +- **修复** 修复了 Ambient 索引,以便根据修订版本过滤配置。 |
| 91 | + ([Issue #56477](https://github.com/istio/istio/issues/56477)) |
| 92 | + |
| 93 | +- **修复** 修复了使用 `discoverySelectors` 时系统命名空间中未正确跳过 |
| 94 | + `topology.istio.io/network` 标签的问题。 |
| 95 | + ([Issue #56687](https://github.com/istio/istio/issues/56687)) |
| 96 | + |
| 97 | +- **修复** 修复了 CNI 插件在 Pod 尚未被标记为已注册到网格中时错误处理 Pod 删除的问题。 |
| 98 | + 在某些情况下,这可能会导致已删除的 Pod 被包含在 ZDS 快照中, |
| 99 | + 并且永远不会被清理。如果发生这种情况,ztunnel 将无法准备就绪。 |
| 100 | + ([Issue #56738](https://github.com/istio/istio/issues/56738)) |
| 101 | + |
| 102 | +- **修复** 修复了 Istio 出站路由配置未在 |
| 103 | + `VirtualHost` 条目的域列表中包含绝对域名(以点结尾的完全限定域名)的问题。 |
| 104 | + 此更改可确保使用绝对域名(以点结尾,例如 `my-service.my-ns.svc.cluster.local.`) |
| 105 | + 的请求正确路由到目标服务,而不是回退到 `PassthroughCluster`。 |
| 106 | + ([Issue #56007](https://github.com/istio/istio/issues/56007)) |
| 107 | + |
| 108 | +## 安全性 {#security} |
| 109 | + |
| 110 | +- **新增** 添加了支持省略 JWT 令牌中的颁发者声明。 |
| 111 | + 颁发者声明或 `JWKSUri` 是必需的,但不能同时使用。 |
| 112 | + 这使得在使用 JWT 令牌进行身份验证时配置更加灵活,尤其是在颁发者声明可能动态的情况下。 |
| 113 | + ([Issue #14400](https://github.com/istio/istio/issues/14400)) |
| 114 | + |
| 115 | +- **新增** 添加了在 Ambient 模式下使用 istio-cni 时可选功能, |
| 116 | + 用于创建 Istio 拥有的 CNI 配置文件,其中包含主 CNI 配置文件和 Istio CNI 插件的内容。 |
| 117 | + 此可选功能旨在解决当 Istio CNI `DaemonSet` 未就绪、 |
| 118 | + Istio CNI 插件未安装或未调用该插件配置从 Pod 到其节点 ztunnel 的流量重定向时, |
| 119 | + 节点重启时流量绕过网格的问题。此功能可通过在 istio-cni Helm Chart 值中将 `cni.istioOwnedCNIConfig` 设置为 true 来启用。 |
| 120 | + 如果未设置 `cni.istioOwnedCNIConfigFilename` 的值, |
| 121 | + 则 Istio 拥有的 CNI 配置文件将被命名为 `02-istio-cni.conflist`。 |
| 122 | + `istioOwnedCNIConfigFilename` 值的字典优先级必须高于主 CNI。 |
| 123 | + 必须启用环境和链式 CNI 插件才能使此功能正常工作。 |
| 124 | + |
| 125 | +- **新增** 添加了 istioctl `--clusterAliases` 命令参数的验证。每个集群不应拥有多于一个别名。 |
| 126 | + ([Issue #56022](https://github.com/istio/istio/issues/56022)) |
| 127 | + |
| 128 | +- **新增** 添加了对 `ClusterTrustBundle` 的支持, |
| 129 | + 并将 API 从 `certificates.k8s.io/v1alpha1` 迁移到 Kubernetes 1.33+ |
| 130 | + 版本中稳定的 `v1beta1`。这提高了兼容性,并使 Istio 的证书分发机制更具前瞻性。 |
| 131 | + ([Issue #56306](https://github.com/istio/istio/issues/56306)) |
| 132 | + |
| 133 | +- **新增** 在网关 TLS 配置中添加了对外部密钥发现服务 (SDS) 提供商的支持。 |
| 134 | + Istio 现在改进了与外部 SDS 提供商的集成,以便在网关上进行 TLS 证书管理。 |
| 135 | + ([Issue #56522](https://github.com/istio/istio/issues/56522)) |
| 136 | + |
| 137 | +- **新增** 添加了对插件 CA 的证书吊销列表 (CRL) 支持, |
| 138 | + 使 Istio 能够监视 `ca-crl.pem` 文件并自动在集群中的所有命名空间中分发 CRL。 |
| 139 | + 此增强功能允许代理验证并拒绝已吊销的证书,从而增强了使用插件 CA 进行服务网格部署的安全性。 |
| 140 | + ([Issue #56529](https://github.com/istio/istio/issues/56529)) |
| 141 | + |
| 142 | +- **新增** 已将 Post-Quantum Cryptography (PQC) 选项添加到 `COMPLIANCE_POLICY`。 |
| 143 | + 此策略强制执行 TLS `v1.3`、密码套件 `TLS_AES_128_GCM_SHA256` 和 |
| 144 | + `TLS_AES_256_GCM_SHA384` 以及 post-quantum-safe 密钥交换 `X25519MLKEM768`。 |
| 145 | + 要在 Ambient 模式下启用此合规性策略,必须在 pilot 和 ztunnel 容器中进行设置。 |
| 146 | + 此策略适用于以下数据路径: |
| 147 | + - Envoy 代理和 ztunnel 之间的 mTLS 通信; |
| 148 | + - Envoy 代理(例如网关)的下游和上游的常规 TLS; |
| 149 | + - Istio xDS 服务器。 |
| 150 | + ([Issue #56330](https://github.com/istio/istio/issues/56330)) |
| 151 | + |
| 152 | +- **修复** 修复了使用 `--clusterAliases` 命令参数时, |
| 153 | + 具有旧 `CLUSTER_ID` 设置的 Sidecar 无法连接到具有新 `CLUSTER_ID` 设置的 istiod 的问题。 |
| 154 | + ([Issue #56022](https://github.com/istio/istio/issues/56022)) |
| 155 | + |
| 156 | +- **修复** 修复了 `pluginca` 功能中的一个问题:如果提供的 `cacerts` 软件包不完整, |
| 157 | + `istiod` 会静默回退到自签名 CA。现在,系统可以正确验证所有必需的 |
| 158 | + CA 文件是否存在,如果软件包不完整,则会失败并显示错误。 |
| 159 | + |
| 160 | +## 遥测 {#telemetry} |
| 161 | + |
| 162 | +- **修复** 修复了 Grafana 仪表板使用基于路径的链接链接到 Istio Mesh 仪表板时不再起作用的问题。 |
| 163 | + 工作负载和服务链接现在使用仪表板 UID。 |
| 164 | + ([Issue #50124](https://github.com/istio/istio/issues/50124)) |
| 165 | + |
| 166 | +- **修复** 修复了当引用的服务创建时间晚于遥测资源时,访问日志未更新的问题。 |
| 167 | + ([Issue #56825](https://github.com/istio/istio/issues/56825)) |
| 168 | + |
| 169 | +- **移除** 删除了对 `Lightstep` 链路追踪提供程序的支持。 |
| 170 | + ([Issue #54002](https://github.com/istio/istio/issues/54002)) |
| 171 | + |
| 172 | +## 扩展性 {#extensibility} |
| 173 | + |
| 174 | +- **新增** 添加了如果 VM 出现故障,则在新的请求上重新加载 Wasm VM 的选项。 |
| 175 | + |
| 176 | +## 安装 {#installation} |
| 177 | + |
| 178 | +- **提升** 已将环境变量 `ENABLE_NATIVE_SIDECARS` 升级为默认值 `true`。 |
| 179 | + 这意味着,除非明确禁用,否则原生 Sidecar 将被注入到所有符合条件的 Pod 中。 |
| 180 | + 您可以通过在各个 Pod 或 Pod 模板中添加注释 `sidecar.istio.io/native-side: "false"` |
| 181 | + 来明确禁用此功能,或针对特定工作负载禁用此功能。 |
| 182 | + ([Issue #48794](https://github.com/istio/istio/issues/48794)) |
| 183 | + |
| 184 | +- **新增** 添加了一个设置 `values.global.trustBundleName`, |
| 185 | + 用于配置 istiod 用于在集群中传播其根 CA 证书的 ConfigMap 的名称。 |
| 186 | + 这允许在同一集群中运行具有重叠命名空间的多个控制平面。 |
| 187 | + |
| 188 | +- **新增** 添加了对自定义 Ambient 启用标签的支持。 |
| 189 | + ([Issue #53578](https://github.com/istio/istio/issues/53578)) |
| 190 | + |
| 191 | +- **新增** 添加了在 Gateway Helm Chart 上配置 `additionalContainers` 和 `initContainers` 的支持。 |
| 192 | + |
| 193 | +- **新增** 添加了通过 Helm Chart Value 配置 ztunnel 容忍度的支持。 |
| 194 | + ([Issue #56086](https://github.com/istio/istio/issues/56086)) |
| 195 | + |
| 196 | +- **新增** 添加了通过 Helm Chart Value 配置 istio-cni 容忍度的支持。 |
| 197 | + ([Issue #56087](https://github.com/istio/istio/issues/56087)) |
| 198 | + |
| 199 | +- **新增** 添加了 `GOMEMLIMIT` 和 `GOMAXPROCS` 除数的定义默认值,以修复 Argo 永久不同步问题。 |
| 200 | + |
| 201 | +- **新增** 添加了 `gateway-injection-template` 的引导覆盖配置。 |
| 202 | + ([Issue #28302](https://github.com/istio/istio/issues/28302)) |
| 203 | + |
| 204 | +- **新增** 在 Istio 1.24、1.25 和 1.26 的兼容性配置文件中添加了 |
| 205 | + `ENABLE_NATIVE_SIDECARS` Helm Value,允许用户禁用原生 Sidecar 的默认启用。 |
| 206 | + |
| 207 | +- **新增** 添加了对状态端口的代理协议支持。 |
| 208 | + ([引用](/zh/docs/reference/commands/pilot-agent/#envvars)) |
| 209 | + ([Issue #39868](https://github.com/istio/istio/issues/39868)) |
| 210 | + |
| 211 | +- **新增** 添加了 Helm Value `.Values.istiodRemote.enabledLocalInjectorIstiod`, |
| 212 | + 以支持远程集群中的 Sidecar 注入。当 `profile=remote`、`.Values.istiodRemote.enabledLocalInjectorIstiod=true` |
| 213 | + 和 `.Values.global.remotePilotAddress="${DISCOVERY_ADDRESS}"` 时, |
| 214 | + 远程工作集群会安装 `istiod` 以进行本地 Sidecar 注入,而 XDS 仍由远程主集群提供服务。 |
| 215 | + ([Issue #56328](https://github.com/istio/istio/issues/56328)) |
| 216 | + |
| 217 | +- **新增** 启用 `istiodRemote` 时,向 istio 远程服务添加 `istio.io/rev` 标签 |
| 218 | + ([Issue #56142](https://github.com/istio/istio/issues/56142)) |
| 219 | + |
| 220 | +- **新增** 在 istiod Helm Chart 中添加了对 `deploymentAnnotations` 的支持。 |
| 221 | + 除了现有的 `podAnnotations` 支持之外,用户现在还可以指定要应用于 istiod Deployment 对象的自定义注解。 |
| 222 | + 这对于与在部署级别运行的监控工具、GitOps 工作流和策略执行系统的集成非常有用。 |
| 223 | + |
| 224 | +- **修复** 修复了重新调用 Istio Webhook 时未设置用于探测重写的 `ISTIO_KUBE_APP_PROBERS` 环境变量的问题。 |
| 225 | + ([Issue #56102](https://github.com/istio/istio/issues/56102)) |
| 226 | + |
| 227 | +- **修复** 修复了 `istio/gateway` Helm Chart 环境中的 Secret 引用被错误地呈现为字符串的问题。 |
| 228 | + ([Issue #55141](https://github.com/istio/istio/issues/55141)) |
| 229 | + |
| 230 | +- **修复** 修复了当 `gateway` 模板与另一个模板(如 `spire`)结合时发生的注入失败的问题, |
| 231 | + 该模板覆盖了 `workload-socket`,导致 Kubernetes 无法创建其他卷,例如具有 `emptyDir` 和 `csi` 设置的卷。 |
| 232 | + |
| 233 | +- **修复** 修复了当 `IstioOperator` 配置包含多个网关时, |
| 234 | + `istioctl manifest translate` 中出现的异常。 |
| 235 | + ([Issue #56223](https://github.com/istio/istio/issues/56223)) |
| 236 | + |
| 237 | +- **修复** 修复了启用 TPROXY 模式时 OpenShift 集群上的 `istio-proxy` |
| 238 | + 和 `istio-validation` 容器分配不正确的 UID 和 GID 的问题。 |
| 239 | + |
| 240 | +- **修复** 修复了启用 `ENABLE_CLUSTER_TRUST_BUNDLE_API` 时 `ClusterTrustBundle` 未正确配置的问题。 |
| 241 | + |
| 242 | +- **移除** 删除了未使用的与多集群相关的 Helm Value。 |
| 243 | + |
| 244 | +## istioctl |
| 245 | + |
| 246 | +- **新增** 添加了 `--kubeclient-timeout` 标志到 `istioctl` 根标志。 |
| 247 | + 可以取消设置,或设置为有效的 `time.Duration` 字符串。 |
| 248 | + 指定后,它将覆盖所有使用 Kubernetes 客户端的 `istioctl` 命令的默认 `15s` 超时。 |
| 249 | + 这对于 Kubernetes API 服务器速度较慢的环境(例如高延迟或低带宽的环境)非常有用。 |
| 250 | + 请注意,此标志仅适用于 Kubernetes 客户端,不会影响 `istioctl` 中的其他超时设置,例如安装超时。 |
| 251 | + ([Issue #54962](https://github.com/istio/istio/issues/54962)) |
| 252 | + |
| 253 | +- **新增** 为 `istioctl dashboard controlz` |
| 254 | + 和 `istioctl dashboard istiod-debug` 添加 `--revision` 标志。 |
| 255 | + |
| 256 | +- **新增** 在 `istioctl proxy-status` 命令中添加了支持将所有 xDS/CRD 类型动态显示为输出表中的列。 |
| 257 | + ([Issue #56005](https://github.com/istio/istio/issues/56005)) |
| 258 | + |
| 259 | +- **新增** 添加了对自定义 `istioctl waypoint status` 和 `istioctl waypoint apply` 超时的支持。 |
| 260 | + ([Issue #56453](https://github.com/istio/istio/issues/56453)) |
| 261 | + |
| 262 | +-**新增** 添加了在命令 `istioctl admin log` 中显示 `stack-trace-level` 的支持。 |
| 263 | + ([Issue #56465](https://github.com/istio/istio/issues/56465)) |
| 264 | + |
| 265 | +- **新增** 添加了在命令 `istioctl waypoint list` 中显示 `traffic type` 的支持。 |
| 266 | + |
| 267 | +- **新增** 添加了对命令 `istioctl experimental workload group create` 中的 `--weight` 参数的支持。 |
| 268 | + |
| 269 | +- **新增** 添加了在 `istioctl admin log` 中配置 `ip-autoallocate` 日志级别的支持。 |
| 270 | + ([Issue #55741](https://github.com/istio/istio/issues/55741)) |
| 271 | + |
| 272 | +- **修复** 修复了在安装过程中,当修订版本不是默认值时, |
| 273 | + 不会创建 `istio-revision-tag-default` 和 `MutatingWebhookConfiguration` 的问题。 |
| 274 | + ([Issue #55980](https://github.com/istio/istio/issues/55980)) |
| 275 | + |
| 276 | +- **修复** 修复了当 `PILOT_ENABLE_IP_AUTOALLOCATE` 设置为 `true` 时, |
| 277 | + `istioctl analyze` 中出现 IST0134 误报的问题。 |
| 278 | + ([Issue #56083](https://github.com/istio/istio/issues/56083)) |
| 279 | + |
| 280 | +- **修复** 修复了分析包含 Kubernetes 系统命名空间(例如 `kube-system`、`kube-node-lease`)的问题。 |
| 281 | + ([Issue #55022](https://github.com/istio/istio/issues/55022)) |
| 282 | + |
| 283 | +- **修复** 修复了 `create-remote-secret` 创建冗余 RBAC 资源的问题。 |
| 284 | + ([Issue #56558](https://github.com/istio/istio/issues/56558)) |
0 commit comments