QuestionQ2

VerifiedDesigning and planning a Google Cloud Virtual Private Cloud (VPC) network

You need to create a GKE cluster in an existing VPC that can be accessed from on-premises. You must satisfy these requirements:

  • IP ranges for Pods and Services must be as small as possible.
  • The nodes and master must not be accessible from the internet.
  • You must be able to run kubectl commands from on-premises subnets to manage the cluster.

How should you create the GKE cluster?

Explanation

A VPC-native GKE cluster using user-managed secondary IP ranges lets the administrator define the Pod and Service CIDRs, including /24 ranges. Enabling the private control-plane endpoint disables external control-plane access, and master authorized networks can allow the required on-premises source CIDRs. A network proxy provides a controlled path for administrative access while keeping the cluster endpoints off the public internet.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!