Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 3.25 KB

README.md

File metadata and controls

69 lines (52 loc) · 3.25 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.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.

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.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 {}