Skip to main content

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>