检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
定位思路 当工作负载状态异常时,建议先查看事件。 在CCI控制台中,单击左侧导航栏的“工作负载”,单击异常工作负载名称,进入详情页面,在Pod列表中,单击异常实例左边的,显示该实例的详情,单击事件页签。 图1 查看事件 父主题: 工作负载异常
/apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Network namespace 是 String object name
值相同的容器,对其最后一个"/"字符之前的部分替换为replaceWith的内容。 若repositoryPrefix为空,则对Pod中镜像名不包含前缀(即没有"/"字符)的容器,镜像名前加上replaceWith的内容和一个"/"字符。 配置场景一 原Pod中所有容器镜像均使用
CommonOperations 云容器实例普通用户,拥有该权限的用户可以执行除RBAC、network和namespace子资源创建、删除、修改之外的所有操作。 系统策略 CCI Administrator 云容器实例管理员权限,拥有该权限的用户可以执行云容器实例所有资源的创建、删除、查询、更新操作。
"compute-resources", "namespace" : "namespace-test", "resourceVersion" : "42717140", "selfLink" : "/api/v1/namespaces/namespace-test/resource
"name": "pvc-import-evs", "namespace": "test-namespace", "selfLink": "/api/v1/namespaces/test-namespace/persistentvolumeclaims/pvc-import-evs"
本步骤以主账号给CCI CommonOperations用户(James)赋予Namespace下view权限为例,被授权的CCI CommonOperations用户在该Namespace下只有只读权限。 登录云容器实例管理控制台,在左侧导航栏中选择“权限管理”,进入权限管理页面。 单击“添加授权”,进入添加授权页面。
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
info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources groups Array of io.k8s.apimachinery.pkg.apis
with phase Bound, PreBound or FixedBound. podName 否 String Pod name podNamespace 否 String Pod Namespace 表14 privateIP 参数 是否必选 参数类型 描述 id 否 String
with phase Bound, PreBound or FixedBound. podName 否 String Pod name podNamespace 否 String Pod Namespace 表14 privateIP 参数 是否必选 参数类型 描述 id 否 String
of io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery objects versions are the versions supported in this group. 表3 io.k8s.apimachinery
of io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery objects versions are the versions supported in this group. 表3 io.k8s.apimachinery
roleRef io.k8s.api.rbac.v1.RoleRef object RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the
查询指定命名空间下的PVC。 URI GET /api/v1/namespaces/{namespace}/extended-persistentvolumeclaims 表1 Path参数 参数 是否必选 参数类型 描述 namespace Yes String 命名空间。 表2 Query参数
tensorflow.org 。 URI POST /apis/kubeflow.org/v1/namespaces/{namespace}/tfjobs 表1 Path参数 参数 是否必选 描述 namespace Yes object name and auth scope, such as
authorization.k8s.io/v1/namespaces/{namespace}/rolebindings 表1 路径参数 参数 是否必选 参数类型 描述 namespace 是 String object name and auth scope, such as for teams and
ids 表8 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array of strings AccessModes contains the desired access modes the
with phase Bound, PreBound or FixedBound. podName String Pod name podNamespace String Pod Namespace 表14 privateIP 参数 参数类型 描述 id String Port ID
区域默认对应一个项目,这个项目由系统预置,用来隔离物理区域间的资源(计算资源、存储资源和网络资源),以默认项目为单位进行授权,用户可以访问您账号中该区域的所有资源。如果您希望进行更加精细的权限控制,可以在区域默认的项目中创建子项目,并在子项目中创建资源,然后以子项目为单位进行授权,使得用户仅能访