检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
"test-endpoint", "namespace" : "test-namespace", "resourceVersion" : "263561274", "selfLink" : "/api/v1/namespaces/test-namespace/endpoints/test-endpoint"
"apiVersion" : "v1", "kind" : "Pod", "name" : "deployment-test-57f7cff77c-5x5tw", "namespace" : "namespace-test", "resourceVersion"
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
"test-endpoint", "namespace" : "test-namespace", "resourceVersion" : "263561274", "selfLink" : "/api/v1/namespaces/test-namespace/endpoints/test-endpoint"
Service 查询指定namespace下的Services 创建Service 删除Service 查询Service 更新Service 替换Service 查询service状态 父主题: Kubernetes API
DELETE /api/v1/namespaces/{namespace}/endpoints/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Endpoints namespace 是 String object
/apis/rbac.authorization.k8s.io 功能介绍 get information of a group 调用方法 请参见如何调用API。 URI GET /apis/rbac.authorization.k8s.io 请求参数 表1 请求Header参数 参数
probe) 一个新Pod创建后,Service就能立即选择到它,并会把请求转发给Pod,那问题就来了,通常一个Pod启动是需要时间的,如果Pod还没准备好(可能需要时间来加载配置或数据,或者可能需要执行 一个预热程序之类),这时把请求转给Pod的话,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
URI DELETE /api/v1/namespaces/{namespace}/secrets/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Secret namespace 是 String object name
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-test", "namespace" : "namespace-test", "resourceVersion" : "5199399", "selfLink" : "/api/v1/namespaces/namespace-test/secrets/secret-test"
/apis/apps/v1/namespaces/{namespace}/statefulsets/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the StatefulSet namespace 是 String object
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
/apis/batch.volcano.sh/v1alpha1/namespaces/{namespace}/jobs/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Job namespace 是 String object name
/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Ingress namespace 是 String object name
"configmap-test", "namespace" : "namespace-test", "resourceVersion" : "5172849", "selfLink" : "/api/v1/namespaces/namespace-test/configmaps/configmap-test"
"namespace" : "namespace-test", "resourceVersion" : "5161128", "selfLink" : "/apis/extensions/v1beta1/namespaces/namespace-test/ingresses/redis"
"namespace" : "namespace-test", "resourceVersion" : "5161128", "selfLink" : "/apis/extensions/v1beta1/namespaces/namespace-test/ingresses/redis"
以创建和管理多个Pod,提供副本管理、滚动升级和自愈能力,其中最为常用的就是Deployment。 一个Deployment可以包含一个或多个Pod副本,每个Pod副本的角色相同,所以系统会自动为Deployment的多个Pod副本分发请求。 Deployment集成了上线部署、