Review GKE control-plane authorized networks

Limit IP access to the GKE control plane to the management networks that need it.

Description

masterAuthorizedNetworksConfig restricts the source CIDRs that can reach GKE control-plane IP endpoints. Clients still need authentication and IAM or Kubernetes RBAC permissions.

Potential impact

An overly broad range permits unwanted connection attempts. Omitting an operator or automation network can cut off management access.

Remediation

Add the source CIDRs your VPN, bastion or fixed office connection actually uses. Check whether the internal IP endpoint enforces the list, and review access to the DNS endpoint separately. Test approved and excluded management paths after the change.

Examples

Standard support for Deployment Manager has ended. Use a supported tool for new configurations and supply the location, node and network settings omitted from these request bodies.

Before

yaml
name: my-cluster
description: cluster

After

yaml
name: my-cluster
description: cluster
masterAuthorizedNetworksConfig:
  enabled: true

Explanation:

  • Before: This request omits authorized networks. Check the endpoints and policies on the deployed cluster.
  • After: enabled: true adds no management CIDRs by itself. Add the required ranges and confirm the management path before applying.

References