Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions hack/values-prd.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
namespace: paperdebugger

nodeSelector:
kubernetes.io/hostname: xtras3
cloudflareNodeSelector:
kubernetes.io/hostname: nuc
nodeSelector: {}
cloudflareNodeSelector: {}

mongo:
in_cluster: false
26 changes: 19 additions & 7 deletions helm-chart/templates/cloudflare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- name: net.ipv4.ping_group_range
value: "65532 65532"
containers:
- image: cloudflare/cloudflared:latest
- image: {{ .Values.cloudflared.image }}
name: cloudflared
env:
# Defines an environment variable for the tunnel token.
Expand All @@ -50,16 +50,28 @@ spec:
- --protocol
- http2
- --loglevel
- debug
- info
- --metrics
- 0.0.0.0:2000
- run
livenessProbe:
resources:
{{- toYaml .Values.cloudflared.resources | nindent 12 }}
# cloudflared's /ready returns 200 only when at least one tunnel
# connection is active. Cloudflare rotates edge connections
# periodically, so transient /ready failures are expected and
# cloudflared reconnects on its own. We therefore drop livenessProbe
# (which was killing healthy pods on every reconnect) and rely on
# startupProbe for first-connect tolerance plus readinessProbe for
# rolling-deploy gating.
startupProbe:
httpGet:
# Cloudflared has a /ready endpoint which returns 200 if and only if
# it has an active connection to Cloudflare's network.
path: /ready
port: 2000
failureThreshold: 1
initialDelaySeconds: 10
periodSeconds: 10
failureThreshold: 30
readinessProbe:
httpGet:
path: /ready
port: 2000
periodSeconds: 10
failureThreshold: 3
10 changes: 10 additions & 0 deletions helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ paperdebuggerXtraMcpServer:
nodeSelector: {}
cloudflareNodeSelector: {}

cloudflared:
image: cloudflare/cloudflared:2026.5.0
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi

mongo:
in_cluster: true
uri: "" # if in_cluster is false, use the external mongo instead
Expand Down
124 changes: 41 additions & 83 deletions webapp/_webapp/bun.lock

Large diffs are not rendered by default.

Loading
Loading