检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ 表9 io.k8s.api.core.v1.NamespaceStatus 参数 参数类型 描述 conditions Array
URI GET /api/v1/namespaces/{namespace}/pods/{name}/log 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Pod namespace 是 String object name and
More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ 表8 io.k8s.api.core.v1.NamespaceStatus 参数 是否必选 参数类型 描述 conditions 否
删除Namespace 功能介绍 删除一个Namespace。 调用方法 请参见如何调用API。
请求示例 只删除Deployment(对应ReplicSet和Pod不删除)。
表106 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 参数类型 描述 accessModes Array of strings AccessModes contains the actual access modes the
在CCI控制台,单击左侧栏目树中的“工作负载 > 无状态 Deployment”,单击右上角“镜像创建”。 图1 创建无状态负载 在“容器配置”,单击“使用该镜像”,选择镜像完成。
label query over pods that should match the replicas count.
替换Deployment的伸缩操作 功能介绍 This API is used to replace scale of the specified Scale.
附录 PATCH请求方法操作说明 PATCH请求方法操作示例 约束限制 Namespace和Network 状态码 错误码 获取项目ID 获取账号ID 获取容器镜像地址 挂载OBS使用限制
More info: http://kubernetes.io/docs/user-guide/identifiers#uids 表70 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array
查询Deployment的伸缩操作 功能介绍 查询Deployment的伸缩操作 调用方法 请参见如何调用API。
More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ 表9 io.k8s.api.core.v1.NamespaceStatus 参数 参数类型 描述 conditions Array
# kubectl delete deploy nginx -n $namespace_name deployment.apps "nginx" deleted # kubectl create -f deploy-read.yaml -n $namespace_name deployment.apps
查询指定namespace下的Deployments 功能介绍 查询Namespace下所有Deployment的详细信息。 调用方法 请参见如何调用API。
More info: http://kubernetes.io/docs/user-guide/identifiers#uids 表69 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array
如何设置实例(Pod)数? 如何查看资源配额? 如何设置应用的探针? 弹性伸缩策略如何配置? 使用sample镜像创建工作负载无法运行 调用接口删除Deployment后怎么还能查看到Pod? 为什么exec进入容器后执行GPU相关的操作报错?
删除指定namespace下的Pods 功能介绍 删除Namespace下所有Pod。 调用方法 请参见如何调用API。
表20 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 参数类型 描述 accessModes Array of strings AccessModes contains the actual access modes the volume
表105 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 参数类型 描述 accessModes Array of strings AccessModes contains the actual access modes the