StorageVersion internal.apiserver.k8s.io/v1alpha1
Storage version of a specific resource.
Fields
- apiVersion:
internal.apiserver.k8s.io/v1alpha1 - kind:
StorageVersion - metadata (ObjectMeta)
-
metadata is the standard object metadata. The name is
. . - spec (StorageVersionSpec)
-
spec is an empty spec. It is here to comply with Kubernetes API style.
StorageVersionSpec is an empty spec.
- status (StorageVersionStatus)
-
status on the version the API server instance can decode from and encode objects to when persisting objects in the backend.
StorageVersionStatus
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
- commonEncodingVersion (string)
-
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.
- conditions ([]StorageVersionCondition)
-
conditions lists the latest available observations of the storageVersion's state.
- storageVersions ([]ServerStorageVersion)
-
storageVersions lists the reported versions per API server instance.
An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
- storageVersions.apiServerID (string)
apiServerID is the ID of the reporting API server.
- storageVersions.decodableVersions ([]string)
decodableVersions are the encoding versions the API server can handle to decode. The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.
- storageVersions.encodingVersion (string)
encodingVersion the API server encodes the object to when persisting it in the backend (e.g., etcd).
- storageVersions.servedVersions ([]string)
servedVersions lists all versions the API server can serve. DecodableVersions must include all ServedVersions.
StorageVersionCondition
Describes the state of the storageVersion at a certain point.
- message (string)
-
message is a human readable string indicating details about the transition.
- reason (string)
-
reason for the condition's last transition.
- status (string)
-
status of the condition, one of True, False, Unknown.
- type (string)
-
type of the condition.
- lastTransitionTime (Time)
-
lastTransitionTime is the last time the condition transitioned from one status to another.
- observedGeneration (integer)
-
observedGeneration represents the .metadata.generation that the condition was set based upon, if field is set.
StorageVersionList
A list of StorageVersions.
- apiVersion:
internal.apiserver.k8s.io/v1alpha1 - kind:
StorageVersionList - metadata (ListMeta)
-
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- items ([]StorageVersion)
-
Items holds a list of StorageVersion