Class MasterAuthorizedNetworksConfig (2.4.1)

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[google.cloud.container_v1beta1.types.MasterAuthorizedNetworksConfig.CidrBlock]
cidr_blocks define up to 10 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. .. attribute:: display_name

display_name is an optional field for users to identify CIDR blocks.

:type: str