Class KubernetesNetworkConfigRequest
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KubernetesNetworkConfigRequest.Builder,KubernetesNetworkConfigRequest>
The Kubernetes network configuration for the cluster.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IpFamilyipFamily()Specify which IP family is used to assign Kubernetes pod and service IP addresses.final StringSpecify which IP family is used to assign Kubernetes pod and service IP addresses.static Class<? extends KubernetesNetworkConfigRequest.Builder> final StringDon't specify a value if you selectipv6for ipFamily.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
serviceIpv4Cidr
Don't specify a value if you select
ipv6for ipFamily. The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the10.100.0.0/16or172.20.0.0/16CIDR 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, or192.168.0.0/16. -
Doesn't overlap with any CIDR block assigned to the VPC that you selected for VPC.
-
Between
/24and/12.
You can only specify a custom CIDR block when you create a cluster. You can't change this value after the cluster is created.
- Returns:
- Don't specify a value if you select
ipv6for ipFamily. The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the10.100.0.0/16or172.20.0.0/16CIDR 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, or192.168.0.0/16. -
Doesn't overlap with any CIDR block assigned to the VPC that you selected for VPC.
-
Between
/24and/12.
You can only specify a custom CIDR block when you create a cluster. You can't change this value after the cluster is created.
-
-
-
ipFamily
Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value,
ipv4is 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 specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR.If the service returns an enum value that is not available in the current SDK version,
ipFamilywill returnIpFamily.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipFamilyAsString().- Returns:
- Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a
value,
ipv4is 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 specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR. - See Also:
-
ipFamilyAsString
Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value,
ipv4is 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 specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR.If the service returns an enum value that is not available in the current SDK version,
ipFamilywill returnIpFamily.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipFamilyAsString().- Returns:
- Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a
value,
ipv4is 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 specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<KubernetesNetworkConfigRequest.Builder,KubernetesNetworkConfigRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-