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 (字符串)
用于列表选项的令牌,用于获取下一批要迁移的对象。当 .status.conditions 指示迁移正在“运行”时,用户可以使用此令牌检查迁移的进度。
resource (GroupVersionResource), 必需
正在迁移的资源。迁移器向服务该资源的端点发送请求。不可变。
resource.group (字符串)
组的名称。
resource.resource (字符串)
资源的名称。
resource.version (字符串)
版本的名称。
StorageVersionMigrationStatus
存储版本迁移的状态。
conditions ([]MigrationCondition)
补丁策略:按键
type
合并映射:合并时将保留键类型上的唯一值
对迁移当前状态的最新可用观察。
resourceVersion (字符串)
用于与 GC 缓存进行比较以执行迁移的 ResourceVersion。这是 kube-controller-manager 首次观察到此 StorageVersionMigration 资源时给定组、版本和资源的当前 ResourceVersion。
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), 必需
补丁策略:按键
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): OK
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): OK
401: 未授权
本页面是自动生成的。
如果你打算报告此页面存在的问题,请在问题描述中提及此页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。