public interface NodeMetricOperation extends MetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>, Nameable<NodeMetricOperation>
METRIC_ENDPOINT_URL| Modifier and Type | Method and Description |
|---|---|
io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics |
metrics(String nodeName)
Get NodeMetric with specified name
|
NodeMetricOperation |
withLabels(Map<String,String> labels)
Filter metrics via labels.
|
metric, metrics, metrics, withNameNodeMetricOperation withLabels(Map<String,String> labels)
MetricOperationwithLabels in interface MetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>labels - labels as HashMapMetricOperation with which you can call metrics() for getting filtered Metricsio.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics metrics(String nodeName)
nodeName - name of the nodeCopyright © 2015–2023 Red Hat. All rights reserved.