检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
弹性到CCI的pod需要至少有一个容器有CPU的limit或者request限制。 本节的资源规整算法仅适用于云原生bursting,CCI 2.0的console和API有独立的Pod规格规整算法。 pod资源规格算法 弹性CCI的pod规格,根据container资源的Requests和Limits计算,调整至CCI允许范围。
allowed from the kubectl CLI interface. storageVersionHash String The hash value of the storage version, the version this resource is converted
Pod日志采集 本章节将介绍在Pod内进行日志采集,允许用户通过配置容器内自定义路径下的日志文件来采集日志,并通过自定义策略处理,上报到用户kafka日志中心。 资源限制 建议您为Fluent Bit预留50MB的内存。 约束与限制 当前不支持容器中软链路径的日志采集。 当前不支持容器标准输出采集上报到kafka。
Key):私有访问密钥。与访问密钥ID结合使用,对请求进行加密签名,可标识发送方,并防止请求被修改。 使用AK/SK认证时,您可以基于签名算法使用AK/SK对请求进行签名,也可以使用专门的签名SDK对请求进行签名。详细的签名方法和SDK使用方法请参见API签名指南。 签名SDK只
given name. repository String Repository URL revision String Commit hash for the specified revision. 表79 io.k8s.api.core.v1.GlusterfsVolumeSource
Secret Secret是一种加密存储的资源对象,您可以将认证信息、证书、私钥等保存在密钥中,从而解决了密码、token、密钥等敏感数据的配置问题,而不需要把这些敏感数据暴露到镜像或者Pod Spec中,只需在容器启动时以环境变量等方式加载到容器中。 Secret与Config
given name. repository String Repository URL revision String Commit hash for the specified revision. 表78 io.k8s.api.core.v1.GlusterfsVolumeSource
内网访问 内网访问有如下两种情况: 使用Service方式访问:该方式适合CCI中同一个命名空间中的负载相互访问。 使用私网ELB访问:该方式适合云服务内部资源(云容器实例以外的资源,如ECS等)且与负载在同一个VPC内互相访问,另外在同一个VPC不同命名空间的负载也可以选择此种
创建镜像快照 运行容器需要先拉取指定的容器镜像,但因网络和容器镜像大小等因素,镜像拉取耗时往往成了Pod启动的主要耗时。通过镜像快照功能,可以事先将要使用的镜像制作成快照,基于该快照创建Pod,从而避免镜像下载,提升Pod的启动速度。 要了解镜像快照的工作原理,请参阅镜像快照概述。
Pod资源监控指标 CCI支持Pod资源基础监控能力,提供CPU、内存、磁盘、网络等多种监控指标,满足对Pod资源的基本监控需求。 Pod内置系统agent,默认会以http服务的形式提供Pod和容器的监控指标。agent集成到Pod里面,会占用Pod内资源,建议您预留30MB的内存。
基本概念 云容器实例基于Kubernetes的负载模型增强了容器安全隔离、负载快速部署、弹性负载均衡、弹性扩缩容、蓝绿发布等重要能力。 云容器实例提供Kubernetes原生API,支持使用kubectl,且提供图形化控制台,让您能够拥有完整的端到端使用体验,使用云容器实例前,建议您先了解相关的基本概念。
gitRepo字段数据结构说明 参数 参数类型 描述 repository String Repository URL revision String Commit hash for the specified revision. 表32 secret字段数据结构说明 参数 参数类型 描述 secretName
参数类型 描述 repository No String Repository URL. revision No String Commit hash for the specified revision. 表29 ports字段数据结构说明 参数 是否必选 参数类型 描述 name No
given name. repository 是 String Repository URL revision 否 String Commit hash for the specified revision. 表70 io.k8s.api.core.v1.GlusterfsVolumeSource
given name. repository String Repository URL revision String Commit hash for the specified revision. 表81 io.k8s.api.core.v1.GlusterfsVolumeSource
given name. repository String Repository URL revision String Commit hash for the specified revision. 表70 io.k8s.api.core.v1.GlusterfsVolumeSource
given name. repository String Repository URL revision String Commit hash for the specified revision. 表70 io.k8s.api.core.v1.GlusterfsVolumeSource
given name. repository 是 String Repository URL revision 否 String Commit hash for the specified revision. 表80 io.k8s.api.core.v1.GlusterfsVolumeSource
given name. repository 是 String Repository URL revision 否 String Commit hash for the specified revision. 表80 io.k8s.api.core.v1.GlusterfsVolumeSource
given name. repository 是 String Repository URL revision 否 String Commit hash for the specified revision. 表70 io.k8s.api.core.v1.GlusterfsVolumeSource