检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
查询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/e
更新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
查询用户所有Deployments 功能介绍 查询用户所有Deployment。 调用方法 请参见如何调用API。 URI GET /apis/apps/v1/deployments 表1 Query参数 参数 是否必选 参数类型 描述 allowWatchBookmarks 否
使用kubernetes官方Java SDK访问CCI 本节将介绍如何将CCI认证工具cci-iam-authenticator与kubernetes-client/java结合使用以调用API。 安装cci-iam-authenticator 请参考使用kubectl,下载安装
查询APIGroupList 功能介绍 get available API versions 调用方法 请参见如何调用API。 URI GET /apis 请求参数 表1 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。
查询用户所有的StatefulSets 功能介绍 This API is used to list all StatefulSet resource objects. 调用方法 请参见如何调用API。 URI GET /apis/apps/v1/statefulsets 表1 Query参数
查询指定的storage class 功能介绍 read the specified StorageClass 调用方法 请参见如何调用API。 URI GET /apis/storage.k8s.io/v1/storageclasses/{name} 表1 路径参数 参数 是否必选
进入容器执行命令 功能介绍 exec接口无法通过curl或者postman进行调试,推荐使用kubectl进行调试,请参见kubectl配置指南。 调用方法 请参见如何调用API。 URI POST /api/v1/namespaces/{namespace}/pods/{name}/exec
进入容器执行命令 功能介绍 exec接口无法通过curl或者postman进行调试,推荐使用kubectl进行调试,请参见kubectl配置指南。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/pods/{name}/exec
创建TFJob 功能介绍 创建TFJob。 TFJob即Tensorflow任务,是基于Tensorflow开源框架的kubernetes自定义资源类型,有多种角色可以配置,能够帮助我们更简单地实现Tensorflow的单机或分布式训练。Tensorflow开源框架的信息详见:https://www
查询TFJob 功能介绍 查询TFJob的详细信息。 URI GET /apis/kubeflow.org/v1/namespaces/{namespace}/tfjobs/{name} 表1 Path参数 参数 是否必选 描述 name Yes name of the TFJob
更新TFJob 功能介绍 更新TFJob。如下字段可被更新: metadata.labels metadata.annotations spec.activeDeadlineSeconds spec.ttlSecondsAfterFinished spec.cleanPodPolicy
查询MXJob 功能介绍 查询MXJob的详细信息。 URI GET /apis/kubeflow.org/v1/namespaces/{namespace}/mxjobs/{name} 表1 Path参数 参数 是否必选 描述 name Yes name of the MXJob
删除MXJob 功能介绍 删除MXJob。 URI DELETE /apis/kubeflow.org/v1/namespaces/{namespace}/mxjobs/{name} 表1 Path参数 参数 是否必选 描述 name Yes name of the MXJob namespace
替换MXJob 功能介绍 替换MXJob。如下字段可被替换: metadata.labels metadata.annotations spec.activeDeadlineSeconds spec.ttlSecondsAfterFinished spec.cleanPodPolicy