检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
查看容器实例Pod的监控数据 在CCI控制台上,查看Pod监控数据。 进入CCI,左侧导航栏中选择“工作负载 > 无状态(Deployment)”,在右侧页面单击要访问的工作负载。查看Pod实例下面的“监控”页签,该页签显示Pod近一小时的CPU使用率和内存使用率。 图1 Pod列表
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
删除指定namespace下的ConfigMaps 功能介绍 删除Namespace下所有ConfigMap。 调用方法 请参见如何调用API。 URI DELETE /api/v1/namespaces/{namespace}/configmaps 表1 路径参数 参数 是否必选
io/docs/user-guide/identifiers#names namespace String Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the
查询指定namespace下的ConfigMaps 功能介绍 查询Namespace下所有ConfigMap的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/configmaps 表1 路径参数 参数 是否必选
ds 表15 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array of strings AccessModes contains the desired access modes the
io/docs/user-guide/identifiers#names namespace String Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the
使用Deployment部署Prometheus 创建prometheus的工作负载,将配置项挂载到工作负载中。使用Deployment部署Prometheus所用的镜像,相比于官方镜像额外打包了cci-iam-authenticator二进制。 示例中创建一个名为promet
Pod Pod 环境变量 启动命令 对容器进行初始化操作 Pod规格计算方式 生命周期管理 存活探针(liveness probe)
育等应用。 云容器实例提供如下特性,能够很好的支持这类场景。 快速弹性伸缩:业务高峰时,业务能够快速从CCE弹性扩展到CCI,保障业务稳定运行 低成本灵活计费:业务平稳期在CCE上包周期计费,节省成本;高峰期弹性扩容到CCI上,按需计费,高峰期结束后又可以快速释放资源,降低成本 图4
Service 查询指定namespace下的Services 创建Service 删除Service 查询Service 更新Service 替换Service 查询service状态 父主题: Kubernetes API
URI GET /api/v1/namespaces/{namespace}/endpoints/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Endpoints namespace 是 String object
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
URI DELETE /api/v1/namespaces/{namespace}/events/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Event namespace 是 String object name
DELETE /api/v1/namespaces/{namespace}/endpoints/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Endpoints namespace 是 String object
查询APIGroup /apis/metrics.k8s.io 功能介绍 查询APIGroup /apis/metrics.k8s.io 调用方法 请参见如何调用API。 URI GET /apis/metrics.k8s.io 请求参数 表1 请求Header参数 参数 是否必选
"apiVersion" : "v1", "kind" : "Pod", "name" : "deployment-test-57f7cff77c-5x5tw", "namespace" : "namespace-test", "resourceVersion"
"test-endpoint", "namespace" : "test-namespace", "resourceVersion" : "263561274", "selfLink" : "/api/v1/namespaces/test-namespace/endpoints/test-endpoint"
"test-endpoint", "namespace" : "test-namespace", "resourceVersion" : "263561274", "selfLink" : "/api/v1/namespaces/test-namespace/endpoints/test-endpoint"