检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
PersistentVolumeClaim 查询指定namespace下的PersistentVolumeClaims 创建PersistentVolumeClaim 删除PersistentVolumeClaim 查询PersistentVolumeClaim 替换PersistentVolumeClaims
删除指定namespace下的Pods 功能介绍 删除Namespace下所有Pod。 调用方法 请参见如何调用API。
负载创建 概述 使用Docker run运行容器 使用控制台创建负载 调用API创建负载 Dockerfile参数在云容器实例中如何使用
More info: http://kubernetes.io/docs/user-guide/identifiers#uids 表70 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array
More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ ports Array of io.k8s.api.core.v1.ServicePort
您可以在应用程序中使用SDK方式使用OBS,将应用程序打包成容器镜像,在云容器实例中使用镜像创建负载。OBS的SDK的下载及使用方法请参见https://sdkcenter.developer.huaweicloud.com/?product=OBS。
More info: http://kubernetes.io/docs/user-guide/identifiers#uids 表69 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array
表13 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 是否必选 参数类型 描述 accessModes 否 Array of strings AccessModes contains the actual access modes
Namespace和Network 介绍云容器示例中Namespace与Network的概念。 Pod 介绍Pod相关概念,以及如何使用Pod。 Label 介绍Label的作用,以及如何使用Label。
请使用配套关系的基础镜像。 Pod存储空间限制 如果没有挂载EVS等磁盘,应用数据存储在容器的rootfs,每个Pod存储空间限制如下所示: 表4 每个Pod存储空间限制 Pod类型 存储空间限制 CPU型Pod 20G GPU型Pod 20G
More info: http://kubernetes.io/docs/user-guide/identifiers#uids 表68 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array
/namespace-test/resourcequotas" } } 状态码 状态码 描述 200 OK 400 BadRequest 401 Unauthorized 403 Forbidden 404 NotFound 405 MethodNotAllowed 406 NotAcceptable
Exact export maintains cluster-specific fields like 'Namespace'. Deprecated.
表19 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 是否必选 参数类型 描述 accessModes 否 Array of strings AccessModes contains the actual access modes
表19 io.k8s.api.core.v1.PersistentVolumeClaimStatus 参数 参数类型 描述 accessModes Array of strings AccessModes contains the actual access modes the volume
PersistentVolumeClaims 是 只支持SFS、SFS Turbo云存储类型,且只支持使用CSI类型的StorageClass。 负载Hostpath配置方式 操作场景 在使用CCE或者其他K8s集群时,用户使用HostPath类型存储。
图1 Pod 实际使用中很少直接创建Pod,而是使用Kubernetes中称为Controller的抽象层来管理Pod实例,例如Deployment和Job。Controller可以创建和管理多个Pod,提供副本管理、滚动升级和自愈能力。
表6 常用操作与系统策略的关系 操作 CCI FullAccess CCI ReadOnlyAccess CCI CommonOperations 创建无状态负载 √ x √ 删除无状态负载 √ x √ 查看无状态负载 √ √ √ 升级负载 √ x √ 伸缩负载 √ x √ 删除Pod
须知: 创建应用时,使用的镜像是容器镜像服务界面上的“我的镜像”页签中的镜像,那么该参数的值必须设置为imagepull-secret 。
Exact export maintains cluster-specific fields like 'Namespace'. Deprecated.