Class IPAllocationPolicy (1.4.2)

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

Configuration for controlling how IPs are allocated in the GKE cluster.

Attributes

NameDescription
use_ip_aliases bool
Optional. Whether or not to enable Alias IPs in the GKE cluster. If ``true``, a VPC-native cluster is created.
cluster_secondary_range_name str
Optional. The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either ``cluster_secondary_range_name`` or ``cluster_ipv4_cidr_block`` but not both. This field is applicable only when ``use_ip_aliases`` is true.
services_secondary_range_name str
Optional. The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either ``services_secondary_range_name`` or ``services_ipv4_cidr_block`` but not both. This field is applicable only when ``use_ip_aliases`` is true.
cluster_ipv4_cidr_block str
Optional. The IP address range used to allocate IP addresses to pods in the cluster. This field is applicable only when ``use_ip_aliases`` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. ``/14``) to have GKE choose a range with a specific netmask. Set to a `CIDR
services_ipv4_cidr_block str
Optional. The IP address range of the services IP addresses in this cluster. This field is applicable only when ``use_ip_aliases`` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. ``/14``) to have GKE choose a range with a specific netmask. Set to a `CIDR

Inheritance

builtins.object > proto.message.Message > IPAllocationPolicy