Skip to content

fix: k8s probe settings and default image pull - #29

Merged
donkeyx merged 4 commits into
masterfrom
fix/k8s-probe-pull-defaults
Aug 10, 2026
Merged

donkeyx merged 4 commits into
masterfrom
fix/k8s-probe-pull-defaults

Conversation

@donkeyx

@donkeyx donkeyx commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Drop explicit imagePullPolicy: Always (let kube defaults apply)
  • Pin sample image to donkeyx/cluster-utils-api:2.5.0 so default pull is IfNotPresent (note: bare :latest still defaults to Always in kube)
  • Readiness aligned with standard periodSeconds: 10 / failureThreshold: 3 (was 5s / 2 — a bit twitchy)
  • Liveness already matched defaults; startup still ~60s window for cold-start demos
  • Resource quantities as proper millicores/strings

Test plan

  • kubectl apply -f k8s-cluster-util-apis.yml and pod becomes Ready
  • optional: uncomment STARTUP_BOOT_DELAY and watch startupProbe

Use versioned image so kube default pull is IfNotPresent. Align
readiness with standard period/failureThreshold; keep short timeouts
for delay demos. Startup still ~60s cold-start window.
Prefer ghcr.io for the sample deploy. requests ~90% of observed
process RSS (~40Mi → 36Mi) and ~10m CPU; limits with headroom for GC.
@donkeyx
donkeyx merged commit 81201e6 into master Aug 10, 2026
3 checks passed
@donkeyx
donkeyx deleted the fix/k8s-probe-pull-defaults branch August 10, 2026 13:06

This branch was previously deployed

1 inactive deployment
ci — 6f0b2be9 Deployed Aug 10, 2026 by donkeyx via docker #65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant