Sync the self-hosting stack
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user