Update the Kubernetes autoscaling API to v2 (#2722) (#2842)

* Update the Kubernetes autoscaling API to v2 (#2722)
  - k8s.io/api/autoscaling/v2
* generate all files
* fix missing v2beta ref

---------

Signed-off-by: Lunik <lunik@tiwabbit.fr>
This commit is contained in:
Guillaume MARTINEZ
2023-10-11 11:04:45 +05:30
committed by GitHub
parent b43b31884a
commit 3762ff80f2
10 changed files with 52 additions and 51 deletions
+7 -6
View File
@@ -112,10 +112,11 @@ spec:
- value
type: object
type: array
x-kubernetes-list-type: atomic
selectPolicy:
description: selectPolicy is used to specify which
policy should be used. If not set, the default value
MaxPolicySelect is used.
Max is used.
type: string
stabilizationWindowSeconds:
description: 'stabilizationWindowSeconds is the number
@@ -168,10 +169,11 @@ spec:
- value
type: object
type: array
x-kubernetes-list-type: atomic
selectPolicy:
description: selectPolicy is used to specify which
policy should be used. If not set, the default value
MaxPolicySelect is used.
Max is used.
type: string
stabilizationWindowSeconds:
description: 'stabilizationWindowSeconds is the number
@@ -198,7 +200,7 @@ spec:
should be set at once).
properties:
containerResource:
description: container resource refers to a resource
description: containerResource refers to a resource
metric (such as those specified in requests and limits)
known to Kubernetes describing a single container
in each pod of the current scale target (e.g. CPU
@@ -381,9 +383,8 @@ spec:
on an Ingress object).
properties:
describedObject:
description: CrossVersionObjectReference contains
enough information to let you identify the referred
resource.
description: describedObject specifies the descriptions
of a object,such as kind,name apiVersion
properties:
apiVersion:
description: apiVersion is the API version of