Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions internal/embed/infrastructure/base/templates/x402.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ metadata:
labels:
app: x402-verifier
spec:
replicas: 2
# Single replica — verifier holds per-pod metric registries and per-pod
# informer caches; multiple replicas produce metric series drift across
# ServiceMonitor scrape rotations and the pruneSeriesNotIn GC (metrics.go)
# becomes inconsistent. Single-node k3d gains no HA from 2 replicas.
replicas: 1
selector:
matchLabels:
app: x402-verifier
Expand Down Expand Up @@ -321,18 +325,6 @@ spec:
targetPort: http
protocol: TCP

---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: x402-verifier
namespace: x402
spec:
minAvailable: 1
selector:
matchLabels:
app: x402-verifier

---
# ServiceMonitor for x402-verifier — scrapes the stable Service endpoint
# rather than per-pod IPs (which is what a PodMonitor would do). Lives
Expand Down