From 30496068e29919dbbea685678b44fbbe54628267 Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Thu, 29 Feb 2024 07:57:22 +0100 Subject: [PATCH] Implement GKE patterns naming conventions (#2120) * GKE Pattern Naming * Add MySQL pattern estimated cost --------- Co-authored-by: Ludovico Magnocavallo --- blueprints/gke/patterns/batch/tutorial.md | 5 ++++- blueprints/gke/patterns/kafka/tutorial.md | 5 ++++- blueprints/gke/patterns/mysql/tutorial.md | 9 +++++++-- blueprints/gke/patterns/redis-cluster/tutorial.md | 5 ++++- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/blueprints/gke/patterns/batch/tutorial.md b/blueprints/gke/patterns/batch/tutorial.md index ec57718b..4c1a5e2d 100644 --- a/blueprints/gke/patterns/batch/tutorial.md +++ b/blueprints/gke/patterns/batch/tutorial.md @@ -79,9 +79,12 @@ To get started, click Start. ```hcl project_id = "" -cluster_name = "cluster" +cluster_name = "gke-patterns-cluster" cluster_create = { deletion_protection = false + labels = { + pattern = "kafka" + } } region = "europe-west1" vpc_create = { diff --git a/blueprints/gke/patterns/kafka/tutorial.md b/blueprints/gke/patterns/kafka/tutorial.md index 7100d37e..c1ee7c30 100644 --- a/blueprints/gke/patterns/kafka/tutorial.md +++ b/blueprints/gke/patterns/kafka/tutorial.md @@ -39,9 +39,12 @@ To get started, click Start. ```hcl project_id = "" -cluster_name = "cluster" +cluster_name = "gke-patterns-cluster" cluster_create = { deletion_protection = false + labels = { + pattern = "kafka" + } } region = "europe-west1" vpc_create = { diff --git a/blueprints/gke/patterns/mysql/tutorial.md b/blueprints/gke/patterns/mysql/tutorial.md index 6872cae6..271cdc55 100644 --- a/blueprints/gke/patterns/mysql/tutorial.md +++ b/blueprints/gke/patterns/mysql/tutorial.md @@ -10,6 +10,8 @@ During this guide you will deploy a new GKE cluster, MySQL database and you will **Prerequisites**: A GCP Project with billing enabled +**Estimated cost**: $10/day + Click the **Start** button to move to the next step. @@ -26,11 +28,14 @@ Click the **Start** button to move to the next step. 2. Open autopilot-cluster/terraform.tfvars file. 3. Paste the following content into the file and adapt for your needs if necessary - ```tfvars + ```hcl project_id = "" - cluster_name = "cluster-00" + cluster_name = "gke-patterns-cluster" cluster_create = { deletion_protection = false + labels = { + pattern = "mysql" + } } region = "europe-west4" vpc_create = { diff --git a/blueprints/gke/patterns/redis-cluster/tutorial.md b/blueprints/gke/patterns/redis-cluster/tutorial.md index 3b5da336..76132cb2 100644 --- a/blueprints/gke/patterns/redis-cluster/tutorial.md +++ b/blueprints/gke/patterns/redis-cluster/tutorial.md @@ -40,9 +40,12 @@ To get started, click Start. ```hcl project_id = "" -cluster_name = "cluster" +cluster_name = "gke-patterns-cluster" cluster_create = { deletion_protection = false + labels = { + pattern = "redis-cluster" + } } region = "europe-west1" vpc_create = { }