Class ContainerResourceMetricStatusPatch


  • public final class ContainerResourceMetricStatusPatch
    extends java.lang.Object
    • Method Detail

      • container

        public java.util.Optional<java.lang.String> container()
        Returns:
        container is the name of the container in the pods of the scaling target
      • currentAverageUtilization

        public java.util.Optional<java.lang.Integer> currentAverageUtilization()
        Returns:
        currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
      • currentAverageValue

        public java.util.Optional<java.lang.String> currentAverageValue()
        Returns:
        currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
      • name

        public java.util.Optional<java.lang.String> name()
        Returns:
        name is the name of the resource in question.