expressjs
Simple expressjs site with a status route for simulating web site failure.
100K+
Thank you for over 350,000 downloads
Simple espress js site with route to simulate site failure.
Built for testing kubernetes, EKS and RANCHER instances.
Repository at: https://github.com/dmportella/rancher-docker-node
Web site should be available on port 8080.
Returns a JSON payload with basic process and os information that is useful.
GET /__health
{
version: '2.0.0',
status: 'OK',
hostname: 'os.hostname()...',
versions: 'process.versions...',
process: {
uptime: 'process.uptime...',
memoryUsage: 'process.memoryUsage()...',
platform: 'process.platform...',
arch: 'process.arch...',
title: 'process.title...'
},
cpus: 'os.cpus()...',
network: 'os.networkInterfaces()...',
environment: 'process.env...'
}
/__health//__health/throw500/__health/timeout/__health/killprocessYou can force the instance to throw http 500, timeout or you can kill the process.
Content type
Image
Digest
sha256:9f6925f2f…
Size
87.5 MB
Last updated
over 1 year ago
docker pull dmportella/expressjs