aligned naming with Google API
This commit is contained in:
parent
e2c0e18c28
commit
6c22e90fdd
|
|
@ -204,8 +204,9 @@ spec:
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: my-target
|
name: my-target
|
||||||
updatePolicy:
|
policy:
|
||||||
updateMode: Auto
|
updateMode: Auto
|
||||||
|
goals:
|
||||||
metrics:
|
metrics:
|
||||||
- type: Resource
|
- type: Resource
|
||||||
resource:
|
resource:
|
||||||
|
|
@ -215,9 +216,9 @@ spec:
|
||||||
type: Utilization
|
type: Utilization
|
||||||
averageUtilization: target-cpu-util
|
averageUtilization: target-cpu-util
|
||||||
constraints:
|
constraints:
|
||||||
|
global:
|
||||||
minReplicas: min-num-replicas
|
minReplicas: min-num-replicas
|
||||||
maxReplicas: max-num-replicas
|
maxReplicas: max-num-replicas
|
||||||
resourcePolicy:
|
|
||||||
containerControlledResources: [ memory, cpu ] # Added cpu here as well
|
containerControlledResources: [ memory, cpu ] # Added cpu here as well
|
||||||
container:
|
container:
|
||||||
- name: '*' # either a literal name, or "*" to match all containers
|
- name: '*' # either a literal name, or "*" to match all containers
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue