menu
arrow_back

Setting up a Private Kubernetes Cluster

Setting up a Private Kubernetes Cluster

1 hour 30 minutes 7 积分

GSP178

Google Cloud Self-Paced Labs

Overview

In Kubernetes Engine, a private cluster is a cluster that makes your master inaccessible from the public internet. In a private cluster, nodes do not have public IP addresses, only private addresses, so your workloads run in an isolated environment. Nodes and masters communicate with each other using VPC peering.

In the Kubernetes Engine API, address ranges are expressed as Classless Inter-Domain Routing (CIDR) blocks.

In this lab you will learn how to create a private Kubernetes cluster.

What you'll do

  • Create a Private Kubernetes Cluster.

Prerequisites

  • Student should already have experience creating and launching Kubernetes Clusters and be thoroughly versed in IP addressing in CIDR Range formats.

Join Qwiklabs to read the rest of this lab...and more!

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

—/100

Create a private cluster

Run Step

/ 10

Create a VM instance

Run Step

/ 10

Authorize your external address range

Run Step

/ 20

Delete the Kubernetes cluster

Run Step

/ 20

Create a subnetwork and secondary ranges in us-central1 region

Run Step

/ 10

Create a private cluster that uses your subnetwork

Run Step

/ 10

Authorize your external address range for private cluster in custom subnetwork

Run Step

/ 20