Skip to content

Commit 11ba18d

Browse files
huizhifanzhifanhui
andauthored
Remove overlay vpa unused properties (#25242)
* remove unused properties * only remove from required section * remove the whole properties --------- Co-authored-by: zhifanhui <[email protected]>
1 parent 2650e20 commit 11ba18d

File tree

1 file changed

+1
-60
lines changed
  • specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview

1 file changed

+1
-60
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/managedClusters.json

Lines changed: 1 addition & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -8086,69 +8086,10 @@
80868086
"type": "boolean",
80878087
"description": "Whether to enable VPA. Default value is false.",
80888088
"default": false
8089-
},
8090-
"controlledValues": {
8091-
"type": "string",
8092-
"enum": [
8093-
"RequestsAndLimits",
8094-
"RequestsOnly"
8095-
],
8096-
"x-ms-enum": {
8097-
"name": "ControlledValues",
8098-
"modelAsString": true,
8099-
"values": [
8100-
{
8101-
"value": "RequestsAndLimits",
8102-
"description": "Autoscaler will control resource requests and limits."
8103-
},
8104-
{
8105-
"value": "RequestsOnly",
8106-
"description": "Autoscaler will control resource requests only."
8107-
}
8108-
]
8109-
},
8110-
"default": "RequestsAndLimits",
8111-
"description": "Controls which resource value autoscaler will change. Default value is RequestsAndLimits."
8112-
},
8113-
"updateMode": {
8114-
"type": "string",
8115-
"enum": [
8116-
"Off",
8117-
"Initial",
8118-
"Recreate",
8119-
"Auto"
8120-
],
8121-
"x-ms-enum": {
8122-
"name": "UpdateMode",
8123-
"modelAsString": true,
8124-
"values": [
8125-
{
8126-
"value": "Off",
8127-
"description": "Autoscaler never changes pod resources but provides recommendations."
8128-
},
8129-
{
8130-
"value": "Initial",
8131-
"description": "Autoscaler only assigns resources on pod creation and doesn't change them during the lifetime of the pod."
8132-
},
8133-
{
8134-
"value": "Recreate",
8135-
"description": "Autoscaler assigns resources on pod creation and updates pods that need further scaling during their lifetime by deleting and recreating."
8136-
},
8137-
{
8138-
"value": "Auto",
8139-
"description": "Autoscaler chooses the update mode. Autoscaler currently does the same as Recreate. In the future, it may take advantage of restart-free mechanisms once they are available."
8140-
}
8141-
]
8142-
},
8143-
"default": "Off",
8144-
"title": "The update mode of the autoscaler.",
8145-
"description": "Each update mode level is a superset of the lower levels. Off<Initial<Recreate<=Auto. For example: if UpdateMode is Initial, it means VPA sets the recommended resources in the VerticalPodAutoscaler Custom Resource (from UpdateMode Off) and also assigns resources on pod creation (from Initial). The default value is Off."
81468089
}
81478090
},
81488091
"required": [
8149-
"enabled",
8150-
"updateMode",
8151-
"controlledValues"
8092+
"enabled"
81528093
]
81538094
},
81548095
"ManagedClusterAzureMonitorProfile": {

0 commit comments

Comments
 (0)