检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
查询指定namespace下的所有TFJob 功能介绍 查询Namespace下所有TFJob的详细信息。 URI GET /apis/kubeflow.org/v1/namespaces/{namespace}/tfjobs 表1 Path参数 参数 是否必选 描述 namespace
数。 docker run --cap-add=SYS_ADMIN 在给容器赋予SYS_ADMIN权限后,可直接在启动命令中通过mount命令实现/dev/shm的size修改。 apiVersion: v1 kind: Pod metadata: name: pod-emptydir-name
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
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 DELETE /api/v1/namespaces/{namespace}/configmaps 表1 路径参数 参数 是否必选
查询指定namespace下的ConfigMaps 功能介绍 查询Namespace下所有ConfigMap的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/configmaps 表1 路径参数 参数 是否必选
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
漏洞源于kubelet的驱逐管理器(eviction manager)中没有包含对Pod中挂载的/etc/hosts文件的临时存储占用量管理,因此在特定的攻击场景下,一个挂载了/etc/hosts的Pod可以通过对该文件的大量数据写入占满节点的存储空间,从而造成节点的拒绝访问(Denial
URI DELETE /api/v1/namespaces/{namespace}/events/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Event namespace 是 String object name
"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"
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
DELETE /api/v1/namespaces/{namespace}/endpoints/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Endpoints namespace 是 String object
"test-endpoint", "namespace" : "test-namespace", "resourceVersion" : "263561274", "selfLink" : "/api/v1/namespaces/test-namespace/endpoints/test-endpoint"
查询APIGroup /apis/metrics.k8s.io 功能介绍 查询APIGroup /apis/metrics.k8s.io 调用方法 请参见如何调用API。 URI GET /apis/metrics.k8s.io 请求参数 表1 请求Header参数 参数 是否必选
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
probe) 一个新Pod创建后,Service就能立即选择到它,并会把请求转发给Pod,那问题就来了,通常一个Pod启动是需要时间的,如果Pod还没准备好(可能需要时间来加载配置或数据,或者可能需要执行 一个预热程序之类),这时把请求转给Pod的话,Pod也无法处理,造成请求失败。
ENTRYPOINT ["top", "-b"] 调用接口时,只需配置pod的containers.command参数,该参数是list类型,第一个参数为执行命令,后面均为命令的参数。 apiVersion: v1 kind: Pod metadata: name: Ubuntu spec:
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