Skip to content

Commit

Permalink
Add PodDisruptionBudget(PDB) for relations and spiceDB
Browse files Browse the repository at this point in the history
- Add a PDB for relations and spiceDB
- Minimum of 1 pod available as a PDB
  • Loading branch information
Rajagopalan-Ranganathan committed Oct 16, 2024
1 parent accb34b commit cf22ddd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions deploy/kessel-relations-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,24 @@ objects:
public:
enabled: true
apiPath: authz
- kind: PodDisruptionBudget
apiVersion: policy/v1
metadata:
name: kessel-relations-api-pdb
spec:
minAvailable: 1
selector:
matchLabels:
app: kessel-relations
- kind: PodDisruptionBudget
apiVersion: policy/v1
metadata:
name: kessel-spicedb-pdb
spec:
minAvailable: 1
selector:
matchLabels:
app.kubernetes.io/instance: kessel-relations-spicedb-spicedb
parameters:
- description: Name of the ClowdApp
name: CLOWDAPP_NAME
Expand Down

0 comments on commit cf22ddd

Please sign in to comment.