GCP Kubernetes workshop research in China

As we all know, we are in the storming phase of the platforms works. After discussed. We went though our Kubernetes Workshop in China deploying GKE from different locations. Fortunately, everything seems works well in China.

After discussed the test strategy with D who comes from M&A team, based on some information we collected from TO teams in Wuhan. The test strategy we made as below:

  1. Our tests should focus on the service we hosted by GCP, we need to test in different region of China with the normal network.
  2. Everything works well with VPN. We don't need to worry about it.
  3. No matter AWS or GCP, we all need to connect to VPN if we want to working from home. But for the case working from home is very rare, the TL in TO from Wuhan and Beijing who told me. And we still need to have a manually test for the performance, and the developer experience.

Testing on the services we hosted by GCP in Asia.

We hosted our service with GKE in Asia from south, east and north. Then we use ThousandEyes to monitor our services from 7 different regions in China.

Only the first region is from Beijing office, for others followed by China all means out of office.

The reports below shows the service availability from all 7 regions, almost 99% in 7 days. And the reports goes here:

Source/Region Reports link Screenshot
Asia - East East
Asia - Northeast Northeast
Asia - Southeast Southeast

Here we compared with more details for the performance manually in Wuhan, and the response time for the HTTP source request all looks well, most of them are in ms, less than one second.

Asia Region Service Accessing

Region\Action Office TW VPN(Xian DC) Office Home Home TW VPN(Xian DC)
Asia-southeast1
office-xian
office
home
home-xian
home-xian
Asia-east1
office-xian
office
office
home-xian
home-xian
Asia-northeast1
office-xian
office
home
home-xian
home-xian

GCP development experience in China.

The following grid shows the command line and service if you want to using at home, the VPN is required, but that's all.

gcloud kubectl service
office
vpn
home

And command line example 1 :
$ kubectl get pods > /dev/null

Region\Action Office TW VPN(Xian DC) Office Home Home TW VPN(Xian DC)
Asia-southeast1 0.13s user
0.02s system
22% cpu
0.631 total
0.13s user
0.02s system
30% cpu
0.494 total
timeout 0.13s user
0.02s system
23% cpu
0.610 total
Asia-east1 0.42s user
0.07s system
53% cpu
0.905 total
0.13s user
0.02s system
25% cpu
0.594 total
timeout 0.14s user
0.02s system
29% cpu
0.536 total
Asia-northeast1 0.13s user
0.02s system
16% cpu
0.841 total
0.44s user
0.08s system
31% cpu
1.643 total
timeout 0.13s user
0.02s system
23% cpu
0.630 total

And command line example 2 :

time kubectl set image deployment/frontend
nodejs-redis=docker.io/ihakula/idea-board:step-6
deployment "frontend" image updated
kubectl set image deployment/frontend  
0.14s user 0.03s system 5% cpu 3.020 total

time kubectl scale deployment frontend --replicas=3
deployment "frontend" scaled
kubectl scale deployment frontend --replicas=3
0.14s user 0.02s system 7% cpu 2.111 total

If you want to update container image or scale the service, all in 2 or 3 seconds, good.

As we can see, no matter service availability or development experience with VPN, all looks well. So, let's have fun for the platform party.

Have Fun
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,496评论 0 23
  • 曲礼曰:“毋不敬,俨若思,安定辞,安民哉!” 敖不可长,欲不可从,志不可满,乐不可极。 贤者狎而敬之,畏而爱之。爱...
    阿赵阅读 3,437评论 0 1
  • 公司内每一个部门,都是一个独立的小公司,都会有自己独立的相对意义上的收入和支出,作为部门内的每个人,是否清楚自己在...
    423429d90f38阅读 2,828评论 0 1
  • 1.感恩父母的生养之恩,谢谢你们; 2.外公外婆,谢谢你们的抚育之恩,我会抽时间回来看你,谢谢你们! 3.感恩金钱...
    心灵陪伴阅读 1,126评论 0 1

友情链接更多精彩内容