Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 3.42 KB

README.md

File metadata and controls

71 lines (53 loc) · 3.42 KB

Installing the Chart

Download the chart

Clone this repository.

git clone https://github.com/bzon/prometheus-msteams
cd prometheus-msteams/chart

Prepare the Deployment configuration

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.1.0
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.

Optionally you can customise the Teams Message Card Template. See README for more information.

Deploy to Kubernetes cluster

helm install --name prometheus-msteams ./prometheus-msteams --namespace monitoring -f config.yaml

When using with Prometheus Operator

Please see Prometheus Operator alerting docs.

Helm Configuration

Parameter Description Default
image.repository Image repository bzon/prometheus-msteams
image.tag Image tag v1.1.0
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 {}