Notification on failures? #1586
Replies: 9 comments 3 replies
-
@DanTulovsky Currently, only success triggers are added and framework is available to add other remaining especially failures ones. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to provide an example for a failure trigger?
…On Wed, Oct 20, 2021, at 11:54 AM, harikrongali wrote:
@DanTulovsky <https://github.com/DanTulovsky> Currently, only success triggers are added and framework is available to add other remaining especially failures ones.
Users can add custom triggers to manifest files and use. Please contribute back if you have defined more custom triggers. We have it as a lower priority given other priority items.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1586 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAD4PPY6CSKWRGTMKRCFJB3UH3Q2RANCNFSM5GCT4M5Q>.
|
Beta Was this translation helpful? Give feedback.
-
You are probably interested in This would be great to contribute upstream if you come up with a useful template that others can use. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I am also interested in "Canary Analysis Failed', how would I get that?
…On Wed, Oct 20, 2021, at 3:28 PM, Jesse Suen wrote:
You are probably interested in `on-rollout-aborted` which translates to the `RolloutAborted` Kubernetes event. We don't have a notification template/trigger for it yet, but it should be easy to add one following the examples here:
https://github.com/argoproj/argo-rollouts/tree/master/manifests/notifications
This would be great to contribute upstream if you come up with a useful template that others can use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1586 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAD4PP4255W5OTJZDFX24YLUH4J57ANCNFSM5GCT4M5Q>.
|
Beta Was this translation helpful? Give feedback.
-
Also, I don't understand, how is a pre-defined trigger like "trigger.on-rollout-step-completed" actually defined? I understand I can add custom ones, but where do these built-in ones come from?
…On Thu, Oct 21, 2021, at 7:11 AM, Dan Tulovsky wrote:
Thanks. I am also interested in "Canary Analysis Failed', how would I get that?
On Wed, Oct 20, 2021, at 3:28 PM, Jesse Suen wrote:
>
>
>
>
> You are probably interested in `on-rollout-aborted` which translates to the `RolloutAborted` Kubernetes event. We don't have a notification template/trigger for it yet, but it should be easy to add one following the examples here:
> https://github.com/argoproj/argo-rollouts/tree/master/manifests/notifications
>
>
> This would be great to contribute upstream if you come up with a useful template that others can use.
>
>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub <#1586 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAD4PP4255W5OTJZDFX24YLUH4J57ANCNFSM5GCT4M5Q>.
>
>
|
Beta Was this translation helpful? Give feedback.
-
Oh, i see.. these are just EventReason from `kubectl get events`? with a "on-" and EventName changed to "event-name" ...
…On Fri, Oct 22, 2021, at 9:28 AM, Dan Tulovsky wrote:
Also, I don't understand, how is a pre-defined trigger like "trigger.on-rollout-step-completed" actually defined? I understand I can add custom ones, but where do these built-in ones come from?
On Thu, Oct 21, 2021, at 7:11 AM, Dan Tulovsky wrote:
> Thanks. I am also interested in "Canary Analysis Failed', how would I get that?
>
> On Wed, Oct 20, 2021, at 3:28 PM, Jesse Suen wrote:
>>
>>
>>
>>
>> You are probably interested in `on-rollout-aborted` which translates to the `RolloutAborted` Kubernetes event. We don't have a notification template/trigger for it yet, but it should be easy to add one following the examples here:
>> https://github.com/argoproj/argo-rollouts/tree/master/manifests/notifications
>>
>>
>> This would be great to contribute upstream if you come up with a useful template that others can use.
>>
>>
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub <#1586 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAD4PP4255W5OTJZDFX24YLUH4J57ANCNFSM5GCT4M5Q>.
>>
>>
>
|
Beta Was this translation helpful? Give feedback.
-
For those following at home, this is for rollout-aborted:
|
Beta Was this translation helpful? Give feedback.
-
The list of all built-in events can be found here: argo-rollouts/utils/conditions/conditions.go Lines 20 to 177 in 76cfc0e |
Beta Was this translation helpful? Give feedback.
-
Are you guys been able to create a trigger like this? trigger.on-rollout-aborted: |
- send: [rollout-aborted] When I configure it and try to get the trigger list:
How to solve it ? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am setting up: https://argoproj.github.io/argo-rollouts/features/notifications/
It comes with the following pre-defined triggers:
Does
on-rollout-completed
include thefailed
case as well?Thank you
Dan
Beta Was this translation helpful? Give feedback.
All reactions