Class MasterAuthorizedNetworksConfig (2.2.0)

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

Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.

Attributes

NameDescription
enabled bool
Whether or not master authorized networks is enabled.
cidr_blocks Sequence[.cluster_service.MasterAuthorizedNetworksConfig.CidrBlock]
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

Classes

CidrBlock

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

CidrBlock contains an optional name and one CIDR block.