Skip to content

Commit

Permalink
Add scheduled overrides feature (#750)
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Rodionov <[email protected]>
  • Loading branch information
oleksiimorozenko and goruha authored Oct 2, 2024
1 parent 0645fac commit 9d4238a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ spec:
duration: "{{ .Values.max_duration }}"
{{- end }}
{{- end }}
{{- if .Values.scheduled_overrides }}
scheduledOverrides:
{{- with $.Values.scheduled_overrides }}{{ toYaml . | trim | nindent 8 }}{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,15 @@ pull_driven_scaling_enabled: false
#labels:
# - "Ubuntu"
# - "core-example"
# Override minReplicas to 1 on weekends and during non-working hours
#scheduled_overrides:
# - startTime: "2023-06-30T19:00:00+03:00"
# endTime: "2023-07-03T07:00:00+03:00"
# recurrenceRule:
# frequency: Weekly
# minReplicas: 1
# - startTime: "2023-07-03T19:00:00+03:00"
# endTime: "2023-07-04T07:00:00+03:00"
# recurrenceRule:
# frequency: Daily
# minReplicas: 1

0 comments on commit 9d4238a

Please sign in to comment.