The K8S Demo Daemon (demod) serves a simple HTML page with some debug information that aid in understanding the kubernetes runtime environment by looking at how a containerized process perceives its surroundings, incoming requests and requests to background services. Also it simulates an unreliable life-cycle in order to test kubernetes' container provisioning.
Usage of ./demod: --background string Background color (default "#FFFFFF") --banner string Version Banner (default "demo daemon version 0.0.0") --boot-jitter duration Maximum time to randomly add to --boot-time. --boot-time duration Take this sweet time after startup until presenting liveliness. --exit-code-forced int Use this exit code after receiving a signal while shutdown. (default 3) --exit-code-life int Use this exit code after timed suicide. (default 1) --exit-code-requests int Use this exit code after max requests. (default 2) --exit-code-signaled int Use this exit code after recieving signal. (default 0) --foreground string Foreground color (default "#000000") --grace-jitter duration Maximum time to randomly add to --grace-time. --grace-time duration Take at least this sweet amount of time before shutdown due to SIG{INT,TERM}. --life-jitter duration Maximum time to randomly add to --life-time. --life-time duration Commit suicide after this time after startup. Zero means, don't. --listen string Host:Port (default ":8080") --max-requests int Commit suicide after handling these many requests. Zero means indefinite. --max-requests-jitter int Maximum of cycles to randomly add to --max-requests. --random-seed int Seed PRNG with this integer. 0 means time.Now().UnixNano(). --redis string Prefix of environment variables that point to Redis server. (default "REDIS_SERVICE")
Content type
Image
Digest
Size
247.8 MB
Last updated
over 9 years ago
docker pull traumfewo/demod