Notify PagerDuty when an experiment, a job, or a build fails so that your team stays in sync.

Visit PagerDuty to create webhook integration

First, you’ll need to set up a new incoming webhook in your team’s PagerDuty configuration. An incoming webhook is a method for PagerDuty to receive incoming messages to be posted to your PagerDuty team from external services.

Configure your webhook

Create a secret or a config map with your PagerDuty webhook:

kubectl create secret generic  notification-secret --from-file=POLYAXON_INTEGRATIONS_WEBHOOKS_PAGE_DUTY=notification-secret.json -n polyaxon

The content of notification-secret.json should contain all the webhooks that you want to notify at the same time:

[
  {
    "url": "url1"
  }
]

Add your PagerDuty connection to Polyaxon notification connections

Now you can add your PagerDuty’s webhook to the integrations’ section:

connections:
  - name: pagerduty-connection1
    kind: pagerduty
    secret:
      name: notification-secret

More automation with Zapier

You can also go further and connect other popular Polyaxon integrations to PagerDuty using Zapier.