检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
创建时间:优先选择创建时间更新的镜像快照。 明确指定 指定已有的镜像快照,并在“镜像快照”页签中选择镜像快照中的镜像。该镜像缓存必须为创建完成可用(Available)状态。 查看使用效果 在CCI控制台的Pod页面,找到使用镜像快照创建的实例,进入详情页面。在事件页签下,可以看到该实例匹配了镜像缓存;如果挂载镜像快照失败,也会有相应报错信息。
"containerPort": 2222, "name": "tfjob-port" }
配置具体日志采集策略,完成后单击“确定”。 弹性到CCI的Pod不支持日志策略热更新,更新日志采集策略后需要重新部署弹性到CCI的Pod才可生效。 查看弹性到CCI的pod yaml。 为支持CCI pod日志被采集到日志中心,CCE插件CCE Log Collector为pod注入了如下四个annotation:
#type-nodeport port 是 Integer The port that will be exposed by this service. protocol 否 String The IP protocol for this port. Supports "TCP"
cpu: 500m memory: 1Gi 负载运行起来后就可以通过环境变量在容器内查看到具体的Pod信息: 图1 Pod基础信息 父主题: 负载管理
按需资源不会立即停止服务,资源进入宽限期。您需支付按需资源在宽限期内产生的费用,相关费用可在管理控制台 > 费用中心 > 总览“欠费金额”查看,华为云将在您充值时自动扣取欠费金额。 如果您在宽限期内仍未支付欠款,那么就会进入保留期,资源状态变为“已冻结”,您将无法对处于保留期的按需计费资源执行任何操作。
primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0
defined. port 是 Integer The port number of the endpoint. protocol 否 String The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP
primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0
认证配置,仅修改cci-endpoint生成多个region的kubeconfig,例如: # 生成北京4的kubeconfig,并切换到对应context $ cci-iam-authenticator generate-kubeconfig --cci-endpoint=https://cci
"containerPort": 2222, "name": "tfjob-port" }
联。 登录云容器实例控制台,单击左侧导航栏的“存储管理 > 极速文件存储卷”,在极速文件存储卷列表中,单击极速文件存储卷后的“解关联”。 查看系统提示,单击“确定”。 父主题: 存储管理
primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0
primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0
server. port Yes String Name or number of the port to access on the container. The port number must be in the range 1 to 65535. The port name must
使用“>”折叠换行。这两个符号是Yaml中字符串经常使用的符号。 this: | Foo Bar that: > Foo Bar 对应的对象为: { this: 'Foo\nBar\n', that: 'Foo Bar\n' } 一般YAML 语言教程推荐使用“|”就能够满足大多数场景了。
RoleBinding:描述subjects(包含users,groups)和角色的关系。角色绑定将一个角色中定义的各种权限授予一个或者一组用户,该用户或用户组则具有对应绑定ClusterRole定义的权限。 表1 RBAC API所定义的两种类型 类型名称 说明 ClusterRole ClusterRo
RoleBinding:描述subjects(包含users,groups)和角色的关系。角色绑定将一个角色中定义的各种权限授予一个或者一组用户,该用户或用户组则具有对应绑定ClusterRole定义的权限。 表1 RBAC API所定义的两种类型 类型名称 说明 ClusterRole ClusterRo
2222, "name": "tfjob-port" }
named port in a pod must have a unique name. Name for the port that can be referred to by services. hostPort Integer Number of the port to expose