menu
arrow_back

Hello Node Kubernetes

60m access · 60m completion
Connection Details

7 Credits

info_outline
This lab costs 7 Credits to run. You can purchase credits or a subscription under My Account.

01:00:00

Hello Node Kubernetes

GSP005

Google Cloud Self-Paced Labs

Overview

The goal of this hands-on lab is for you to turn code that you have developed into a replicated application running on Kubernetes, which is running on Kubernetes Engine. For this lab the code will be a simple Hello World node.js app.

Here's a diagram of the various parts in play in this lab, to help you understand how the pieces fit together with one another. Use this as a reference as you progress through the lab; it should all make sense by the time you get to the end (but feel free to ignore this for now).

ba830277f2d92e04.png

Kubernetes is an open source project (available on kubernetes.io which can run on many different environments, from laptops to high-availability multi-node clusters; from public clouds to on-premise deployments; from virtual machines to bare metal.

For the purpose of this lab, using a managed environment such as Kubernetes Engine (a Google-hosted version of Kubernetes running on Compute Engine) will allow you to focus more on experiencing Kubernetes rather than setting up the underlying infrastructure.

What you'll do

  • Create a Node.js server
  • Create a Docker container image
  • Create a container cluster
  • Create a Kubernetes pod
  • Scale up your services

Prerequisites

  • Familiarity with standard Linux text editors such as vim, emacs, or nano will be helpful.

We encourage students to type the commands themselves, to help encourage learning of the core concepts. Many labs will include a code block that contains the required commands. You can easily copy and paste the commands from the code block into the appropriate places during the lab.

Join Qwiklabs to Read the Rest of this Lab...and More!

  • Get temporary access to the Google Cloud Console.
  • Nearly 100 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
Score

—/20

Creating a Kubernetes Engine cluster

Run Step

/ 5

Create a new Deployment - hello-server

Run Step

/ 5

Create a Kubernetes Service

Run Step

/ 5

Scale up your service

Run Step

/ 5

view_comfy
Catalog
menu
More
More