Tutorial by

Deploy Cozystack on any Kubernetes with Ansible

Install Cozystack on an existing Kubernetes cluster with the ansible-cozystack collection, for teams that cannot run the full stack on Talos Linux.

DevOpsOpen SourceAnsibleKubernetesPlatform EngineeringCozystack
Deploy Cozystack on any Kubernetes with Ansible

For teams that can’t adopt the full Cozystack stack with Talos Linux — whether due to corporate policies, existing infrastructure, or OS-specific requirements — we now offer an official Ansible collection that brings the same Cozystack experience to your existing clusters.

Deploying Cozystack on any Kubernetes with Ansible

cozystack.installer automates the complete Cozystack deployment on generic Kubernetes — k3s, kubeadm, or RKE2 — turning a single ansible-playbook run into a fully configured cloud platform.

Who is this for

  1. Regulated environments: Your company mandates a specific Linux distribution and replacing the OS is not an option.
  2. Existing clusters: You already have Kubernetes running and want to add Cozystack capabilities — S3 storage, DBaaS, VMs, a management UI — without rebuilding from scratch.
  3. Multi-environment teams: Define your config once and replicate across dev, staging, and production with a single playbook.
  4. CI/CD workflows: Integrate Cozystack provisioning into your existing automation pipelines.

Try it yourself

ansible-galaxy collection install git+https://github.com/cozystack/ansible-cozystack.git

The repository includes a complete example — from bare Ubuntu nodes to a running Cozystack platform in one command.

https://github.com/cozystack/ansible-cozystack


Deploy Cozystack on any Kubernetes with Ansible was originally published in Ænix on Medium, where people are continuing the conversation by highlighting and responding to this story.

Test yourself: Cozystack via Ansible

5 questions · ~2 min