This is a Flask webapp that displays the name of the Kubernetes pod that it runs on. The web page background supports several colors in order to make them stand out, easily.
A color can be specified in two ways: as a command line argument with the --color
parameter or as the environment variable APP_COLOR
.
The --color
parameter precedes the environment variable APP_COLOR
.
By default, the app will run choosing one of the supported colors, at random, if none is given.
The following list of colors are supported
VAR | COLOR |
---|---|
blue | #2980b9 |
blue2 | #30336b |
darkblue | #130f40 |
green | #16a085 |
pink | #be2edd |
red | #e74c3c |
yellow | #fff380 |