- Gcloud credentials json file
- Terraform
- Helm
Region in which the GKE cluster will be provisioned
path to creds.json files for gcloud service account, feel free to update provider as per your requirment
ID of Gcloud Project
User Defined Name given to the Cluster
Machine Type to be used for the Node Pool
Number of Nodes in the Node Pool
a list of zones within the region to provsion nodes
creds_file_path = "./creds.json"
project_id = "altair-330820"
region = "us-east1"
cluster_name = "altair-gke"
machine_type = "e2-medium"
num_of_nodes_per_location = 1
node_locations = ["us-east1-b", "us-east1-c"]
- Ensure all prerequisites are fulfilled
- create a file named
terraform.tfvars - Fill the tfvars file as specified here
- Run these Commands
terraform init
terrform validate
terraform apply
-
Have a look at all the resources that terraform shows in the apply command and type 'yes' to deploy the given cluster
-
Verify cluster creation and istio configuration either through the gcloud console or CLI