Repository navigation
v0.6.0
The chart is published at oci://ghcr.io/fedeam/charts/kausa as a signed OCI artifact, and each
image gets an attested CycloneDX SBOM of a binary built with cargo auditable (0023); kausa
watches itself, with alert rules that promtool checks and unit-tests and seven new metrics; an
upgrade test from the latest release and the scripts of a seven-day soak measure its reliability;
and the system message is chosen by detection, as prompt version 3, with D008 keeping version
2's (0024). Nothing to change in values or permissions. After the upgrade, the counters with a
fixed set of labels show a 0 series for each label from the start, and their unlabelled 0 line
is gone: a dashboard or query that matched it changes. A copy of the install guide's example
alert KausaDailyCallBudgetSpent, which needed a pod label, is replaced by the one in
deploy/prometheus/kausa-alerts.yaml. New Explanation entries store promptVersion "3".
Added
- Prometheus alerting rules for kausa's own metrics,
deploy/prometheus/kausa-alerts.yaml: eleven
alerts in five groups, on a failing model endpoint, failed calls, the spent daily budget, the
explanation queue, skipped incidents, failing or refused watches, the Lease of two replicas and
failed notifications. CI checks them withpromtool check rulesand unit-tests each threshold,
window andforwithpromtool test rules. Alerts explains each
alert and what to do when it fires; each alert'srunbook_urllinks its section. - Seven metrics:
kausa_build_info{version, prompt_version}(always1),
kausa_model_call_duration_seconds{outcome}(a histogram of the model calls, whose_count
equalskausa_model_calls_total),kausa_watch_relists_total{watch}and
kausa_watch_restarts_total{watch}(new watchers after a403),kausa_records{kind},
kausa_owner_cache_entriesandkausa_dedup_cache_entries
(Command line and log format). No label names a
namespace, a Pod, a model or a host. - The chart is published at
oci://ghcr.io/fedeam/charts/kausa(install with--version),
signed with cosign and with SLSA build provenance; the.tgzstays on each GitHub release. - Each release attests a CycloneDX SBOM to the image of each architecture and attaches both; the
binary is built withcargo auditable, so scanners read its crates from the image. - The chart has a README and Artifact Hub annotations.
Changed
- The counters with a fixed set of label values (
kausa_watch_errors_total,
kausa_model_calls_total,kausa_explanations_skipped_total,kausa_notifications_totaland
kausa_leadership_changes_total) show a0series for each value from the start, in the modes
that can count them, so that the first increase after a start is seen; their unlabelled0
line is gone, and a dashboard that matched it changes. - The example alert on a spent daily budget, now
KausaDailyCallBudgetSpent, matches the leader
gauge withignoring(window)instead ofon (pod), so it needs nopodlabel from the scrape. - The example alert on a flapping Lease, now
KausaLeaderFlapping, fires at 7 takeovers in an
hour (>= 7) instead of> 6, which six takeovers could cross onceincreaseextrapolates.
It andKausaNoLeaderadd up a release's Podsby (namespace, job). - Requests about a workload controller, a claim or an autoscaler (
D011toD013) and a stalled
rollout (D014) carry one of two new fixed system messages, which say that the request has no
Pod and, forD014, what its fields and events mean. The prompt version is3, so new
Explanation entries storepromptVersion"3". Requests for the other rules do not change, and
a failed Job (D008) keeps the version 2 message: the paragraph written for it failed bars B1
and B2 of the before-and-after measurement fixed by
0024, while the other two passed theirs (The
system message by detection,
measured).
Install
helm install kausa oci://ghcr.io/fedeam/charts/kausa --version 0.6.0 \
-n kausa --create-namespace --set rbac.scope=cluster --set dryRun=trueThe same chart is attached below as kausa-0.6.0.tgz, and its URL still works:
helm install kausa https://github.com/fedeam/kausa/releases/download/v0.6.0/kausa-0.6.0.tgz ….
A release installed from a chart URL moves to the registry with
helm upgrade kausa oci://ghcr.io/fedeam/charts/kausa --version 0.6.0 -n kausa --reuse-values.
- Image:
ghcr.io/fedeam/kausa:0.6.0(ghcr.io/fedeam/kausa@sha256:eb804398bd9ca085ba01f3600d7fd9e61b88e3abea4b5c935c20f958c87e4467); linux/amd64
ghcr.io/fedeam/kausa@sha256:32b05342266cda024db352adac3dc3f4116f9c4a31d55bfc0ef7404e2fdd28bc, linux/arm64ghcr.io/fedeam/kausa@sha256:db934367f8313311795a517fadd81cf42482e7149c575ddb8b58e9256d9051b4. - Chart:
oci://ghcr.io/fedeam/charts/kausa, version0.6.0
(ghcr.io/fedeam/charts/kausa@sha256:715fd6a3637c743b618517d04e4d9f9cc452d387cc6384302142bbb9751b232b), the same bytes askausa-0.6.0.tgz. - SBOMs (CycloneDX 1.6):
kausa-0.6.0-linux-amd64.cdx.json,kausa-0.6.0-linux-arm64.cdx.json.
Verify
With cosign v3 or later; no login needed. Verify by digest: tags can be moved.
ID=https://github.com/fedeam/kausa/.github/workflows/release.yml@refs/tags/v0.6.0
ISSUER=https://token.actions.githubusercontent.com
cosign verify ghcr.io/fedeam/kausa@sha256:eb804398bd9ca085ba01f3600d7fd9e61b88e3abea4b5c935c20f958c87e4467 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/fedeam/kausa@sha256:eb804398bd9ca085ba01f3600d7fd9e61b88e3abea4b5c935c20f958c87e4467 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://cyclonedx.org/bom ghcr.io/fedeam/kausa@sha256:32b05342266cda024db352adac3dc3f4116f9c4a31d55bfc0ef7404e2fdd28bc --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://cyclonedx.org/bom ghcr.io/fedeam/kausa@sha256:db934367f8313311795a517fadd81cf42482e7149c575ddb8b58e9256d9051b4 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify ghcr.io/fedeam/charts/kausa@sha256:715fd6a3637c743b618517d04e4d9f9cc452d387cc6384302142bbb9751b232b --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/fedeam/charts/kausa@sha256:715fd6a3637c743b618517d04e4d9f9cc452d387cc6384302142bbb9751b232b --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/nullTo install exactly the chart you checked, compare it with the signed checksums
(on macOS, shasum -a 256 in place of sha256sum):
curl -fsSLO https://github.com/fedeam/kausa/releases/download/v0.6.0/SHA256SUMS
curl -fsSLO https://github.com/fedeam/kausa/releases/download/v0.6.0/SHA256SUMS.sigstore.json
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER"
helm pull oci://ghcr.io/fedeam/charts/kausa --version 0.6.0
sha256sum --ignore-missing -c SHA256SUMS
helm install kausa kausa-0.6.0.tgz -n kausa --create-namespace --set rbac.scope=cluster --set dryRun=trueWith the GitHub CLI, which needs gh auth login:
W=fedeam/kausa/.github/workflows/release.yml
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:eb804398bd9ca085ba01f3600d7fd9e61b88e3abea4b5c935c20f958c87e4467 --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.0
gh attestation verify oci://ghcr.io/fedeam/charts/kausa@sha256:715fd6a3637c743b618517d04e4d9f9cc452d387cc6384302142bbb9751b232b --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.0
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:32b05342266cda024db352adac3dc3f4116f9c4a31d55bfc0ef7404e2fdd28bc --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.0 --predicate-type https://cyclonedx.org/bom
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:db934367f8313311795a517fadd81cf42482e7149c575ddb8b58e9256d9051b4 --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.0 --predicate-type https://cyclonedx.org/bom
gh release download v0.6.0 --repo fedeam/kausa
gh attestation verify kausa-0.6.0.tgz --repo fedeam/kausa --bundle kausa-0.6.0.intoto.jsonl --signer-workflow "$W" --source-ref refs/tags/v0.6.0