-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support for PodDisruptionBudget for Broker nodes in High Availability mode - Resolves #107 * Readiness check reliability improvements * Config-sync improvements in High Availability mode * Readiness check clearer logging
- Loading branch information
1 parent
66142a2
commit 3282cd1
Showing
10 changed files
with
155 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# PodDisruptionBudget for Statefulsets | ||
{{- if .Values.solace.podDisruptionBudgetForHA }} | ||
{{- if .Values.solace.redundancy }} | ||
{{ if $.Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" -}} | ||
apiVersion: policy/v1 | ||
{{- else -}} | ||
apiVersion: policy/v1beta1 | ||
{{- end }} | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: {{ template "solace.fullname" . }} | ||
labels: | ||
app.kubernetes.io/name: {{ template "solace.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
spec: | ||
minAvailable: 2 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: {{ template "solace.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.