Interface NodeMetricOperation

    • Method Detail

      • withLabels

        NodeMetricOperation withLabels​(Map<String,​String> labels)
        Description copied from interface: MetricOperation
        Filter metrics via labels.
        Specified by:
        withLabels in interface MetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,​io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>
        Parameters:
        labels - labels as HashMap
        Returns:
        MetricOperation with which you can call metrics() for getting filtered Metrics
      • metrics

        io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics metrics​(String nodeName)
        Get NodeMetric with specified name
        Parameters:
        nodeName - name of the node
        Returns:
        NodeMetric fetched from ApiServer