StorageVersion [page]deterministic
Storage version of a specific resource.
`apiVersion: internal.apiserver.k8s.io/v1alpha1`
`import "k8s.io/api/apiserverinternal/v1alpha1"`
## StorageVersion {#StorageVersion}
Storage version of a specific resource.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> <tr> <td><code>metadata</code> <strong>*</strong><br/><em><a href="">ObjectMeta</a></em></td> <td>metadata is the standard object metadata. The name is \<group>.\<resource>.</td> </tr> <tr> <td><code>spec</code><br/><em><a href="">StorageVersionSpec</a></em></td> <td>spec is an empty spec. It is here to comply with Kubernetes API style.</td> </tr> <tr> <td><code>status</code><br/><em><a href="">StorageVersionStatus</a></em></td> <td>status on the version the API server instance can decode from and encode objects to when persisting objects in the backend.</td> </tr> </tbody> </table>
## StorageVersionSpec {#StorageVersionSpec}
StorageVersionSpec is an empty spec.
<hr>
## StorageVersionStatus {#StorageVersionStatus}
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>commonEncodingVersion</code><br/><em>string</em></td> <td>commonEncodingVersion is set to an encoding storage version if all API server instances share that same version. If they don't share one storage version, this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.</td> </tr> <tr> <td><code>conditions</code><br/><em><a href="">StorageVersionCondition array</a></em></td> <td>conditions lists the latest available observations of the storageVersion's state.</td> </tr> <tr> <td><code>storageVersions</code><br/><em><a href="">ServerStorageVersion array</a></em></td> <td>storageVersions lists the reported versions per API server instance.</td> </tr> </tbody> </table>
## StorageVersionList {#StorageVersionList}
A list of StorageVersions.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>items</code> <strong>*</strong><br/><em><a href="">StorageVersion array</a></em></td> <td>Items holds a list of StorageVersion</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kin …(trimmed)