GoogleApi.Composer.V1beta1.Model.IPAllocationPolicy (google_api_composer v0.22.2) View Source

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

Attributes

  • clusterIpv4CidrBlock (type: String.t, default: nil) - 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 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.
  • clusterSecondaryRangeName (type: String.t, default: nil) - 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.
  • servicesIpv4CidrBlock (type: String.t, default: nil) - 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 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.
  • servicesSecondaryRangeName (type: String.t, default: nil) - 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.
  • useIpAliases (type: boolean(), default: nil) - Optional. Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Composer.V1beta1.Model.IPAllocationPolicy{
  clusterIpv4CidrBlock: String.t() | nil,
  clusterSecondaryRangeName: String.t() | nil,
  servicesIpv4CidrBlock: String.t() | nil,
  servicesSecondaryRangeName: String.t() | nil,
  useIpAliases: boolean() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.