Create a private cluster
Create a VM instance
Authorize your external address range
Delete the Kubernetes cluster
Create a subnetwork and secondary ranges in us-central1 region
Create a private cluster that uses your subnetwork
Authorize your external address range for private cluster in custom subnetwork
Setting up a Private Kubernetes Cluster
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.
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.