NodeNetworkConfigResponse class
Parameters for node pool-level network config.
Constructors
-
NodeNetworkConfigResponse({required Input<
List< additionalNodeNetworkConfigs, required Input<AdditionalNodeNetworkConfigResponse> >List< additionalPodNetworkConfigs, required Input<AdditionalPodNetworkConfigResponse> >bool> createPodRange, required Input<bool> enablePrivateNodes, required Input<NetworkPerformanceConfigResponse> networkPerformanceConfig, required Input<PodCIDROverprovisionConfigResponse> podCidrOverprovisionConfig, required Input<String> podIpv4CidrBlock, required Input<double> podIpv4RangeUtilization, required Input<String> podRange}) -
Creates a new NodeNetworkConfigResponse.
additionalNodeNetworkConfigsWe specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interfaceadditionalPodNetworkConfigsWe specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the nodecreatePodRangeInput only. Whether to create a new range for pod IPs in this node pool. Defaults are provided forpod_rangeandpod_ipv4_cidr_blockif they are not specified. If neithercreate_pod_rangeorpod_rangeare specified, the cluster-level default (ip_allocation_policy.cluster_ipv4_cidr_block) is used. Only applicable ifip_allocation_policy.use_ip_aliasesis true. This field cannot be changed after the node pool has been created.enablePrivateNodesWhether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodesnetworkPerformanceConfigNetwork bandwidth tier configuration. podCidrOverprovisionConfigPRIVATE FIELDPod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.podIpv4CidrBlockThe IP address range for pod IPs in this node pool. Only applicable ifcreate_pod_rangeis true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g./14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g.10.96.0.0/14) to pick a specific range to use. Only applicable ifip_allocation_policy.use_ip_aliasesis true. This field cannot be changed after the node pool has been created. podIpv4RangeUtilizationOutput onlyThe utilization of the IPv4 range for the pod. The ratio is Usage/Total number of IPs in the secondary range, Usage=numNodesnumZonespodIPsPerNode.podRangeThe ID of the secondary range for pod IPs. Ifcreate_pod_rangeis true, this ID is used for the new range. Ifcreate_pod_rangeis false, uses an existing secondary range with this ID. Only applicable ifip_allocation_policy.use_ip_aliasesis true. This field cannot be changed after the node pool has been created.const -
NodeNetworkConfigResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
additionalNodeNetworkConfigs
→ Input<
List< AdditionalNodeNetworkConfigResponse> > -
We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface
final
-
additionalPodNetworkConfigs
→ Input<
List< AdditionalPodNetworkConfigResponse> > -
We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node
final
-
createPodRange
→ Input<
bool> -
Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for
pod_rangeandpod_ipv4_cidr_blockif they are not specified. If neithercreate_pod_rangeorpod_rangeare specified, the cluster-level default (ip_allocation_policy.cluster_ipv4_cidr_block) is used. Only applicable ifip_allocation_policy.use_ip_aliasesis true. This field cannot be changed after the node pool has been created.final -
enablePrivateNodes
→ Input<
bool> -
Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
networkPerformanceConfig
→ Input<
NetworkPerformanceConfigResponse> -
Network bandwidth tier configuration.
final
-
podCidrOverprovisionConfig
→ Input<
PodCIDROverprovisionConfigResponse> -
PRIVATE FIELDPod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.final -
podIpv4CidrBlock
→ Input<
String> -
The IP address range for pod IPs in this node pool. Only applicable if
create_pod_rangeis true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g./14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g.10.96.0.0/14) to pick a specific range to use. Only applicable ifip_allocation_policy.use_ip_aliasesis true. This field cannot be changed after the node pool has been created.final -
podIpv4RangeUtilization
→ Input<
double> -
Output onlyThe utilization of the IPv4 range for the pod. The ratio is Usage/Total number of IPs in the secondary range, Usage=numNodesnumZonespodIPsPerNode.final -
podRange
→ Input<
String> -
The ID of the secondary range for pod IPs. If
create_pod_rangeis true, this ID is used for the new range. Ifcreate_pod_rangeis false, uses an existing secondary range with this ID. Only applicable ifip_allocation_policy.use_ip_aliasesis true. This field cannot be changed after the node pool has been created.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited