You need to enable JavaScript to run this app.
导航

返回数据结构

最近更新时间2024.02.22 15:48:49

首次发布时间2022.06.27 21:21:54

本文主要描述容器服务 OpenAPI 的通用返回数据结构。

NodeStatisticsResponse

参数名参数类型示例值说明
TotalCountInteger10节点总数量。
CreatingCountInteger2Phase=Creating的节点总数量。
RunningCountInteger2Phase=Running的节点总数量。
UpdatingCountInteger2Phase=Updating的节点总数量。
DeletingCountInteger1Phase=Deleting的节点总数量。
FailedCountInteger1Phase=Failed的节点总数量。

KubernetesConfigResponse

参数名参数类型示例值说明
LabelsArray of Label-节点池/节点的 Kubernetes 标签(Labels)信息。
TaintsArray of Taint-节点池/节点的 Kubernetes 污点(Taints)信息。

Cordon

Boolean

false

封锁节点配置,参数值说明:

  • false:不封锁。
  • true:封锁。
NamePrefixStringname-prefixKubernetes 中节点对象的元数据名称前缀。

TagResponse

参数名参数类型示例值说明
KeyStringkey1标签键。
ValueStringvalue1标签值。

Type

String

System

标签类型,参数值说明:

  • System: 系统标签。
  • Custom:用户自定义标签。

Label

参数名参数类型示例值说明
KeyStringlable-key/os标签键。
ValueStringlinux标签值。

Taint

参数名参数类型示例值说明

Effect

String

NoSchedule

污点效果,参数值说明:

  • NoSchedule:不调度。
  • NoExecute:驱逐没有容忍污点的 Pod。
  • PreferNoSchedule:尽量避免调度。
KeyStringtaint-key/node-type污点键。
ValueStringvci污点值。