diff --git a/blueprints/gke/patterns/batch/tutorial.md b/blueprints/gke/patterns/batch/tutorial.md index 6295f087..2fab4586 100644 --- a/blueprints/gke/patterns/batch/tutorial.md +++ b/blueprints/gke/patterns/batch/tutorial.md @@ -1,6 +1,6 @@ # Deploy a batch system using Kueue -This tutorial shows you how to deploy a batch system using Kueue to perform Job queueing on Google Kubernetes Engine (GKE) using Terraform. +This tutorial shows you how to deploy a batch system using Kueue to perform Job queueing on Google Kubernetes Engine (GKE) using Terraform. Jobs are applications that run to completion, such as machine learning, rendering, simulation, analytics, CI/CD, and similar workloads. @@ -30,7 +30,7 @@ When working with Kueue there are a few concepts that ome needs to be familiar w A namespaced resource that groups closely related workloads belonging to a single tenant. * Workload - + An application that will run to completion. It is the unit of admission in Kueue. Sometimes referred to as job Kueue refers to jobs defined with any API as Workloads, to avoid the confusion with the specific Kubernetes Job API. @@ -59,12 +59,21 @@ To get started, click Start. +## Install Terraform 1.7.4+ version +Install recent version of Terraform by executing following commands: + +```sh +wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/hashicorp-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list +sudo apt update && sudo apt install terraform +``` + ## Create the Autopilot GKE cluster 1. Change to the ```autopilot-cluster``` directory. ```bash - cd autopilot-cluster + cd autopilot-cluster ``` 2. Create a new file ```terraform.tfvars``` in that directory. @@ -121,7 +130,7 @@ vpc_create = { 1. Change to the ```patterns/batch``` directory. ```bash - cd ../batch + cd ../batch ``` 2. Create a new file ```terraform.tfvars``` in that directory. diff --git a/blueprints/gke/patterns/kafka/tutorial.md b/blueprints/gke/patterns/kafka/tutorial.md index 70318635..d2494ea0 100644 --- a/blueprints/gke/patterns/kafka/tutorial.md +++ b/blueprints/gke/patterns/kafka/tutorial.md @@ -19,12 +19,21 @@ To get started, click Start. +## Install Terraform 1.7.4+ version +Install recent version of Terraform by executing following commands: + +```sh +wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/hashicorp-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list +sudo apt update && sudo apt install terraform +``` + ## Create the Autopilot GKE cluster 1. Change to the ```autopilot-cluster``` directory. ```bash - cd autopilot-cluster + cd autopilot-cluster ``` 2. Create a new file ```terraform.tfvars``` in that directory. diff --git a/blueprints/gke/patterns/mysql/tutorial.md b/blueprints/gke/patterns/mysql/tutorial.md index 1f595a7f..2b1d61ea 100644 --- a/blueprints/gke/patterns/mysql/tutorial.md +++ b/blueprints/gke/patterns/mysql/tutorial.md @@ -18,6 +18,14 @@ Click the **Start** button to move to the next step. ## Create or select a project +## Install Terraform 1.7.4+ version +Install recent version of Terraform by executing following commands: + +```sh +wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/hashicorp-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list +sudo apt update && sudo apt install terraform +``` ## Create GKE autopilot cluster 1. Create a new `terraform.tfvars` file diff --git a/blueprints/gke/patterns/redis-cluster/tutorial.md b/blueprints/gke/patterns/redis-cluster/tutorial.md index 1b058d8c..0e72cabd 100644 --- a/blueprints/gke/patterns/redis-cluster/tutorial.md +++ b/blueprints/gke/patterns/redis-cluster/tutorial.md @@ -1,4 +1,4 @@ -# Deploy a Redis cluster on GKE +# Deploy a Redis cluster on GKE ## Objectives @@ -20,12 +20,21 @@ To get started, click Start. +## Install Terraform 1.7.4+ version +Install recent version of Terraform by executing following commands: + +```sh +wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/hashicorp-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list +sudo apt update && sudo apt install terraform +``` + ## Create the Autopilot GKE cluster 1. Change to the ```autopilot-cluster``` directory. ```bash - cd autopilot-cluster + cd autopilot-cluster ``` 2. Create a new file ```terraform.tfvars``` in that directory.