检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
specified, this must match ContainerPort. Most containers do not need this. Value range: [1, 65535]. containerPort No Integer Number of the port
preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by
preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by
"name" : "mpimaster", "ports" : [ { "containerPort" : 22, "name" : "mpijob-port" } ],
preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by
preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by
ClusterRole 获取ClusterRole列表 查询指定的ClusterRole 父主题: Kubernetes API
Kubernetes API ConfigMap Pod StorageClass Service Deployment Ingress OpenAPIv2 VolcanoJob Namespace ClusterRole Secret Endpoint ResourceQuota
云硬盘存储卷 为满足数据的持久化需求,云容器实例支持将云硬盘(EVS)挂载到容器中。通过云硬盘,可以将存储系统的远端文件目录挂载到容器中,数据卷中的数据将被永久保存,即使删除了容器,只是卸载了挂载数据卷,数据卷中的数据依然保存在存储系统中。 EVS目前支持普通I/O(上一代产品)、高I/O、超高I/O三种规格。
preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by
删除Service 功能介绍 删除Service。 调用方法 请参见如何调用API。 URI DELETE /api/v1/namespaces/{namespace}/services/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name
io/flavor" : "gpu-accelerated" }, "labels" : { "sys_enterprise_project_id" : "0" }, "name" : "namespace-test" } } 响应示例
"name" : "mpimaster", "ports" : [ { "containerPort" : 22, "name" : "mpijob-port" } ],
查询指定的ClusterRole 功能介绍 This API is used to read the specified ClusterRole 调用方法 请参见如何调用API。 URI GET /apis/rbac.authorization.k8s.io/v1/clusterroles/{name}
如果不挂载云存储的话,容器运行产生的数据存储在哪里? 如果没有挂载EVS等磁盘,应用数据存储在容器的物理机磁盘,每个Pod存储空间限制为CPU物理机磁盘为20G,GPU物理机磁盘为20G,如果为专属节点可根据客户需求进行调整。 为了确保数据的安全性,在创建容器时容器引擎会从dev
获取ClusterRole列表 功能介绍 This API is used to list or watch objects of kind ClusterRole 调用方法 请参见如何调用API。 URI GET /apis/rbac.authorization.k8s.io/v1/clusterroles
Kubernetes API(废弃) 当前页面API已经废弃,请使用Kubernetes API。 Extended PersistentVolumeClaim TFJob MXJob PyTorchJob 父主题: 历史API
查询APIVersions 功能介绍 get available API versions 调用方法 请参见如何调用API。 URI GET /api 请求参数 表1 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。
创建PersistentVolumeClaim 功能介绍 创建PersistentVolumeClaim,主要适用于动态创建存储的场景,即存储资源未创建时,创建PVC会根据请求内容创建一个存储资源。 当前支持创建EVS(云硬盘卷,块存储)和SFS(文件存储卷),使用时 spec.storageClassName
删除PersistentVolumeClaim 功能介绍 删除PersistentVolumeClaim。 调用方法 请参见如何调用API。 URI DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}