Appendix A: Cheat sheet
The most important commands, measurement patterns, numbers and traps
from Day 0 to 15. The days are in parentheses. All commands run on s1
with export KUBECONFIG=/etc/rancher/k3s/k3s.yaml unless
stated otherwise. Replace placeholders in angle brackets.
The path of a request
Redirect: k6 (s1) → ServiceLB :80 → Envoy (2 Pods, zone-b/c)
BackendTrafficPolicy kurz-retry: global limit 50/s per X-Nutzer,
circuit breaker 100/20, retry, per-attempt timeout 300 ms, passive health check
→ kurz (3 Pods, one per zone, Linkerd proxy, timeout 2 s)
→ Valkey cluster valkey-cache:6379 (3 shards, cache-aside)
→ db-ro (replicas) → db-rw only if the replica does not know the code
→ click to NATS (core publish) → stream KLICKS (R3) → zaehler (KEDA 0–10) → db-pooler-rw
Create: Envoy → kurz → db-pooler-rw (PgBouncer, transaction) → primary
In the mesh: Pod last → linkerd-proxy → HTTPRoute kurz-mesh (retry 5xx, timeouts) → kurz
Cluster and kubectl (Day 0, 1, 2, 9, 15)
# Nodes with their zone
kubectl get nodes -L topology.kubernetes.io/zone
# Everything that is not running, across all namespaces
kubectl get pods -A --no-headers | grep -v -E 'Running|Completed'
# Pods with nodes
kubectl -n kurz get pods -l app=kurz -o wide
# Events of one reason, each message once (e.g. Failed, Unhealthy)
kubectl -n kurz get events --field-selector reason=Failed -o custom-columns=MELDUNG:.message --no-headers | sort -u
# Count log lines of all Pods in the last minute (without --tail=-1 only 10 lines per Pod)
kubectl -n kurz logs -l app=kurz -c kurz --since=1m --tail=-1 | cut -c21- | sort | uniq -c | sort -rn | head
# Log of a container's crashed predecessor
kubectl -n kurz logs <pod> -c kurz --previous | tail -2
# Resources of the Pod template
kubectl -n kurz get deploy kurz -o jsonpath='{.spec.template.spec.containers[0].resources}{"\n"}'
# What would apply change? (empty means: nothing, not necessarily: everything is the same)
kubectl diff -f <datei>.yaml
# Set the last-applied annotation to a file without applying anything
kubectl apply set-last-applied -f <datei>.yaml
# Remove a single field that apply does not know about
kubectl -n kurz patch deploy kurz --type json -p '[{"op":"remove","path":"/spec/template/spec/containers/0/resources/limits/cpu"}]'
# Force new Pods (only changes an annotation in the template)
kubectl -n kurz rollout restart deploy kurz
# Wait for a rollout, with a deadline
kubectl -n kurz rollout status deploy kurz --timeout=240s
# Endpoints of a Service with ready state
kubectl -n kurz get endpointslices -l kubernetes.io/service-name=kurz -o jsonpath='{range .items[*].endpoints[*]}{.targetRef.name} {.conditions.ready}{"\n"}{end}'
# Reserved CPU and memory per node
kubectl describe node <knoten> | grep -A8 'Allocated resources'
| Field |
Acts on |
Rule of thumb |
requests.cpu |
scheduler, HPA |
reference for percent in the HPA, space on the node |
limits.cpu |
kernel (CFS) |
budget per 100 ms, then throttling. For kurz: none (Day
2) |
limits.memory |
kernel (cgroup) |
whoever needs more gets OOMKilled, exit code 137 |
readinessProbe |
Service endpoints |
Pod gets traffic or not, no restart |
livenessProbe |
kubelet |
restart. Never check dependencies (Day 1) |
preStop.sleep |
rollout |
5 s pause until Envoy has forgotten the Pod (Day 4) |
Measuring (Day 2, 3, 9, 14)
# Fixed arrival rate, only the key metrics
k6 run -q -e ZIEL=http://172.16.0.126 -e RATE=<n> -e DAUER=20s mix.js 2>&1 | grep -E 'http_req_duration\.|http_req_failed\.|http_reqs\.|dropped' | sed 's/ */ /g'
# Count and p95 per status code (status.js from Day 11)
k6 run -q -e ZIEL=http://172.16.0.126 -e RATE=<n> -e NUTZER=<anzahl> status.js 2>&1 | grep -A1 -E '\{status:(302|429|503)\}' | sed 's/ */ /g' | grep -v '^--' | paste - -
# Load in the background, result later from the file
(k6 run -q -e ZIEL=http://172.16.0.126 -e RATE=<n> -e DAUER=60s mix.js > k6-lauf.txt 2>&1 &)
# Total utilization and biggest processes on the node
top -bn1 | sed -n 3p; top -bn1 -o %CPU | sed -n 8,12p | cut -c1-90
# CFS counters of a container via the API server (throttled periods)
kubectl get --raw /api/v1/nodes/<knoten>/proxy/metrics/cadvisor | grep -E '^container_cpu_cfs_(periods|throttled_periods)_total' | grep 'container="kurz"'
# Raw data of the Metrics API: usage and measurement window
kubectl get --raw /apis/metrics.k8s.io/v1beta1/namespaces/kurz/pods | jq -c '.items[] | {pod: .metadata.name, cpu: .containers[0].usage.cpu, window}'
# CPU per container (metrics-server, window ~15–20 s)
kubectl top pods -A --containers --no-headers
# Utilization of the nodes
kubectl top nodes --no-headers
# Committed transactions of the database kurz (read twice, difference divided by seconds)
kubectl -n kurz exec db-1 -c postgres -- psql -d kurz -tAc "select xact_commit from pg_stat_database where datname = 'kurz'"
| Term |
Rule of thumb |
constant-arrival-rate |
load arrives whether or not the system keeps up, like real
users |
dropped_iterations |
k6 could not sustain the rate; the measurement only counts what
arrived |
| Little’s Law |
concurrent = rate × duration, e.g. 8 connections ÷ 2617/s ≈ 3.1 ms
per request (Day 2) |
kubectl top |
average over 15–20 s. For short runs use cadvisor or
top (Day 2) |
| s1 as load generator |
meaningful up to about 3000/s; above that, you are measuring k6 (Day
2) |
Envoy Gateway and BackendTrafficPolicy (Day 3, 4, 11, 12)
# Gateway programmed, address present
kubectl -n kurz get gateway web
# Route accepted, backend found?
kubectl -n kurz get httproute kurz -o jsonpath='{range .status.parents[0].conditions[*]}{.type}={.status} {.reason}: {.message}{"\n"}{end}'
# Policy accepted? (second policy on the same route: Conflicted)
kubectl -n kurz get btp kurz-retry -o jsonpath='{range .status.ancestors[0].conditions[*]}{.type}={.status} {.reason}{"\n"}{end}'
# Which protection mechanisms are in the policy?
kubectl -n kurz get btp kurz-retry -o json | jq -c '.spec | keys'
# Envoy Pods and their nodes
kubectl -n envoy-gateway-system get pods -l app.kubernetes.io/component=proxy -o wide
# Envoy access log, e.g. which source IP arrives
kubectl -n envoy-gateway-system logs -l app.kubernetes.io/component=proxy -c envoy --tail=3
# Reconfigure Envoy Gateway later (release eg, keep values)
helm upgrade eg oci://docker.io/envoyproxy/gateway-helm --version v1.10.0 -n envoy-gateway-system --skip-crds --reuse-values -f eg-ratelimit.yaml --wait
# Deadline of the rate limit service in the Envoy Gateway configuration
kubectl -n envoy-gateway-system get cm envoy-gateway-config -o jsonpath='{.data.envoy-gateway\.yaml}' | grep timeout
You read the statistics of an Envoy Pod through its admin interface
on port 19000:
# For each Envoy Pod: port-forward, read counters, end the port-forward
for p in $(kubectl -n envoy-gateway-system get pods -l gateway.envoyproxy.io/owning-gateway-name=web -o name); do
kubectl -n envoy-gateway-system port-forward $p 19000:19000 >/dev/null 2>&1 & PF=$!; sleep 2
curl -s localhost:19000/stats | grep -E '<muster>'; kill $PF; sleep 1
done
| Counter (pattern) |
Meaning |
Day |
rule/0.ratelimit.(ok\|over_limit\|failure_mode_allowed) |
global limit: passed, rejected, let through
unchecked |
11 |
ratelimit_cluster.upstream_rq_timeout |
rate limit service did not answer within the deadline |
11 |
httproute/kurz.*upstream_rq_pending_overflow |
circuit breaker rejected (fast 503) |
11, 15 |
httproute/kurz.*upstream_rq_active |
requests to kurz currently open |
Appendix B |
| Field in the policy |
Value in the course |
Rule of thumb |
retry.retryOn.triggers |
connect-failure, refused-stream,
gateway-error |
retry rescues rejected connections, not hanging Pods |
retry.perRetry.timeout |
300 ms |
only with a deadline per attempt does retry help against slow Pods
(Day 12) |
timeout.tcp.connectTimeout |
1 s |
otherwise Envoy waits for a dead node |
healthCheck.passive |
3 local errors in a row, 30 s ejection |
field name consecutiveLocalOriginFailures (Day 4) |
rateLimit.global |
50/s per value of X-Nutzer (Distinct) |
no header, no limit. Locally the limit applies × Envoy Pods |
circuitBreaker |
maxParallelRequests 100,
maxPendingRequests 20 |
better a fast 503 than a slow 302 |
Valkey (Day 5)
# valkey-cli in the Pod, logged in as default
V="kubectl -n kurz exec valkey-cache-1-0-0 -c server -- valkey-cli -a lab-valkey-123 --no-auth-warning"
# State of the cluster
$V cluster info | grep -E 'cluster_state|cluster_slots_ok|cluster_known_nodes'
# Roles and slots
$V cluster nodes | awk '{print $2, $3, $9}' | sed 's/@[0-9]*//' | sort -k2
# Reset the statistics of all nodes
$V --cluster call 127.0.0.1:6379 CONFIG RESETSTAT
# Hits and misses summed over all nodes
$V --cluster call 127.0.0.1:6379 INFO stats | grep -E 'keyspace_(hits|misses)|evicted_keys' | tr -d '\r' | awk -F: '{s[$1]+=$2} END {for (k in s) print k, s[k]}'
# Memory and limit per node
$V --cluster call 127.0.0.1:6379 INFO memory | grep -E '^(used_memory_human|maxmemory_human):'
# Keys per node
$V --cluster call 127.0.0.1:6379 DBSIZE
# Empty the cache on all nodes (for measurements only)
$V --cluster call 127.0.0.1:6379 FLUSHALL
# Slot of a key
$V cluster keyslot "link:<code>"
# State of the operator's resource
kubectl -n kurz get valkeycluster cache -o jsonpath='{.status.state} {.spec.config}{"\n"}'
maxmemory below the base usage (~3.5 MB per node):
every SET fails with OOM, zero hits. A cache
that is too small is worse than none (Day 5).
- A cold cache under full load does not fill up if requests abort
before the
SET. Warm it with little load first (Appendix
B).
- Primary failure: the replica takes over,
cluster_state:ok, but kurz without its own
cache timeout waits until the request timeout (Day 5).
PostgreSQL with CloudNativePG (Day 1, 6, 7)
# State: instances, ready, phase, primary
kubectl -n kurz get cluster db
# In detail, with roles and lag (plugin kubectl-cnpg)
kubectl cnpg status db -n kurz | sed -n '/Instances status/,$p'
# Planned change of the primary (switchover)
kubectl cnpg promote db <instanz> -n kurz
# Current primary and ready instances
kubectl -n kurz get cluster db -o jsonpath='{.status.currentPrimary} {.status.readyInstances}{"\n"}'
# Wait for three ready instances (kubectl wait sees the old condition)
until [ "$(kubectl -n kurz get cluster db -o jsonpath='{.status.readyInstances}')" = 3 ]; do sleep 3; done
# Replication as seen by the primary
kubectl -n kurz exec db-1 -c postgres -- psql -tAc "select application_name, state, sync_state, pg_wal_lsn_diff(sent_lsn, replay_lsn), replay_lag from pg_stat_replication order by 1"
# Pause and resume replay on a replica
kubectl -n kurz exec db-2 -c postgres -- psql -tAc "select pg_wal_replay_pause()"
kubectl -n kurz exec db-2 -c postgres -- psql -tAc "select pg_wal_replay_resume()"
# Connections by user and state
kubectl -n kurz exec db-1 -c postgres -- psql -tAc "select usename, state, count(*) from pg_stat_activity group by 1, 2 order by 3 desc"
# What are the sessions waiting for? (locks, deadlocks)
kubectl -n kurz exec db-1 -c postgres -- psql -d kurz -tAc "SELECT wait_event_type, wait_event, state, count(*) FROM pg_stat_activity WHERE datname = 'kurz' GROUP BY 1, 2, 3 ORDER BY 4 DESC"
# Hibernation on and off
kubectl -n kurz annotate cluster db --overwrite cnpg.io/hibernation=on
# Fence instances and release them again
kubectl -n kurz annotate cluster db cnpg.io/fencedInstances='["db-2","db-3"]' --overwrite
kubectl -n kurz annotate cluster db cnpg.io/fencedInstances-
# Configuration of the pooler in the Pod
kubectl -n kurz exec deploy/db-pooler-rw -c pgbouncer -- grep -E 'server_login_retry|server_connect_timeout|pool_mode' /controller/configs/pgbouncer.ini
# PgBouncer statistics via the admin console
kubectl -n kurz exec deploy/db-pooler-rw -c pgbouncer -- psql -p 5432 -U pgbouncer pgbouncer -c 'show pools'
| Service |
Points to |
In kurz |
db-rw |
primary |
only via the pooler now |
db-ro |
replicas |
KURZ_DB_LESEN with connect_timeout=2 |
db-pooler-rw |
PgBouncer → primary |
KURZ_DB with connect_timeout=2 |
- Without
connect_timeout, writes hang for about two
minutes after a switchover: SYN to a Service IP whose target is gone
(Day 7).
- PgBouncer with default values:
server_login_retry 15 s.
With 1 s and server_connect_timeout 2 s, the errors of a
switchover drop from 5.4 % to 1.8 % (Day 7).
- Synchronous replication: after fencing the replicas, the client sees
an error, but the row is still stored locally (Day 6).
NATS JetStream (Day 8, 10, 14)
# CLI with address and credentials
N="nats -s nats://kurz:lab-nats-123@$(kubectl -n nats get svc nats -o jsonpath='{.spec.clusterIP}'):4222"
# User, server, JetStream present?
$N account info | grep -E 'User:|Connected Server (Name|Version)|Streams:'
# State, limits and leader of the stream
$N stream info KLICKS --json | jq -c '{messages: .state.messages, bytes: .state.bytes, last_seq: .state.last_seq, max_bytes: .config.max_bytes, discard: .config.discard, leader: .cluster.leader}'
# Backlog and unacknowledged messages of the consumer
$N consumer info KLICKS zaehler --json | jq -c '{pending: .num_pending, ack_pending: .num_ack_pending, max_ack_pending: .config.max_ack_pending}'
# Raise the limit of unacknowledged messages (until the next start of zaehler)
$N consumer edit KLICKS zaehler --max-pending 5000 -f
# Stream resource applied by NACK?
kubectl -n kurz get streams.jetstream.nats.io klicks -o jsonpath='{.status.conditions[0].type}={.status.conditions[0].status}{"\n"}'
# Sum of counted clicks on the primary
kubectl -n kurz exec $(kubectl -n kurz get cluster db -o jsonpath='{.status.currentPrimary}') -c postgres -- psql -d kurz -tAc 'SELECT sum(anzahl) FROM klicks'
- Core publish (
kurz:1.0 and 1.6) gets no
acknowledgment: what the stream does not accept is silently gone. 48 out
of 59,621 during a leader change (Day 8), all of them with a full stream
and discard: new (Appendix B).
- Counting exactly once = delivering at least once + dedupe in
klicks_verarbeitet (Day 8).
- 1 GiB volume per NATS Pod: 228 MB for 5 million clicks; after about
17 million more it is full, and JetStream accepts nothing more (Day
14).
HPA and KEDA (Day 9, 10, 13)
# Current, desired, last scaling
kubectl -n kurz get hpa kurz -o jsonpath='{.status.currentMetrics[0].resource.current.averageUtilization}% soll={.status.desiredReplicas} zuletzt={.status.lastScaleTime}{"\n"}'
# Can the HPA calculate? (ScalingActive)
kubectl -n kurz get hpa keda-hpa-kurz -o jsonpath='{.status.conditions[?(@.type=="ScalingActive")].status} {.status.conditions[?(@.type=="ScalingActive")].reason}{"\n"}'
# Conditions and events in detail
kubectl -n kurz describe hpa keda-hpa-kurz | sed -n '/Conditions/,$p'
# ScaledObjects with limits and triggers
kubectl -n kurz get scaledobjects -o custom-columns=NAME:.metadata.name,MIN:.spec.minReplicaCount,MAX:.spec.maxReplicaCount,TRIGGER:.spec.triggers[*].type
# Pin the Pod count (measurement, maintenance) and release it again
kubectl -n kurz annotate scaledobject zaehler autoscaling.keda.sh/paused-replicas=<n> --overwrite
kubectl -n kurz annotate scaledobject zaehler autoscaling.keda.sh/paused-replicas-
# Paused? Fallback active?
kubectl -n kurz get scaledobject zaehler -o jsonpath='{.status.conditions[?(@.type=="Paused")].status} {.status.conditions[?(@.type=="Fallback")].status}{"\n"}'
# The value KEDA delivers to the HPA
kubectl get --raw "/apis/external.metrics.k8s.io/v1beta1/namespaces/kurz/s0-nats-jetstream-KLICKS?labelSelector=scaledobject.keda.sh%2Fname%3Dzaehler" | jq -r '.items[0].value'
| Setting |
Value in the course |
Rule of thumb |
HPA target kurz |
200 % of 250m |
without a CPU limit, over 100 % is possible and necessary (Day
9) |
KEDA kurz |
cpu 200 % + cron, min 3 |
one Pod per zone (Day 13) |
KEDA zaehler |
lagThreshold 500, 0–10, brake 2 Pods/15 s, fallback
4 |
desired = ⌈backlog ÷ 500⌉ (Day 10) |
replicas in the manifest |
deleted |
otherwise every apply resets the autoscaler (Day
9) |
| Proxy requests |
config.linkerd.io/proxy-cpu-request: 100m |
without a CPU request in one container, the HPA does not calculate
(Day 13) |
Linkerd (Day 12)
# Control plane healthy?
linkerd check | tail -1
# Does every kurz Pod have its proxy (native sidecar among the init containers)?
kubectl -n kurz get pods -l app=kurz -o jsonpath='{range .items[*]}{.metadata.name} {.status.initContainerStatuses[?(@.name=="linkerd-proxy")].ready}{"\n"}{end}'
# Who talks with mTLS, with which identity?
linkerd diagnostics proxy-metrics -n kurz <pod> | grep '^inbound_http_authz_allow_total'
# Retries a client's proxy has made
linkerd diagnostics proxy-metrics -n kurz <pod> | grep '^outbound_http_route_retry_requests_total' | awk '{s+=$NF} END {print s+0}'
# Who accepted the route? (Linkerd yes, Envoy Gateway no)
kubectl -n kurz get httproute kurz-mesh -o jsonpath='{range .status.parents[*]}{.controllerName}: {range .conditions[*]}{.type}={.status} {end}{"\n"}{end}'
# Retry and timeout annotations of the route
kubectl -n kurz get httproute kurz-mesh -o jsonpath='{.metadata.annotations}' | jq -c 'with_entries(select(.key|startswith("retry") or startswith("timeout")))'
# Load from inside the mesh: k6 in the Pod last directly against the Service
kubectl -n kurz exec deploy/last -c k6 -- k6 run -q -e ZIEL=http://kurz.kurz.svc.cluster.local -e RATE=200 -e DAUER=30s status2.js
| Annotation |
Value in the course |
Where |
linkerd.io/inject |
enabled |
Pod template |
retry.linkerd.io/http,
retry.linkerd.io/limit |
5xx, "2" |
HTTPRoute kurz-mesh |
retry.linkerd.io/timeout,
timeout.linkerd.io/request |
300ms, 1s |
HTTPRoute kurz-mesh |
balancer.linkerd.io/failure-accrual |
consecutive, max. 3 errors |
Service kurz |
- An HTTPRoute with the Service as
parentRef applies to
all requests to the Service in the mesh. Whatever
matches no rule, the proxy answers with 404. Hence the rule
PathPrefix / (Appendix B).
- The proxy costs ~370–420m CPU per Pod at 1000/s (Day 12), a quarter
of the CPU of the whole stack (Day 14).
Zones, drain and PDB (Day 13)
# What is where? (one namespace, node per Pod)
kubectl -n kurz get pods -o custom-columns=NAME:.metadata.name,NODE:.spec.nodeName
# PDBs with allowed disruptions
kubectl get pdb -A -o custom-columns=NS:.metadata.namespace,NAME:.metadata.name,ERLAUBT:.status.disruptionsAllowed
# Drain a node, PDBs are respected, with a deadline
kubectl drain <knoten> --ignore-daemonsets --delete-emptydir-data --timeout=150s
# Evict only certain Pods
kubectl drain <knoten> --ignore-daemonsets --delete-emptydir-data --pod-selector=app=kurz --timeout=60s
# Release the node again
kubectl uncordon <knoten>
# Pods that cannot be scheduled
kubectl get pods -A --field-selector status.phase=Pending
# Spreading rule in the Deployment
kubectl -n kurz get deploy kurz -o jsonpath='{.spec.template.spec.topologySpreadConstraints[0]}{"\n"}'
# on s2: cut zone b off from the rest, marked with a comment
for ip in 172.16.0.126 172.16.0.83; do
sudo iptables -I INPUT -s $ip -j DROP -m comment --comment <name>
sudo iptables -I OUTPUT -d $ip -j DROP -m comment --comment <name>
done
# Safety net: after 180 s delete all rules with this comment
sudo systemd-run --quiet --on-active=180 --unit=<name>-frei sh -c 'iptables -S | grep <name> | sed s/^-A/-D/ | while read r; do iptables $r; done'
nodeTaintsPolicy: Honor, otherwise a cordoned node
counts as a zone with 0 Pods and blocks the replacement (Day 13).
- After
uncordon, Kubernetes does not redistribute
running Pods. Only the next rollout does.
- Pods with a
local-path volume (NATS, CNPG) do not move
during a drain; they wait for their node.
Measured figures
| Quantity |
Measured |
Day |
kurz directly, 2 Pods, mix |
2000/s p95 63 ms, 4000/s 5.4 % errors |
2 |
Requests per CPU second (kurz alone) |
~1200 |
2 |
| CPU limit 500m at 2000/s |
69 % errors, without limit 0 |
2 |
| Gateway versus direct, 1000/s |
p95 40 instead of 9 ms (Envoy on s1), 32 ms (Envoy on s2/s3) |
3 |
kill -9 of a Pod under 800/s |
287 errors, with retry 16–22 |
4 |
| Rollout under 800/s |
13–47 errors, with preStop 0–1 |
4 |
| Node gone, 600/s |
1047 errors p95 4.2 s, with protection 228 errors p95 13 ms |
4 |
| Cache, skewed 1500/s |
p95 131 → 85 ms, DB 1324 → 113 xact/s, 97.5 % hits |
5 |
Switchover without / with connect_timeout |
8 % / 1.4 % errors |
7 |
| Clicks synchronous / via NATS, 1000/s |
453/s p95 1.24 s / 994/s p95 54 ms |
8 |
zaehler with deadlocks / with
ORDER BY |
10 Pods 299/s / 960/s |
10 |
| Linkerd, 1000/s |
p95 108–158 instead of 64–71 ms |
12 |
| Zone outage with the primary, first window |
42 %, with readiness without dependencies 6 % |
13 |
| Whole stack, mix |
1000/s p95 171 ms 0 %, 1500/s 4.5 % errors |
14 |
| CPU per request |
~4.5 ms, of which kurz 0.9 ms |
14 |
| Capacity with zone reserve |
~400–500/s |
14 |
| Link in PostgreSQL / click in the stream |
~180 bytes / ~46 bytes |
14 |
The traps from the course
| Trap |
Day |
runAsNonRoot with distroless nonroot (name
instead of UID) → CreateContainerConfigError |
1, 8 |
Readiness timeout 1 s = internal check 1 s → misleading
context deadline exceeded |
1 |
| Liveness checks dependencies → restarts instead of waiting |
1 |
kubectl set / patch next to
apply: field missing in last-applied,
apply leaves it in place, diff is empty |
2, 15 |
replace without --save-config → annotation
missing |
2 |
A CPU limit throttles in 100 ms periods, long before
top shows 100 % |
2 |
helm install of Envoy Gateway with CRDs fails on the
Gateway API CRDs from k3s |
3 |
ServiceLB does SNAT: the SourceIP hash only sees
svclb |
3 |
Two BackendTrafficPolicies on one route →
Conflicted |
11 |
| A local limit applies per Envoy Pod |
11 |
Rate limit service gone or too slow → fail open
(failure_mode_allowed) |
11 |
node.spread Required for shard and primaries →
Pending |
5 |
kubectl wait on a condition that the old state still
satisfies |
6 |
Switchover without connect_timeout → writes hang ~2
min |
7 |
| Core publish without ack → silent losses |
8 |
HPA minReplicas: 0 only with an Object or External
metric |
9 |
replicas in the manifest next to an autoscaler |
9 |
| Limit = request → utilization never above 100 %, an HPA with a 200 %
target never scales |
9 |
| More workers → more deadlocks, as long as locks are unordered |
10 |
| Container without a CPU request (Linkerd proxy) → HPA does not
calculate |
13 |
| Readiness checks shared dependencies → a zone outage takes healthy
Pods with it |
13 |
pkill -f also hits your own session |
13 |
| A NetworkPolicy only affects new connections; the rollout gets
stuck |
1, 15 |
paused-replicas=0 looks like scale-to-zero |
15 |