Why Polycrate?
Why teams choose Polycrate: simple actions instead of tool sprawl, curated container toolchain, central workspace.poly, OCI blocks, and clear rules.
Polycrate reduces the complexity of modern platform and infrastructure automation to a clear, repeatable model — without locking you into a proprietary DSL.
Simple Actions Instead of Tool Sprawl
Complex Ansible playbooks, Helm invocations, and maintenance procedures are encapsulated inside blocks. In day-to-day operations, teams run simple, self-explanatory actions without needing to know every internal detail:
# block.poly
name: nginx
version: 1.0.0
actions:
- name: install
playbook: install.yml
- name: uninstall
playbook: uninstall.yml
- name: status
playbook: status.yml
polycrate run nginx install
polycrate run nginx status
Curated Toolchain in a Container
Ansible, kubectl, helm, kustomize, cilium, velero, age, Python, and database clients come preinstalled in the official Debian-based Polycrate container. You no longer need a fragile, version-sensitive patchwork of tools across developer machines or CI runners.
One Central workspace.poly
The entire workspace is described declaratively in pure YAML — without a custom programming language and without hidden template magic inside configuration files:
# workspace.poly
name: acme-production-1
organization: acme
blocks:
- name: cluster
from: registry.acme.corp/infra/k8s:1.0.0
- name: myapp
from: registry.acme.corp/apps/myapp:1.0.0
config:
replicas: 2
Inventory and kubeconfig live unambiguously in a single place per workspace (inventory.yml in the root and artifacts/secrets/kubeconfig.yml) and are passed automatically to Ansible and Kubernetes tools.
Team-Ready and Secure
- Unified interface: Operations, platform teams, and developers all run the same actions (
install,backup,status). - Built-in secrets encryption: Sensitive files (
secrets.polyandartifacts/secrets/) are encrypted withageinto.agefiles and safely versioned in Git. - Reuse existing code: Existing Ansible playbooks, Helm charts, and scripts can be packaged into blocks without a rewrite.
OCI Registry as an Open Distribution Standard
Blocks are versioned as standard OCI artifacts and distributed via any compatible registry (Harbor, cargo.ayedo.cloud, GitLab Registry, GHCR):
polycrate block pull registry.acme.corp/blocks/k8s/cluster:1.0.0
polycrate block push registry.acme.corp/infra/my-block
→ Registry · Block Catalog (Hub)
Git- and SDD-Ready
A workspace is a regular directory that integrates seamlessly with Git. For larger changes, Polycrate also includes a built-in workflow for Spec-Driven Development and reproducible releases.