检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
伸缩负载 本节主要讲解工作负载弹性伸缩和手动伸缩的配置方式。请根据实际业务选择。 弹性伸缩:支持告警、定时、周期三种策略。配置完成后可基于资源变化、固定时间、固定周期自动触发实例的增减。 手动伸缩:配置完成后立即触发实例的增减。 对于挂载了云硬盘存储卷的Pod,实例缩容时不会同步
availableZone := "<az名称,例如cn-north-1a、cn-north-4a或cn-east-3a>" vpcID := "虚拟私有云的ID,可在VPC控制台获取" cidr := "<子网网段,例如192.168.128.0/18>" networkID := "<子网的网络ID,可在VPC控制台
更新指定的RoleBinding 功能介绍 This API is used to partially update the specified RoleBinding 调用方法 请参见如何调用API。 URI PATCH /apis/rbac.authorization.k8s
更新Endpoint 功能介绍 更新Endpoint。 调用方法 请参见如何调用API。 URI PATCH /api/v1/namespaces/{namespace}/endpoints/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String
更新EIPPool 功能介绍 更新EIPPool。 调用方法 请参见如何调用API。 URI PATCH /apis/crd.yangtse.cni/v1/namespaces/{namespace}/eippools/{name} 表1 路径参数 参数 是否必选 参数类型 描述
更新Ingress 功能介绍 更新Ingress。 其中以下字段支持更新: metadata.labels metadata.generateName metadata.annotations spec.rules 调用方法 请参见如何调用API。 URI PATCH /apis
更新Service 功能介绍 更新Service。 调用方法 请参见如何调用API。 URI PATCH /api/v1/namespaces/{namespace}/services/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name
更新Volcano Job 功能介绍 更新Volcano Job。 The following fields can be updated: metadata.labels metadata.generateName metadata.annotations spec.template
替换EIPPool 功能介绍 替换EIPPool。 调用方法 请参见如何调用API。 URI PUT /apis/crd.yangtse.cni/v1/namespaces/{namespace}/eippools/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name
于AI等高性能场景。 Namespace下必须要创建一个Network,用于定义kubernetes中一个namespace内的网络与华为云虚拟私有云服务的子网和vpc的映射关系,具体请参见Namespace和Network。 调用方法 请参见如何调用API。 URI POST /api/v1/namespaces
替换ConfigMap 功能介绍 替换ConfigMap。 The following fields can be updated: metadata.labels metadata.annotations data 调用方法 请参见如何调用API。 URI PUT /api/v
更新Deployment 功能介绍 更新Deployment。 The following fields can be updated: metadata.labels metadata.generateName metadata.annotations spec.template
更新Job 功能介绍 更新Job。 The following fields can be updated: metadata.labels spec.parallelism spec.completions spec.selector 调用方法 请参见如何调用API。 URI PATCH
更新StatefulSet 功能介绍 更新StatefulSet。 The following fields can be updated: metadata.labels metadata.annotations spec.replicas spec.template spec
更新Pod 功能介绍 更新Pod。 其中以下字段支持更新: metadata.generateName metadata.labels metadata.annotations spec.initContainers[*].image spec.containers[*].image