File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ {{- if .Values.api.pdb.enabled }}
2
+ ---
3
+ apiVersion : policy/v1
4
+ kind : PodDisruptionBudget
5
+ metadata :
6
+ name : {{ .Release.Name }}-api
7
+ labels :
8
+ {{- include "azimuth-llm.labels" . | nindent 4 }}
9
+ spec :
10
+ {{- with .Values.api.pdb.minAvailable }}
11
+ minAvailable : {{ . }}
12
+ {{- end }}
13
+ {{- with .Values.api.pdb.maxUnavailable }}
14
+ maxUnavailable : {{ . }}
15
+ {{- end }}
16
+ selector :
17
+ matchLabels :
18
+ {{- include "azimuth-llm.api-selectorLabels" . | nindent 6 }}
19
+ {{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.ui.pdb.enabled }}
2
+ ---
3
+ apiVersion : policy/v1
4
+ kind : PodDisruptionBudget
5
+ metadata :
6
+ name : {{ .Release.Name }}-ui
7
+ labels :
8
+ {{- include "azimuth-llm.labels" . | nindent 4 }}
9
+ spec :
10
+ {{- with .Values.ui.pdb.minAvailable }}
11
+ minAvailable : {{ . }}
12
+ {{- end }}
13
+ {{- with .Values.ui.pdb.maxUnavailable }}
14
+ maxUnavailable : {{ . }}
15
+ {{- end }}
16
+ selector :
17
+ matchLabels :
18
+ {{- include "azimuth-llm.ui-selectorLabels" . | nindent 6 }}
19
+ {{- end }}
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ api:
102
102
tolerations : []
103
103
# Pod affinities
104
104
affinity : {}
105
+ # Pod disruption budget config
106
+ pdb :
107
+ enabled : false
108
+ # Only one of these should be set
109
+ # minAvailable:
110
+ # maxUnavailable:
105
111
106
112
# Configuration for the frontend web interface
107
113
ui :
167
173
tolerations : []
168
174
# Pod affinities
169
175
affinity : {}
176
+ # Pod disruption budget config
177
+ pdb :
178
+ enabled : false
179
+ # Only one of these should be set
180
+ # minAvailable:
181
+ # maxUnavailable:
You can’t perform that action at this time.
0 commit comments