GKE Hub v1 API - Class KubernetesMetadata (2.1.0)

public sealed class KubernetesMetadata : IMessage<KubernetesMetadata>, IEquatable<KubernetesMetadata>, IDeepCloneable<KubernetesMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class KubernetesMetadata.

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.

Inheritance

Object > KubernetesMetadata

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

KubernetesMetadata()

public KubernetesMetadata()

KubernetesMetadata(KubernetesMetadata)

public KubernetesMetadata(KubernetesMetadata other)
Parameter
NameDescription
otherKubernetesMetadata

Properties

KubernetesApiServerVersion

public string KubernetesApiServerVersion { get; set; }

Output only. Kubernetes API server version string as reported by /version.

Property Value
TypeDescription
String

MemoryMb

public int MemoryMb { get; set; }

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

Property Value
TypeDescription
Int32

NodeCount

public int NodeCount { get; set; }

Output only. Node count as reported by Kubernetes nodes resources.

Property Value
TypeDescription
Int32

NodeProviderId

public string NodeProviderId { get; set; }

Output only. 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.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. 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.

Property Value
TypeDescription
Timestamp

VcpuCount

public int VcpuCount { get; set; }

Output only. vCPU count as reported by Kubernetes nodes resources.

Property Value
TypeDescription
Int32