检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
查询Namespace下所有TFJob的详细信息。 URI GET /apis/kubeflow.org/v1/namespaces/{namespace}/tfjobs 表1 Path参数 参数 是否必选 描述 namespace Yes object name and auth
"python train_imagenet.py --benchmark 1 --network resnet --batch-size 1 --num-epochs 1 --kv-store dist_sync --num-examples 500"
"python train_imagenet.py --benchmark 1 --network resnet --batch-size 1 --num-epochs 1 --kv-store dist_sync --num-examples 500"
功能介绍 删除命名空间下的所有TFJob。 URI DELETE /apis/kubeflow.org/v1/namespaces/{namespace}/tfjobs 表1 Path参数 参数 是否必选 描述 namespace Yes object name and auth
大小等信息。查看事件详细信息。 当镜像快照状态为可用时,可以使用该镜像快照。 当镜像快照状态为异常时,您可在详情页面查看事件详细信息。 图1 镜像快照详情 删除镜像快照 镜像快照对应一份EVS云盘快照,保留镜像快照需要支付相应的EVS云盘快照费用。对于不再使用的镜像快照,如果在创建时未设置保留时长,需手动删除。
possible value: "FieldsV1" fieldsV1 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager String Manager
以下示例创建一个名为nginx的无状态负载,EIP将随Pod自动创建并绑定至Pod。具体字段含义见表1。 创建独占带宽类型的Deployment,无需指定带宽ID,示例如下: apiVersion: apps/v1 kind: Deployment metadata: annotations:
str: 'content: a string' 单引号和双引号都可以使用,两者区别是单引号可以识别转义字符:双引号不会对特殊字符转义:↵ s1: 'content:\n a string' s2: "content:\n a string" 单引号之中如果还有单引号,必须连续使用两个单引号转义。
possible value: "FieldsV1" fieldsV1 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager String Manager
为方便用户在CCI内直接为Pod关联弹性公网IP,只需在创建Pod时配置annotation,弹性公网IP就会随Pod自动绑定该Pod。自动绑定弹性公网IP分为两种场景: 表1 自动绑定EIP配置annotation 场景 配置annotation参数 场景一:为Pod自动创建并绑定EIP yangtse.io/pod-with-eip:
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String
possible value: "FieldsV1" fieldsV1 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager String Manager
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String
最后以联邦用户的身份登录到华为云,切换角色之后,就可以管理账号A中的资源。 本章节为您介绍委托联邦用户管理资源的方法,操作流程如图1所示。 图1 委托联邦用户管理资源流程 操作步骤 账号A委托账号B以联邦用户的身份管理账号A中的资源,需要完成以下步骤: 创建委托(委托方操作)
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String
possible value: "FieldsV1" fieldsV1 否 Object FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. manager 否 String