Skip to content
Back to skills

Istio Knowledge Patch

ASecurity

Istio

  • 25 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 5, 2026
developmentrustgonodekubernetesapibackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill istio-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Istio Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Istio Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-istio-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-istio-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: istio-knowledge-patch
description: Istio
version: "1.32.0"
license: MIT
metadata:
  author: Nevaberry
---



# Istio Knowledge Patch

Use this skill when upgrading, configuring, or diagnosing Istio installations,
ambient meshes, sidecars, gateways, authorization, or telemetry. Load the topic
reference for detailed conditions, configuration examples, and version-specific
behavior. The quick reference below highlights migrations and common controls.

## Topic index

| Reference | Topics |
| --- | --- |
| [Installation and upgrades](references/installation-and-upgrades.md) | Upgrade prerequisites, Helm resource names, platforms, injection, deployment customization, webhooks |
| [Ambient, CNI, and multicluster](references/ambient-cni-and-multicluster.md) | DNS capture, reconciliation, packet redirection, enrollment, waypoints, multicluster connectivity, taints |
| [Security, identity, and policy](references/security-identity-and-policy.md) | Authorization, JWTs, JWKS, TLS, trust, certificates, authenticated debug access |
| [Telemetry and observability](references/telemetry-and-observability.md) | Provider migrations, tracing, workload labels, stats, compression, dashboards, logs |
| [Traffic, routing, and gateways](references/traffic-routing-and-gateways.md) | DNS, ServiceEntries, retries, load balancing, Gateway API, inference, proxy extensions |
| [Operations and istioctl](references/operations-and-istioctl.md) | CLI changes, analysis, proxy inspection, bug reports, revisions, workload groups, discovery controls |

## Upgrade prerequisites and breaking changes

### Gateway API resources

Install Gateway API `v1.5.x` CRDs before upgrading to Istio 1.30. Istio reads
`TLSRoute` and `ReferenceGrant` as `gateway.networking.k8s.io/v1`; with older
CRDs, Istiod stops seeing those resources, and existing TLS passthrough listeners
can report `status.listeners[].attachedRoutes: 0` without a corresponding Envoy
listener. The installation reference contains the CRD installation command.

Convert `v1alpha3` `BackendTLSPolicy` resources to `v1` before upgrading to
Istio 1.28. Its processing is independent of `PILOT_ENABLE_ALPHA_GATEWAY_API`.
Switch `InferencePool` to v1 as well; alpha and release candidate support is
dropped. When migrating from `v1.0.0-rc.1`, replace
`spec.endpointPickerRef.portNumber` with `spec.endpointPickerRef.port.number`.
Set the port explicitly when the reference kind is `Service` or omitted,
including when relying on the previously inferred port `9002`.

### Ambient upgrade behavior

`cni.ambient.reconcileIptablesOnStartup` defaults to `true` in Istio 1.29,
updating existing ambient pods' iptables or nftables rules during CNI upgrades.
Set it to `false` or use `compatibilityVersion=1.28` to opt out.
Upgrading `istio-cni` to 1.30 unenrolls already-enrolled ambient pods in
namespaces listed in `excludeNamespaces`.

Before enabling experimental dry-run authorization with
`AMBIENT_ENABLE_DRY_RUN_AUTHORIZATION_POLICY=true`, upgrade every ztunnel
connected to that Istiod to 1.29 or later. Older ztunnels fully enforce any
dry-run `AuthorizationPolicy` they receive. The feature is disabled by default.

### Injection and Helm resources

Native sidecars move `istio-proxy` from `spec.containers` to
`spec.initContainers`. Test workloads with mutating webhooks or controllers
that expect it in `spec.containers`. Set `ENABLE_NATIVE_SIDECARS=false` on
Istiod to opt out of default native sidecar injection for eligible pods.

The `base` chart removes duplicate RBAC and service-account resources in 1.29;
update references to the names provided by the `istiod` chart. Consult the
installation reference for the complete name mapping and suffix rules.
When setting `--set resourceName=my-custom-name` for ztunnel, configure the
istiod chart to use the same ztunnel resource name.

For server-side application of `helm template` output, set
`base.validationFailurePolicy: Fail` to avoid a webhook field ownership conflict.
Helm 4 upgrades omit `failurePolicy` from the rendered
`ValidatingWebhookConfiguration` so the webhook controller retains ownership.

## Removals and replacement settings

The Istio 1.25 upgrade guide records the loss of OpenCensus tracing support.
The 1.27 upgrade guide confirms removal of the Lightstep and OpenCensus
telemetry providers. Migrate configurations using either to OpenTelemetry
before upgrading.

Istio 1.29 removes `sidecar.istio.io/statsCompression`. Use
`ProxyConfig.statsCompression`, with `proxy.istio.io/config` for per-pod
overrides. Istio 1.28 removes `METRIC_ROTATION_INTERVAL` and
`METRIC_GRACEFUL_DELETION_INTERVAL`; use
`sidecar.istio.io/statsEvictionInterval` in their place.

Use `istio.io/reroute-virtual-interfaces` in place of deprecated
`traffic.sidecar.istio.io/kubevirtInterfaces`. This treats inbound traffic on
the listed interfaces as outbound in sidecar or ambient mode.
The older `proxyMetadata.ISTIO_META_DNS_AUTO_ALLOCATE` setting is deprecated;
Istiod populates `status.addresses` for `ServiceEntry` objects with no explicit
addresses, and proxies use them when DNS proxying is enabled.

The deprecated `ENABLE_AUTO_SNI` flag is removed. Omit `--recursive` from
`istioctl analyze`, which always recurses. The experimental `--xds-via-agents`
flag is removed from `istioctl proxy-status`. Istio 1.32.0 removes `GOMAXPROCS`
from all Helm charts; the Go runtime derives it from CPU limits.

## Ambient capture and multicluster routing

`cni.ambient.dnsCapture` defaults to `true` for new ambient pods. Use the pod
annotation `ambient.istio.io/dns-capture: "false"` or `"true"` to override the
global setting for TCP and UDP port 53. DNS traffic honors pod-level outbound
IP-range and port exclusions. Existing pods acquire new DNS rules on restart
or through startup reconciliation during a CNI upgrade.

Set `istio.io/ingress-use-waypoint=true` on a namespace to opt its
waypoint-bound services into waypoint processing for ingress traffic.
Set `AMBIENT_ENABLE_MULTI_NETWORK_INGRESS=true` on Istiod to let ingress
gateways route to exposed backends in remote ambient networks; it defaults
to `false`.

Alpha `ServiceScope` support in `MeshConfig` uses `serviceScopeConfigs`
selectors to control service and workload discovery, including what waypoints
and east-west gateways expose. Local services are discoverable in their own
cluster; global services are discoverable across clusters.

With `AMBIENT_ENABLE_MULTI_NETWORK=true`, a Gateway of class `istio-east-west`
can serve sidecar multi-network traffic alongside HBONE in 1.31.4 and 1.32.0.
Use a TLS passthrough listener on port `15443`, or set
`gateway.istio.io/listener-protocol: auto-passthrough` on another listener port.

## Routing, retries, and gateway extensions

Services can use `spec.trafficDistribution: PreferSameNode` or
`PreferSameZone`; `PreferClose` ignores subzones. A namespace traffic
distribution annotation supplies a default, with explicit Service settings
taking precedence.

An omitted `retryBudget.percent` defaults to 20%. Subset traffic policies
inherit a top-level retry budget and can override it with their own
`retryBudget`. In Istio 1.32.0, `meshConfig.defaultInboundHttpRetryPolicy`
configures default inbound sidecar HTTP retries;
`defaultInboundHttpRetryPolicy: {}` disables those retries.

Wildcard `ServiceEntry` routing uses `resolution: DYNAMIC_DNS`. Ambient HTTP
support uses a waypoint configured as an egress gateway. Alpha TLS routing by
SNI requires `ENABLE_WILDCARD_HOST_SERVICE_ENTRIES_FOR_TLS=true` and should
use trusted clients because they supply the SNI. Sidecars support wildcard
hosts for both `MESH_INTERNAL` and `MESH_EXTERNAL`, using HTTP Host or TLS SNI.

Set `PILOT_ENABLE_AGENTGATEWAY=true` on Istiod for experimental agentgateway
configuration through Gateway API resources. The beta Gateway API Inference
Extension remains disabled by default in 1.29; enable it with
`ENABLE_GATEWAY_API_INFERENCE_EXTENSION=true`. See the routing reference for
InferencePool picker behavior and experimental `XBackend` support.

## Authorization, JWTs, and certificate checks

Experimental `AuthorizationPolicy.spec.targetRefs` support for `HTTPRoute`
in 1.32.0 applies `ALLOW` and `DENY` rules only to traffic matched by that route.
Analyzer warning `IST0178` flags an `EnvoyFilter` inserting an HTTP filter
alongside a route-targeted authorization policy.

Set `presence: REQUIRED` on a `RequestAuthentication` JWT rule in 1.32.0 to
reject requests missing that rule's token even if another JWT rule is satisfied.
`BLOCKED_CIDRS_IN_JWKS_URIS` applies to redirects and issuer discovery. If any
resolved address matches a blocked CIDR, Istio skips the fetch and rejects JWTs
that would be validated with those keys.

For token-authenticated xDS in 1.29.9, 1.30.6, and 1.31.2, `istioctl` verifies
Istiod's certificate against the `istio-ca-root-cert` ConfigMap unless
`--insecure` or `ISTIOCTL_INSECURE=true` is used. Name selection follows
`--authority`, otherwise the DNS host in `--xds-address`, or
`istiod.<istio-namespace>.svc` for an IP address or localhost.

On Istiod port `15010`, authenticated xDS `syncz` and `config_dump` enforce
same-namespace access for non-system callers. The change affects `--plaintext`
clients; `ENABLE_DEBUG_ENDPOINT_AUTH=false` restores previous access.
Consult the security reference for the allowed-namespace setting and port 15014.

## Telemetry and operational inspection

Set `disableContextPropagation: true` in a `Telemetry` tracing rule to stop
forwarding trace context headers while continuing to report spans. Set
`serviceAttributeEnrichment: OTEL_SEMANTIC_CONVENTIONS` on the
`OpenTelemetryTracingProvider` to derive `service.name` using OpenTelemetry
Kubernetes conventions.

Waypoint-generated baggage for cross-network metric labels is alpha and off
by default; enable it with `AMBIENT_ENABLE_BAGGAGE=true` on Istiod. Ztunnel
response baggage is on by default and controlled by `ENABLE_RESPONSE_BAGGAGE`.
TLS or PROXY traffic policies skip baggage-based peer metadata discovery,
potentially leaving incomplete peer telemetry in multicluster deployments.

`istioctl waypoint status` waits for readiness by default; use
`istioctl waypoint status --all-namespaces --wait=false` for an immediate view.
`istioctl proxy-status -n default -o yaml` reports structured namespace status;
use `-o json` for JSON. `istioctl bug-report --tail=500` limits logs to 500
lines per container. See the operations reference for section-skipping flags,
admin-port overrides, workload filtering, and configuration diagnostics.

Files in this skill

  • SKILL.md9.1 KB
  • coverage.json1.4 KB
  • references/ambient-cni-and-multicluster.md7.6 KB
  • references/installation-and-upgrades.md8.8 KB
  • references/operations-and-istioctl.md5.1 KB
  • references/security-identity-and-policy.md6.3 KB
  • references/telemetry-and-observability.md6.2 KB
  • references/traffic-routing-and-gateways.md9.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.