Will log the incoming HTTP request headers for debugging purposes.
2021-12-21 20:08.26 [debug ] {'Host': 'log-request-headers.default', 'User-Agent': 'curl/7.61.1', 'Accept': '*/*'}
https://hub.docker.com/repository/docker/magickatt/log-request-headers
Can be run locally in a Virtualenv or in a Docker container (below)
virtualenv .virtualenv
source .virtualenv/bin/activate
pip install -r requirements.txt
python app.py
Dockerfile for building Docker image included.
docker build . --tag log-request-headers:latest
docker run log-request-headers:latest
Resource manifest for k8s included.
kubectl apply -f deployment.yaml