|
4180 | 4180 | "additionalProperties": false
|
4181 | 4181 | },
|
4182 | 4182 | "io.k8s.api.autoscaling.v2.HPAScalingRules": {
|
4183 |
| - "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.", |
| 4183 | + "description": "HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.\n\nScaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.\n\nThe tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)", |
4184 | 4184 | "properties": {
|
4185 | 4185 | "policies": {
|
4186 |
| - "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid", |
| 4186 | + "description": "policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.", |
4187 | 4187 | "items": {
|
4188 | 4188 | "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HPAScalingPolicy"
|
4189 | 4189 | },
|
|
4198 | 4198 | "description": "stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).",
|
4199 | 4199 | "format": "int32",
|
4200 | 4200 | "type": "integer"
|
| 4201 | + }, |
| 4202 | + "tolerance": { |
| 4203 | + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", |
| 4204 | + "description": "tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).\n\nFor example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.\n\nThis is an alpha field and requires enabling the HPAConfigurableTolerance feature gate." |
4201 | 4205 | }
|
4202 | 4206 | },
|
4203 | 4207 | "type": "object",
|
|
7125 | 7129 | "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState",
|
7126 | 7130 | "description": "State holds details about the container's current condition."
|
7127 | 7131 | },
|
| 7132 | + "stopSignal": { |
| 7133 | + "description": "StopSignal reports the effective stop signal for this container", |
| 7134 | + "type": "string" |
| 7135 | + }, |
7128 | 7136 | "user": {
|
7129 | 7137 | "$ref": "#/definitions/io.k8s.api.core.v1.ContainerUser",
|
7130 | 7138 | "description": "User represents user identity information initially attached to the first process of the container"
|
|
8344 | 8352 | "preStop": {
|
8345 | 8353 | "$ref": "#/definitions/io.k8s.api.core.v1.LifecycleHandler",
|
8346 | 8354 | "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"
|
| 8355 | + }, |
| 8356 | + "stopSignal": { |
| 8357 | + "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name", |
| 8358 | + "type": "string" |
8347 | 8359 | }
|
8348 | 8360 | },
|
8349 | 8361 | "type": "object",
|
|
0 commit comments