aboutsummaryrefslogtreecommitdiffstats
path: root/k8s
diff options
context:
space:
mode:
authorHunter Casten <41604962+enchantednatures@users.noreply.github.com>2025-03-09 15:43:27 -0600
committerGitHub <noreply@github.com>2025-03-09 21:43:27 +0000
commit544f3370da3bc72a2b5238c5875f247778d014d4 (patch)
treebc8b91c6ac5c5296a6b18c38519545dd9777ee57 /k8s
parentfix: up binding with fish 4.0 (#2613) (#2616) (diff)
downloadatuin-544f3370da3bc72a2b5238c5875f247778d014d4.zip
feat(health): add health check endpoint at `/healthz` (#2549)
* feat(health): add health check endpoint at `/healthz` * feat(health-check): remove invalid health-check from docker compose
Diffstat (limited to 'k8s')
-rw-r--r--k8s/atuin.yaml19
1 files changed, 18 insertions, 1 deletions
diff --git a/k8s/atuin.yaml b/k8s/atuin.yaml
index 2a9cb82a..7f7174fe 100644
--- a/k8s/atuin.yaml
+++ b/k8s/atuin.yaml
@@ -33,7 +33,7 @@ spec:
image: ghcr.io/atuinsh/atuin:latest
name: atuin
ports:
- - containerPort: 8888
+ - containerPort: &port 8888
resources:
limits:
cpu: 250m
@@ -41,6 +41,23 @@ spec:
requests:
cpu: 250m
memory: 1Gi
+ startupProbe:
+ httpGet:
+ path: /healthz
+ port: *port
+ failureThreshold: 30
+ periodSeconds: 10
+ livenessProbe:
+ httpGet:
+ path: /healthz
+ port: *port
+ initialDelaySeconds: 3
+ periodSeconds: 3
+ readinessProbe:
+ tcpSocket:
+ port: *port
+ initialDelaySeconds: 15
+ periodSeconds: 10
volumeMounts:
- mountPath: /config
name: atuin-claim0