mirror of
https://github.com/Katakate/k7.git
synced 2026-11-19 02:17:10 +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.
981 B
981 B
K7KeyStoreStale
No k7-api replica has read the k7-api-keys Secret for longer than
observability.thresholds.keyStoreStaleSeconds (default 60 s). After 60 s
without a read, a replica answers 503 rather than trusting an old key list,
so authentication fails.
First three commands
kubectl -n kube-system logs -l app=k7-api -c k7-api --since=10m | jq -c 'select(.logger == "k7.keystore")' | tail -20
kubectl -n kube-system get secret k7-api-keys -o jsonpath='{.metadata.resourceVersion}{"\n"}'
kubectl auth can-i get secret/k7-api-keys -n kube-system --as=system:serviceaccount:kube-system:k7-api
Reading them
Forbiddenin the log, ornofromcan-i: the k7-api Role lostgeton the Secret. Re-runk7 installorhelm upgrade.NotFound: the Secret was deleted.k7 installrecreates it empty; re-issue keys withk7 generate-api-key.- Timeouts: the replica cannot reach the apiserver. Check the pod's node and the apiserver health.