- Health checks (readiness and liveness)
- Graceful shutdown on interrupt signals
- File watcher for secrets and configmaps
- Structured logging with zap
- 12-factor app with viper
- Fault injection (random errors and latency)
- Instrumented with Prometheus and Open Telemetry
- Swagger docs
- CUE, Helm and Kustomize installers
- End-to-End testing with Kubernetes Kind and Helm
- Kustomize testing with GitHub Actions and Open Policy Agent
- Multi-arch container image with Docker buildx and Github Actions
- Container image signing with Sigstore cosign
- CVE scanning with Trivy
Web API:
GET / prints runtime information
GET /version prints podinfo version and git commit hash
GET /metrics return HTTP requests duration and Go runtime metrics
POST /readyz/enable signals the Kubernetes LB that this instance is ready to receive traffic