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 指示迁移状态为 "Running" 时,用户可以使用此令牌检查迁移进度。
resource (GroupVersionResource),必需
正在迁移的资源。迁移器会向提供该资源的端点发送请求。不可变。
resource.group (string)
组的名称。
resource.resource (string)
资源的名称。
resource.version (string)
版本的名称。
StorageVersionMigrationStatus
存储版本迁移的状态。
conditions ([]MigrationCondition)
Patch 策略:按键
type
合并Map:合并时将保留键 type 的唯一值
对迁移当前状态的最新观察结果。
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),必需
Patch 策略:按键
type
合并Map:合并时将保留键 type 的唯一值
Items 是 StorageVersionMigration 的列表
操作
get
读取指定的 StorageVersionMigration
HTTP 请求
GET /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}
参数
name (在路径中): string,必需
StorageVersionMigration 的名称
pretty (在查询中): string
响应
200 (StorageVersionMigration): 成功
401: 未授权
get
读取指定的 StorageVersionMigration 的状态
HTTP 请求
GET /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status
参数
name (在路径中): string,必需
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,必需
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,必需
StorageVersionMigration 的名称
body: StorageVersionMigration,必需
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,必需
StorageVersionMigration 的名称
body: StorageVersionMigration,必需
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,必需
StorageVersionMigration 的名称
body: Patch,必需
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,必需
StorageVersionMigration 的名称
body: Patch,必需
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,必需
StorageVersionMigration 的名称
body: DeleteOptions
dryRun (在查询中): string
gracePeriodSeconds (在查询中): integer
ignoreStoreReadErrorWithClusterBreakingPotential (在查询中): boolean
pretty (在查询中): string
propagationPolicy (在查询中): string
响应
200 (Status): 成功
202 (Status): 已接受
401: 未授权
deletecollection
删除 StorageVersionMigration 集合
HTTP 请求
DELETE /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations
参数
body: DeleteOptions
continue (在查询中): string
dryRun (在查询中): string
fieldSelector (在查询中): string
gracePeriodSeconds (在查询中): integer
ignoreStoreReadErrorWithClusterBreakingPotential (在查询中): boolean
labelSelector (在查询中): string
limit (在查询中): integer
pretty (在查询中): string
propagationPolicy (在查询中): string
resourceVersion (在查询中): string
resourceVersionMatch (在查询中): string
sendInitialEvents (在查询中): boolean
timeoutSeconds (在查询中): integer
响应
200 (Status): 成功
401: 未授权
本页面是自动生成的。
如果您计划报告此页面的问题,请在问题描述中注明此页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。