Skip to content

PoCs

A PoC is a small app a person uploads as a ZIP to have it hosted for a while. agent smith checks the archive, scans the code, commits it to a source repository, has that repository's host pipeline build and scan the image, and rolls it out to a Kubernetes cluster through GitOps and Argo CD. The PoC then answers at its own address, behind your auth proxy, until it expires.

Use it for a demo or a prototype that someone built outside a project and wants to show. A PoC is not a product: it has no tickets, no specs and no review, and it is stopped or deleted when its lifetime ends.

Before anyone can upload

PoCs are off by default. While they are off there is no PoCs item in the sidebar and every PoC route answers 404. An admin switches them on in Settings > PoCs and sets up one target: the source repository, the container registry, the build pipeline, Sealed Secrets, ingress, auth, network policy, quota and the Argo CD that deploys it. Every field is described in Settings: PoCs, the files a PoC is rendered from in The app template, and what Argo CD needs in PoC targets on Argo CD. Install in the target's section writes the build pipeline and the app template into the source repository and creates the target's ApplicationSet.

From the environment, a target needs a Git host (GitHub, Azure DevOps or GitLab) whose pipeline builds and pushes, a container registry (ACR for now), a Kubernetes cluster with an ingress controller, the Sealed Secrets controller and an egress proxy, an auth proxy your ingress controller can ask, and Argo CD. agent smith holds a pull-only registry token and never builds images itself.

The target install, the source and GitOps commits and the builds run under the machine identity in pocs.machine (the same block as a project's machine:), not under the person who clicked.

Who can do what

Permission Lets you
pocs.read open the PoCs area
pocs.write import PoCs and act on your own
pocs.overrule lift a scan block, with a reason
pocs.admin act on every PoC, extend past the owner's limit, install a target

The built-in poc role holds pocs.read and pocs.write, so a person who only hosts PoCs gets that role. Operators hold pocs.read; admins hold all four. Each person's PoCs live in their own poc-<person> project, created at their first import, and which PoCs you see follows the projects you read runs in. See Access control.

Upload a PoC

On PoCs, choose Import ZIP. Drop one ZIP with a Dockerfile at the top level and pick the target. The page checks the archive at once and lists what it checked:

  • Safe paths: nothing points outside the folder.
  • Plain files only: no links, devices or encrypted entries.
  • Within the size limits: the ZIP, its unpacked size, the file count and the compression ratio (the pocs.archive keys).
  • No secrets or compose files: no .env, keys or docker-compose files.
  • Dockerfile at the top level: a FROM, a numeric final USER if one is set, and exactly one TCP EXPOSE in the final stage. A # syntax= directive, RUN --security=insecure, RUN --network=host, RUN --mount=type=ssh|secret and ADD from a URL or a Git remote are refused, each naming its line.

Then say which app this is: Update one of your PoCs, or New app with a name (lowercase letters, digits and dashes; it becomes part of the address). When an update differs a lot from the last checked version, or its port or entrypoint changes, the page asks whether it is really the same app before it goes on. Start import starts a run.

You can add variables on the import page and later on the PoC. A secret variable is stored encrypted and never shown again; a plain variable is committed in plain text, so never put a secret there. Both reach the container as environment variables.

What the run does

The run is a poc-deploy run in your poc- project. Its steps:

  1. Validate: the archive is checked again on the server.
  2. Code scan: secret patterns and dependency vulnerabilities (OSV-Scanner). A blocked upload is never committed.
  3. Source commit: the folder is committed into the source repository.
  4. Pipeline build: the host pipeline builds the image, scans it with Trivy and pushes it. agent smith checks the pushed digest against the registry.
  5. Seal variables: secret variables and the pull secret are sealed to the cluster's Sealed Secrets certificate.
  6. GitOps commit: the app template is rendered into the PoC's deploy folder and committed.
  7. Rollout: Argo CD is read until the PoC is healthy, or until the rollout deadline fails the run.

What you see

PoCs lists your PoCs as cards with their state (Importing, Refused, Blocked, Ready, Failed, Stopped, Deleted), their address, the last run and, near the end of their lifetime, an "expires in N days" badge. A filter narrows the list by state.

A blocked revision's page lists each block (a secret, a vulnerability or a note) with how to fix it. A secret block can never be lifted. A vulnerability block can be lifted by someone holding pocs.overrule, who gives a reason; otherwise import a fixed ZIP. The revision page also shows each step of the run, the image digest once it is built, and the build pipeline's link.

A rollout's page shows one line per reading of Argo CD (sync, health, image, replicas) and, once healthy, the address the PoC runs at.

The PoC's detail page shows its desired state (replicas, revision, image digest, readiness probe), its revisions, its variables, its history and its lifetime. Its actions are Stop, Start, Roll back to an earlier healthy revision, Apply (for example a new readiness path) and Delete, which you confirm by typing the name. Each is a run that commits the PoC's desired state to the GitOps repository; Argo CD carries it out. Only the PoC's owner or someone holding pocs.admin acts on it.

Lifetime

A PoC expires its target's lifetime (90 days by default) after it was created. From the first reminder day (14 days before), its page shows a banner; there is no mail. The owner can Extend it twice by default, pocs.admin beyond that. An expired PoC whose owner saw the banner is deleted; one whose owner never saw it is stopped first and deleted 30 days later unless extended. The source folder stays in the source repository. The exact keys are under pocs.lifetime in Settings: PoCs.

Next