Skip to content

Commit

Permalink
disabled HA for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk committed Oct 24, 2024
1 parent 09b647e commit 8edd7e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/victoria-logs-single/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
{{- $ctx := dict "helm" . "appKey" "server" }}
{{- $fullname := include "vm.plain.fullname" $ctx }}
{{- if and $app.enabled (not $app.statefulSet.enabled) -}}
{{- if gt (int $app.replicaCount) 1 }}
{{- fail "VictoriaLogs HA mode is not supported for Deployment. Consider switching to statefulset instead using `server.statefulSet.enabled: true`" -}}
{{- end }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit 8edd7e1

Please sign in to comment.