Repository navigation
feat(chart): authz sidecar resources, 2 controller replicas, an ext_authz canary, a priority class for the soak loader (#799) - #811
Merged
Conversation
…uthz canary, a priority class for the soak loader (#799) aether chart 0.92.26: - The authz (OPA) sidecar ran with `resources: {}` on every node: unbounded, and invisible to node request accounting. `proxy.authzSidecar.resources` defaults to 10m / 32Mi requests and a 128Mi memory limit (idle OPA 1.20.2 measured ~10Mi / ~0m). No CPU limit: it is on the request path, and throttling turns into ext_authz timeouts, i.e. 403s under failureMode DENY. - OPA 1.20 deprecates `--disable-telemetry`; the preset now passes `--skip-version-check`, before a future OPA drops the old flag and the sidecar stops starting. - `controller.replicaCount` 1 -> 2, with a preferred anti-affinity between the replicas. Reconcilers stay leader-elected; the point is the admission webhooks, which every replica serves and which are failurePolicy: Ignore — while none answers, a pod created in an aether.io/managed namespace is admitted unmeshed. Deleting the single replica measured a 49 s gap on talos-main. prober chart 0.4.0 — `authzCanary` (default off): Envoy's OTLP stats sink only flushes counters that have been used, so a cluster where no route opts into ext_authz exports no ext_authz statistics at all and has no evidence the sidecar still evaluates policy (the 1.18.2 -> 1.20.2 bump could only be validated as "starts, compiles, listens"). The canary is a dedicated `authz-echo` target with an extAuthz HTTPFilter and a client asserting, every cycle, 200 with the allow header and 403 without. Its own target on purpose: putting the filter on the prober's `echo` would change what every soak baseline measured. e2e/soak: the k6 runner gets PriorityClass `aether-soak-loader` (1000, preemptionPolicy Never). A runner is a DaemonSet pod and cannot move; on a full node the scheduler picked it twice as the victim for a surging aether-proxy pod and that node's end-of-test summary was lost. Above the priority-0 test workloads the victim becomes a svc-N pod, which reschedules elsewhere for free. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
This was referenced Sep 19, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Items 3 and 4 of the pending ranking; part of #799.
aether chart 0.92.26:
resources: {}on every node: unbounded, andinvisible to node request accounting.
proxy.authzSidecar.resourcesdefaults to10m / 32Mi requests and a 128Mi memory limit (idle OPA 1.20.2 measured ~10Mi /
~0m). No CPU limit: it is on the request path, and throttling turns into
ext_authz timeouts, i.e. 403s under failureMode DENY.
--disable-telemetry; the preset now passes--skip-version-check, before a future OPA drops the old flag and the sidecarstops starting.
controller.replicaCount1 -> 2, with a preferred anti-affinity between thereplicas. Reconcilers stay leader-elected; the point is the admission webhooks,
which every replica serves and which are failurePolicy: Ignore — while none
answers, a pod created in an aether.io/managed namespace is admitted unmeshed.
Deleting the single replica measured a 49 s gap on talos-main.
prober chart 0.4.0 —
authzCanary(default off): Envoy's OTLP stats sink onlyflushes counters that have been used, so a cluster where no route opts into
ext_authz exports no ext_authz statistics at all and has no evidence the sidecar
still evaluates policy (the 1.18.2 -> 1.20.2 bump could only be validated as
"starts, compiles, listens"). The canary is a dedicated
authz-echotarget with anextAuthz HTTPFilter and a client asserting, every cycle, 200 with the allow header
and 403 without. Its own target on purpose: putting the filter on the prober's
echowould change what every soak baseline measured.e2e/soak: the k6 runner gets PriorityClass
aether-soak-loader(1000,preemptionPolicy Never). A runner is a DaemonSet pod and cannot move; on a full
node the scheduler picked it twice as the victim for a surging aether-proxy pod
and that node's end-of-test summary was lost. Above the priority-0 test workloads
the victim becomes a svc-N pod, which reschedules elsewhere for free.
Verified:
bazel test //charts/...and strict//website:allgreen; both charts rendered withhelm template; the canary objects (incl. the HTTPFilter, through the admission webhook) and the k6 manifest passkubectl apply --dry-run=serveron talos-main;opa run --helpon 1.20.2 lists--skip-version-check.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr