Class PrivateClusterConfig (2.47.0)

PrivateClusterConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration options for private clusters.


Name Description
enable_private_nodes bool
Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
enable_private_endpoint bool
Whether the master's internal IP address is used as the cluster endpoint.
master_ipv4_cidr_block str
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.
private_endpoint str
Output only. The internal IP address of this cluster's master endpoint.
public_endpoint str
Output only. The external IP address of this cluster's master endpoint.
peering_name str
Output only. The peering name in the customer VPC used by this cluster.
Controls master global access settings.
private_endpoint_subnetwork str
Subnet to provision the master's private endpoint during cluster creation. Specified in projects/\ */regions/*/subnetworks/\* format.