Class V1alpha1ClusterCIDRSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1ClusterCIDRSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1alpha1ClusterCIDRSpec
extends Object
ClusterCIDRSpec defines the desired state of ClusterCIDR.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getIpv4()
ipv4 defines an IPv4 IP block in CIDR notation(e.g.getIpv6()
ipv6 defines an IPv6 IP block in CIDR notation(e.g.Get nodeSelectorperNodeHostBits defines the number of host bits to be configured per node.int
hashCode()
nodeSelector
(V1NodeSelector nodeSelector) perNodeHostBits
(Integer perNodeHostBits) void
void
void
setNodeSelector
(V1NodeSelector nodeSelector) void
setPerNodeHostBits
(Integer perNodeHostBits) toString()
-
Field Details
-
SERIALIZED_NAME_IPV4
- See Also:
-
SERIALIZED_NAME_IPV6
- See Also:
-
SERIALIZED_NAME_NODE_SELECTOR
- See Also:
-
SERIALIZED_NAME_PER_NODE_HOST_BITS
- See Also:
-
-
Constructor Details
-
V1alpha1ClusterCIDRSpec
public V1alpha1ClusterCIDRSpec()
-
-
Method Details
-
ipv4
-
getIpv4
ipv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.- Returns:
- ipv4
-
setIpv4
-
ipv6
-
getIpv6
ipv6 defines an IPv6 IP block in CIDR notation(e.g. \"2001:db8::/64\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.- Returns:
- ipv6
-
setIpv6
-
nodeSelector
-
getNodeSelector
Get nodeSelector- Returns:
- nodeSelector
-
setNodeSelector
-
perNodeHostBits
-
getPerNodeHostBits
perNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.- Returns:
- perNodeHostBits
-
setPerNodeHostBits
-
equals
-
hashCode
public int hashCode() -
toString
-