/kube-controller-demo

Primary LanguageGoApache License 2.0Apache-2.0

Demo Controller

Goal

The goal of this project is to demonstrate how you can build a simple Kubernetes controller.

This is not meant as a project to be used directly - but rather as a reference point to build your own custom controllers.

This example is currently based off client-go v3.0.0-beta.0 - but will be updated as new versions become available.

Helpful Resources

Roadmap

  • Demonstrate using
    • leader-election
    • Third Party Resources
    • Shared Informers
    • Events

Building

Build agent and controller binaries:

make clean all

Build agent and controller Docker images:

make clean images