menu
arrow_back

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

—/100

Checkpoints

arrow_forward

Create a GKE cluster

Create Docker container with Cloud Build

Deploy container to GKE

Expose GKE Deployment

Scale GKE deployment

Make changes to the website

Update website with zero downtime

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

1 个小时 30 分钟 5 个积分

GSP663

Google Cloud Self-Paced Labs

Overview

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

ddba666bd2b02d0d.png

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

Prerequisites

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

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