mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
Merge pull request #116119 from vinaykul/restart-free-pod-vertical-scaling-fixes
Restructure resize policy naming and set default resize policy values
This commit is contained in:
10
pkg/generated/openapi/zz_generated.openapi.go
generated
10
pkg/generated/openapi/zz_generated.openapi.go
generated
@@ -17535,27 +17535,27 @@ func schema_k8sio_api_core_v1_ContainerResizePolicy(ref common.ReferenceCallback
|
||||
return common.OpenAPIDefinition{
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "ContainerResizePolicy represents resource resize policy for a single container.",
|
||||
Description: "ContainerResizePolicy represents resource resize policy for the container.",
|
||||
Type: []string{"object"},
|
||||
Properties: map[string]spec.Schema{
|
||||
"resourceName": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Name of the resource type to which this resource resize policy applies. Supported values: cpu, memory.",
|
||||
Description: "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
"policy": {
|
||||
"restartPolicy": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Resource resize policy applicable to the specified resource name. If not specified, it defaults to RestartNotRequired.",
|
||||
Description: "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"resourceName", "policy"},
|
||||
Required: []string{"resourceName", "restartPolicy"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user