Sync the self-hosting stack

This commit is contained in:
2026-08-27 17:52:23 +02:00
parent af6710d849
commit 02ab18aff1
12 changed files with 1407 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# What a node drain may take away.
#
# `minAvailable: 1` on both, so a cluster upgrade cannot evict the last pod of either. With the
# API's 90-second grace period a drain will take a minute or two per pod — that is the run drain
# doing its job, not a stall.
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: jarvis-api
namespace: jarvis
spec:
minAvailable: 1
selector:
matchLabels:
app.kubernetes.io/name: jarvis
app.kubernetes.io/component: api
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: jarvis-web
namespace: jarvis
spec:
minAvailable: 1
selector:
matchLabels:
app.kubernetes.io/name: jarvis
app.kubernetes.io/component: web