auth
免费Authentication and authorization patterns for Rossoctl services
中文简介正在准备中。当前显示原文说明。
Detect and recover from Istio Ambient mesh outages where ztunnel/waypoint proxies serve expired mTLS certs and every gateway route returns HTTP 503 (long-running or suspended dev/Kind clusters)
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Detect and recover the classic "everything returns 503" outage on a long-running or
suspended dev/Kind cluster (rossoctl/rossoctl#1899): after a host suspend the Istio Ambient
data plane (ztunnel + waypoints) keeps serving expired istiod-issued mTLS certs and never
re-fetches, so all *.localtest.me routes 503 — while every pod still looks Running.
Scope: dev / Kind. Do not auto-run recovery against a production mesh.
Reach for this when:
http://*.localtest.me:8080/ (UI, API, MLflow, Kiali…) all return HTTP 503, andkubectl get pods -A looks healthy, Gateway/HTTPRoute status is Accepted/ResolvedRefs, andupstream connect error … connection termination with header server: istio-envoy.That pattern = the data plane is reachable and routing, but the upstream mTLS hop fails on an expired cert.
--include-spire.# Detect only (read-only) — reports status and prints the recommended recovery commands
scripts/k8s/mesh-recover.sh
# Apply the recovery (rollout restart ztunnel + waypoints + gateway)
scripts/k8s/mesh-recover.sh --fix
# Also check/restart the SPIRE agent (separate AuthBridge domain)
scripts/k8s/mesh-recover.sh --fix --include-spire
Exit codes: 0 healthy · 2 degraded (or fix attempted) · 3 inconclusive (unreachable / not Ambient) · 1 usage/precondition error.
Useful flags: --probe-host <host>, --gateway-url <url> (default http://127.0.0.1:8080),
--json (machine-readable). The script discovers the ztunnel namespace (Kind installs put it
in istio-system; the chart uses istio-ztunnel) rather than hardcoding it.
# 1. ztunnel — the node proxy all mesh traffic flows through (discover its namespace first)
ZT_NS=$(kubectl get ds -A -l app=ztunnel -o jsonpath='{.items[0].metadata.namespace}')
kubectl rollout restart daemonset/ztunnel -n "$ZT_NS"
# 2. waypoint proxies (L7), if any
kubectl rollout restart deploy -A -l gateway.networking.k8s.io/managed-by=istio.io-mesh-controller
# 3. the ingress gateway
kubectl rollout restart deploy/http-istio -n rossoctl-system
# verify
curl -s -o /dev/null -w "HTTP %{http_code}\n" -H "Host: rossoctl-ui.localtest.me" http://127.0.0.1:8080/
# Is it a mesh cert problem? (CertificateExpired / expired peer certificate)
kubectl logs -n "$ZT_NS" -l app=ztunnel --tail=100 | grep -iE "certificate expired|CertificateExpired"
# ztunnel cert status (if istioctl is installed)
istioctl ztunnel-config certificates "$(kubectl get pod -n "$ZT_NS" -l app=ztunnel -o jsonpath='{.items[0].metadata.name}')" -n "$ZT_NS"
# SPIRE agent failing to re-attest? (separate domain)
kubectl logs -n spire-system -l app=spire-agent --previous --tail=40 | grep -iE "reattest|token has expired|Agent crashed"
A real suspend/clock-expiry can't be forced deterministically, so a helper induces the same
symptom (CA down + ztunnel restarted → data plane has no valid cert → mesh-wide 503) and runs the
full detect → --fix → re-probe loop. Destructive to the mesh; Kind-guarded.
scripts/k8s/induce-mesh-outage.sh --self-test # break → assert detect(exit 2) → restore CA → --fix → assert green
scripts/k8s/induce-mesh-outage.sh --break # induce and leave broken (to test manually)
scripts/k8s/induce-mesh-outage.sh --restore # undo
k8s:health, istio:ambient-waypoint.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Authentication and authorization patterns for Rossoctl services
中文简介正在准备中。当前显示原文说明。
Create confidential OAuth2 clients in Keycloak for server-to-service authentication
中文简介正在准备中。当前显示原文说明。
Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication
中文简介正在准备中。当前显示原文说明。
Configure OpenTelemetry Collector with OAuth2 authentication for trace export
中文简介正在准备中。当前显示原文说明。
CI pipeline monitoring, status checks, and PR validation workflows
中文简介正在准备中。当前显示原文说明。
Monitor running CI jobs, wait for completion, create tasks for results
中文简介正在准备中。当前显示原文说明。