How to configure routings
Learn how to configure Slack routings
Routings for Slack notifications enable sending alerts to different Slack channels for various workloads within a cluster based on labels.
slack_token: 'slack-token' # replace with your slack_token
channel: 'slack-test' # replace with your channel name
routings:
- label_key_3
- label_key_4
To maximize your effectiveness, Slack routing is available not only on the workload level but also on the namespace level. This means you can configure routing for specific workloads as well as for the entire namespace.
Example of a label:
label_some_key : label_some_value
, where label_some_value
= Slack channel name
Slack Routing Configuration
Name the profile.
Ensure to configure
slack_token
and include the relevant data in theslack_token
field. This field is mandatory.Indicate the
channel
. This field is mandatory, and the indicated channel will be the default channel if Advanced Alert Routing fails.List
label_key
(s).Verify if your Slack is configured properly with the
Test Integration
button.Click
Save
button.
The channel_id is deprecated.
Last updated