NamespaceManagement_Clusters_Info
The Clusters.Info structure contains detailed information about the cluster statistics and status related to vSphere Namespaces.
{
"size_hint": "string",
"stat_summary": {
"cpu_used": 0,
"cpu_capacity": 0,
"memory_used": 0,
"memory_capacity": 0,
"storage_used": 0,
"storage_capacity": 0
},
"config_status": "string",
"messages": [
{
"severity": "string",
"details": {
"id": "string",
"default_message": "string",
"args": [
"string"
],
"params": {
"params": {
"s": "string",
"dt": "string",
"i": 0,
"d": "number",
"l": {
"id": "string",
"params": {
"params": "Std_LocalizationParam Object"
}
},
"format": "string",
"precision": 0
}
},
"localized": "string"
}
}
],
"kubernetes_status": "string",
"kubernetes_status_messages": [
{
"severity": "string",
"details": {
"id": "string",
"default_message": "string",
"args": [
"string"
],
"params": {
"params": {
"s": "string",
"dt": "string",
"i": 0,
"d": "number",
"l": {
"id": "string",
"params": {
"params": "Std_LocalizationParam Object"
}
},
"format": "string",
"precision": 0
}
},
"localized": "string"
}
}
],
"api_server_management_endpoint": "string",
"api_server_cluster_endpoint": "string",
"api_servers": [
"string"
],
"tls_management_endpoint_certificate": "string",
"tls_endpoint_certificate": "string",
"network_provider": "string",
"ncp_cluster_network_info": {
"pod_cidrs": [
{
"address": "string",
"prefix": 0
}
],
"ingress_cidrs": [
{
"address": "string",
"prefix": 0
}
],
"egress_cidrs": [
{
"address": "string",
"prefix": 0
}
],
"cluster_distributed_switch": "string",
"nsx_edge_cluster": "string",
"default_ingress_tls_certificate": "string"
},
"workload_networks": {
"supervisor_primary_workload_network": {
"network": "string",
"network_provider": "NamespaceManagement_Clusters_NetworkProvider Object",
"vsphere_network": {
"portgroup": "string",
"address_ranges": [
{
"address": "string",
"count": 0
}
],
"gateway": "string",
"subnet_mask": "string"
}
},
"network_list": [
{
"network": "string",
"network_provider": "NamespaceManagement_Clusters_NetworkProvider Object",
"vsphere_network": {
"portgroup": "string",
"address_ranges": [
{
"address": "string",
"count": 0
}
],
"gateway": "string",
"subnet_mask": "string"
}
}
]
},
"workload_ntp_servers": [
"string"
],
"load_balancers": [
{
"id": "string",
"address_ranges": [
"NamespaceManagement_IPRange Object"
],
"provider": "string",
"ha_proxy_info": {
"servers": [
{
"host": "string",
"port": 0
}
],
"username": "string",
"certificate_authority_chain": "string"
},
"avi_info": {
"server": "NamespaceManagement_LoadBalancers_Server Object",
"username": "string",
"certificate_authority_chain": "string"
}
}
],
"service_cidr": {
"address": "string",
"prefix": 0
},
"master_management_network": {
"floating_IP": "string",
"network": "string",
"mode": "string",
"address_range": {
"starting_address": "string",
"address_count": 0,
"subnet_mask": "string",
"gateway": "string"
}
},
"master_DNS": [
"string"
],
"worker_DNS": [
"string"
],
"master_storage_policy": "string",
"ephemeral_storage_policy": "string",
"login_banner": "string",
"Master_DNS_names": [
"string"
],
"image_storage": {
"storage_policy": "string"
},
"default_image_registry": {
"hostname": "string",
"port": 0
},
"default_image_repository": "string",
"master_DNS_search_domains": [
"string"
],
"master_NTP_servers": [
"string"
],
"default_kubernetes_service_content_library": "string"
}
The SizingHint enumerated type determines the configuration of Kubernetes API server and the worker nodes. It also determines the default values associated with the maximum number of pods and services. Use ClusterSizeInfo.get to get information associated with a SizingHint.
TINY : Cluster size of 'tiny'.
SMALL : Cluster size of 'small'.
MEDIUM : Cluster size of 'medium'.
LARGE : Cluster size of 'large'.
The Clusters.Stats structure contains the basic runtime statistics about a vSphere Namespaces-enabled cluster.
The Clusters.ConfigStatus enumerated type describes the status of reaching the desired state configuration for the cluster.
CONFIGURING : The Namespace configuration is being applied to the cluster.
REMOVING : The Namespace configuration is being removed from the cluster.
RUNNING : The cluster is configured correctly with the Namespace configuration.
ERROR : Failed to apply the Namespace configuration to the cluster, user intervention needed.
Current set of messages associated with the object.
The Clusters.KubernetesStatus enumerated type describes the cluster's ability to deploy pods.
READY : The cluster is able to accept pods.
WARNING : The cluster may be able to accept pods, but has warning messages.
ERROR : The cluster may not be able to accept pods and has error messages.
Current set of messages associated with the object.
Kubernetes API Server IP address on the management network. This is a floating IP and assigned to one of the control plane VMs on the management network. This endpoint is used by vSphere components.
Kubernetes API Server IP address via cluster network. This is the IP address of the Kubernetes LoadBalancer type service fronting the apiservers. This endpoint is the one configured in kubeconfig after login, and used for most human and application interaction with Kubernetes.
Identifier of the Kubernetes API servers. These are the IP addresses of the VM instances for the Kubernetes control plane on the management network.
PEM-encoded x509 certificate used by TLS endpoint on Kubernetes API servers when accessed from the management network, e.g. from ESX servers or VCSA. This certificate is only valid for use with the apiServerManagementEndpoint.
PEM-encoded x509 certificate used by TLS endpoint on Kubernetes API servers when accessed via the load balancer, e.g. devops user on corporate network. This certificate is only valid for use with the apiServerClusterEndpoint.
Identifies the network plugin that cluster networking functionalities for this vSphere Namespaces Cluster.
NSXT_CONTAINER_PLUGIN : NSX-T Container Plugin.
VSPHERE_NETWORK : vSphere Networking.
The Clusters.NCPClusterNetworkInfo structure contains the NSX Container Plugin-specific cluster networking configuration.
The Clusters.WorkloadNetworksInfo contains information related to configuration of vSphere Namespaces Network objects.
Information about NTP server DNS names or IP addresses to use for workloads such as Tanzu Kubernetes Grid VMs, specified in order of preference. This field is optional because it was added in a newer version than its parent node.
Information related to the Load balancer used for provisioning virtual servers in the namespace. This field is optional and it is only relevant when the value of Clusters.Info.network-provider is VSPHERE_NETWORK.
The Ipv4Cidr structure contains the specification for representing CIDR notation of IP range. For example, this can be used to represent 256 IP addresses using 10.10.10.0/24.
The Clusters.NetworkSpec contains information related to network configuration for one or more interfaces.
List of DNS server IP addresses to use on Kubernetes API server, specified in order of preference.
List of DNS server IP addresses to use for pods that execute on the worker nodes (which are native pods on ESXi hosts in the vSphere Namespaces Supervisor).
Identifier of storage policy associated with Kubernetes API server. This field is optional because it was added in a newer version than its parent node. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.
Identifier of storage policy associated with ephemeral disks of all the Kubernetes Pods in the cluster. This field is optional because it was added in a newer version than its parent node. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.
Disclaimer to be displayed prior to login via the Kubectl plugin. If unset, just skip it.
List of additional DNS names to associate with the Kubernetes API server. These DNS names are embedded in the TLS certificate presented by the API server. If unset, no additional DNS names are embedded in the TLS certificate.
The Clusters.ImageStorageSpec structure contains the specification required to configure storage used for container images.
The Clusters.ImageRegistry structure contains the specification required to configure container image registry endpoint.
Default image repository to use when Kubernetes Pod container specification does not specify it as part of the container image name. If unset, defaults to Docker Hub official repository in case of Docker Hub image registry, otherwise defaults to empty string.
List of domains (for example "vmware.com") to be searched when trying to lookup a host name on Kubernetes API server, specified in order of preference.
List of NTP server DNS names or IP addresses to use on Kubernetes API server, specified in order of preference. If unset, VMware Tools based time synchronization is enabled.
Identifier of the Content Library which holds the VM Images for vSphere Kubernetes Service. This Content Library should be subscribed to VMware's hosted vSphere Kubernetes Service Repository. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.Library. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.Library.