Mattermost PagerDuty Bot
- The Canonical Sysadmins
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 1 | 27 May 2021 | |
latest/edge | 2 | 05 Sep 2024 |
juju deploy mm-pd-bot
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
For any problems with this charm, please report bugs here.
The code for this charm can be downloaded as follows:
git clone https://git.launchpad.net/charm-k8s-mm-pd-bot
Prepare your local environment
Notes for deploying a test setup locally using microk8s:
sudo snap install juju --classic
sudo snap install juju-wait --classic
sudo snap install microk8s --classic
sudo snap alias microk8s.kubectl kubectl
sudo snap install charmcraft
git clone https://git.launchpad.net/charm-k8s-mm-pd-bot
microk8s.reset # Warning! Clean slate!
microk8s.enable dns dashboard registry storage
microk8s.status --wait-ready
juju bootstrap microk8s micro
juju add-model mm-pd-bot
juju model-config logging-config="<root>=DEBUG"
cd charm-k8s-mm-pd-bot
make build
Then, prepare a bot.cfg file (see the configuration section)
Then deploy:
juju deploy ./mm-pd-bot.charm \
--resource mm-pd-bot-image=mm-pd-bot/mm-pd-bot:devel \
--config mm_pd_bot_cfg=@bot.cfg \
--config external_hostname="my_mm_pd_bot.example.com" mm-pd-bot