检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ShowPartitionRequest request = new ShowPartitionRequest(); request.withPartitionName("{partition_name}"); request.withClusterId("{cluster_id}");
用率的场景:可以设置真实负载阈值生效方式为软约束,CPU真实负载阈值和内存真实负载阈值使用默认值80。 希望优先确保工作负载的稳定性,降低热点节点CPU、内存压力的场景:可以设置真实负载阈值生效方式为硬约束,CPU真实负载阈值和内存真实负载阈值在60~80之间设置。 配置案例2
AddNodesToNodePoolRequest request = new AddNodesToNodePoolRequest(); request.withClusterId("{cluster_id}"); request.withNodepoolId("{nodepool_id}");
build(); BatchDeleteClusterTagsRequest request = new BatchDeleteClusterTagsRequest(); request.withClusterId("{cluster_id}");
try: request = RevokeKubernetesClusterCertRequest() request.cluster_id = "{cluster_id}" request.body = CertRevokeConfigRequestBody(
try: request = DownloadChartRequest() request.chart_id = "{chart_id}" response = client.download_chart(request) print(response)
request = ListPartitionsRequest() request.cluster_id = "{cluster_id}" response = client.list_partitions(request)
UpdatePartitionRequest request = new UpdatePartitionRequest(); request.withPartitionName("{partition_name}"); request.withClusterId("{cluster_id}");
build() try: request = ResizeClusterRequest() request.cluster_id = "{cluster_id}" request.body = ResizeClusterRequestBody(
.build(); CreatePartitionRequest request = new CreatePartitionRequest(); request.withClusterId("{cluster_id}"); PartitionReqBody
try: request = UpdateReleaseRequest() request.name = "{name}" request.namespace = "{namespace}" request.cluster_id
tionsRequest request = new ShowNodePoolConfigurationsRequest(); request.withClusterId("{cluster_id}"); request.withNodepoolId("{nodepool_id}");
lsRequest request = new ShowNodePoolConfigurationDetailsRequest(); request.withClusterId("{cluster_id}"); request.withNodepo
PauseUpgradeClusterTaskRequest request = new PauseUpgradeClusterTaskRequest(); request.withClusterId("{cluster_id}");
客户端 优化域名解析请求 选择合适的镜像 避免IPVS缺陷导致的DNS概率性解析超时 使用节点DNS缓存NodeLocal DNSCache 及时升级集群中的CoreDNS版本 谨慎调整VPC和虚拟机的DNS配置 父主题: CoreDNS配置优化实践
ListClusterMasterSnapshotTasksRequest request = new ListClusterMasterSnapshotTasksRequest(); request.withClusterId("{cluster_id}");
request = AwakeClusterRequest() request.cluster_id = "{cluster_id}" response = client.awake_cluster(request)
inner/public inner 允许 CCE Standard/CCE Turbo 设置负载均衡器支持的网络类型,设置为inner,负载均衡器只支持ipv4私网;设置pulic,负载均衡器支持ipv4私网和ipv4公网。设置public会创建对应的弹性公网ip,并收取一定费用。 配置建议: 需
build(); UpdateClusterLogConfigRequest request = new UpdateClusterLogConfigRequest(); request.withClusterId("{cluster_id}");
build(); BatchCreateClusterTagsRequest request = new BatchCreateClusterTagsRequest(); request.withClusterId("{cluster_id}");