mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
Adding implementation of KEP-3335, StatefulSetSlice
This commit is contained in:
@@ -1044,6 +1044,18 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"io.k8s.api.apps.v1.StatefulSetOrdinals": {
|
||||
"description": "StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.",
|
||||
"properties": {
|
||||
"start": {
|
||||
"default": 0,
|
||||
"description": "Start is the number representing the first index that is used to represent replica ordinals. Defaults to 0. If set, replica ordinals will be numbered [.spec.ordinals.start, .spec.ordinals.start - .spec.replicas).",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy": {
|
||||
"description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.",
|
||||
"properties": {
|
||||
@@ -1066,6 +1078,14 @@
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"ordinals": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/io.k8s.api.apps.v1.StatefulSetOrdinals"
|
||||
}
|
||||
],
|
||||
"description": "Ordinals controls how the stateful set creates pod and persistent volume claim names. The default behavior assigns a number starting with zero and incremented by one for each additional replica requested. This requires the StatefulSetSlice feature gate to be enabled, which is alpha."
|
||||
},
|
||||
"persistentVolumeClaimRetentionPolicy": {
|
||||
"allOf": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user