Prerequisites:
- Login your Google Cloud Service Console:
From Navigation Menu, choose Kubenetes Engine Clusters:
Click Create cluster:
Leave all fields with default value and click Create:
It will take few minutes to finish…
Activate Cloud Shell:
Download source code from Github(run command from cloud shell terminal):
1
git clone https://github.com/yanyuqu/video_analysis.git
Create Deployment pods and Services in GKE:
1
2cd video_analysis
kubectl create -f video-analysis.yamlCheck the status of pods:
1
kubectl get pods
Check the status of services:
1
kubectl get services
After all pods are ready and you get external IP from services, you can view the app from below url:
1
http://{your-extenal-ip}:8000