Skip to main content

๐Ÿ—๏ธ Matrix

Use the interactive kwatch manager to configure Matrix alerts. It stores credentials in Kubernetes Secrets and verifies the installation. The configuration fragments below explain provider settings; they are not separate installation steps.

ParameterDescriptionRequired
alert.matrix.homeServer๐Ÿ–ฅ๏ธ HomeServer URLYes
alert.matrix.accessToken๐Ÿ”‘ Access tokenYes
alert.matrix.internalRoomID๐Ÿ†” Room IDYes

Configuration exampleโ€‹

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "${file:/config/matrix-access-token}"
internalRoomID: "!roomid:example.com"

Routing Proโ€‹

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "${file:/config/matrix-access-token}"
internalRoomID: "!roomid:example.com"
routes:
- namespaces: ["production"]
severities: ["high", "critical"]
- reasons: ["OOMKilled"]

Retryโ€‹

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "${file:/config/matrix-access-token}"
internalRoomID: "!roomid:example.com"
retry:
maxAttempts: 5
delay: 5s

Fallbackโ€‹

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "${file:/config/matrix-access-token}"
internalRoomID: "!roomid:example.com"
fallback: <another_provider>

Compact modeโ€‹

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "${file:/config/matrix-access-token}"
internalRoomID: "!roomid:example.com"
compact: true

Screenshotโ€‹

Matrix notification screenshot