Class ContainerResourceMetricSource.Builder

    • Method Detail

      • container

        public ContainerResourceMetricSource.Builder container​(@NonNull
                                                               @NonNull java.lang.String container)
        container is the name of the container in the pods of the scaling target
        Returns:
        this.
      • targetAverageUtilization

        public ContainerResourceMetricSource.Builder targetAverageUtilization​(java.lang.Number targetAverageUtilization)
        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.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object