- Download the chart
- Prepare the Deployment configuration
- Deploy to Kubernetes cluster
- When using with Prometheus Operator
- Helm Configuration
Clone this repository.
git clone https://github.com/bzon/prometheus-msteams
cd prometheus-msteams/chart
Create a helm values file to configure your Microsoft Teams channel connectors and customise the Kubernetes deployment.
# config.yaml
---
replicaCount: 1
image:
repository: bzon/prometheus-msteams
tag: v1.0.3
connectors:
- high_priority_channel: https://outlook.office.com/webhook/xxxx/xxxx
- low_priority_channel: https://outlook.office.com/webhook/xxxx/xxxx
# extraEnvs is useful for adding extra environment variables such as proxy settings
extraEnvs:
HTTP_PROXY: http://corporateproxy:8080
HTTPS_PROXY: http://corporateproxy:8080
See Helm Configuration for reference.
helm install --name prometheus-msteams ./prometheus-msteams --namespace monitoring -f config.yaml
Please see Prometheus Operator alerting docs.
Parameter | Description | Default |
---|---|---|
image.repository | Image repository | bzon/prometheus-msteams |
image.tag | Image tag | v1.0.3 |
image.pullPolicy | Image pull policy | Always |
extraEnvs | Extra environment variables | {} |
connectors | Required. Add your own Microsoft Teams connectors. | See default |
service.port | Service port | 2000 |
service.type | Service type | ClusterIP |
container.port | Container port | 2000 |
container.additionalArgs | additional prometheus-msteams flags to use | None |
resources | CPU/memory resource requests/limits | See default |
nodeSelector | Labels for Node selector | {} |