public sealed class IPAllocationPolicy : IMessage<IPAllocationPolicy>, IEquatable<IPAllocationPolicy>, IDeepCloneable<IPAllocationPolicy>, IBufferMessage, IMessage
Configuration for controlling how IPs are allocated in the GKE cluster running the Apache Airflow software.
Implements
IMessage<IPAllocationPolicy>, IEquatable<IPAllocationPolicy>, IDeepCloneable<IPAllocationPolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Orchestration.Airflow.Service.V1Assembly
Google.Cloud.Orchestration.Airflow.Service.V1.dll
Constructors
IPAllocationPolicy()
public IPAllocationPolicy()
IPAllocationPolicy(IPAllocationPolicy)
public IPAllocationPolicy(IPAllocationPolicy other)
Parameter | |
---|---|
Name | Description |
other | IPAllocationPolicy |
Properties
ClusterIpAllocationCase
public IPAllocationPolicy.ClusterIpAllocationOneofCase ClusterIpAllocationCase { get; }
Property Value | |
---|---|
Type | Description |
IPAllocationPolicy.ClusterIpAllocationOneofCase |
ClusterIpv4CidrBlock
public string ClusterIpv4CidrBlock { get; set; }
Optional. The IP address range used to allocate IP addresses to pods in the GKE 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
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.
Property Value | |
---|---|
Type | Description |
String |
ClusterSecondaryRangeName
public string ClusterSecondaryRangeName { get; set; }
Optional. The name of the GKE cluster's secondary range used to allocate IP addresses to pods.
This field is applicable only when use_ip_aliases
is true.
Property Value | |
---|---|
Type | Description |
String |
ServicesIpAllocationCase
public IPAllocationPolicy.ServicesIpAllocationOneofCase ServicesIpAllocationCase { get; }
Property Value | |
---|---|
Type | Description |
IPAllocationPolicy.ServicesIpAllocationOneofCase |
ServicesIpv4CidrBlock
public string ServicesIpv4CidrBlock { get; set; }
Optional. The IP address range of the services IP addresses in this GKE 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
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.
Property Value | |
---|---|
Type | Description |
String |
ServicesSecondaryRangeName
public string ServicesSecondaryRangeName { get; set; }
Optional. The name of the services' secondary range used to allocate IP addresses to the GKE cluster.
This field is applicable only when use_ip_aliases
is true.
Property Value | |
---|---|
Type | Description |
String |
UseIpAliases
public bool UseIpAliases { get; set; }
Optional. Whether or not to enable Alias IPs in the GKE cluster.
If true
, a VPC-native cluster is created.
Property Value | |
---|---|
Type | Description |
Boolean |