podinfo
AGENTS.md6.1k starsChanged 3 days agoApache-2.0View on GitHub
Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. It is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops. The project is structured as a Go module with the following components:
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about stefanprodan/podinfo
- fluxcd/flux2“GitRepository support for fallback url”GitHub · May 23, 2022 · 6 reactions
- renovatebot/renovate“feat(manager/flux): Allow OCI media type used by `flux push artifact` to enable Release Notes lookup”GitHub · Nov 28, 2024 · 4 reactions
- fluxcd/source-watcher“Adds GitOps Toolkit EventRecorder to ArtifactGenerator reconciler”GitHub · Feb 3, 2026 · 3 reactions
- kcl-lang/kpm“Uniformity of kcl run and kcl mod add CLI, etc”GitHub · Mar 27, 2024 · 3 reactions
- fluxcd-community/helm-charts“Publish the Helm charts to GHCR”GitHub · May 4, 2022 · 3 reactions
The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 51
Talked about on GitHub and Hacker News (51 times).
On GitHub · 50
- May 23, 2022GitRepository support for fallback url — fluxcd/flux26 reactions · 12 comments
- Nov 28, 2024feat(manager/flux): Allow OCI media type used by `flux push artifact` to enable Release Notes lookup — renovatebot/renovate4 reactions · 1 comment
- Feb 3, 2026Adds GitOps Toolkit EventRecorder to ArtifactGenerator reconciler — fluxcd/source-watcher3 reactions · 4 comments
- Mar 27, 2024Uniformity of kcl run and kcl mod add CLI, etc — kcl-lang/kpm3 reactions · 4 comments
- May 4, 2022Publish the Helm charts to GHCR — fluxcd-community/helm-charts3 reactions · 3 comments
45 more on GitHub
- Jul 17, 2020Optional TLS cert for Git over HTTPS — fluxcd/source-controller3 reactions · 10 comments
- Jan 24, 2025Add support for sparse checkout to GitRepository API — fluxcd/source-controller2 reactions
- Jan 12, 2025`ResourceSet` dynamic inputs for preview environments automation — controlplaneio-fluxcd/flux-operator2 reactions · 2 comments
- Dec 27, 2023Multicluster instructions fail due to kustomize versioning — linkerd/website2 reactions · 1 comment
- May 16, 2023Unexpected behavior change on ingress injected pods in v2.13.x — linkerd/linkerd22 reactions · 20 comments
- Jul 29, 2020Github Notifier — fluxcd/notification-controller2 reactions · 1 comment
- Oct 26, 2026podcli 6.16.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Aug 31, 2026podcli 6.15.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Aug 3, 2026fix(ci): system tests fetch a third-party git repo at test time, so an external outage reds unrelated PRs — devantler-tech/ksail1 reaction · 1 comment
- Jul 22, 2026podcli 6.14.1 — chenrui333/homebrew-tap1 reaction
- Jun 19, 2026podcli 6.14.0 — chenrui333/homebrew-tap1 reaction
- Jun 4, 2026podcli 6.13.0 — chenrui333/homebrew-tap1 reaction
- May 20, 2026podcli 6.12.0 — chenrui333/homebrew-tap1 reaction
- Feb 1, 2026chore(deps): update ghcr.io/stefanprodan/podinfo docker tag to v6.10.0 — xDaryamo/homelab1 reaction · 1 comment
- Jan 12, 2025`ResourceSet` dynamic inputs from Git branches — controlplaneio-fluxcd/flux-operator1 reaction · 2 comments
- Jun 30, 2022Flux fails to login to HTTP OCI registry where helm CLI logs in — fluxcd/source-controller1 reaction · 4 comments
- Dec 4, 2020Add create secret git command — fluxcd/flux21 reaction
- Aug 7, 2020[Discussion] Environment or some other better name? — kubevela/kubevela1 reaction · 1 comment
- May 20, 2020GitHub Deployments — fluxcd/flux21 reaction · 1 comment
- Nov 26, 2026Show which sources got the target ref when a multi-source diff fails — ivanklee86/tangle0 reactions
- Nov 26, 2026chore(deps): update ghcr.io/stefanprodan/podinfo docker tag to v6.17.0 — defenseunicorns-labs/uds-rke2-demo0 reactions
- Nov 22, 2026fix: reject conflicting Git ref flags in `flux create source git` — fluxcd/flux20 reactions
- Nov 21, 2026chore(deps): update podinfo docker tag to v6.17.0 — Susling/renovate-talk-examples0 reactions
- Nov 21, 2026chore(deps): update ghcr.io/stefanprodan/podinfo docker tag to v6.17.0 — Susling/renovate-talk-examples0 reactions
- Nov 21, 2026chore(deps): update dependency https://github.com/stefanprodan/podinfo.git to v6.17.0 — defenseunicorns-labs/uds-rke2-demo0 reactions
- Nov 9, 2026Bump the container-images group across 3 directories with 3 updates — marcincuber/argocd0 reactions
- Nov 9, 2026CI failure, root cause dependency — trad024/FlowGuard0 reactions
- Nov 7, 2026Update ghcr.io/stefanprodan/podinfo Docker tag to v6.17.0 — andrewsgitacc/platform-gitops0 reactions
- Nov 4, 2026chore(deps): update podinfo docker tag to v6.17.0 (viceicebot) — renovate-reproductions/47270-flux-cross-file-helmrepository0 reactions
- Nov 4, 2026fix(workload): Flux 'workload create' subcommands panic and export manifests without apiVersion/kind — devantler-tech/ksail0 reactions
- Oct 31, 2026feat(helm): update chart podinfo to 6.17.0 — TheKaoCloud/talos-ops-prod0 reactions · 2 comments
- Oct 30, 2026build(deps): bump ghcr.io/stefanprodan/podinfo from 6.14.1 to 6.17.0 in /charts/podinfo — fargozhu/podinfo0 reactions
- Oct 26, 2026chore(deps): update podinfo to v6.17.0 — mikutas/helmfiles0 reactions
- Oct 7, 2026Idea: report an OCI artifact's origin Git source and revision — confighub/cub-scout0 reactions
- Sep 30, 2026Update ghcr.io/stefanprodan/podinfo Docker tag to v6.17.0 — nhatminh06/aegis0 reactions
- Sep 14, 2026[Auction 23] Helm from zero: install, upgrade and roll back someone else's chart — danzgeorg/FastCore0 reactions
- Sep 5, 2026tests: e2e engine reconcile path depends on an unpinned third-party master branch — cube-idp/cube-idp0 reactions · 1 comment
- Aug 31, 2026chore(deps): update helm release podinfo to v6.17.0 — vikbaranov/flux-gitops0 reactions
- Aug 31, 2026feat(container): update image ghcr.io/stefanprodan/podinfo ( 6.14.1 → 6.17.0 ) — 4JX/home-ops0 reactions
- Aug 1, 2026feat(helm): update chart podinfo ( 6.7.1 → 6.17.0 ) - int-france-antipodes — gucio1200/argocd_poc20 reactions · 1 comment
- Aug 1, 2026feat(helm): update chart podinfo ( 6.7.1 → 6.17.0 ) - int-eastus2-antipodes — gucio1200/argocd_poc20 reactions · 1 comment
- Aug 1, 2026feat(helm): update chart podinfo ( 6.7.1 → 6.17.0 ) - int-eastus2-antipodes — gucio1200/argocd_poc20 reactions · 1 comment
- Aug 1, 2026feat(container): update image ghcr.io/stefanprodan/podinfo ( 6.8.0 → 6.17.0 ) - podinfotest/podinfo2 — gucio1200/argocd_poc20 reactions · 1 comment
- Aug 1, 2026feat(helm): update chart podinfo ( 6.7.1 → 6.17.0 ) - int/france/cluster01 — gucio1200/argocd_poc0 reactions
- Aug 1, 2026feat(helm): update chart podinfo ( 6.7.1 → 6.17.0 ) - int/eastus2/antipodes — gucio1200/argocd_poc0 reactions
On Hacker News · 1
- Mar 6, 2024Podinfo2 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
22 rules. About 0 are common, 10 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 40
Do not deviate from the established patterns in the codebase
- Distinctive: line 42
All new features must have associated documentation and tests
- Very specific: line 43
Never edit generated or vendored files by hand: *.pb.go, pkg/api/http/docs/swagger.json, charts/podinfo/values.schema.json and …
- Distinctive: line 45
After modifying a function or type, update its doc comment
- Distinctive: line 46
Add comments for complex logic but don't comment obvious code
- Distinctive: line 47
Every HTTP handler must have Swagger annotations that match its methods, content types and status codes
- Very specific: line 50
Keep the Helm chart, the Timoni module and the Kustomize overlay in sync when changing how podinfo is deployed
- Distinctive: line 52
Read existing tests before writing new ones
- Distinctive: line 53
Run individual tests when debugging, run the full test suite when done
- Very specific: line 54
Use go doc to read func signatures in external packages
- Very specific: line 58
Run make help to list the make targets
- Very specific: line 59
Run make gen after modifying protos, Swagger annotations or the Helm chart values.yaml
- Very specific: line 60
Run make fmt lint after completing a task and fix lint errors
- Very specific: line 61
Run make test to execute all Go tests
- Very specific: line 62
Run make run to start podinfo locally on port 9898, with gRPC on port 9999
- Very specific: line 63
Run make run-ui-demo to review the web UI against a fake API
- Very specific: line 64
Run make build-chart and make build-timoni after modifying the Helm chart or the Timoni module
- Distinctive: line 65
Follow the maintenance guide to update pinned versions and to cut a release
- Very specific: line 70
Write the commit subject in the imperative, capitalised, with no type prefix and no trailing period, like Add license header
- Distinctive: line 71
Leave out the commit body unless the reason for the change is not obvious, then keep it to a line or two
- Very specific: line 73
Do not add Co-authored-by trailers or session links for AI agents
- Distinctive: line 76
Write the PR body as a short list of what changed, and list the behaviour changes separately
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS instructions
Project Overview
Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. It is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops.
The project is structured as a Go module with the following components:
- podinfo: The server. It exposes an HTTP API built with gorilla/mux, a gRPC API, a web UI and Prometheus metrics, and exports traces, metrics and logs with OpenTelemetry. It is configured with viper from flags,
PODINFO_environment variables and a config file. - podcli: A command-line interface with health checks for HTTP, TCP, TLS certificates, WebSocket and gRPC endpoints. It is built using the Cobra library.
- Web UI: Plain HTML, CSS and JavaScript embedded in the binary. It has no build step and makes no requests to other origins.
- Installers: A Helm chart, a Timoni module and a Kustomize overlay that deploy podinfo on Kubernetes.
Repository Structure
├── charts/ # Helm chart
├── cmd/ # Main entrypoint for the binaries
│ ├── podcli/ # podinfo CLI
│ └── podinfo/ # podinfo server
├── deploy/ # Kustomize demo with frontend, backend and cache
│ └── otel/ # Docker Compose setup for OpenTelemetry
├── docs/ # API reference and guides, indexed in README.md
├── kustomize/ # Kustomize overlay
├── pkg/ # Go packages
│ ├── api/grpc/ # gRPC services, protos and generated stubs
│ ├── api/http/ # HTTP handlers, middlewares and the Swagger spec
│ ├── signals/ # Signal handling and graceful shutdown
│ ├── telemetry/ # OpenTelemetry setup and log correlation
│ └── version/ # Release version and Git revision
├── scripts/ # End-to-end tests with Kubernetes Kind
├── signing/ # Cosign and Notation public keys
├── timoni/ # Timoni module
└── ui/ # Web UI and the vendored Swagger UIRules of Engagement for AI Agents
- Do not deviate from the established patterns in the codebase
- New Go and JavaScript files must have the license header with the current year, never change the year of an existing header
- All new features must have associated documentation and tests
- Never edit generated or vendored files by hand:
*.pb.go,pkg/api/http/docs/swagger.json,charts/podinfo/values.schema.jsonandui/swagger/dist - Exported Go identifiers must have a doc comment that says what the name and signature do not
- After modifying a function or type, update its doc comment
- Add comments for complex logic but don't comment obvious code
- Every HTTP handler must have Swagger annotations that match its methods, content types and status codes
- A
//nolintdirective must name the linter and give the reason, never usegolangci-lint run --fix - The web UI must not load scripts, styles, fonts or images from other origins
- Keep the Helm chart, the Timoni module and the Kustomize overlay in sync when changing how podinfo is deployed
- Name new make targets verb first and give them a
##description - Read existing tests before writing new ones
- Run individual tests when debugging, run the full test suite when done
- Use
go docto read func signatures in external packages
Development Commands for AI Agents
- Run
make helpto list the make targets - Run
make genafter modifying protos, Swagger annotations or the Helm chartvalues.yaml - Run
make fmt lintafter completing a task and fix lint errors - Run
make testto execute all Go tests - Run
make runto start podinfo locally on port 9898, with gRPC on port 9999 - Run
make run-ui-demoto review the web UI against a fake API - Run
make build-chartandmake build-timoniafter modifying the Helm chart or the Timoni module - Follow the maintenance guide to update pinned versions and to cut a release
Commits and Pull Requests for AI Agents
- Work on a branch, never commit to
master - Write the commit subject in the imperative, capitalised, with no type prefix and no trailing period, like
Add license header - Leave out the commit body unless the reason for the change is not obvious, then keep it to a line or two
- Sign off every commit with
git commit -s, theSigned-off-bytrailer must name the human author - Do not add
Co-authored-bytrailers or session links for AI agents - Disclose the AI assistance with an
Assisted-by: <agent>/<model>commit trailer and in the PR description - Show the PR title and body to the user and wait for approval before opening or editing a PR
- Write the PR body as a short list of what changed, and list the behaviour changes separately
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

