Skip to content

Commit

Permalink
description (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
shovanmaity authored Apr 25, 2020
1 parent 73a27b6 commit 34b6b88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Learn metacontroller APIs by running them in your local system.

Metacontroller is one way to write a Kubernetes controller in any language. It is a Kubernetes controller administration that runs in cluster scope and manages your controllers. It works like the pub-sub model. For your every controller you need to write a controller spec. Once you apply that spec your controller is subscribed to the metacontroller. According to controller spec, the metacontroller triggers `sync` and `finalize` hooks.

You can write your controller logic in any language. Once you subscribe to metacontroller, it makes POST requests with the current state. Your controller needs to respond with the desired state. The metacontroller server then executes a control loop on behalf of your controller and calls `sync` and `finalize` hook functions whenever necessary.

- [Install metacontroller.](https://github.com/shovanmaity/metacontroller-by-example/tree/master/metacontroller)
- [Create basic controller in different languages and run them locally.](https://github.com/shovanmaity/metacontroller-by-example/tree/master/basic)
- [Create basic controller in different languages and run them in Kubernetes environment.](https://github.com/shovanmaity/metacontroller-by-example/tree/master/basic-k8s)
Expand Down

0 comments on commit 34b6b88

Please sign in to comment.