All checks were successful
deploy / deploy (push) Successful in 48s
Instead of fetching up to 50k inventory snapshots (~442MB), scope the query to only the time range of the current submission batch with a 15-minute buffer. For a typical 1-hour batch this drops from 50k rows to ~300 rows, well within the 1280Mi pod memory limit. The coalesced_at_idx on intent_inventory_snapshots covers the BETWEEN clause so this remains efficient. Proof: history-writer OOM kills from refreshQuoteOutcomes inventory fetch Assumptions: 15min buffer covers the attribution window for all submissions Still fake: heuristic gap outcomes may attribute trades imprecisely
23 lines
513 B
YAML
23 lines
513 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: debug-disk
|
|
namespace: kube-system
|
|
spec:
|
|
hostPID: true
|
|
hostNetwork: true
|
|
tolerations:
|
|
- operator: Exists
|
|
containers:
|
|
- name: shell
|
|
image: alpine
|
|
command: ["/bin/sh", "-c", "df -h /host; du -sh /host/var/lib/rancher/k3s/storage/* 2>/dev/null; sleep 3600"]
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- name: host-root
|
|
mountPath: /host
|
|
volumes:
|
|
- name: host-root
|
|
hostPath:
|
|
path: /
|