Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

KubernetesNetworkConfigRequest

import type { KubernetesNetworkConfigRequest } from "https://aws-api.deno.dev/v0.3/services/eks.ts?docs=full";

The Kubernetes network configuration for the cluster.

interface KubernetesNetworkConfigRequest {
ipFamily?: IpFamily | null;
serviceIpv4Cidr?: string | null;
}

§Properties

§
ipFamily?: IpFamily | null
[src]

Specify which IP version is used to assign Kubernetes Pod and Service IP addresses. If you don't specify a value, ipv4 is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specify ipv6, the VPC and subnets that you specify for cluster creation must have both IPv4 and IPv6 CIDR blocks assigned to them.

You can only specify ipv6 for 1.21 and later clusters that use version 1.10.0 or later of the Amazon VPC CNI add-on. If you specify ipv6, then ensure that your VPC meets the requirements and that you're familiar with the considerations listed in Assigning IPv6 addresses to Pods and Services in the Amazon EKS User Guide. If you specify ipv6, Kubernetes assigns Service and Pod addresses from the unique local address range (fc00::/7). You can't specify a custom IPv6 CIDR block.

§
serviceIpv4Cidr?: string | null
[src]

Don't specify a value if you select ipv6 for ipFamily. The CIDR block to assign Kubernetes 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. The block must meet the following requirements:

  • Within one of the following private IP address blocks: 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16.
  • Doesn't overlap with any CIDR block assigned to the VPC that you selected for VPC.
  • Between /24 and /12.

! IMPORTANT: ! You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.