kubenotify

command module
v0.0.0-...-f2ed473 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

README

kubenotify

Docs Go Report Card

kubenotify is a Kubernetes watcher that publishes notification to available webhooks. Run it in your k8s cluster, you can receive workload change notifications through webhooks.

Install

$ get get github.com/j2gg0s/kubenotify

Usage

kubenotify -h
subscribe kubernetes workload change event, support Deployment, StatefulSet and DaemonSet

Usage:
  kubenotify [flags]

Flags:
      --debug                  enable debug log
      --disable-revision       disable revision (default true)
      --excludes strings       excludes resource field when diff (default [metadata\.[acdfgmors].*,status\..*])
  -h, --help                   help for kubenotify
      --ignore-before string   ignore create before when start (default "1m")
      --includes strings       only include resource field when diff
      --namespaces strings     watch resource under these namepsace, default all
      --outof-cluster          use outof cluster config directly
      --resources strings      watch only these resource, default all, support Deployment, StatefulSet, DaemonSet
      --resync string          duration to resync resource (default "1m")
      --webhooks strings       webhook to notify

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