Skip to content

This project provides a Terraform configuration to quickly bootstrap a GKE cluster pre-configured for GitOps workflows. Developers can leverage GitOps practices to manage their deployments within minutes of cluster creation.

Notifications You must be signed in to change notification settings

dewey-typical/all-in-one-gke-bootstrap

Repository files navigation

all-in-one-gke-bootstrap

The purpose of this project is to bootstrap a GKE cluster with Terraform, with the ability to do gitops for developers in minutes.

Getting started

Prerequisites

  1. Service Account JSON File: Ensure you have a service account JSON file named service-account.json in the project directory to authenticate with Google Cloud.

Steps

  1. Generate Terraform Variables:

    • Run the generate_vars.sh script to create the terraform.tfvars file with your project_id and region.
    ./generate_vars.sh
  2. Deploy the Infrastructure:

    • Run the deploy.sh script to deploy the GKE cluster using Terraform.
    ./deploy.sh

Example terraform.tfvars file

If you prefer to create the terraform.tfvars file manually, add the following variables:

project_id = "<project_id>"
region     = "<region>"

About

This project provides a Terraform configuration to quickly bootstrap a GKE cluster pre-configured for GitOps workflows. Developers can leverage GitOps practices to manage their deployments within minutes of cluster creation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published