Class HorizontalPodAutoscalerStatus

    • Constructor Detail

      • HorizontalPodAutoscalerStatus

        public HorizontalPodAutoscalerStatus()
        No args constructor for use in serialization
      • HorizontalPodAutoscalerStatus

        public HorizontalPodAutoscalerStatus​(Integer currentCPUUtilizationPercentage,
                                             Integer currentReplicas,
                                             Integer desiredReplicas,
                                             String lastScaleTime,
                                             Long observedGeneration)
    • Method Detail

      • getCurrentCPUUtilizationPercentage

        public Integer getCurrentCPUUtilizationPercentage()
        currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
      • setCurrentCPUUtilizationPercentage

        public void setCurrentCPUUtilizationPercentage​(Integer currentCPUUtilizationPercentage)
        currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
      • getCurrentReplicas

        public Integer getCurrentReplicas()
        currentReplicas is the current number of replicas of pods managed by this autoscaler.
      • setCurrentReplicas

        public void setCurrentReplicas​(Integer currentReplicas)
        currentReplicas is the current number of replicas of pods managed by this autoscaler.
      • getDesiredReplicas

        public Integer getDesiredReplicas()
        desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
      • setDesiredReplicas

        public void setDesiredReplicas​(Integer desiredReplicas)
        desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
      • getLastScaleTime

        public String getLastScaleTime()
        current status of a horizontal pod autoscaler
      • setLastScaleTime

        public void setLastScaleTime​(String lastScaleTime)
        current status of a horizontal pod autoscaler
      • getObservedGeneration

        public Long getObservedGeneration()
        observedGeneration is the most recent generation observed by this autoscaler.
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
        observedGeneration is the most recent generation observed by this autoscaler.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)