Skip to content
Back to skills

Istio Knowledge Patch

ASecurity

Istio

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

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 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/badge)](https://www.skillsdirectory.com/skills/nevaberry-istio-knowledge-patch)

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 installing or upgrading Istio, configuring ambient or
sidecar traffic, managing gateways, or diagnosing security and telemetry behavior.
Load the topic reference for full settings, examples, defaults, and migration
conditions; the quick reference below highlights consequential changes.

## Reference index

| Reference | Topics |
| --- | --- |
| [Upgrades and migrations](references/upgrades-and-migrations.md) | Removed APIs and flags, tracing providers, CRD prerequisites, native sidecars, Helm resource names, dashboard compatibility |
| [Ambient mesh and multicluster](references/ambient-and-multicluster.md) | DNS capture, waypoint selection, ambient egress, service scope, cross-network routing, remote injection |
| [Gateways and traffic](references/gateways-and-traffic.md) | Service discovery, DNS, traffic distribution, Gateway API, inference routing, retries, connection limits, extensions |
| [Installation and CNI](references/installation-and-cni.md) | Helm settings, platform profiles, CNI reconciliation and cleanup, nftables, node readiness, injection |
| [Security and identity](references/security-and-identity.md) | Authorization, JWT and JWKS, TLS, certificate issuance and revocation, debug access |
| [Telemetry and observability](references/telemetry-and-observability.md) | Workload labels, waypoint telemetry, tracing, propagation, metrics, access logs |
| [Operations and istioctl](references/operations-and-istioctl.md) | Analysis, proxy inspection, revisions, workload groups, waypoints, timeouts, bug reports |

## Breaking changes and upgrade prerequisites

### Gateway API CRDs and backend policies

Install Gateway API `v1.5.x` CRDs before upgrading to Istio 1.30, which reads
`TLSRoute` and `ReferenceGrant` as `gateway.networking.k8s.io/v1`. Older CRDs
leave those resources unseen by Istiod; TLS passthrough listeners can report
`status.listeners[].attachedRoutes: 0` without a corresponding Envoy listener.

```bash
kubectl apply -k 'github.com/kubernetes-sigs/gateway-api/config/crd?ref=v1.5.1'
```

For the Experimental channel, replace `config/crd?` with `config/crd/experimental?`.
Before upgrading to 1.28, convert `v1alpha3` `BackendTLSPolicy` resources to `v1`.
Istiod processes that policy independently of `PILOT_ENABLE_ALPHA_GATEWAY_API`.

### InferencePool migration and enablement

Istio 1.28 drops alpha and release candidate `InferencePool` APIs; switch to v1.
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 the previously inferred `9002`.
In 1.29, the beta Inference Extension remains disabled by default; enable it
with `ENABLE_GATEWAY_API_INFERENCE_EXTENSION=true` on Istiod.

### Native sidecars and ambient authorization

Eligible pods get native sidecars by default starting in 1.27. Injection moves
`istio-proxy` from `spec.containers` to `spec.initContainers`; test workloads
whose mutating webhooks or controllers expect it in `spec.containers`.
Set `ENABLE_NATIVE_SIDECARS=false` on Istiod to opt out.

Upgrade every ztunnel connected to an Istiod instance to 1.29 or later before
setting `AMBIENT_ENABLE_DRY_RUN_AUTHORIZATION_POLICY=true` on that Istiod.
Older ztunnels fully enforce any dry-run `AuthorizationPolicy` they receive.

### Metrics and tracing migrations

Istio 1.29 removes `sidecar.istio.io/statsCompression`. Move to
`ProxyConfig.statsCompression`, using `proxy.istio.io/config` for per-pod overrides.
HTTP compression of the Envoy metrics endpoint is enabled by default and offers
Brotli, gzip, and Zstandard according to the encodings the client accepts.

Istio 1.28 removes `METRIC_ROTATION_INTERVAL` and
`METRIC_GRACEFUL_DELETION_INTERVAL`; use `sidecar.istio.io/statsEvictionInterval`.
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.

### Helm resource and runtime changes

For a custom ztunnel release name, use `--set resourceName=ztunnel` when upgrading
to 1.25 to preserve resource names and avoid downtime. The 1.26 chart again
defaults names to `ztunnel`; for a custom `resourceName`, configure the istiod
chart to use the same ztunnel resource name. The migration reference includes the base-chart
RBAC and service-account removals and replacement names for the 1.29 upgrade.

Helm 4 upgrades omit `failurePolicy` from `ValidatingWebhookConfiguration` so
the webhook controller retains ownership. When applying `helm template` output
server-side, set `base.validationFailurePolicy: Fail` to avoid ownership conflicts.
Istio 1.30 raises the minimum supported Kubernetes version to `1.32.x`.
Istio 1.32.0 removes `GOMAXPROCS` from Helm charts; the Go runtime derives it from CPU limits.

### Removed command flags

Omit `--recursive` from `istioctl analyze`; analysis always recurses.
The experimental `--xds-via-agents` flag was removed from `istioctl proxy-status`.
The deprecated `ENABLE_AUTO_SNI` flag was also removed.

## Ambient capture, waypoints, and multicluster

### DNS capture and reconciliation

`cni.ambient.dnsCapture` defaults to `true` for new ambient pods. Set it to
`false` or use `compatibilityVersion=1.24` to restore the previous default.
The pod annotation `ambient.istio.io/dns-capture: "false"` or `"true"` overrides
the global setting for TCP and UDP port 53. DNS traffic honors pod exclusions.

Starting in 1.29, `cni.ambient.reconcileIptablesOnStartup` defaults to `true`;
upgrading the CNI DaemonSet updates existing ambient pods' iptables or nftables
rules in place. 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`.

### Waypoint selection and cross-network routing

Set `istio.io/ingress-use-waypoint=true` on a namespace to opt waypoint-bound
services into waypoint processing for ingress traffic. Root-namespace policies
can target the `istio-waypoint` GatewayClass to supply waypoint defaults.

Alpha `ServiceScope` support in `MeshConfig` makes services local or global.
Selectors in `serviceScopeConfigs` 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.

`AMBIENT_ENABLE_MULTI_NETWORK_INGRESS=true` on Istiod lets ingress gateways
route to exposed backends in remote ambient networks; it defaults to `false`.
With `AMBIENT_ENABLE_MULTI_NETWORK=true`, an `istio-east-west` Gateway can
serve sidecar multi-network traffic alongside HBONE in 1.31.4 and 1.32.0.
Use a TLS passthrough listener on `15443`, or the listener option
`gateway.istio.io/listener-protocol: auto-passthrough` on another port.

## Service discovery and traffic policy

### Address allocation and wildcard egress

`PILOT_ENABLE_IP_AUTOALLOCATE` defaults to `true`; Istiod populates
`status.addresses` for `ServiceEntry` objects when explicit addresses are absent. Proxies
use them with DNS proxying enabled. `proxyMetadata.ISTIO_META_DNS_AUTO_ALLOCATE`
is deprecated. Configure allocation ranges with `PILOT_IP_AUTOALLOCATE_IPV4_PREFIX`
and `PILOT_IP_AUTOALLOCATE_IPV6_PREFIX` on Istiod.

Ambient wildcard `DYNAMIC_DNS` HTTP routing uses a waypoint configured as an
egress gateway. TLS routing by SNI is alpha, requires
`ENABLE_WILDCARD_HOST_SERVICE_ENTRIES_FOR_TLS=true`, and should use trusted
clients because they supply the SNI. Sidecar wildcard DNS routing supports
`MESH_INTERNAL` and `MESH_EXTERNAL`, selecting upstreams by HTTP Host or TLS SNI.

### Retries, load balancing, and connection limits

`DestinationRule` retry budgets limit concurrent retries against an upstream.
An omitted `retryBudget.percent` defaults to 20%; subsets inherit a top-level
budget and can override it with their own `retryBudget`.
In 1.32.0, `meshConfig.defaultInboundHttpRetryPolicy` configures default retries
on inbound sidecar HTTP routes; `defaultInboundHttpRetryPolicy: {}` disables them.

In 1.32.0, `backendUtilization` uses backend-reported ORCA load to shift requests
away from busier endpoints. Outlier detection accepts `outlierDetectionHttpErrorCodes`
and `failurePercentageThreshold` for HTTP error classification and rate-based ejection.
In 1.31.2, `ProxyConfig.connectionSettings.globalDownstreamConnectionLimit` takes
precedence over `ISTIO_META_GLOBAL_DOWNSTREAM_MAX_CONNECTIONS` and the deprecated
`overload.global_downstream_max_connections` runtime flag.

## Security and identity

### Route authorization and required JWT rules

In 1.32.0, experimental `AuthorizationPolicy.spec.targetRefs` support for
`HTTPRoute` applies `ALLOW` and `DENY` 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 JWT rule to reject requests missing that rule's
token even when another JWT rule is satisfied.

### JWKS validation and destination restrictions

`BLOCKED_CIDRS_IN_JWKS_URIS` applies to redirects and issuer discovery.
If any resolved JWKS address matches a blocked CIDR, Istio skips the fetch and
rejects JWTs that would use those keys. `istioctl analyze` reports `IST0175`
when `RequestAuthentication` exists and the setting is absent on Istiod.
In 1.31.1, Istiod blocks link-local and known cloud metadata addresses by default
and rejects invalid JWKS responses; set the CIDR variable to block private or
loopback ranges as well. Periodic refresh validates JWKS shape before updating
the cache in 1.30.8 and 1.31.4.

### Debug access and certificate constraints

On Istiod's port 15014, non-system callers can access only `config_dump`,
`ndsz`, and `edsz` for proxies in their own namespace.
With `ENABLE_DEBUG_ENDPOINT_AUTH=true`, `DEBUG_ENDPOINT_AUTH_ALLOWED_NAMESPACES`
adds authorized namespaces alongside the system namespace. Authentication also
applies to xDS `syncz` and `config_dump` on `15010`; `--plaintext` clients are
affected. `ENABLE_DEBUG_ENDPOINT_AUTH=false` restores their previous access.

On the experimental `EXTERNAL_CA=ISTIOD_RA_KUBERNETES_API` path,
`MAX_RA_WORKLOAD_CERT_TTL` caps requested `ValidityDuration` at `48h` by default
in 1.29.9, 1.30.6, and 1.31.2. Raise it on Istiod if longer certificates are needed.
In 1.32.0, `PILOT_DISABLE_SELF_SIGNED_CA=true` makes CA startup fail if it would
otherwise generate or reuse a self-signed root.

## Telemetry and operations

Set `disableContextPropagation: true` in a `Telemetry` tracing rule to stop
forwarding trace context headers while continuing to report spans.
`serviceAttributeEnrichment: OTEL_SEMANTIC_CONVENTIONS` derives `service.name`
using OpenTelemetry Kubernetes conventions. Routes with TLS or PROXY policies
skip baggage-based peer metadata discovery and may have incomplete peer telemetry
in multicluster deployments.

`istioctl proxy-status -n default -o yaml` reports status in the `default`
namespace; use `-o json` for JSON. `istioctl waypoint status` waits for readiness
by default; `istioctl waypoint status --all-namespaces --wait=false` returns the
current status immediately. `istioctl bug-report --tail=500` limits logs to 500
lines per container; the operations reference lists section-skipping flags.

Files in this skill

  • SKILL.md9.4 KB
  • coverage.json1.4 KB
  • references/ambient-and-multicluster.md7.6 KB
  • references/gateways-and-traffic.md8.2 KB
  • references/installation-and-cni.md7.6 KB
  • references/operations-and-istioctl.md6.2 KB
  • references/security-and-identity.md6 KB
  • references/telemetry-and-observability.md4.6 KB
  • references/upgrades-and-migrations.md7.6 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.