podinfo
Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. Podinfo is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops
About podinfo
podinfo
Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. Podinfo is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops.

Features
- HTTP and gRPC API for testing clients, proxies and service meshes: echo, headers, status codes, delays, chunked responses and WebSockets
- CLI with health checks for HTTP, TCP, TLS certificates, WebSocket and gRPC, and steady echo traffic over HTTP and gRPC
- Chaining of instances over HTTP and gRPC, each one calls its backends and passes on the trace context, to simulate a microservices topology
- Health checks (readiness and liveness)
- Graceful shutdown on interrupt signals
- File watcher for secrets and configmaps
- Instrumented with Prometheus and OpenTelemetry (traces, metrics and logs over OTLP)
- Structured logging with zap
- 12-factor app with viper
- Fault injection (random errors and latency)
- JWT issuer and validator for testing meshes and gateways, with RSA, EC and HMAC keys, JWKS and key rotation
- TLS and SPIFFE mTLS on the HTTPS and gRPC ports, with X.509 SVIDs from the SPIFFE Workload API
- Redis and Valkey cache in standalone, Cluster and Sentinel mode, with TLS and mTLS
- Web UI embedded in the binary, with no external requests
- Swagger UI at
/swagger/ - Timoni, Helm and Kustomize installers
- End-to-End testing with Kubernetes Kind and Helm
- Multi-arch container image with Docker buildx and GitHub Actions
- Container image signing with Sigstore cosign
- SBOMs and SLSA Provenance embedded in the container image
- CVE scanning with govulncheck
Guides
- Getting started with Timoni
- Getting started with Flux
- Progressive Delivery with Flagger and Linkerd
- Automated canary deployments with Kubernetes Gateway API
Install
To install Podinfo on Kubernetes the minimum required version is Kubernetes v1.23 with Helm and Kustomize, and Kubernetes v1.25 with Timoni.
Timoni
Install with Timoni:
timoni -n default apply podinfo oci://ghcr.io/stefanprodan/modules/podinfo
Helm
helm upgrade --install --wait podinfo --namespace default \
oci://ghcr.io/stefanprodan/charts/podinfo
Kustomize
kubectl apply -k github.com/stefanprodan/podinfo//kustomize
Docker
docker run -dp 9898:9898 stefanprodan/podinfo
See the install guide for the Helm repository, a frontend with a backend and a cache, and continuous delivery with Flux.
License
Podinfo is licensed under the Apache License 2.0.
Frequently Asked Questions
What is podinfo?
podinfo is a Software Packages library for the Go programming language. Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. Podinfo is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops
How many GitHub stars does podinfo have?
podinfo has 6,055 GitHub stars in the directory's latest synchronization.
How do I install podinfo?
Install podinfo with the Go module system using `go get stefanprodan/podinfo`. Check the repository for the current installation instructions.
What category does podinfo belong to?
podinfo is listed under Software Packages, specifically DevOps Tools.