@@ -388,6 +388,12 @@ spec:
388388 - port
389389 type : object
390390 type : object
391+ stopSignal :
392+ description : |-
393+ StopSignal defines which signal will be sent to a container when it is being stopped.
394+ If not specified, the default is defined by the container runtime in use.
395+ StopSignal can only be set for Pods with a non-empty .spec.os.name
396+ type : string
391397 type : object
392398 livenessProbe :
393399 description : |-
@@ -770,7 +776,9 @@ spec:
770776 policies :
771777 description : |-
772778 policies is a list of potential scaling polices which can be used during scaling.
773- At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
779+ If not set, use the default values:
780+ - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
781+ - For scale down: allow all pods to be removed in a 15s window.
774782 items :
775783 description : HPAScalingPolicy is a single
776784 policy which must hold true for a specified
@@ -814,6 +822,24 @@ spec:
814822 - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
815823 format : int32
816824 type : integer
825+ tolerance :
826+ anyOf :
827+ - type : integer
828+ - type : string
829+ description : |-
830+ tolerance is the tolerance on the ratio between the current and desired
831+ metric value under which no updates are made to the desired number of
832+ replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
833+ set, the default cluster-wide tolerance is applied (by default 10%).
834+
835+ For example, if autoscaling is configured with a memory consumption target of 100Mi,
836+ and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be
837+ triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
838+
839+ This is an alpha field and requires enabling the HPAConfigurableTolerance
840+ feature gate.
841+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
842+ x-kubernetes-int-or-string : true
817843 type : object
818844 scaleUp :
819845 description : |-
@@ -826,7 +852,9 @@ spec:
826852 policies :
827853 description : |-
828854 policies is a list of potential scaling polices which can be used during scaling.
829- At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
855+ If not set, use the default values:
856+ - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
857+ - For scale down: allow all pods to be removed in a 15s window.
830858 items :
831859 description : HPAScalingPolicy is a single
832860 policy which must hold true for a specified
@@ -870,6 +898,24 @@ spec:
870898 - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
871899 format : int32
872900 type : integer
901+ tolerance :
902+ anyOf :
903+ - type : integer
904+ - type : string
905+ description : |-
906+ tolerance is the tolerance on the ratio between the current and desired
907+ metric value under which no updates are made to the desired number of
908+ replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
909+ set, the default cluster-wide tolerance is applied (by default 10%).
910+
911+ For example, if autoscaling is configured with a memory consumption target of 100Mi,
912+ and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be
913+ triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
914+
915+ This is an alpha field and requires enabling the HPAConfigurableTolerance
916+ feature gate.
917+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
918+ x-kubernetes-int-or-string : true
873919 type : object
874920 type : object
875921 metrics :
0 commit comments