Deploy Kubernetes in Google Cloud Platform

Tram Ho

Create new project

You can use Google Cloud CLI, download at https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe

Enable Compute Engine API

https://cloud.google.com/compute/docs/regions-zones

You can use asia-southeast1-a : Jurong West, Singapore, APAC (code 30)

asia-southeast1-b : Jurong West, Singapore, APAC

asia-southeast1-c : Jurong West, Singapore, APAC

Create network

Create filewall rules for internal connection

Create filewall rules for external connection

Create kubernetes controller

Get public IP address

Mapping kubernetes controller with public IP

Run commands


 

If you catch error

Install Docker

Install Docker

Share the news now