Skip to main content
Version: Next

KubernetesFetcher.fetchPodMetricsByNamespaces()

Home > @backstage/plugin-kubernetes-node > KubernetesFetcher > fetchPodMetricsByNamespaces

Signature:

fetchPodMetricsByNamespaces(clusterDetails: ClusterDetails, credential: KubernetesCredential, namespaces: Set<string>, labelSelector?: string): Promise<FetchResponseWrapper>;

Parameters

Parameter

Type

Description

clusterDetails

ClusterDetails

credential

KubernetesCredential

namespaces

Set<string>

labelSelector

string

(Optional)

**Returns:**

Promise<FetchResponseWrapper>