Created
December 12, 2019 10:56
-
-
Save mustafaakin/042f2953caa6a065e91a9fb5c20c08a1 to your computer and use it in GitHub Desktop.
Configuration for Kubernetes Event Exporteer
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
route: | |
# Main route | |
routes: | |
# This route allows dumping all events because it has no fields to match and no drop rules. | |
- match: | |
- receiver: dump | |
# This starts another route, drops all the events in *test* namespaces and Normal events | |
# for capturing critical events | |
- drop: | |
- namespace: "*test*" | |
- type: "Normal" | |
match: | |
- receiver: "critical-events-queue" | |
# This a final route for user messages | |
- match: | |
kind: "Pod|Deployment|ReplicaSet" | |
labels: | |
version: "dev" | |
receiver: "slack" | |
receivers: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment