KRM API 对象。global.gdc.goog/v1

object.global.gdc.goog/v1

AsyncDualZoneSpec

来源: - BucketLocationSpec - LocationInfo

字段 说明
zoneNames 字符串数组 location.mz.global.private.gdc.goog/v1alpha1 区域资源的 Slice。
combinationPrefix 字符串 BucketPrefix 资源中使用的 2 字符前缀

存储桶

定义了 Buckets API 的架构。

来源: - BucketList

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 Bucket
metadata ObjectMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
spec BucketSpec
status BucketStatus

BucketList

包含一个 Bucket 列表。

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 BucketList
metadata ListMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
items 存储分区数组

BucketLocation

定义 BucketLocation API 的架构。

来源: - BucketLocationList

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 BucketLocation
metadata ObjectMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
spec BucketLocationSpec
status BucketLocationStatus

BucketLocationClusterStatus

提供 BucketLocation 向特定集群推出的状态。 遵循 pkg/apis/common/global/v1alpha1 ZoneStatus

来源: - BucketLocationConfigStatus

字段 说明
name 字符串 相应状态所代表的副本所在的集群的名称。
rolloutStatus ZoneRolloutStatus 将副本部署到集群的状态。
conditions 条件数组 从集群收集的副本的协调状态。如果字段中的任何条件具有小于 .rolloutStatus.replicaGeneration 的 .observedGeneration,则表示该条件已过时。

BucketLocationConfig

定义 BucketLocationConfig API 的架构。

来源: - BucketLocationConfigList

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 BucketLocationConfig
metadata ObjectMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
spec BucketLocationSpec
status BucketLocationConfigStatus

BucketLocationConfigList

包含 BucketLocationConfig 的列表。

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 BucketLocationConfigList
metadata ListMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
items BucketLocationConfig 数组

BucketLocationConfigStatus

定义观察到的 BucketLocationConfig 的状态。

来源: - BucketLocationConfig

字段 说明
conditions 条件数组 对资源总体状态的观测结果。已知条件类型:就绪。
clusters BucketLocationClusterStatus 数组BucketLocationClusterStatus 资源部署到的集群状态列表。

BucketLocationList

包含 BucketLocation 的列表。

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 BucketLocationList
metadata ListMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
items BucketLocation 数组

BucketLocationReplica

定义 BucketLocationReplica API 的架构。

来源: - BucketLocationReplicaList

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 BucketLocationReplica
metadata ObjectMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
spec BucketLocationSpec
status BucketLocationReplicaStatus

BucketLocationReplicaList

包含 BucketLocationReplicas 的列表。

字段 说明
apiVersion 字符串 object.global.gdc.goog/v1
kind 字符串 BucketLocationReplicaList
metadata ListMeta 如需了解 metadata 的字段,请参阅 Kubernetes API 文档。
items BucketLocationReplica 数组

BucketLocationReplicaStatus

显示在: - BucketLocationReplica - BucketLocationZoneStatus

字段 说明
conditions 条件数组 Conditions 表示相应存储桶位置的总体状态的观测结果。

BucketLocationSpec

BucketLocationSpec 定义 BucketLocation 资源的期望状态。

来源: - BucketLocation - BucketLocationConfig - BucketLocationReplica

字段 说明
asyncDualZone AsyncDualZoneSpec 特定于 AsyncDualZone 存储分区的 BucketLocation 配置。如果 LocationType = AsyncDualZone,则必须存在
syncDualZone SyncDualZoneSpec 特定于 SyncDualZone 存储分区的 BucketLocation 配置。如果 LocationType = SyncDualZone,则必须存在
locationType BucketLocationType 支持的类型包括:[ AsyncDualZone, SyncDualZone ]。
active 布尔值 如果 active = false,则无法使用此 BucketLocation 创建新存储分区。

BucketLocationStatus

定义观察到的 BucketLocation 状态。

来源: - BucketLocation

字段 说明
conditions 条件数组 对资源总体状态的观测结果。已知条件类型:就绪。
rollout RolloutStatus 当前用于将资源部署到每个区域的策略。
zones BucketLocationZoneStatus 数组 资源已推出到的可用区状态列表。

BucketLocationZoneStatus

提供 BucketLocation 向特定可用区推出的状态。

来源: - BucketLocationStatus

字段 说明
name 字符串 相应状态所代表的副本所在的可用区名称。
rolloutStatus ZoneRolloutStatus 将副本部署到可用区的滚动状态。
replicaStatus BucketLocationReplicaStatus 从可用区收集的副本的协调状态。如果字段中的任何条件具有小于 .rolloutStatus.replicaGeneration 的 .observedGeneration,则表示该条件已过时。

BucketSpec

定义 Bucket 资源的期望状态。

来源: - 存储分区

字段 说明
description 字符串 存储桶内容的说明。
storageClass ObjectStorageClass 相应存储桶的存储类别。定义了需要访问数据的频率。可用选项包括 StandardNearlineStandard 适合频繁访问的热数据,例如网站、流式视频和移动应用。它适用于至少可存储 30 天的数据。Nearline 适合至少可存储 60 天的数据,包括数据备份和长尾多媒体内容。
bucketPolicy GlobalBucketPolicy 相应存储桶资源的政策。如果未指定,则应用默认政策。
location 字符串 存储桶中的对象数据所在的物理位置。此值必须映射到现有 ObjectStorageLocation 资源的名称。

BucketStatus

定义观察到的 Bucket 状态。

来源: - 存储分区

字段 说明
fullyQualifiedName 字符串 已配置的存储桶的名称。在使用外部工具和库时,此名称用于指代相应存储桶。
conditions 条件数组 相应存储桶的条件。支持的条件包括 BucketReady。如果 BucketReady 为 True,则表示相应存储桶已完成配置,可以正常使用。
zonalEndpoints 字符串数组 存储桶可访问的地区端点。如果需要自定义故障切换,请使用这些端点。
globalEndpoint 字符串 全球端点,可将流量动态路由到包含相应存储桶数据的任何可用区。如果需要自动故障切换,请使用此端点。
region 字符串 存储桶所在的区域。
encryption EncryptionStatus 相应存储桶的加密状态。
errorStatus ErrorStatus ErrorStatus 包含最近的错误,并附带观测时间。

LocationInfo

只能指定其一个成员。

来源: - BucketLocationSpec

字段 说明
asyncDualZone AsyncDualZoneSpec 特定于 AsyncDualZone 存储分区的 BucketLocation 配置。如果 LocationType = AsyncDualZone,则必须存在
syncDualZone SyncDualZoneSpec 特定于 SyncDualZone 存储分区的 BucketLocation 配置。如果 LocationType = SyncDualZone,则必须存在

SyncDualZoneSpec

来源: - BucketLocationSpec - LocationInfo

字段 说明
zoneNames 字符串数组 location.mz.global.private.gdc.goog/v1alpha1 区域资源的 Slice。
combinationPrefix 字符串 BucketPrefix 资源中使用的 2 字符前缀