Sign inSign up

hirokimatsumoto/kubernetes-pod-watch

By hirokimatsumoto

Updated about 7 years ago

Image
0

144

hirokimatsumoto/kubernetes-pod-watch repository overview

Pod Watcher

Send a message to slack for pod events.

Preparation

Pod Watcher use incoming-webhooks.

Incoming Webhook first.The document is here.
And the following information is required to run Pod Watcher.

  • Webhook URL. like this.
    https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

  • Post channel name. like this.
    #kubernetes-watch

How to Use

Change environment variables SLACK_URL and SLACK_CHANNEL in pod-watcher.yaml#L29-L32.

apply pod-watcher.yaml

$ kubectl apply -f pod-watcher.yaml

How to Customize

If you change args in pod-watcher.yaml#L29-L32, you can filter send messages and contents.

Tag summary

Content type

Image

Digest

Size

17.9 MB

Last updated

about 7 years ago

docker pull hirokimatsumoto/kubernetes-pod-watch:1.0.0