检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
/namespace-test/statefulsets" } } 状态码 状态码 描述 200 OK 400 BadRequest 401 Unauthorized 403 Forbidden 404 NotFound 405 MethodNotAllowed 406 NotAcceptable
URI DELETE /apis/kubeflow.org/v1/namespaces/{namespace}/pytorchjobs/{name} 表1 Path参数 参数 是否必选 描述 name Yes name of the PyTorchJob namespace Yes
URI DELETE /apis/kubeflow.org/v1/namespaces/{namespace}/tfjobs/{name} 表1 Path参数 参数 是否必选 描述 name Yes name of the TFJob namespace Yes object name
Pod规格计算方式 Pod规格的计算步骤如下: Pod 包含的所有 Init 容器上定义的任何特定资源的约束值 (limit) 或 请求值 (request) 的最大值,作为 Pod 有效初始 request/limit。
图1 Pod 实际使用中很少直接创建Pod,而是使用Kubernetes中称为Controller的抽象层来管理Pod实例,例如Deployment和Job。Controller可以创建和管理多个Pod,提供副本管理、滚动升级和自愈能力。
表14 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 参数类型 描述 accessModes Array of strings AccessModes contains the actual access modes the volume
/namespace-test/ingresses" } } 状态码 状态码 描述 200 OK 400 BadRequest 401 Unauthorized 403 Forbidden 404 NotFound 405 MethodNotAllowed 406 NotAcceptable
查询指定namespace下的Deployments 功能介绍 查询Namespace下所有Deployment的详细信息。 调用方法 请参见如何调用API。
请求示例 只删除Job(对应Pod不删除)。
Namespace 查询所有Namespaces 创建Namespace 删除Namespace 查询Namespace 父主题: Kubernetes API
<namespace>.svc.cluster.local访问,其中nginx为Service的名称,<namespace>为命名空间名称,svc.cluster.local为域名后缀,在实际使用中,可以省略<namespace>.svc.cluster.local,直接使用Service
One of: "Success" or "Failure".
IPv6 is also accepted but not fully supported on all platforms.
Exact export maintains cluster-specific fields like 'Namespace'. Deprecated.
# kubectl delete deploy nginx -n $namespace_name deployment.apps "nginx" deleted # kubectl create -f deploy-read.yaml -n $namespace_name deployment.apps
表15 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 参数类型 描述 accessModes Array of strings AccessModes contains the actual access modes the volume
More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ ports Array of io.k8s.api.core.v1.ServicePort
/namespace-test/configmaps" } } 状态码 状态码 描述 200 OK 400 BadRequest 401 Unauthorized 403 Forbidden 404 NotFound 405 MethodNotAllowed 406 NotAcceptable
If no namespace is specified then the Pod's namespace will be used.
" : "cci-namespace-13238101", "selfLink" : "/apis/metrics.k8s.io/v1beta1/namespaces/cci-namespace-13238101/pods/cci-deployment-20233231-6c8d7f74f7