Class AdditionalIPRangesConfig (2.65.0)

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

AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the cluster

Attributes

Name Description
subnetwork str
Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet
pod_ipv4_range_names MutableSequence[str]
List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
status google.cloud.container_v1.types.AdditionalIPRangesConfig.Status
Draining status of the additional subnet.

Classes

Status

Status(value)

Additional subnet with DRAINING status will not be selected during new node pool creation. To undrain the draining status, update the cluster to set the subnet to ACTIVE status. To remove the additional subnet, use the update cluster API to remove the subnet from the desired_additional_ip_ranges list. IP ranges can be removed regardless of its status, as long as no node pools are using them.