pod-crash-notification-controller

command module
v0.0.0-...-266008c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

README

Pod Crash Notification Controller

A Kubernetes Controller that watches over pods in all namespaces and generates a notification to the slack channel when any of the pods crashes.

Getting Started

Before deploying, first update the <slack webhook url> in deploy/deployment.yaml

Run the following command to deploy the resources.

kubectl create -f deploy/deployment.yaml

Run the following command to create a test pod

kubectl create -f deploy/example-pod.yaml

Usages

Following Args can be passed to the controller deployment -

--namespace string       namespace to be watched by the controller (default "pod-crash")
--slack-webhook string   slack webhook URL to post notifications

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL