检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
方式保存在$HOME/.cci/cache的子目录下,请及时清理。 当发现访问密钥被非法使用(包括丢失、泄露等情况),可以自行删除或者通知管理员重置访问密钥,重新配置。 删除的访问密钥将无法恢复。 非安全环境配置kubectl 参照上述操作,安装并设置kubectl。 编辑kubeconfig文件,删除敏感信息参数。
RBAC授权)和授予自定义策略(IAM细粒度授权),则判定CCI权限的优先级顺序为:IAM RBAC授权>IAM细粒度授权。 图1 CCI权限管理 命名空间权限 Kubernetes RBAC API定义了四种类型:Role、ClusterRole、RoleBinding与Clust
this series up to the last heartbeat time lastObservedTime String Time of the last occurrence observed 表10 io.k8s.api.core.v1.EventSource 参数 参数类型
指定pod exporter启动监听端口 合法端口(1~65535) 19100 高级配置 创建Secret Secret是一种加密存储的资源对象,您可以将认证信息、证书、私钥等保存在密钥中,从而解决了密码、token、密钥等敏感数据的配置问题。 如下示例中定义的Secret中包含三条Key-Value。
用于AI等高性能场景。 Namespace下必须要创建一个Network,用于定义kubernetes中一个namespace内的网络与华为云虚拟私有云服务的子网和vpc的映射关系,具体请参见Namespace和Network。 调用方法 请参见如何调用API。 URI POST
label may cause this and other jobs to not function correctly. However, You may see manualSelector=true in jobs that were created with the old
md#spec-and-status status 否 io.k8s.api.core.v1.ServiceStatus object Most recently observed status of the service. Populated by the system. Read-only. More
md#spec-and-status status 否 io.k8s.api.core.v1.ServiceStatus object Most recently observed status of the service. Populated by the system. Read-only. More
list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects. When an object is created, the system will
api.core.v1.NamespaceCondition objects Represents the latest available observations of a namespace's current state. phase String Phase is the current
template of the replicaset. observedGeneration Long ObservedGeneration reflects the generation of the most recently observed ReplicaSet. readyReplicas
使用kubernetes官方Java SDK访问CCI 本节将介绍如何将CCI认证工具cci-iam-authenticator与kubernetes-client/java结合使用以调用API。 安装cci-iam-authenticator 请参考使用kubectl,下载安装
the sequence [0,currentReplicas). observedGeneration Long observedGeneration is the most recent generation observed for this StatefulSet. It corresponds
the sequence [0,currentReplicas). observedGeneration Long observedGeneration is the most recent generation observed for this StatefulSet. It corresponds
Represents the latest available observations of a deployment's current state. observedGeneration Long The generation observed by the deployment controller
使用client-go访问CCI的CRD资源Network 您可以前往开发体验馆Codelabs / Namespace生命周期代码示例(Go)下载相关代码,并在线调试。 初始化项目 创建项目examples.com/cci-examples。 项目依赖k8s.io/client-go、k8s
the sequence [0,currentReplicas). observedGeneration 否 Long observedGeneration is the most recent generation observed for this StatefulSet. It corresponds
the sequence [0,currentReplicas). observedGeneration Long observedGeneration is the most recent generation observed for this StatefulSet. It corresponds
请参见如何调用API。 URI PUT /apis/batch.volcano.sh/v1alpha1/namespaces/{namespace}/jobs/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Job namespace