检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Kubernetes不允许在更新StatefulSet时添加或删除volumeClaimTemplates字段,您只能在创建StatefulSet时设置volumeClaimTemplates。 前提条件 您已经创建好一个集群。
claimName:已有的PVC名称。 创建Deployment负载。
问题现象 删除集群中动态创建的PVC,PVC使用的StorageClass中reclaimPolicy为Delete模式,但删除PVC时底层存储却没有被同步删除。 触发场景 同时删除PVC和与其绑定的PV,会出现底层存储没有被同步删除的情况。
问题现象 在Autopilot集群中创建工作负载时,事件中出现以下错误: Failed to pull image "100.125.**.**:32334/**/nginx:1.0": rpcerror: code =DeadlineExceeded desc = failed
这个Pod中名为container-1的容器。
Delete且设置everest.io/reclaim-policy=retain-volume-only:删除PVC,PV资源被删除,文件存储资源会保留。 Retain:删除PVC,PV资源与底层存储资源均不会被删除,需要手动删除回收。
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
/reclaim-policy: retain-volume-only 否 可选字段 目前仅支持配置“retain-volume-only” 如果回收策略是Delete且当前值设置为“retain-volume-only”删除PVC回收逻辑为:删除PV,保留底层存储卷。
HPA对于内存使用率弹性伸缩的计算方式为:container_memory_working_set_bytes/内存Request container_memory_working_set_bytes(即Working Set Size,WSS)的计算方式如下: 在Pod中执行cat
使用前必读 概述 欢迎使用云容器引擎(Cloud Container Engine,简称CCE)。云容器引擎提供高度可扩展的、高性能的企业级Kubernetes集群,支持运行Docker容器。借助云容器引擎,您可以在云上轻松部署、管理和扩展容器化应用程序。
CCE容器存储插件(Everest) 插件简介 CCE容器存储插件(Everest)是一个云原生容器存储系统,基于CSI(即Container Storage Interface)为Kubernetes集群对接云存储服务的能力。
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
=DOCKER_EMAIL 其中,myregistrykey为密钥名称,default为密钥所在的命名空间,其余参数如下所示。
例如图1中将容器container-1的CPU限制值导入为环境变量key4的值,导入后容器中将会存在一个名为key4的环境变量,其值为容器container-1的CPU限制值。 添加环境变量 登录CCE控制台。
您可以参考以下示例配置init container。
="POD",namespace="kube-system",container="coredns"}) BY (cluster_name, node,container, pod, namespace, cluster) / sum(container_spec_memory_limit_bytes
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
获取账号ID 在调用接口的时候,部分URL中需要填入账号ID(domain-id),所以需要先在管理控制台上获取到账号ID。账号ID获取步骤如下: 注册并登录管理控制台。 单击用户名,在下拉列表中单击“我的凭证”。 在“API凭证”页面的项目列表中查看账号ID。
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.