aboutsummaryrefslogtreecommitdiffstats
path: root/k8s
diff options
context:
space:
mode:
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