# easzlab/kubeasz

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/easzlab-kubeasz).**

11,317 stars · 3,659 forks · Jinja

## Links

- GitHub: https://github.com/easzlab/kubeasz
- Homepage: https://github.com/easzlab/kubeasz
- awesome-repositories: https://awesome-repositories.com/repository/easzlab-kubeasz.md

## Topics

`ansible` `calico` `cilium` `docker` `etcd` `flannel` `k8s` `kubeasz` `kubernetes`

## Description

Kubeasz is an automation framework designed for the lifecycle management of production-grade Kubernetes clusters. It functions as an Ansible-based provisioner that orchestrates the installation, scaling, and maintenance of cluster components across distributed Linux nodes. By utilizing inventory-driven management and role-based task modularization, the project ensures that infrastructure configurations remain consistent and reproducible across diverse environments.

The platform distinguishes itself through its focus on automated system administration and operational continuity. It provides built-in capabilities for performing version upgrades and rotating security certificates without interrupting active services. Furthermore, the tool integrates disaster recovery workflows, allowing administrators to create snapshots of the cluster state and restore the entire environment to a functional condition following data loss or system corruption.

Beyond core lifecycle operations, the project covers a broad range of infrastructure tasks including network traffic routing and load balancing configuration. It employs template-based generation and idempotent state reconciliation to manage service settings and ensure that target nodes align with defined infrastructure requirements. The project is distributed as a collection of Ansible playbooks, providing a structured approach to managing the full operational lifecycle of a Kubernetes cluster.

## Tags

### DevOps & Infrastructure

- [Kubernetes Cluster Management](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-cluster-management.md) — Provides comprehensive lifecycle management for production-grade Kubernetes clusters.
- [Ansible Provisioners](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-deployments/ansible-provisioners.md) — Orchestrates the installation and configuration of Kubernetes components across distributed Linux nodes.
- [Cluster Upgrades](https://awesome-repositories.com/f/devops-infrastructure/cluster-upgrades.md) — Manages version updates across distributed infrastructure while maintaining service availability. ([source](https://github.com/easzlab/kubeasz/tree/master/docs/op))
- [Disaster Recovery Planning](https://awesome-repositories.com/f/devops-infrastructure/disaster-recovery-planning.md) — Implements automated workflows for cluster state backup and disaster recovery.
- [Cluster Management](https://awesome-repositories.com/f/devops-infrastructure/cluster-management.md) — Orchestrates the scaling and maintenance of control plane and worker nodes within a cluster. ([source](https://github.com/easzlab/kubeasz/tree/master/docs/op))
- [Kubernetes Traffic Controllers](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-traffic-controllers.md) — Configures ingress controllers and load balancing services for Kubernetes-native traffic routing.
- [Cluster Node Management](https://awesome-repositories.com/f/devops-infrastructure/cluster-node-management.md) — Organizes infrastructure topology and manages node membership through structured inventory files.
- [Configuration-Driven Templating Engines](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/template-and-generation-engines/configuration-driven-templating-engines.md) — Generates static system configuration files from dynamic variables using template-based engines.

### Security & Cryptography

- [TLS Certificate Management](https://awesome-repositories.com/f/security-cryptography/governance-policy-frameworks/security-infrastructure/tls-certificate-management.md) — Automates the rotation of TLS certificates to maintain secure internal cluster communication.
- [Automated Secret Rotation](https://awesome-repositories.com/f/security-cryptography/automated-secret-rotation.md) — Automates the rotation of security credentials to maintain secure communication without manual intervention. ([source](https://github.com/easzlab/kubeasz/tree/master/docs/op))
- [Kubernetes Security](https://awesome-repositories.com/f/security-cryptography/kubernetes-security.md) — Hardens cluster environments through automated security administration and credential management.

### System Administration & Monitoring

- [Backup and Recovery Utilities](https://awesome-repositories.com/f/system-administration-monitoring/backup-and-recovery-utilities.md) — Provides utilities for creating cluster snapshots and restoring system configurations for disaster recovery.
- [System Restoration](https://awesome-repositories.com/f/system-administration-monitoring/system-restoration.md) — Recovers infrastructure state from backups to restore functional environments after system corruption. ([source](https://github.com/easzlab/kubeasz/tree/master/docs/op))

### Software Engineering & Architecture

- [Ansible Collections](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/automation-and-templating-frameworks/ansible-collections.md) — Automates infrastructure configuration and management tasks using bundled Ansible collections.
- [State Reconciliation](https://awesome-repositories.com/f/software-engineering-architecture/state-reconciliation.md) — Ensures system consistency by reconciling current node configurations against desired states.

### Networking & Communication

- [Traffic Routing Controllers](https://awesome-repositories.com/f/networking-communication/traffic-routing-controllers.md) — Manages network request flow and load balancing to ensure high availability for hosted services. ([source](https://github.com/easzlab/kubeasz/tree/master/docs/op))
