agentleFS
abevzabevz/devops-skills/skills/istio/SKILL.md

istio

Skill0 starsChanged 41 days agoMITView on GitHub

Use when installing, configuring, or operating Istio — install/revisions/upgrades, sidecar vs ambient data plane, traffic management (VirtualService/DestinationRule/Gateway), mTLS and AuthorizationPolicy, and telemetry. Mention "istio install", "istio ambient", "ztunnel", "waypoint", "virtualservice", "peerauthentication", "authorizationpolicy", "istio canary upgrade" as triggers.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not assume every workload needs a sidecar or L7 waypoint.

    line 22
  2. Distinctive:

    Follow the Workflow, Safety rules, and Quality checklist below.

    line 26
  3. Very specific:

    Use when standing up or operating an Istio mesh: install method and revision-based upgrades, choosing sidecar vs ambient data plane, …

    line 37
  4. Distinctive:

    Never propose disabling mTLS mesh-wide as a shortcut.

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Istio

TL;DR checklist

  • Identify whether the task is install, data-plane choice, traffic, security, or telemetry.
  • Record version, install method, sidecar/ambient mode, mTLS mode, and ingress.
  • Check L4 versus L7 needs before choosing proxies or waypoints.

Key read-only checks

  • Inspect revisions, proxy status, mesh policy, and relevant routes before proposing a change.

Common pitfalls

  • Do not assume every workload needs a sidecar or L7 waypoint.

Agent procedure

Follow the Workflow, Safety rules, and Quality checklist below.

Quick references

  • references/install-upgrade.md
  • references/sidecar-vs-ambient.md

Last verified: unverified

When to use

Use when standing up or operating an Istio mesh: install method and revision-based upgrades, choosing sidecar vs ambient data plane, traffic management (routing/canary/resilience), security (mTLS, authorization, JWT, identity/certs), and telemetry. For troubleshooting a live mesh problem (503 taxonomy, mTLS handshake failures, sidecar not injecting, route not taking effect) use istio-debug. This skill is the design/deploy/configure view.

Goal

A mesh sized and secured for the actual need — right data-plane mode, mTLS enforced without locking out legacy clients, authorization default-deny where it matters, upgrades done by revision (not in place), and telemetry that's useful without exploding cardinality.

Workflow

  1. Scope to an area and load its reference:

    AreaReference
    Install, profiles, revision/canary upgrades, injection, Istio CNI, gatewaysreferences/install-upgrade.md
    Sidecar vs ambient (ztunnel/waypoint), migration, when to use whichreferences/sidecar-vs-ambient.md
    VirtualService/DestinationRule/Gateway/ServiceEntry, canary, resilience (retries/timeouts/outlier), fault injectionreferences/traffic-management.md
    mTLS/PeerAuthentication, AuthorizationPolicy, RequestAuthentication (JWT), SPIFFE identity, CA/certsreferences/security.md
    Telemetry API: metrics, access logs, tracing, Kiali, cardinality controlreferences/telemetry.md
  2. Confirm the baseline — Istio version, install method (istioctl/Helm), whether revisions/ tags are in use, sidecar or ambient (or mixed during migration), mesh-wide mTLS mode, and how ingress is done (istio gateway vs Gateway API).
  3. Right-size the mesh — not every cluster needs full L7 everywhere. Ambient's L4-only default (mTLS + identity) with waypoints only where L7 is needed is often the leaner answer; don't turn on features (fault injection, complex routing) without a driver.
  4. Security is the point — mTLS + AuthorizationPolicy are why most people adopt a mesh; a mesh running PERMISSIVE mTLS forever with no authz policies is mostly overhead. Move to STRICT deliberately (PERMISSIVE → observe → STRICT), default-deny authz where it matters.
  5. Upgrade by revision, never in place — canary upgrades (new revision alongside, migrate namespaces, roll back by relabel) are the safe path; in-place control-plane upgrades risk the whole mesh at once.
  6. GitOps the config — Istio CRDs (VirtualService, DestinationRule, PeerAuthentication, etc.) and IstioOperator/Helm values are declarative and belong in git; changes staged and validated (istioctl analyze) pre-merge.
  7. Verify read-only — istioctl analyze, istioctl proxy-status, istioctl proxy-config, istioctl x describe; never apply mesh config or restart istiod as "investigation."

References

  • references/install-upgrade.md, references/sidecar-vs-ambient.md, references/traffic-management.md, references/security.md, references/telemetry.md — one per area, with decision tables, CRD/config examples, prerequisites, and gotchas.

Safety rules

  • Design/operate-planning skill: do not apply Istio CRDs, install/upgrade the control plane, toggle mTLS mode, or restart istiod/gateways on a live mesh — propose config for the user.
  • mTLS and AuthorizationPolicy changes can sever every consumer of a service at once (STRICT with a plaintext client; a default-deny with a missing ALLOW) — frame as staged, validated (analyze + PERMISSIVE/observe first) rollouts, never a single flip.
  • Never propose disabling mTLS mesh-wide as a shortcut; narrow to the affected workload pair.
  • Certificate/CA material and JWT signing config are sensitive — reference, never inline or echo.

Output format

## Area & baseline (version, install method, revisions?, sidecar/ambient, mTLS mode, ingress)
## Recommendation (what to configure/change, and explicitly what NOT to over-build)
## Prerequisites & blast radius
## Proposed config (CRDs / IstioOperator / Helm values — for review, istioctl analyze clean)
## Rollout plan (staged, revision-based, with rollback)
## Verification (read-only istioctl checks)

Quality checklist

  • The relevant area reference was consulted, not reasoned from memory
  • Data-plane mode (sidecar/ambient) matches the actual L4-vs-L7 need, not defaulted
  • mTLS moves to STRICT via PERMISSIVE/observe, not a blind flip; authz default-deny scoped
  • Upgrades are revision-based/canary with a relabel rollback, not in-place
  • Config validated with istioctl analyze; cardinality considered for telemetry
  • Nothing was applied/upgraded/restarted on a live mesh

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.