Simple web application that displays a simple message and information about Pod, EKS Cluster, AWS Node and Zone serving the request.
The application is also published as a container image nbrand/k8s-demo-app:0.1
Note: This app is based off the following repo, originally written for GCP: https://github.com/stepanstipl/k8s-demo-app
See deployment.yaml
for simple deployment example.
The application exposes health-check /healthz
endpoint.
Serving port (defaults to 8080
) can be parametrised using the -listen-addr
flag or K8S_DEMO_APP_LISTEN_ADDR
environment variable.
Displayed message can be parametrised by setting the K8S_DEMO_APP_MESSAGE
variable.