Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
🧱 Add PodDisruptionBudget for gangway
Browse files Browse the repository at this point in the history
  • Loading branch information
TilBlechschmidt committed Dec 14, 2021
1 parent c5514ad commit 7ca8687
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions distribution/kubernetes/demo/charts/webgrid/templates/gangway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,14 @@ spec:
port: status
resources:
{{- toYaml .Values.resources.gangway | nindent 12 }}
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ include "web-grid.fullname" . }}-gangway
spec:
minAvailable: 1
selector:
matchLabels:
dev.webgrid/component: gangway
{{- include "web-grid.selectorLabels" . | nindent 6 }}
10 changes: 5 additions & 5 deletions distribution/kubernetes/demo/charts/webgrid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ config:
segmentDuration: 6

replicaCount:
api: 1
gangway: 1
manager: 1
collector: 1
orchestrator: 1
api: 2
gangway: 2
manager: 2
collector: 2
orchestrator: 2

image:
repository: webgrid
Expand Down

0 comments on commit 7ca8687

Please sign in to comment.