container-patterns
container-patterns copied to clipboard
Patterns around building applications with containers.
### 8. Adaptive A container should anticipate its environment, react to it and configure its self accordingly. This idea has been described by Jeff Lindsay where he describes containers a...
See https://github.com/kelseyhightower/app-healthz https://vimeo.com/173610242
Maybe look at something like https://github.com/htmlpreview/htmlpreview.github.com
Examine init containers and their implication for patterns: https://github.com/smarterclayton/kubernetes/blob/f04cd8eccef2d2ab633bda4f2e1af17698cbca96/docs/proposals/container-init.md
Think about "cluster aware images" ideas from @gabrtv e.g. a redis container which is acting in different roles. see https://github.com/deis/redis-cluster/blob/master/rootfs/run.sh - How can we describe this as a general idea?...
TODO elaborate and give examples
Create rkt examples for everything
Do you think that configuring the application with a side car service (getting the configuration values with stuff like confd or consul-template or whatever script) is a good practice? I...