检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the host file entry. 表22 io.k8s.api.core.v1.LocalObjectReference
参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the host file entry. 表22 io.k8s.api.core.v1.LocalObjectReference
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表24 io.k8s.api.core.v1.LocalObjectReference
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表25 io.k8s.api.core.v1.LocalObjectReference
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表23 io.k8s.api.core.v1.LocalObjectReference
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表22 io.k8s.api.core.v1.LocalObjectReference
human-readable description of the cause of the error. This field may be presented as-is to a reader. reason String A machine-readable description of the
调用说明 云容器实例提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用,调用方法请参见如何调用API。 父主题: 使用前必读
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表23 io.k8s.api.core.v1.LocalObjectReference
DNS based (typically AWS load-balancers) ip String IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)
printed. 请求参数 表3 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。 通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 Content-Type 是 String 目
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表22 io.k8s.api.core.v1.LocalObjectReference
/apis/batch/v1 请求参数 表1 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。 通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 响应参数 状态码: 200 表2 响应Body参数
什么是mcore? mcore是CPU使用单位,为千分之一个核。通常容器工作负载的CPU用量以mcore为单位衡量。 父主题: 基本概念类
API版本选择建议 云容器实例提供了Kubernetes API,此版本跟随Kubernetes社区最新版本,且提供了老版本Kubernetes API (OLD VERSIONS)。 建议您使用Kubernetes API,能够更好地满足您的需求。 父主题: 使用前必读
是取如下两项的较大者: 所有应用容器对某个资源的 limit/request 之和。 对某个资源的有效初始的 limit/request 。 针对如下实例,计算Pod规格。 apiVersion: v1 kind: Pod metadata: name: web-app spec: initContainers:
使用Nvidia-smi工具 为了支持查看GPU使用情况的场景,需要在镜像中注入nvidia-smi工具,根据购买的专属节点GPU驱动版本选择不同的nvidia-smi二进制文件。 nvidia-smi获取方式。 该二进制文件可以在nvidia官网,根据CUDA Toolkit版
printed. 请求参数 表3 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。 通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 响应参数 状态码: 200 表4 响应Body参数
时,CPU和内存规格建议配置如下: "obssidecar-injector-webhook/cpu": "500m", "obssidecar-injector-webhook/memory": "1024Mi" 当业务容器挂载多个obs并行文件系统时,相应CPU和内存规格逐倍增加。
/apis/apps/v1 请求参数 表1 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。 通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 响应参数 状态码: 200 表2 响应Body参数