|
1684 | 1684 | }
|
1685 | 1685 | ]
|
1686 | 1686 | },
|
| 1687 | + "io.k8s.api.apps.v1.StatefulSetOrdinals": { |
| 1688 | + "description": "StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.", |
| 1689 | + "properties": { |
| 1690 | + "start": { |
| 1691 | + "description": "start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:\n [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).\nIf unset, defaults to 0. Replica indices will be in the range:\n [0, .spec.replicas).", |
| 1692 | + "format": "int32", |
| 1693 | + "type": "integer" |
| 1694 | + } |
| 1695 | + }, |
| 1696 | + "type": "object" |
| 1697 | + }, |
1687 | 1698 | "io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy": {
|
1688 | 1699 | "description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.",
|
1689 | 1700 | "properties": {
|
|
1706 | 1717 | "format": "int32",
|
1707 | 1718 | "type": "integer"
|
1708 | 1719 | },
|
| 1720 | + "ordinals": { |
| 1721 | + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetOrdinals", |
| 1722 | + "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is alpha." |
| 1723 | + }, |
1709 | 1724 | "persistentVolumeClaimRetentionPolicy": {
|
1710 | 1725 | "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy",
|
1711 | 1726 | "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional"
|
|
1734 | 1749 | },
|
1735 | 1750 | "template": {
|
1736 | 1751 | "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec",
|
1737 |
| - "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." |
| 1752 | + "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\"." |
1738 | 1753 | },
|
1739 | 1754 | "updateStrategy": {
|
1740 | 1755 | "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetUpdateStrategy",
|
|
7173 | 7188 | },
|
7174 | 7189 | "dataSource": {
|
7175 | 7190 | "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference",
|
7176 |
| - "description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field." |
| 7191 | + "description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource." |
7177 | 7192 | },
|
7178 | 7193 | "dataSourceRef": {
|
7179 |
| - "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", |
7180 |
| - "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled." |
| 7194 | + "$ref": "#/definitions/io.k8s.api.core.v1.TypedObjectReference", |
| 7195 | + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." |
7181 | 7196 | },
|
7182 | 7197 | "resources": {
|
7183 | 7198 | "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements",
|
|
9823 | 9838 | "type": "object",
|
9824 | 9839 | "x-kubernetes-map-type": "atomic"
|
9825 | 9840 | },
|
| 9841 | + "io.k8s.api.core.v1.TypedObjectReference": { |
| 9842 | + "properties": { |
| 9843 | + "apiGroup": { |
| 9844 | + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", |
| 9845 | + "type": "string" |
| 9846 | + }, |
| 9847 | + "kind": { |
| 9848 | + "description": "Kind is the type of resource being referenced", |
| 9849 | + "type": "string" |
| 9850 | + }, |
| 9851 | + "name": { |
| 9852 | + "description": "Name is the name of resource being referenced", |
| 9853 | + "type": "string" |
| 9854 | + }, |
| 9855 | + "namespace": { |
| 9856 | + "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", |
| 9857 | + "type": "string" |
| 9858 | + } |
| 9859 | + }, |
| 9860 | + "required": [ |
| 9861 | + "kind", |
| 9862 | + "name" |
| 9863 | + ], |
| 9864 | + "type": "object" |
| 9865 | + }, |
9826 | 9866 | "io.k8s.api.core.v1.Volume": {
|
9827 | 9867 | "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
|
9828 | 9868 | "properties": {
|
|
0 commit comments