Skip to content

Commit

Permalink
Config cron trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Jun 25, 2024
1 parent 1e28963 commit f3ffcaa
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 12 deletions.
6 changes: 3 additions & 3 deletions radixconfig.c2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ spec:
minReplicas: 0
triggers:
- name: cron
cron:
cron:
timezone: Europe/Oslo
start: 07:00
stop: 17:00
start: 0 7 * * 1-5 # 08:00
end: 0 17 * * 1-5 # 16:00
desiredReplicas: 1
- environment: prod
replicas: 2
6 changes: 3 additions & 3 deletions radixconfig.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ spec:
minReplicas: 0
triggers:
- name: cron
cron:
cron:
timezone: Europe/Oslo
start: 07:00
stop: 17:00
start: 0 7 * * 1-5 # 08:00
end: 0 17 * * 1-5 # 16:00
desiredReplicas: 1
- environment: prod
replicas: 2
6 changes: 3 additions & 3 deletions radixconfig.platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ spec:
minReplicas: 0
triggers:
- name: cron
cron:
cron:
timezone: Europe/Oslo
start: 07:00
stop: 17:00
start: 0 7 * * 1-5 # 08:00
end: 0 17 * * 1-5 # 16:00
desiredReplicas: 1
- environment: prod
replicas: 2
6 changes: 3 additions & 3 deletions radixconfig.playground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ spec:
minReplicas: 0
triggers:
- name: cron
cron:
cron:
timezone: Europe/Oslo
start: 07:00
stop: 17:00
start: 0 7 * * 1-5 # 08:00
end: 0 17 * * 1-5 # 16:00
desiredReplicas: 1
- environment: prod
replicas: 2
10 changes: 10 additions & 0 deletions radixconfig.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,15 @@ spec:
environmentConfig:
- environment: qa
replicas: 1
horizontalScaling:
maxReplicas: 1
minReplicas: 0
triggers:
- name: cron
cron:
timezone: Europe/Oslo
start: 0 7 * * 1-5 # 08:00
end: 0 17 * * 1-5 # 16:00
desiredReplicas: 1
- environment: prod
replicas: 2

0 comments on commit f3ffcaa

Please sign in to comment.