Created
March 9, 2018 20:56
-
-
Save FUSAKLA/6caf398924a9acc64990ad6d26dc0602 to your computer and use it in GitHub Desktop.
Fixed example of configmap containing alertmanager config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: alertmanager-conf | |
labels: | |
name: alertmanager-conf | |
namespace: monitoring | |
data: | |
alertmanager.yml: |- | |
global: | |
# slack_api_url: '' | |
resolve_timeout: 20s | |
receivers: | |
- name: default-receiver | |
# slack_configs: | |
# - channel: '@you' | |
# send_resolved: true | |
- name: 'webhook' | |
webhook_configs: | |
- send_resolved: true | |
url: '' | |
route: | |
group_wait: 10s | |
group_interval: 5m | |
receiver: webhook | |
repeat_interval: 3h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment