mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
[sts] Generated: Make available replicas optional
This commit is contained in:
parent
885f14d162
commit
9eb544e78a
3
api/openapi-spec/swagger.json
generated
3
api/openapi-spec/swagger.json
generated
@ -1442,8 +1442,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"replicas",
|
"replicas"
|
||||||
"availableReplicas"
|
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
@ -1203,8 +1203,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"replicas",
|
"replicas"
|
||||||
"availableReplicas"
|
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
6
pkg/generated/openapi/zz_generated.openapi.go
generated
6
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -4165,7 +4165,7 @@ func schema_k8sio_api_apps_v1_StatefulSetStatus(ref common.ReferenceCallback) co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"replicas", "availableReplicas"},
|
Required: []string{"replicas"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -5273,7 +5273,7 @@ func schema_k8sio_api_apps_v1beta1_StatefulSetStatus(ref common.ReferenceCallbac
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"replicas", "availableReplicas"},
|
Required: []string{"replicas"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -6930,7 +6930,7 @@ func schema_k8sio_api_apps_v1beta2_StatefulSetStatus(ref common.ReferenceCallbac
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"replicas", "availableReplicas"},
|
Required: []string{"replicas"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
|
@ -759,6 +759,7 @@ message StatefulSetStatus {
|
|||||||
|
|
||||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
||||||
// This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
|
// This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
|
||||||
|
// +optional
|
||||||
optional int32 availableReplicas = 11;
|
optional int32 availableReplicas = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -514,6 +514,7 @@ message StatefulSetStatus {
|
|||||||
|
|
||||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
||||||
// This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
|
// This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
|
||||||
|
// +optional
|
||||||
optional int32 availableReplicas = 11;
|
optional int32 availableReplicas = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -801,6 +801,7 @@ message StatefulSetStatus {
|
|||||||
|
|
||||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
||||||
// This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
|
// This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
|
||||||
|
// +optional
|
||||||
optional int32 availableReplicas = 11;
|
optional int32 availableReplicas = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user