检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
、中划线(-)、点(.)组成(其中两点不能相连,点不能与中划线相连),小写字母或数字结尾的1到63字符的字符串。 开启快照保留时间 打开开关,填写快照保留天数。未开启开关,默认为永久。 快照过期后,仍会占用配额,需定期审核过期镜像快照后删除。 容器镜像 第三方可以直接输入镜像地址
修改Nginx镜像的欢迎页面,定制一个新的镜像,将欢迎页面改为“Hello, CCI!”。 操作步骤 以root用户登录容器引擎所在的虚拟机。 创建一个名为Dockerfile的文件。 mkdir mynginx cd mynginx touch Dockerfile 编辑Dockerfile。
共享镜像:展示了容器镜像服务中他人共享的镜像。 镜像选择完成后,需要选择镜像的版本、设置容器名称、设置容器占用的CPU和内存规格,并选择是否开启采集标准输出文件(开启后,应用运维管理AOM将根据实际使用量进行计费)。 每个租户一个月有500M的免费日志存储空间,超过500M时AOM将根据实际使
工作负载弹性到CCI。 不开启(off) 工作负载不会弹性到CCI。 方式一:通过配置labels控制pod调度到CCI 通过CCE集群控制台(console)创建pod调度到CCI。通过CCE集群创建工作负载时,选择CCI弹性承载策略配置,选择“不开启”以外的任意策略。 在CC
回400报错。 自动匹配 创建CCI实例时,可以通过注解中添加以下键值来开启自动匹配镜像快照。 名称 示例值 描述 cci.io/image-snapshot-auto-match "true" 设置是否开启自动匹配镜像快照。 以创建Deployment为例: apiVersion:
"spec": { "backoffLimit": 6, "tfReplicaSpecs": { "Ps": { "replicas": 1
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
"spec": { "backoffLimit": 6, "tfReplicaSpecs": { "Ps": { "replicas": 1
体服务的操作、资源以及请求条件等。这是一种更加灵活的授权方式,能够满足企业对权限最小化的安全管控要求。例如:针对ECS服务,管理员能够控制IAM用户仅能对某一类云服务器资源进行指定的管理操作。多数细粒度策略以API接口为粒度进行权限拆分,权限的最小粒度为API授权项(action
if (!server.contains("://")) { if (server.contains(":443")) { server = "https://" + server; } else
name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. port Integer The port number of
享资源的容器。通常这种场景下是应用包含一个主容器和几个辅助容器(SideCar Container),如图1所示,例如主容器为一个web服务器,从一个固定目录下对外提供文件服务,而辅助的容器周期性的从外部下载文件存到这个固定目录下。 图1 Pod 实际使用中很少直接创建Pod,而
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
CCI是否提供基础容器镜像的下载服务? CCI中的镜像仓库是由容器镜像服务(SoftWare Repository)提供,容器镜像服务提供基础容器镜像的下载。 父主题: 镜像仓库类
that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. 请求示例 无 响应示例 状态码: 200 OK { "kind" : "APIVersions", "serv
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
e/#type-nodeport port Integer The port that will be exposed by this service. protocol String The IP protocol for this port. Supports "TCP", "UDP"
e/#type-nodeport port Integer The port that will be exposed by this service. protocol String The IP protocol for this port. Supports "TCP", "UDP"
e/#type-nodeport port Integer The port that will be exposed by this service. protocol String The IP protocol for this port. Supports "TCP", "UDP"
登录云容器实例管理控制台,左侧导航栏中选择“命名空间”。 在对应类型的命名空间下单击“创建”。 填写命名空间名称。 命名空间名称在云容器实例中需全局唯一。 设置RBAC权限。 开启RBAC鉴权后,用户使用命名空间下的资源将受到RBAC权限控制,详情请参见命名空间权限。 选择企业项目。CCI中每个命名空间对应一个企业项目,一个企业项目下可以有多个命名空间。