Skip to content

storagemigration_v1beta1

StorageVersionMigration

class lightkube.models.storagemigration_v1beta1.StorageVersionMigration(apiVersion=None, kind=None, metadata=None, spec=None, status=None)

StorageVersionMigration represents a migration of stored data to the latest storage version.

parameters

  • apiVersion Optional[str] - 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
  • kind Optional[str] - 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
  • metadata Optional[meta_v1.ObjectMeta] - Standard object metadata. More info
  • spec Optional[StorageVersionMigrationSpec] - Specification of the migration.
  • status Optional[StorageVersionMigrationStatus] - Status of the migration.

StorageVersionMigrationList

class lightkube.models.storagemigration_v1beta1.StorageVersionMigrationList(items, apiVersion=None, kind=None, metadata=None)

StorageVersionMigrationList is a collection of storage version migrations.

parameters

  • items List[StorageVersionMigration] - Items is the list of StorageVersionMigration
  • apiVersion Optional[str] - 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
  • kind Optional[str] - 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
  • metadata Optional[meta_v1.ListMeta] - Standard list metadata More info

StorageVersionMigrationSpec

class lightkube.models.storagemigration_v1beta1.StorageVersionMigrationSpec(resource)

Spec of the storage version migration.

parameters

  • resource meta_v1.GroupResource - The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.

StorageVersionMigrationStatus

class lightkube.models.storagemigration_v1beta1.StorageVersionMigrationStatus(conditions=None, resourceVersion=None)

Status of the storage version migration.

parameters

  • conditions Optional[List[meta_v1.Condition]] - The latest available observations of the migration's current state.
  • resourceVersion Optional[str] - ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.