检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
更新TFJob 功能介绍 更新TFJob。如下字段可被更新: metadata.labels metadata.annotations spec.activeDeadlineSeconds spec.ttlSecondsAfterFinished spec.cleanPodPolicy
查询APIGroupList 功能介绍 get available API versions 调用方法 请参见如何调用API。 URI GET /apis 请求参数 表1 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token
查询指定的storage class 功能介绍 read the specified StorageClass 调用方法 请参见如何调用API。 URI GET /apis/storage.k8s.io/v1/storageclasses/{name} 表1 路径参数 参数 是否必选
使用Service和Ingress管理网络访问 Service Ingress 网络访问场景 业务探针(Readiness probe)
使用PersistentVolumeClaim申请持久化存储 云容器实例当前支持在容器中使用如下三种持久化存储。 云硬盘(Elastic Volume Service,EVS),EVS是一种块存储服务,提供高I/O(sas)、超高I/O(ssd)和普通I/O(上一代产品)三种类型云硬盘
Dockerfile参数在云容器实例中如何使用 应用场景 如果您了解容器引擎的使用,明白定制镜像时,一般使用Dockerfile来完成。Dockerfile是一个文本文件,其内包含了一条条的指令,每一条指令构建镜像的其中一层,因此每一条指令的内容,就是描述该层应该如何构建。 本章节将介绍
使用kubernetes官方Python SDK访问CCI 本节介绍如何将cci认证工具cci-iam-authenticator与kubernetes-client/python结合使用以调用API。 安装cci-iam-authenticator 请参考使用kubectl,下载安装及设置
更新Deployment的伸缩操作 功能介绍 This API is used to partially update scale of the specified Scale. The following fields can be updated: metadata.resourceVersion
查询Ingress状态 功能介绍 查询Ingress状态。 调用方法 请参见如何调用API。 URI GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status 表1 路径参数 参数 是否必选
替换Deployment的伸缩操作 功能介绍 This API is used to replace scale of the specified Scale. The following fields can be updated: metadata.resourceVersion
替换Secret 功能介绍 替换Secret。 其中以下字段支持更新: metadata.labels metadata.annotations data 说明: 当“type”的值为“Opaque”时,“data”的“key”和“value”都可以更新。 当“type”的值不为“
创建Secret 功能介绍 创建Secret,Kubernetes提供了Secret来处理敏感信息。 调用方法 请参见如何调用API。 URI POST /api/v1/namespaces/{namespace}/secrets 表1 路径参数 参数 是否必选 参数类型 描述 namespace
使用kubernetes官方Java SDK访问CCI 本节将介绍如何将CCI认证工具cci-iam-authenticator与kubernetes-client/java结合使用以调用API。 安装cci-iam-authenticator 请参考使用kubectl,下载安装及设置
更新Secret 功能介绍 更新Secret中部分信息。 调用方法 请参见如何调用API。 URI PATCH /api/v1/namespaces/{namespace}/secrets/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name
查询Deployment的伸缩操作 功能介绍 查询Deployment的伸缩操作 调用方法 请参见如何调用API。 URI GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale 表1 路径参数 参数 是否必选
替换Ingress 功能介绍 替换Ingress。 其中以下字段支持更新: metadata.labels metadata.generateName metadata.annotations spec.rules 调用方法 请参见如何调用API。 URI PUT /apis/extensions
In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).
In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).
替换指定的RoleBinding 功能介绍 This API is used to replace the specified RoleBinding 调用方法 请参见如何调用API。 URI PUT /apis/rbac.authorization.k8s.io/v1/namespaces
删除指定namespace下的StatefulSets 功能介绍 删除Namespace下所有StatefulSet。 调用方法 请参见如何调用API。 URI DELETE /apis/apps/v1/namespaces/{namespace}/statefulsets 表1