Deploy, Scale, and Update Your Website on Google Kubernetes Engine

search share 加入 登录

Deploy, Scale, and Update Your Website on Google Kubernetes Engine

1 个小时 30 分钟 5 个积分


Google Cloud Self-Paced Labs


Running websites and applications is hard. Things go wrong when they shouldn't, servers crash, increase in demand causes more resources to be utilized, and making changes without downtime is complicated and stressful. Imagine if there was a tool that could help you do all this and even allow you to automate it. With Kubernetes, all of this is not only possible, it's easy!

In this lab you will assume the role of a developer at a fictional company, Fancy Store, running an ecommerce website. Due to problems with scaling and outages, you are tasked with deploying your application onto the Google Kubernetes Engine (GKE).

The exercises in this lab are ordered to reflect a common cloud developer experience:

  1. Create a GKE cluster

  2. Create a Docker container

  3. Deploy the container to GKE

  4. Expose the container via a service

  5. Scale the container to multiple replicas

  6. Modify the website

  7. Rollout a new version with zero downtime

Architecture diagram


What you'll learn

  • How to create a Google Kubernetes Engine cluster

  • How to create a Docker image

  • How to deploy Docker images to Kubernetes

  • How to scale an application on Kubernetes

  • How to perform a rolling update on Kubernetes


加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。