StorageVersionMigration v1alpha1
apiVersion: storagemigration.k8s.io/v1alpha1
import "k8s.io/api/storagemigration/v1alpha1"
StorageVersionMigration
StorageVersionMigration 代表将存储的数据迁移到最新的存储版本。
apiVersion: storagemigration.k8s.io/v1alpha1
kind: StorageVersionMigration
metadata (ObjectMeta)
标准对象元数据。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec (StorageVersionMigrationSpec)
迁移的规范。
status (StorageVersionMigrationStatus)
迁移的状态。
StorageVersionMigrationSpec
存储版本迁移的规范。
continueToken (string)
在列表选项中使用的令牌,用于获取要迁移的下一批对象。当 .status.conditions 指示迁移为“运行”时,用户可以使用此令牌来检查迁移的进度。
resource (GroupVersionResource), required
正在迁移的资源。迁移器向服务该资源的端点发送请求。不可变。
resource.group (string)
组的名称。
resource.resource (string)
资源的名称。
resource.version (string)
版本的名称。
StorageVersionMigrationStatus
存储版本迁移的状态。
conditions ([]MigrationCondition)
补丁策略:在键
type
上合并映射:在合并期间,将保留键类型上的唯一值
迁移当前状态的最新可用观测值。
conditions.status (string), required
条件的状态,为 True、False 或 Unknown 中的一个。
conditions.type (string), required
条件的类型。
conditions.lastUpdateTime (Time)
上次更新此条件的时间。
Time 是 time.Time 的包装器,支持正确地编组到 YAML 和 JSON。为 time 包提供的许多工厂方法提供了包装器。
conditions.message (string)
一条人类可读的消息,指示有关转换的详细信息。
conditions.reason (string)
条件上次转换的原因。
resourceVersion (string)
用于与 GC 缓存进行比较以执行迁移的 ResourceVersion。这是 kube-controller-manager 首次观察到此 StorageVersionMigration 资源时给定的组、版本和资源的当前资源版本。
StorageVersionMigrationList
StorageVersionMigrationList 是存储版本迁移的集合。
apiVersion: storagemigration.k8s.io/v1alpha1
kind: StorageVersionMigrationList
metadata (ListMeta)
标准列表元数据。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
items ([]StorageVersionMigration), required
补丁策略:在键
type
上合并映射:在合并期间,将保留键类型上的唯一值
Items 是 StorageVersionMigration 的列表
操作
get
读取指定的 StorageVersionMigration
HTTP 请求
GET /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}
参数
name (在路径中): string, required
StorageVersionMigration 的名称
pretty (在查询中): string
响应
200 (StorageVersionMigration): 正常
401: 未经授权
get
读取指定 StorageVersionMigration 的状态
HTTP 请求
GET /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status
参数
name (在路径中): string, required
StorageVersionMigration 的名称
pretty (在查询中): string
响应
200 (StorageVersionMigration): 正常
401: 未经授权
list
列出或监视 StorageVersionMigration 类型的对象
HTTP 请求
GET /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations
参数
allowWatchBookmarks (在查询中): boolean
continue (在查询中): string
fieldSelector (在查询中): string
labelSelector (在查询中): string
limit (在查询中): integer
pretty (在查询中): string
resourceVersion (在查询中): string
resourceVersionMatch (在查询中): string
sendInitialEvents (在查询中): boolean
timeoutSeconds (在查询中): integer
watch (在查询中): boolean
响应
200 (StorageVersionMigrationList): 正常
401: 未经授权
create
创建一个 StorageVersionMigration
HTTP 请求
POST /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations
参数
body: StorageVersionMigration, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (StorageVersionMigration): 正常
201 (StorageVersionMigration): 已创建
202 (StorageVersionMigration): 已接受
401: 未经授权
update
替换指定的 StorageVersionMigration
HTTP 请求
PUT /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}
参数
name (在路径中): string, required
StorageVersionMigration 的名称
body: StorageVersionMigration, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (StorageVersionMigration): 正常
201 (StorageVersionMigration): 已创建
401: 未经授权
update
替换指定的 StorageVersionMigration 的状态
HTTP 请求
PUT /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status
参数
name (在路径中): string, required
StorageVersionMigration 的名称
body: StorageVersionMigration, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (StorageVersionMigration): 正常
201 (StorageVersionMigration): 已创建
401: 未经授权
patch
部分更新指定的 StorageVersionMigration
HTTP 请求
PATCH /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}
参数
name (在路径中): string, required
StorageVersionMigration 的名称
body: Patch, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
force (在查询中): boolean
pretty (在查询中): string
响应
200 (StorageVersionMigration): 正常
201 (StorageVersionMigration): 已创建
401: 未经授权
patch
部分更新指定的 StorageVersionMigration 的状态
HTTP 请求
PATCH /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status
参数
name (在路径中): string, required
StorageVersionMigration 的名称
body: Patch, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
force (在查询中): boolean
pretty (在查询中): string
响应
200 (StorageVersionMigration): 正常
201 (StorageVersionMigration): 已创建
401: 未经授权
delete
删除一个 StorageVersionMigration
HTTP 请求
DELETE /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}
参数
name (在路径中): string, required
StorageVersionMigration 的名称
请求体: DeleteOptions
dryRun (在查询中): string
gracePeriodSeconds (查询参数): 整数
pretty (在查询中): string
propagationPolicy (查询参数): 字符串
响应
200 (状态): 成功
202 (状态): 已接受
401: 未经授权
deletecollection
删除 StorageVersionMigration 的集合
HTTP 请求
DELETE /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations
参数
请求体: DeleteOptions
continue (在查询中): string
dryRun (在查询中): string
fieldSelector (在查询中): string
gracePeriodSeconds (查询参数): 整数
labelSelector (在查询中): string
limit (在查询中): integer
pretty (在查询中): string
propagationPolicy (查询参数): 字符串
resourceVersion (在查询中): string
resourceVersionMatch (在查询中): string
sendInitialEvents (在查询中): boolean
timeoutSeconds (在查询中): integer
响应
200 (状态): 成功
401: 未经授权
此页面为自动生成。
如果您计划报告此页面的问题,请在您的问题描述中注明此页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。