KubernetesMetadataResponse

data class KubernetesMetadataResponse(val kubernetesApiServerVersion: String, val memoryMb: Int, val nodeCount: Int, val nodeProviderId: String, val updateTime: String, val vcpuCount: Int)

KubernetesMetadata provides informational metadata for Memberships that are created from Kubernetes Endpoints (currently, these are equivalent to Kubernetes clusters).

Constructors

Link copied to clipboard
fun KubernetesMetadataResponse(kubernetesApiServerVersion: String, memoryMb: Int, nodeCount: Int, nodeProviderId: String, updateTime: String, vcpuCount: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Kubernetes API server version string as reported by '/version'.

Link copied to clipboard

The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.

Link copied to clipboard

Node count as reported by Kubernetes nodes resources.

Link copied to clipboard

Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.

Link copied to clipboard

The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.

Link copied to clipboard

vCPU count as reported by Kubernetes nodes resources.