检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
l。 Namespace和Network 介绍云容器示例中Namespace与Network的概念。 Pod 介绍Pod相关概念,以及如何使用Pod。 Label 介绍Label的作用,以及如何使用Label。 无状态负载(Deployment) 介绍Deployment的使用场
info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources groups Array of io.k8s.apimachinery.pkg.apis
Pod 什么是Pod Pod是Kubernetes创建或部署的最小单位。一个Pod封装一个或多个容器(container)、存储资源(volume)、一个独立的网络IP以及管理控制容器运行方式的策略选项。 Pod使用主要分为两种方式: Pod中运行一个容器。这是Kubernete
图2 选择Pod来源 您可以查看到所有Pod详情,包括基本信息、Pod中容器组成、Pod的监控信息、事件,以及使用远程终端访问Pod。您还可以对Pod进行删除操作,并查看Pod的日志。 图3 Pod详情 使用kubectl创建Pod 使用kubectl创建Pod请参见Pod“开发指南”。
Boolean Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. export
io/docs/user-guide/identifiers#uids 表8 io.k8s.api.core.v1.EndpointSubset 参数 是否必选 参数类型 描述 addresses 否 Array of io.k8s.api.core.v1.EndpointAddress objects IP
表14 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 是否必选 参数类型 描述 accessModes 否 Array of strings AccessModes contains the desired access modes
删除Deployment 功能介绍 删除Deployment。 调用方法 请参见如何调用API。 URI DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name
调用接口删除Deployment后怎么还能查看到Pod? 为什么exec进入容器后执行GPU相关的操作报错? 更多 存储管理类 CCI支持的云存储有哪些,哪种存储需要设置备份? 如何使用云存储? 如果不挂载云存储的话,容器运行产生的数据存储在哪里? job的pod已经执行完成的
io/docs/user-guide/identifiers#uids 表8 io.k8s.api.core.v1.EndpointSubset 参数 是否必选 参数类型 描述 addresses 否 Array of io.k8s.api.core.v1.EndpointAddress objects IP
rvice 表10 io.k8s.api.core.v1.SessionAffinityConfig 参数 参数类型 描述 clientIP io.k8s.api.core.v1.ClientIPConfig object clientIP contains the configurations
删除Namespace 功能介绍 删除一个Namespace。 调用方法 请参见如何调用API。 URI DELETE /api/v1/namespaces/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Namespace
rvice 表10 io.k8s.api.core.v1.SessionAffinityConfig 参数 参数类型 描述 clientIP io.k8s.api.core.v1.ClientIPConfig object clientIP contains the configurations
io/docs/user-guide/identifiers#uids 表9 io.k8s.api.core.v1.EndpointSubset 参数 参数类型 描述 addresses Array of io.k8s.api.core.v1.EndpointAddress objects IP addresses
e 表10 io.k8s.api.core.v1.SessionAffinityConfig 参数 是否必选 参数类型 描述 clientIP 否 io.k8s.api.core.v1.ClientIPConfig object clientIP contains the configurations
ds 表15 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array of strings AccessModes contains the desired access modes the
e 表10 io.k8s.api.core.v1.SessionAffinityConfig 参数 是否必选 参数类型 描述 clientIP 否 io.k8s.api.core.v1.ClientIPConfig object clientIP contains the configurations
Boolean Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. export
rvice 表11 io.k8s.api.core.v1.SessionAffinityConfig 参数 参数类型 描述 clientIP io.k8s.api.core.v1.ClientIPConfig object clientIP contains the configurations
查询Pod日志 功能介绍 查询Pod的日志。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/pods/{name}/log 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of