Class ContainerResourceMetricSourcePatch


  • public final class ContainerResourceMetricSourcePatch
    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
      • name

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

        public java.util.Optional<java.lang.Integer> targetAverageUtilization()
        Returns:
        targetAverageUtilization is the target 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.
      • targetAverageValue

        public java.util.Optional<java.lang.String> targetAverageValue()
        Returns:
        targetAverageValue is the target 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.