Skip to content

Commit 1e83939

Browse files
committed
orca-chart: Correct probe docs after review
1 parent 56af1bc commit 1e83939

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

orca-chart/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ orca:
146146

147147
A cold *Varnish Orca* pod is not ready the moment the container starts. It compiles one VCL group per entry in `orca.virtual_registry.registries`, roughly 4 seconds each, and the artifact firewall performs an initial ruleset sync that blocks startup. That sync takes seconds against a warm cache, but it can take several minutes on a cold one, longer still when several replicas compete for the same CPU.
148148

149-
The chart handles this with a startup probe rather than by padding the liveness and readiness probes. Kubernetes suspends both of those for as long as a startup probe is still failing, so a slow first boot never trips a restart, and the pod is kept out of the Service until it can actually serve.
149+
The chart handles this with a startup probe rather than by padding the liveness and readiness probes. Kubernetes suspends both of those for as long as a startup probe is still failing, so a slow first boot never trips a restart, and readiness keeps the pod out of the main Service until it can actually serve.
150+
151+
The headless companion Service that `kind: StatefulSet` creates is deliberately exempt: it sets `publishNotReadyAddresses: true`, so each pod's stable DNS name resolves throughout startup. That is what makes a pod addressable before it is ready, which is the point of the headless Service. Only the main Service gates on readiness.
150152

151153
The default budget is 5 minutes, `failureThreshold: 60` at `periodSeconds: 5`. If your pods are killed mid-boot with `Startup probe failed`, raise `failureThreshold`:
152154

orca-chart/values.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ resources: {}
103103
# the startup budget is what has to cover a cold start.
104104
#
105105
# That budget is deliberately generous, because it scales with things the
106-
# chart cannot see: roughly 4s per `orca.virtual_registry` VCL group, plus the
107-
# artifact firewall's initial ruleset sync, which blocks startup. The sync
108-
# takes seconds against a warm cache, but minutes on a cold one, more still
109-
# when several replicas compete for the same CPU. failureThreshold multiplied
110-
# by periodSeconds is the total, 5 minutes here. Raise failureThreshold if you
111-
# add registries or run on a slow or contended node.
106+
# chart cannot see: roughly 4s per entry in `orca.virtual_registry.registries`,
107+
# plus the artifact firewall's initial ruleset sync, which blocks startup. The
108+
# sync takes seconds against a warm cache, but minutes on a cold one, more
109+
# still when several replicas compete for the same CPU. failureThreshold
110+
# multiplied by periodSeconds is the total, 5 minutes here. Raise
111+
# failureThreshold if you add registries or run on a slow or contended node.
112112
startupProbe:
113113
httpGet:
114114
path: /readyz

0 commit comments

Comments
 (0)