Start from an alert or a symptom, learn what it means, and act; every alert of the chart's PrometheusRule is here once.
Start here
| Look at |
How |
Answers |
| The pods |
kubectl -n quader get pods,pdb |
A role down, restarting or Terminating; a drain that would block |
| One replica |
/readyz?verbose=1 on port 8081 (below) |
Which check fails and why; works while PostgreSQL is down |
| System status |
Monitor |
Every replica, Valkey, tasks, jobs; needs PostgreSQL |
| One request |
X-Request-Id, then the log records with that trace_id |
What failed for it (Follow one request) |
| An error code |
Errors and troubleshooting, Error codes |
What the code means |
shell
# example: any pod; -k, since the certificate names the Service
kubectl -n quader port-forward pod/quader-api-6f7c9d-x2k8p 8081:8081 &
curl -sk "https://localhost:8081/readyz?verbose=1" | jq .
Do not restart Quader for an outage of a dependency: readiness returns by itself, and a restart only drops the caches.
Alerts
Severity C is critical, W a warning. Where the cause is the platform, hand over to its team; where the platform is sound and the
alert stays, give the maintainers the alert, /readyz?verbose=1 and the replica's log.
Replicas, jobs and PostgreSQL
While PostgreSQL is gone, System status and sign-in answer 503 too: use the ops port. A write whose connection dropped after its
commit answers 503 with its outcome unknown; repeating it is safe.
| Alert |
Sev. |
Means |
Do |
QuaderReplicasNotReady |
C |
A role or pool has fewer than two available replicas (needs kube-state-metrics) |
The pod's events and /readyz?verbose=1 |
QuaderDatabaseUnreachable |
C |
Replicas retry PostgreSQL and answer 503 database_unavailable |
The primary, its Service and the pooler (kubectl cnpg status). A PgBouncer pooler needs server_login_retry 1 and server_connect_timeout 5 (Configure) |
QuaderDatabasePoolSaturated |
W |
A replica waits over 100 ms for a request connection |
Database CPU; database.pool.max_conns within the budget |
QuaderControlConnectionWaits |
W |
A replica waits over a second for its control connection; readiness is close to failing |
The pooler endpoint and the database latency |
QuaderJobsStuck |
W |
A queued job has waited over 15 minutes |
That a worker (or worker.pools) claims the queue in the label kind; the Jobs tab |
QuaderLeaseLost |
W |
A singleton task lost its lease over three times in 15 minutes |
A transaction-mode pooler on the session endpoint, idle timeouts, resets |
QuaderMixedVersions |
W |
Two versions have run side by side for two hours |
Each Deployment's image; a stuck rollout (Upgrade) |
QuaderSpoolNearlyFull |
W |
A spool is over 90 % used; role names the unit |
Spool full |
QuaderGCStale |
W |
No garbage collection has succeeded for two days |
The gc jobs and the object store |
Valkey
Valkey holds no only copy: while it is gone nothing fails, and replicas run degraded (Maintenance).
| Alert |
Sev. |
Means |
Do |
QuaderValkeyUnavailable |
C |
Every replica runs without Valkey |
The Sentinels and the primary. auth_failed or config_error: a rotated credential, certificate or ACL user does not match (secrets.valkey, secrets.valkeyCA); new pods stay unready until it does |
QuaderValkeyUnavailableSingleReplica |
W |
Some replicas lost Valkey |
The path of those pods (node, policy, DNS), on quader_valkey_available; delete the pod if it does not heal |
QuaderValkeySentinelsDegraded |
W |
A replica reaches fewer than two Sentinels: no failover can be elected |
The Sentinel pods and the path to them |
QuaderValkeyFailoverFlapping |
W |
The primary changed over twice in an hour |
Valkey's restarts, memory and node; down-after-milliseconds against the latency |
QuaderValkeyPrimaryDisagreement |
C |
Replicas name different primaries |
GET /api/v1/system/replicas; restart the replica on the old primary |
Object store and storage
The label connection names the connection. While another connection answers, only blobs the failing one alone holds answer 503;
an outage never marks a blob missing.
| Alert |
Sev. |
Means |
Do |
QuaderObjectStoreUnreachable |
C |
Every replica has every connection's circuit open: stored content answers 503 object_store_unavailable |
The endpoint, its certificate, the credential (the log names the object store rejects the credential) |
QuaderObjectStoreConnectionUnreachable |
W |
One connection's circuit is open everywhere, another answers |
As above, for that connection |
QuaderObjectStoreUnreachableSingleReplica |
W |
A connection's circuit is open on some replicas only |
The path of those pods, on quader_storage_s3_circuit_open; delete the pod if it does not heal |
QuaderStorageReplicationBacklog |
W |
A copy has waited over an hour on a connection that is not filling |
Its circuit, quader_storage_reconcile_failures_total{reason}, the task storage-reconcile |
QuaderStorageCopyDamaged |
W |
A connection has held a missing or corrupt copy for an hour |
Storage; the reconciliation rewrites it from another connection |
QuaderStorageScrubBehind |
W |
Copies were not read whole within the scrub_period and a day |
The scrub jobs' results: raise scrub_bytes_per_second or the period, or fix the connection |
QuaderStorageConnectionDetached |
W |
A connection holds copies and no replica configures it |
Put its element back, or forget it |
QuaderStorageUnknownKey |
C |
An encrypted connection's objects name storage keys the database lacks (a restore to before them) |
Import the export in a pod: quader admin storage keys import /dev/stdin < quader-storage-keys.json; then export again. No restart |
QuaderBlobMissing |
C |
A blob's object is missing on every connection |
The bucket, its lifecycle rules, and first anything in front of it that answers 404 (lost objects) |
QuaderBlobCorrupt |
C |
No connection holds a blob whole |
The digest in the log; who else writes to the buckets |
TLS certificates
Quader re-reads every certificate and keeps the old one in service when a new file does not load; it serves an expired one too.
| Alert |
Sev. |
Means |
Do |
QuaderTLSCertificateExpiring |
W |
A certificate or CA file ends within 14 days |
Rotate a listener certificate; a rising quader_tls_reload_errors_total names the file that did not load |
QuaderTLSCertificateExpired |
C |
It has ended and is still served |
Renew it at once; the issuer, the Secret, a mount with subPath (never updated) |
Backup and the revocation journal
The backup alerts exist only with backup.enabled: true.
| Alert |
Sev. |
Means |
Do |
QuaderBackupStale |
C |
No backup succeeded in 1.5 times the expected interval, or none ever |
The Backups tab, the CronJob (suspended, missed deadline), the last Job's log |
QuaderBackupFailed |
C |
The newest run failed, none succeeded since |
Its error and the exit code |
QuaderBackupRunningLong |
W |
A run has lasted over half the interval |
Its progress; a stalled run ends itself |
QuaderBackupGlobalHoldLong |
W |
A backup has held garbage collection for 30 minutes |
The active run |
QuaderBackupSourceDamage |
C |
The newest backup found blobs damaged or missing |
Storage; restore the objects (quader admin storage restore-versions) or upload them, then back up |
QuaderBackupVerifyFindings |
C |
The newest verify found missing or damaged objects |
Take a new backup; the target's lifecycle rules |
QuaderBackupCheckFailed |
C |
A declared platform protection does not hold; check names it |
quader admin backup check (point in time) |
QuaderRevocationJournalBacklog |
W |
Journal entries have waited 15 minutes to ship |
The workers, the object store, the credential's write access to _journal/ |
QuaderRevocationJournalQuarantined |
C |
A change could not be journaled |
The shipper's log; repair the change and back up again |
Vulnerability scanning
| Alert |
Sev. |
Means |
Do |
QuaderVulnerabilityDataStale |
W |
No sync of a source succeeded within vulnerabilities.stale_after |
The last error on Advisory sources; a worker claims the queue vuln and reaches port 443 |
QuaderVulnerabilitySyncFailing |
W |
Three sync runs in a row failed |
As above; shrink_refused or archive_digest_mismatch: check the source before acceptShrink |
QuaderVulnerabilitySyncWorkerLost |
W |
A sync's worker died, none succeeded in six hours |
The workers' restarts (OOMKilled) and memory |
QuaderVulnerabilityEvaluationFailing |
W |
An evaluation failed or lost its worker, none succeeded in six hours |
The job's error, the worker log |
QuaderVulnerabilityRecordsRejected |
W |
A record above a size bound was rejected this week |
The worker log; raise max_record_size if legitimate |
QuaderVulnerabilityRecordsInvalid |
W |
Over 1 % of records failed validation in a day |
The worker log, an advisory record was rejected |
QuaderVulnerabilityMaliciousRecordRejected |
C |
A malicious-package record was rejected, so it flags nothing |
The worker log |
QuaderVulnerabilityClaimedNameMalicious |
C |
A malicious advisory names a name you treat as internal |
GET /api/v1/vulnerabilities/claimed-name-matches; treat it as dependency confusion |
QuaderVulnerabilityImageScansFailing |
W |
Images are scanned and none finishes |
The codes of quader_vuln_image_scans_total |
QuaderVulnerabilityImageScannerUnavailable |
W |
Scans were put off for half an hour |
The image scanner |
Malware scanning
| Alert |
Sev. |
Means |
Do |
QuaderMalwareFound |
W |
A stored file holds malware; its downloads are refused |
Security audit › Malware (the finds) |
QuaderMalwareBacklog |
W |
A file has waited over an hour for its scan |
More replicas of malware-scanner-clamav or config.malware.scanner.slots |
QuaderMalwareScannerUnavailable |
C |
The scan controller reached no scanner for 15 minutes |
The scanner pods and their /readyz?verbose=1 |
QuaderMalwareChecksOverdue |
W |
Checks have been overdue for six hours |
The capacity on Settings › Malware scanning |
QuaderMalwareDatabaseStale |
W |
The signature database is older than malware.database.stale_after |
malware-updater-freshclam and its egress (Signature updates) |
QuaderMalwareDatabaseMissing |
W |
No database stored, or no worker ran malware-scan, for two hours |
As above, and the workers |
Signatures and signing
| Alert |
Sev. |
Means |
Do |
QuaderSignatureInvalid |
W |
A signature does not match its content |
GET /api/v1/signatures/findings; block the signer if needed (Trust anchors) |
QuaderSignatureBacklog |
W |
A due signature has waited over an hour |
A worker claims the queue signatures; the signature-verify jobs |
QuaderSignatureTrustRootStale |
W |
The public Sigstore root is over 14 days old |
trustRoot.lastError of GET /api/v1/signatures/settings; the egress, or a mirror in signatures.trust_root.url |
QuaderSignatureGatePending |
W |
A verified-only repository answered 503 signature_check_pending |
Workers on the queues signatures and index, the remote's upstream |
QuaderSigningIdentityExpiring |
W |
The signing certificate ends within 14 days, no successor announced |
cert-manager: kubectl describe certificate <fullname>-signing. Uploaded: Replace, have the CA certify, Upload certificate (Signing identity) |
QuaderSigningIdentityExpired |
C |
It has ended; Quader signs nothing |
Install a new identity at once |
QuaderSigningIdentityNotLoaded |
W |
No worker holds the current identity's key |
refused of GET /api/v1/signing/identity, the mount /var/run/secrets/quader/signing/ |
QuaderSigningBacklog |
W |
A local npm version has waited five minutes for its signature |
A worker claims the queue signing |
Mirrors
| Alert |
Sev. |
Means |
Do |
QuaderMirrorFailing |
W |
A mirror failed three passes in a row |
Last error of the mirror's status |
QuaderMirrorStale |
W |
A mirror is over an hour behind |
A worker claims the queue mirror; a rate limit, a reached bound, or No bound (give it a scope or a limit) |
Bastions
| Alert |
Sev. |
Means |
Do |
QuaderBastionCallersPooled |
W |
For 15 minutes a Bastion forwarded from an address its registration does not list: all its callers share one budget and one block |
Add the address of its last contact on the Bastion's card (addresses) |
The alerts of the chart quader-bastion are in Run a Bastion.
An image scanner that does not answer
The worker calls a pod of vuln-scanner-trivy per image; the pod pulls the image and the advisory database from the scan listener of
the packages pods, both over mutual TLS. A scan put off spends no attempt and is tried again after a minute.
quader_vuln_image_scans_total counts the codes:
| Code |
Cause |
Do |
scanner_unavailable |
No ready scanner pod, or the worker's certificate lacks client auth or its Service name |
kubectl describe pod: an Init:ImagePullBackOff cannot pull trivy.image; the check vulnScannerTrivy names the reason |
registry_unavailable |
The scanner cannot reach port 8082 of packages, or its certificate is refused there |
NetworkPolicies, the packages pods, the scanner's certificate names |
pull_refused |
The scan token was refused |
The key rings of worker and packages, the nodes' clocks |
database_loading |
No pod holds the database in use yet |
Seconds after a new database; for long, kubectl logs <pod> -c database |
scanner_busy |
Every slot is taken |
Raise vulnScannerTrivy.replicaCount |
scanner_disk_failed |
A pod could not write its spool |
The pod's spool volume and node |
scanner_versions_differ |
Two Trivy versions answer during a rollout |
Nothing; images are analysed again after it |
A certificate refused on a link must list TLS Web Client Authentication beside server authentication
(TLS).
A signing key believed taken
- Install a new identity with a new key first, so Quader keeps signing; with cert-manager, delete the Secret
<fullname>-signing.
- After the switch, Retire the old one under Previous identities of Admin area › Settings › Signatures: its key leaves
npm's keys, none of its signatures is served, and Quader signs again what it signed.
- Have the CA revoke the old certificate, and find how the key left (the
signing.* audit events, who reads the Secret).
Without an alert
| You see |
Cause |
Do |
A 503 without X-Request-Id |
The ingress or a proxy answered: no ready endpoint |
The pods and the Service |
kubectl drain waits on a PodDisruptionBudget |
A role's other replica is not ready |
Find why; never delete the budget. Check Not drain-safe before draining |
A pod Terminating past its grace period |
The node or kubelet does not act |
Force-delete only when the node is gone: kubectl delete pod <pod> --grace-period=0 --force |
| Connection errors on every drain |
The drain delay is shorter than the ingress's endpoint removal |
Raise health.shutdown_drain_delay and the grace period (drains) |
| A replica Lost without draining |
It crashed, was OOMKilled, lost its node, or cannot reach PostgreSQL |
kubectl get pod <name>: gone, nothing to do; alive, its /readyz?verbose=1 and log; OOMKilled, raise its memory limit |
Uploads answer 503 about the spool, or a pod is Evicted |
The spool volume is full |
Raise spool.sizeLimit (or the role's); for scanner pods vulnScannerTrivy.spool.sizeLimit and database.sizeLimit |
| A new certificate in the Secret, the old one served |
The kubelet has not synced, or the file does not load |
Wait for the sync; quader_tls_reload_errors_total and the error log name the file. Stored-secret key files need a restart |
Encrypted reads fail with the reason destroyed_key |
A replica still configures a connection whose keys were destroyed |
Remove the element everywhere; the copies are rewritten from other connections |
| A mirror shows Waiting or a pass hangs |
A rate limit, or the queue mirror is not claimed |
Run a pass now, Pause; cancel a hanging mirror-pass job on the Jobs tab |
A failed upgrade is in Upgrade. Quader holds no Kubernetes permissions: every step that changes the platform is yours.