Terraform GitOps Framework
Everything you need to build reliable automation
for AKS, EKS and GKE Kubernetes clusters
in one free and open-source framework.

Complete Workflow

From local development to critical production environment. The Kubestack framework combines a complete GitOps workflow with a delightful developer experience for teams.

GitOps flow >>
# work in a local development environment
$ kbst local apply
Switched to workspace "loc".
Apply complete! Resources: 14 added, 0 changed, 0 destroyed.
2021/06/16 16:7:37 #### Watching for changes
# commit and push your changes to start the GitOps workflow
$ git commit -am "Install Prometheus operator"
$ git push origin prometheus
Switched to workspace "ops".
Plan: 14 to add, 0 to change, 0 to destroy.
# review, then merge changes to validate against ops
$ git merge prometheus
$ git push origin master
Switched to workspace "ops".
Apply complete! Resources: 14 added, 0 changed, 0 destroyed.
# tag the validated commit to promote the changes to apps
$ git tag apps-deploy-20210616-0
$ git push origin apps-deploy-20210616-0
Switched to workspace "apps".
Apply complete! Resources: 14 added, 0 changed, 0 destroyed.

Reliable Automation

Configuration inheritance and GitOps automation to validate and promote changes between environments allows teams of any size to safely collaborate on infrastructure changes.

Inheritance Model >>

Native Integration

Kubestack integrates cluster infrastructure and services into the Terraform ecosystem using modules and providers so that platform teams can maintain the entire Kubernetes stack as one.

Cluster modules >>
Cluster service modules >>
# cluster modules provision AKS, EKS or GKE Kubernetes
module "gke_example" {
# ...
# cluster service modules provision Kubernetes services
provider "kustomization" {
alias = "gke_example"
kubeconfig_raw = module.gke_example.kubeconfig
module "gke_example_prometheus" {
providers = {
kustomization = kustomization.gke_example
# ...

Why Kubestack

When we use frameworks to build applications, why do we build infrastructure automation from scratch? Using a framework is a great way to skip the boilerplate, and focus on what matters instead of reinventing the wheel. But until now, there was no framework for infrastructure automation. That's why we built the Kubestack framework. Kubestack is for teams that want to automate infrastructure, not reinvent automation.

Fast path to GitOps

This ~3 minute time-lapse video shows how the step-by-step tutorial will help you initialize your repository, configure and bootstrap your managed Kubernetes infrastructure and set up reliable Terraform automation with a workflow for teams.

Move fast without breaking things

Increase Speed

Adapt the tried and tested pull-request and peer-review based workflow to efficiently manage changes with your team.

Fast track the boilerplate and be able to focus on what's important with reusable Terraform modules and Kustomize bases.

Reduce long-term maintenance effort by minimizing your bespoke infrastructure configuration.

Reduce Risk

Prevent conflicts through independent environments when working on infrastructure and applications simultaneously.

Avoid configuration drift between these environments with inheritance based configuration that makes differences explicit.

Rely on an integrated GitOps process designed to provide feedback and validate changes before they are promoted.

Save Costs

Leverage localhost development environments to work on cluster manifests or learn more about GitOps automation.

Scale, improve availability or avoid lock-in using fully supported multi-cluster, multi-region and multi-cloud deployments.

Unify the application runtime environments between clusters using open-source services from the catalog.

GitOps infrastructure automation
for EKS, AKS and GKE managed Kubernetes

Amazon Web Services
Microsoft Azure
Google Cloud