mirror of
https://github.com/Katakate/k7.git
synced 2026-11-18 18:04:20 +00:00
Observability, usage metering, tenants and quotas, and roles with OIDC login. A Helm chart installs K7 on a cluster you already run, API keys carry a role, and k7-agent no longer needs host privileges.
919 B
919 B
K7APIHighErrorRate
More than observability.thresholds.apiErrorRatio (default 5%) of k7-api
requests returned 5xx over 10 minutes.
First three commands
kubectl -n kube-system logs -l app=k7-api -c k7-api --since=15m | jq -c 'select(.status >= 500 or .level == "error")' | tail -20
kubectl -n kube-system get events --sort-by=.lastTimestamp | tail -20
kubectl -n kube-system top pods -l app=k7-api
Reading them
- Each JSON line carries
request_id,route,op,backendanderror_code. Group byrouteanderror_codeto find the failing path. Pass onerequest_idtogrepacross the k7-api and k7-agent logs to follow one request. KubernetesErrorcodes, or a risingk7_kube_api_errors_total: the Kubernetes API is refusing k7-api (RBAC, throttling, or a down apiserver).- 503s from every route: the key store is stale. See K7KeyStoreStale.