检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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
查询指定namespace下的Services 功能介绍 查询Namespace下所有Service的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/services 表1 路径参数 参数 是否必选 参数类型
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
name: default-secret 表2 参数说明 Annotation 功能 约束 logpath.k8s.io/$containerName 通过Pod容器环境变量配置采集文件 $containerName为容器名变量。 支持配置多条路径,每个路径配置都要是以“/”开头的绝对路径,各路径配置以“;”分隔。
以创建和管理多个Pod,提供副本管理、滚动升级和自愈能力,其中最为常用的就是Deployment。 一个Deployment可以包含一个或多个Pod副本,每个Pod副本的角色相同,所以系统会自动为Deployment的多个Pod副本分发请求。 Deployment集成了上线部署、
为独有的软硬件优势,构建面向不同区域和行业的完善云服务安全保障体系。 安全性是华为云与您的共同责任,如图1所示。 华为云:负责云服务自身的安全,提供安全的云。华为云的安全责任在于保障其所提供的IaaS、PaaS和SaaS类云服务自身的安全,涵盖华为云数据中心的物理环境设施和运行其
rules for the pod. podAffinity io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
Secret列表中会出现新创建的Secret。 Secret的使用 Secret创建完后,可以在创建负载的过程中作为环境变量引用,或以文件方式挂载到容器中。 图1 使用环境变量挂载Secret 图2 将Secret挂载到容器中 挂载路径的字符串长度不能超过256个字符。 Secret文件格式说明
Kubernetes中,运行容器的最小资源单位是Pod,一个Pod封装一个或多个容器、存储资源、一个独立的网络IP等。实际使用中很少直接创建Pod,而是使用Kubernetes中称为Controller的抽象层来管理Pod实例,例如Deployment和StatefulSet。另外在Kub
rules for the pod. podAffinity io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
生产环境中推荐您使用OBS并行文件系统,而不推荐OBS对象存储。 URI POST /api/v1/namespaces/{namespace}/extended-persistentvolumeclaims 表1 Path参数 参数 参数类型 描述 namespace String
rules for the pod. podAffinity io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
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可以实现部分的环境隔离,当您的项目和人员众多的时候可以考虑根据项目属性,例如生产、测试、开发划分不同的Namespace。 创建Namespace Namespace下需要有一个Network关联VPC及子网,创建完Namespace后需要创建一个Network。
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可以实现部分的环境隔离,当您的项目和人员众多的时候可以考虑根据项目属性,例如生产、测试、开发划分不同的Namespace。 创建Namespace Namespace下需要有一个Network关联VPC及子网,创建完Namespace后需要创建一个Network。
URI DELETE /api/v1/namespaces/{namespace}/services/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Service namespace 是 String object name
查询指定namespace下的PersistentVolumeClaims 功能介绍 查询Namespace下的所有PersistentVolumeClaim。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/persistentvolumeclaims
"redis", "namespace" : "namespace-test", "resourceVersion" : "5146412", "selfLink" : "/api/v1/namespaces/namespace-test/services/redis"
"service-test", "namespace" : "namespace-test", "resourceVersion" : "41521168", "selfLink" : "/api/v1/namespaces/namespace-test/services/service-test"