NamespaceManagement_Networks_NsxNetworkInfo
The Networks.NsxNetworkInfo structure describes the configuration specification of a NSXT-backed Namespaces Network configuration.
{
"namespace_network_cidrs": [
{
"address": "string",
"prefix": 0
}
],
"ingress_cidrs": [
{
"address": "string",
"prefix": 0
}
],
"egress_cidrs": [
{
"address": "string",
"prefix": 0
}
],
"nsx_tier0_gateway": "string",
"subnet_prefix_length": 0,
"routed_mode": false,
"load_balancer_size": "string"
}
CIDR blocks from which Kubernetes allocates IP addresses for all workloads that attach to the namespace, including PodVMs, TKGS and VM Service VMs. If unset, cluster level settings specified in Clusters.NCPClusterNetworkInfo.pod-cidrs will be applied.
CIDR blocks from which NSX assigns IP addresses for Kubernetes Ingresses and Kubernetes Services of type LoadBalancer. If unset, cluster level settings specified in Clusters.NCPClusterNetworkInfo.ingress-cidrs will be applied.
CIDR blocks from which NSX assigns IP addresses used for performing SNAT from container IPs to external IPs. If unset, cluster level settings specified in Clusters.NCPClusterNetworkInfo.egress-cidrs will be applied.
NSX Tier0 Gateway used for this namespace. If unset, cluster level settings specified in Clusters.NCPClusterNetworkInfo.nsx-tier0-gateway will be applied. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: NSXTier0Gateway. When operations return a value of this structure as a result, the field will be an identifier for the resource type: NSXTier0Gateway.
Size of the subnet reserved for namespace segments If unset, cluster level settings specified in Clusters.NCPClusterNetworkInfo.namespace-subnet-prefix will be applied.
Routed mode for this namespace. When set to True, the traffic in the namespace is not NATed. If unset, cluster level settings specified in Clusters.NCPClusterNetworkInfo.routed-mode will be applied.
The Networks.LoadBalancerSize enumerates the kinds of load balancer sizes supported by NSX. Small load balancer can host 10 to 20 virtual servers depending on NSX-T version. Medium load balancer can host 100 virtual servers. Large load balancer can host 1000 virtual servers.
SMALL : Load balancer size of 'small'.
MEDIUM : Load balancer size of 'medium'.
LARGE : Load balancer size of 'large'.