Mahesh
06/05/2026, 3:53 PMpolicies:
- name: offhours-asg
resource: asg
comments: |
Daily stoppage outside business hours
mode:
type: periodic
schedule: cron(0 * * * ? *)
filters:
- or:
- "tag:Name": "my-tag"
- "tag:cluster": "my-tag"
- "tag:eks:cluster-name": "my-tag"
- or:
- type: offhour
opt-out: true
tag: skip_offhour_scaledown
offhour: 1
default_tz: utc
- type: offhour
opt-out: true
tag: skip_offhour_scaledown
offhour: 5
default_tz: utc
actions:
- stop
- type: notify
slack_template: slack_default
violation_desc: |
Not Applicable
action_desc: |
my description
slack_msg_color: danger
to:
- <https://hooks.slack.com/services>...
We can see this policy runs everyday but not Saturdays (by looking at the slack messages). Isn’t this supposed to be running every evenings and night?kapilt
06/09/2026, 6:02 PM