kOps creates, upgrades, and maintains highly available Kubernetes clusters and provisions supporting cloud infrastructure from the command line.
Overview
kOps, short for Kubernetes Operations, is a command-line tool oriented toward production Kubernetes clusters. Documentation describes it as analogous to kubectl, but focused on whole clusters rather than individual resources.
The tool creates, destroys, upgrades, and maintains highly available clusters and can provision the underlying cloud infrastructure. AWS and Google Cloud are officially supported, with DigitalOcean, Hetzner, and OpenStack in beta and Azure in alpha.
Documented capabilities include automated HA cluster provisioning, a state-sync model for dry runs and idempotent changes, optional Terraform output, YAML manifest APIs, configuration templating, choice of common CNI providers, ARM64 support, and hooks to add files or containers to nodes via cluster manifests. Managed Kubernetes add-ons can be installed with minimal configuration, and shell autocompletion is supported.
Users typically start from getting-started material for hosted Kubernetes services or on-premises targets. Documentation is published at the kOps SIG site.
Key features
- Cluster create, upgrade, and teardown
- Cloud infrastructure provisioning
- Highly available cluster automation
- Dry-run and idempotent state sync
- Terraform manifest generation
- YAML-based cluster configuration
- Multiple CNI provider choices
- Managed add-on integration
Use cases
- AWS or GCE Kubernetes bootstrapping
- Production cluster upgrades
- Infrastructure-as-code cluster manifests
- Multi-cloud kOps-managed clusters
- Operations teams standardizing on kOps