{"repo":"stefanprodan/podinfo","free":true,"listed":false,"github":"https://github.com/stefanprodan/podinfo","clone":"git clone https://github.com/stefanprodan/podinfo.git","description":"Go microservice template for Kubernetes","language":"Go","stars":5981,"topics":["golang","microservice","kubernetes","helm","kustomize","gitops","e2e-testing","cuelang"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"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. Specifications: Health checks (readiness and liveness) Graceful shutdown on interrupt signals File watcher for secrets and configmaps Instrumented with Prometheus and Open Telemetry Structured logging with zap 12-factor app with viper Fault injection (random errors and latency) Swagger docs 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 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 GET /healthz used by Kubernetes liveness probe GET /readyz used by Kubernetes readiness probe POST /readyz/enable signals the Kubernetes LB that this instance is ready to receive traffic POST /readyz/disable signals the Kubernetes LB to stop sending requests to this instance POST /fault injection/enable makes this instance respond with HTTP 500 to all application endpoints (probes, metrics, pprof and the /fault injection/ control endpoints stay healthy) — useful for testing client-side circuit breakers / outlier detection against a sin","default_branch":null,"files":null,"tree":[],"storefront":"/r/stefanprodan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stefanprodan/podinfo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}