GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::KubernetesMetadata (v0.4.0)

Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::KubernetesMetadata.

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#kubernetes_api_server_version

def kubernetes_api_server_version() -> ::String
Returns
  • (::String) — Output only. Kubernetes API server version string as reported by '/version'.

#memory_mb

def memory_mb() -> ::Integer
Returns
  • (::Integer) — Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.

#node_count

def node_count() -> ::Integer
Returns
  • (::Integer) — Output only. Node count as reported by Kubernetes nodes resources.

#node_provider_id

def node_provider_id() -> ::String
Returns
  • (::String) — 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.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#vcpu_count

def vcpu_count() -> ::Integer
Returns
  • (::Integer) — Output only. vCPU count as reported by Kubernetes nodes resources.