A lightweight, configurable HTTP server for testing and debugging in K8S containerized environments.
1.2K
A lightweight Go-based HTTP service that provides request and environment details in a JSON response.
Designed for Kubernetes, Cilium, and service-mesh test environments to trace eastโwest calls between services.
NODE_NAME)POD_NAME)hostname)CALL_SERVICE environment variable/healthz endpoint for liveness / readiness probesIP_MODE| Variable | Description | Default |
|---|---|---|
| PORT | Port the server listens on | 8080 |
| NODE_NAME | Node name (from Kubernetes Downward API) | "" |
| POD_NAME | Pod name (from Kubernetes Downward API) | "" |
| CALL_SERVICE | Optional downstream URL (e.g., app2.default.svc.cluster.local:8080/api) โ if set, the server will make an HTTP/HTTPS call to this target, append its own hop info, and return the combined JSON chain. | unset |
| IP_MODE | IP mode: ipv4, ipv6, or unset (listen on both) | unset |
When called directly:
[
{
"node_name": "node-1",
"pod_name": "app1-abc123",
"hostname": "app1-host",
"request_source_ip": "10.244.0.10",
"request_destination_ip": "10.244.0.20",
"request_url": "http://app1:8080/test",
"incoming_headers": {
"User-Agent": ["curl/8.7.1"],
"Accept": ["*/*"]
},
"ts": "2025-10-20T09:40:10.366Z"
}
]
Content type
Image
Digest
sha256:0ce39c708โฆ
Size
8.5 MB
Last updated
11 months ago
docker pull dnzydn/go-simple-http-server