mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #109241 from ravisantoshgudimetla/sts-ar-optional
Make STS available replicas optional
This commit is contained in:
commit
3024ddcfe2
3
api/openapi-spec/swagger.json
generated
3
api/openapi-spec/swagger.json
generated
@ -1442,8 +1442,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"replicas",
|
||||
"availableReplicas"
|
||||
"replicas"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
@ -1203,8 +1203,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"replicas",
|
||||
"availableReplicas"
|
||||
"replicas"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
@ -257,6 +257,7 @@ type StatefulSetStatus struct {
|
||||
|
||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
||||
// This is a beta field and requires enabling StatefulSetMinReadySeconds feature gate.
|
||||
// +optional
|
||||
AvailableReplicas int32
|
||||
}
|
||||
|
||||
|
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{
|
||||
@ -5273,7 +5273,7 @@ func schema_k8sio_api_apps_v1beta1_StatefulSetStatus(ref common.ReferenceCallbac
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"replicas", "availableReplicas"},
|
||||
Required: []string{"replicas"},
|
||||
},
|
||||
},
|
||||
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{
|
||||
|
@ -759,6 +759,7 @@ message StatefulSetStatus {
|
||||
|
||||
// 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.
|
||||
// +optional
|
||||
optional int32 availableReplicas = 11;
|
||||
}
|
||||
|
||||
|
@ -282,6 +282,7 @@ type StatefulSetStatus struct {
|
||||
|
||||
// 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.
|
||||
// +optional
|
||||
AvailableReplicas int32 `json:"availableReplicas" protobuf:"varint,11,opt,name=availableReplicas"`
|
||||
}
|
||||
|
||||
|
@ -514,6 +514,7 @@ message StatefulSetStatus {
|
||||
|
||||
// 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.
|
||||
// +optional
|
||||
optional int32 availableReplicas = 11;
|
||||
}
|
||||
|
||||
|
@ -321,6 +321,7 @@ type StatefulSetStatus struct {
|
||||
|
||||
// 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.
|
||||
// +optional
|
||||
AvailableReplicas int32 `json:"availableReplicas" protobuf:"varint,11,opt,name=availableReplicas"`
|
||||
}
|
||||
|
||||
|
@ -801,6 +801,7 @@ message StatefulSetStatus {
|
||||
|
||||
// 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.
|
||||
// +optional
|
||||
optional int32 availableReplicas = 11;
|
||||
}
|
||||
|
||||
|
@ -330,6 +330,7 @@ type StatefulSetStatus struct {
|
||||
|
||||
// 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.
|
||||
// +optional
|
||||
AvailableReplicas int32 `json:"availableReplicas" protobuf:"varint,11,opt,name=availableReplicas"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user