/kubegowatcher

Archived - A sample golang program that leverages kubernetes watch endpoints using the client-go library.

Primary LanguageGo

Archived, deprecated, no longer maintained

kubegowatcher

Kubernetes plugin template that watches for changes to services, pods & nodes. Business logic can then be added for ADDED, MODIFIED or DELETED events.

Description

When this plugin is running on a kubernetes cluster it connects to the kubernetes API watch endpoints for service and node changes.

gowatcher

Development

Prerequisites

Workflow

  • Fork this repo
  • Test your changes locally using ./localtest.sh
  • For faster iterations while coding use ./localtestnodocker.sh
  • Create a pull request to contribute your improvements
  • No feature branches are required at this time but you may choose to do this
  • Be sure to sync with upstream on a regular basis https://help.github.com/articles/syncing-a-fork/