diff --git a/deploy/gcp/examples/multi-zonal.tfvars b/deploy/gcp/examples/multi-zonal.tfvars new file mode 100644 index 0000000000..17aa938cc0 --- /dev/null +++ b/deploy/gcp/examples/multi-zonal.tfvars @@ -0,0 +1,13 @@ +# +# This will create a zonal cluster in zone us-central1-b with one additional zone. +# Work nodes will be created in primary zone us-central1-b and additional zone us-central1-c. +# +gke_name = "multi-zonal" +vpc_name = "multi-zonal" +location = "us-central1-b" +pd_instance_type = "n1-standard-2" +tikv_instance_type = "n1-highmem-4" +tidb_instance_type = "n1-standard-8" +node_locations = [ + "us-central1-c" +] diff --git a/deploy/gcp/examples/single-zonal.tfvars b/deploy/gcp/examples/single-zonal.tfvars new file mode 100644 index 0000000000..4b073e6e2c --- /dev/null +++ b/deploy/gcp/examples/single-zonal.tfvars @@ -0,0 +1,13 @@ +# +# This will create a zonal cluster in zone us-central1-b without additional zones. +# Work nodes will be created in a single zone only. +# +gke_name = "single-zonal" +vpc_name = "single-zonal" +location = "us-central1-b" +pd_instance_type = "n1-standard-2" +tikv_instance_type = "n1-highmem-4" +tidb_instance_type = "n1-standard-8" +pd_count = 3 +tikv_count = 3 +tidb_count = 3 diff --git a/deploy/gcp/examples/tidb-customized.tfvars b/deploy/gcp/examples/tidb-customized.tfvars new file mode 100644 index 0000000000..a1a525ba3e --- /dev/null +++ b/deploy/gcp/examples/tidb-customized.tfvars @@ -0,0 +1,25 @@ +pd_instance_type = "n1-standard-2" +tikv_instance_type = "n1-highmem-4" +tidb_instance_type = "n1-standard-8" + +# specify tidb version +tidb_version = "3.0.2" + +# override tidb cluster values +override_values = <