Implement GKE patterns naming conventions (#2120)
* GKE Pattern Naming * Add MySQL pattern estimated cost --------- Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
parent
3972eb6df4
commit
30496068e2
|
@ -79,9 +79,12 @@ To get started, click Start.
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
project_id = "<walkthrough-project-name/>"
|
project_id = "<walkthrough-project-name/>"
|
||||||
cluster_name = "cluster"
|
cluster_name = "gke-patterns-cluster"
|
||||||
cluster_create = {
|
cluster_create = {
|
||||||
deletion_protection = false
|
deletion_protection = false
|
||||||
|
labels = {
|
||||||
|
pattern = "kafka"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
region = "europe-west1"
|
region = "europe-west1"
|
||||||
vpc_create = {
|
vpc_create = {
|
||||||
|
|
|
@ -39,9 +39,12 @@ To get started, click Start.
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
project_id = "<walkthrough-project-name/>"
|
project_id = "<walkthrough-project-name/>"
|
||||||
cluster_name = "cluster"
|
cluster_name = "gke-patterns-cluster"
|
||||||
cluster_create = {
|
cluster_create = {
|
||||||
deletion_protection = false
|
deletion_protection = false
|
||||||
|
labels = {
|
||||||
|
pattern = "kafka"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
region = "europe-west1"
|
region = "europe-west1"
|
||||||
vpc_create = {
|
vpc_create = {
|
||||||
|
|
|
@ -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
|
**Prerequisites**: A GCP Project with billing enabled
|
||||||
|
|
||||||
|
**Estimated cost**: $10/day
|
||||||
|
|
||||||
Click the **Start** button to move to the next step.
|
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 <walkthrough-editor-open-file filePath="autopilot-cluster/terraform.tfvars">autopilot-cluster/terraform.tfvars</walkthrough-editor-open-file> file.
|
2. Open <walkthrough-editor-open-file filePath="autopilot-cluster/terraform.tfvars">autopilot-cluster/terraform.tfvars</walkthrough-editor-open-file> file.
|
||||||
|
|
||||||
3. Paste the following content into the file and adapt for your needs if necessary
|
3. Paste the following content into the file and adapt for your needs if necessary
|
||||||
```tfvars
|
```hcl
|
||||||
project_id = "<walkthrough-project-id/>"
|
project_id = "<walkthrough-project-id/>"
|
||||||
cluster_name = "cluster-00"
|
cluster_name = "gke-patterns-cluster"
|
||||||
cluster_create = {
|
cluster_create = {
|
||||||
deletion_protection = false
|
deletion_protection = false
|
||||||
|
labels = {
|
||||||
|
pattern = "mysql"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
region = "europe-west4"
|
region = "europe-west4"
|
||||||
vpc_create = {
|
vpc_create = {
|
||||||
|
|
|
@ -40,9 +40,12 @@ To get started, click Start.
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
project_id = "<walkthrough-project-name/>"
|
project_id = "<walkthrough-project-name/>"
|
||||||
cluster_name = "cluster"
|
cluster_name = "gke-patterns-cluster"
|
||||||
cluster_create = {
|
cluster_create = {
|
||||||
deletion_protection = false
|
deletion_protection = false
|
||||||
|
labels = {
|
||||||
|
pattern = "redis-cluster"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
region = "europe-west1"
|
region = "europe-west1"
|
||||||
vpc_create = { }
|
vpc_create = { }
|
||||||
|
|
Loading…
Reference in New Issue