istio
БесплатноБез исполняемых скриптовНе проверенIstio is an open-source service mesh that adds traffic management, mTLS security and observability to Kubernetes workloads through sidecar proxies or ambient…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Istio
Overview
Istio is a service mesh for Kubernetes. A control plane (istiod) configures Envoy sidecar proxies (or, in ambient mode, per-node ztunnel plus optional waypoint proxies) so that routing, retries, mutual TLS, access policy and telemetry are handled outside application code. This skill covers installation with istioctl, the core resources (VirtualService, DestinationRule, Gateway API, PeerAuthentication, AuthorizationPolicy, Telemetry) and debugging.
Instructions
Install
Prefer a package manager, or download the release archive and verify its checksum. Do not pipe the downloadIstio script into a shell.
brew install istioctl # macOS / Linuxbrew
# or: pinned release archive with checksum verification (Linux x86-64)
ISTIO_VERSION=1.31.1
BASE=https://github.com/istio/istio/releases/download/$ISTIO_VERSION
curl -fsSLO $BASE/istioctl-$ISTIO_VERSION-linux-amd64.tar.gz
curl -fsSLO $BASE/istioctl-$ISTIO_VERSION-linux-amd64.tar.gz.sha256
sha256sum -c istioctl-$ISTIO_VERSION-linux-amd64.tar.gz.sha256
tar xzf istioctl-$ISTIO_VERSION-linux-amd64.tar.gz && sudo install istioctl /usr/local/bin/
istioctl x precheck # check the cluster first
istioctl install --set profile=default -y # or profile=demo for evaluation, profile=ambient for ambient mode
kubectl label namespace shop istio-injection=enabled # sidecar mode: restart pods afterwards
istioctl analyze --all-namespaces # lint configuration
istioctl verify-install no longer exists; use istioctl analyze and kubectl -n istio-system get pods. istioctl upgrade is just an alias of istioctl install. Do not skip more than two minor versions per upgrade; for production prefer a canary control plane with --set revision=1-31-1 and istioctl tag set. For ambient mode label namespaces with istio.io/dataplane-mode=ambient instead.
IstioOperator options
# istio-config.yaml: apply with `istioctl install -f istio-config.yaml`
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
profile: default
meshConfig:
accessLogFile: /dev/stdout
extensionProviders:
- name: zipkin
zipkin:
service: zipkin.observability.svc.cluster.local
port: 9411
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
k8s:
hpaSpec: { minReplicas: 2, maxReplicas: 5 }
Tracing is switched on per mesh, namespace or workload with the Telemetry API, not with meshConfig.defaultConfig.tracing:
apiVersion: telemetry.istio.io/v1
kind: Telemetry
metadata:
name: mesh-default
namespace: istio-system
spec:
tracing:
- providers:
- name: zipkin
randomSamplingPercentage: 5.0
Traffic management
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: web-app
namespace: shop
spec:
hosts: [web-app]
http:
- match:
- headers:
x-canary:
exact: "true"
route:
- destination: { host: web-app, subset: canary }
- route:
- destination: { host: web-app, subset: stable }
weight: 90
- destination: { host: web-app, subset: canary }
weight: 10
timeout: 10s
retries:
attempts: 3
perTryTimeout: 3s
retryOn: 5xx,reset,connect-failure
---
apiVersion: networking.istio.io/v1
kind: DestinationRule
metadata:
name: web-app
namespace: shop
spec:
host: web-app
trafficPolicy:
connectionPool:
tcp: { maxConnections: 100 }
http: { http1MaxPendingRequests: 100, http2MaxRequests: 1000 }
outlierDetection:
consecutive5xxErrors: 5
interval: 30s
baseEjectionTime: 30s
maxEjectionPercent: 50
subsets:
- name: stable
labels: { version: v1 }
- name: canary
labels: { version: v2 }
Ingress with the Kubernetes Gateway API (recommended)
Gateway API CRDs are not installed on most clusters. At the time of writing the Istio docs install v1.6.0:
kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v1.6.0" | kubectl apply -f -
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: shop-gateway
namespace: istio-ingress
spec:
gatewayClassName: istio
listeners:
- name: https
hostname: shop.acme-store.dev
port: 443
protocol: HTTPS
tls:
mode: Terminate
certificateRefs:
- name: shop-tls-cert
allowedRoutes:
namespaces: { from: All }
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: shop
namespace: shop
spec:
parentRefs:
- name: shop-gateway
namespace: istio-ingress
hostnames: ["shop.acme-store.dev"]
rules:
- matches:
- path: { type: PathPrefix, value: /api }
backendRefs:
- name: api-service
port: 8080
- backendRefs:
- name: fronte
Установить istio в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл istio?
Istio is an open-source service mesh that adds traffic management, mTLS security and observability to Kubernetes workloads through sidecar proxies or ambient mode. Use when the user needs to install Istio, configure traffic routing and canary releases, mTLS, authorization policies, circuit breaking, fault injection, ingress gateways, or tracing for microservices.
Как установить скилл istio?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл istio запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub