Configuration for controlling how IPs are allocated in the
GKE cluster.
Attributes
Name
Description
use_ip_aliases
bool
Optional. Whether or not to enable Alias IPs in the GKE
cluster. If true, a VPC-native cluster is created.
This field is only supported for Cloud Composer environments
in versions composer-1.\ *.*-airflow-*.*.*. Environments in
newer versions always use VPC-native GKE clusters.
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.
For Cloud Composer environments in versions
composer-1.\ *.*-airflow-*.*.*, 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.
For Cloud Composer environments in versions
composer-1.\ *.*-airflow-*.*.*, 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.
For Cloud Composer environments in versions
composer-1.\ *.*-airflow-*.*.*, 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 __
notation (e.g. 10.96.0.0/14) from the RFC-1918 private
networks (e.g. 10.0.0.0/8, 172.16.0.0/12,
192.168.0.0/16) to pick a specific range to use. Specify
cluster_secondary_range_name or
cluster_ipv4_cidr_block but not both.
services_ipv4_cidr_block
str
Optional. The IP address range of the services IP addresses
in this cluster.
For Cloud Composer environments in versions
composer-1.\ *.*-airflow-*.*.*, 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 __
notation (e.g. 10.96.0.0/14) from the RFC-1918 private
networks (e.g. 10.0.0.0/8, 172.16.0.0/12,
192.168.0.0/16) to pick a specific range to use. Specify
services_secondary_range_name or
services_ipv4_cidr_block but not both.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class IPAllocationPolicy (1.17.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.17.5 (latest)](/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.17.4](/python/docs/reference/composer/1.17.4/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.16.1](/python/docs/reference/composer/1.16.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.15.1](/python/docs/reference/composer/1.15.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.14.0](/python/docs/reference/composer/1.14.0/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.13.1](/python/docs/reference/composer/1.13.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.12.2](/python/docs/reference/composer/1.12.2/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.11.1](/python/docs/reference/composer/1.11.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.10.0](/python/docs/reference/composer/1.10.0/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.9.1](/python/docs/reference/composer/1.9.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.8.0](/python/docs/reference/composer/1.8.0/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.7.1](/python/docs/reference/composer/1.7.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.6.1](/python/docs/reference/composer/1.6.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.5.0](/python/docs/reference/composer/1.5.0/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.4.4](/python/docs/reference/composer/1.4.4/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.3.2](/python/docs/reference/composer/1.3.2/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.2.1](/python/docs/reference/composer/1.2.1/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.1.0](/python/docs/reference/composer/1.1.0/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [1.0.0](/python/docs/reference/composer/1.0.0/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy)\n- [0.1.3](/python/docs/reference/composer/0.1.3/google.cloud.orchestration.airflow.service_v1beta1.types.IPAllocationPolicy) \n\n IPAllocationPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nConfiguration for controlling how IPs are allocated in the\nGKE cluster."]]