ClusterKubernetesNetworkConfigArgs

data class ClusterKubernetesNetworkConfigArgs(val ipFamily: Output<String>? = null, val serviceIpv4Cidr: Output<String>? = null, val serviceIpv6Cidr: Output<String>? = null) : ConvertibleToJava<ClusterKubernetesNetworkConfigArgs>

Constructors

Link copied to clipboard
fun ClusterKubernetesNetworkConfigArgs(ipFamily: Output<String>? = null, serviceIpv4Cidr: Output<String>? = null, serviceIpv6Cidr: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ClusterKubernetesNetworkConfigArgs

Properties

Link copied to clipboard
val ipFamily: Output<String>? = null

The IP family used to assign Kubernetes pod and service addresses. Valid values are ipv4 (default) and ipv6. You can only specify an IP family when you create a cluster, changing this value will force a new cluster to be created.

Link copied to clipboard
val serviceIpv4Cidr: Output<String>? = null

The CIDR block to assign Kubernetes pod and service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. You can only specify a custom CIDR block when you create a cluster, changing this value will force a new cluster to be created. The block must meet the following requirements:

Link copied to clipboard
val serviceIpv6Cidr: Output<String>? = null

The CIDR block that Kubernetes pod and service IP addresses are assigned from if you specified ipv6 for ipFamily when you created the cluster. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.