Use the interactive kwatch manager to configure Email alerts. It stores credentials in Kubernetes Secrets and verifies the installation. The configuration fragments below explain provider settings; they are not separate installation steps.
Sends alerts via SMTP. Uses HTML formatting for rich email content.
| Parameter | Description | Required |
|---|---|---|
alert.email.from | 📧 Sender email address | Yes |
alert.email.to | 📧 Recipient email address | Yes |
alert.email.password | 🔑 SMTP password or app password | Yes |
alert.email.host | 🖥️ SMTP server hostname | Yes |
alert.email.port | 🔌 SMTP server port (e.g. 587) | Yes |
Configuration example
alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"
Routing
alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"
routes:
- namespaces: ["production"]
severities: ["high", "critical"]
- reasons: ["OOMKilled"]
Retry
alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"
retry:
maxAttempts: 5
delay: 5s
Fallback
alert:
email:
password: "${file:/config/email-password}"
host: "smtp.gmail.com"
port: "587"
fallback: slack