Skip to content

Commit

Permalink
Document ASG hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkeloscar committed May 9, 2018
1 parent 5191a8f commit 54ba1d2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,20 @@ You can also add the taint manually with `kubectl` to test it:
$ kubectl taint nodes <nodename> "node.alpha.kubernetes.io/notReady-workload=:NoSchedule"
```

## Hooks

As an extra feature `kube-node-ready-controller` has optional support for
triggering hooks when a node is marked as ready.

### AWS Autoscaling Lifecycle Hook

Trigger AWS Autoscaling Group lifecycle hook when node becomes ready. This can
be used to signal the Autoscaling Group that the node is in service.

Enable the hook with the flag `--asg-lifecycle-hook=<hook-name>`. This assumes
you have a hook with the defined name on the Autoscaling groups of all the
nodes managed by the controller.

## TODO

* [x] Make it possible to configure pod selectors via a config map.
Expand Down

0 comments on commit 54ba1d2

Please sign in to comment.