Create a GKE Cluster
Deploy nginx Ingress Controller
Deploy a sample Mendix application
glcoud is set up to access gcp.
Terraform is installed
kubectl
update env.sh
update env.sh
terraform init
terraform plan
terraform apply --auto-approve
It will show if the result was Successful or not.
sharath.sahadevan@C02CR0U0MD6W gke-mendix-quickstart % kubectl get pods -n mendix
NAMESPACE NAME READY STATUS RESTARTS AGE
mendix demo-master-b88bfd66f-bn5jl 2/2 Running 0 21m
mendix mendix-agent-9966b5f96-2bz5n 1/1 Running 0 21m
mendix mendix-operator-585f4f48b6-rzqrj 1/1 Running 0 21m
Result: Count of pods running
./validate.sh - Success: Number of running pods is 26
Result: Checking Application Pods
./validate.sh - Success: Number of running demo application pods is 1
./validate.sh Application Url: demo.35.222.165.23.nip.io #URL to access the Mendix app
./validate.sh Prometheus Url: 35.184.183.116:9090
terraform destroy