检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ServiceStage应用智能化运维 父主题: 图解应用管理与运维平台
例如,unit-controller.testing.test-application.servicecomb。unit-controller为接入引擎的微服务名称,testing为unit-controller微服务所在环境名,test-application为unit-con
nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/route-unschedulable: }. preemption: 0/1 nodes are available: 1 Preemption
例如,unit-controller.testing.test-application.servicecomb。unit-controller为接入引擎的微服务名称,testing为unit-controller微服务所在环境名,test-application为unit-con
例如,unit-controller.testing.test-application.servicecomb。unit-controller为接入引擎的微服务名称,testing为unit-controller微服务所在环境名,test-application为unit-con
“分支”选择“main”。 在“构建”区域,设置必填构建参数。 “编译命令”:选择“使用自定义命令”,参考下表分别为unit-controller、unit-consumer和unit-provider组件设置自定义编译命令。 组件名称 自定义编译命令 unit-controller
选择绑定目标服务到应用网关时选择的应用网关,用于转发打标签服务流量。 *目标服务 选择绑定目标服务到应用网关时为应用网关绑定的目标服务名称“unit-controller”,通过该网关转发服务流量。 单击“确定”,完成泳道组创建。 父主题: 使用ServiceStage全链路流量控制实现Spring
“分支”选择“main”。 在“构建”区域,设置必填构建参数。 “编译命令”:选择“使用自定义命令”,参考下表分别为unit-controller-gray和unit-provider-gray组件设置自定义编译命令。 组件名称 自定义编译命令 unit-controller-gray
全部流量路由方向为从灰度泳道(gray)的unit-controller实例流向基线泳道(base)的unit-consumer实例,再流向灰度泳道(gray)的unit-provider实例。 访问基线泳道实例 打开cmd命令,执行以下命令访问基线泳道unit-controller组件提供的服务:
例如,unit-controller.testing.test-application.servicecomb。unit-controller为接入引擎的微服务名称,testing为unit-controller微服务所在环境名,test-application为unit-con
例如,unit-controller.testing.test-application.servicecomb。unit-controller为接入引擎的微服务名称,testing为unit-controller微服务所在环境名,test-application为unit-con
8f1a25", "host": "unit-provider-all..wulumuqi.servicecomb", "name": "unit-provider-all" }
TenantProject 表1 TenantProject参数 参数 位于 参数类型 描述 tenant body String 租户名称 projectId body String id 父主题: 公共响应参数
errorMessage String 错误信息。 detail String 详细定位信息。 状态码: 500 表9 响应Body参数 参数 参数类型 描述 errorCode String 错误代码。 errorMessage String 错误信息。 detail String 详细定位信息。 请求示例
Properties 表1 参数说明 参数 是否必选 参数类型 描述 < * > 否 String 微服务扩展属性,可以自定义KEY和相应的Value。长度最小1字节。 父主题: 公共请求参数
单击已创建好的基线泳道卡片上的“关联组件”或右上角的。 在弹出的“关联组件”对话框勾选创建并部署基线版本组件时已部署好的全部待关联组件:unit-controller、unit-consumer和unit-provider。 单击“确定”,完成基线泳道组件关联。 单击基线泳道卡片上当前已关联的组件数,可以查看基线泳道已关联的组件列表。
输入路由名称,例如:controller。 域名 勾选下拉列表中的“*”。 路由规则 服务地址:选择“前缀匹配”,输入“/”。 请求方法:选择“GET”。 服务名称:选择“unit-controller”。 分组:设置为“不限制”。 权重:设置为100。 使用全链路流量控制实现灰度发布时,一条路由下的所有路由规则必
例如,unit-controller.testing.test-application.servicecomb。unit-controller为接入引擎的微服务名称,testing为unit-controller微服务所在环境名,test-application为unit-con
ServiceDetail 表1 参数说明 参数 是否必选 参数类型 描述 microService 否 MicroService 服务信息。 instances 否 MicroServiceInstance 实例信息。 schemaInfos 否 Schema 微服务的API详细信息。
选择1输入的目标服务的名称,例如:servicecomb。 环境选择 保持默认。 服务列表 选择接入了1所选择的ServiceComb引擎的目标服务实例“unit-controller”。 父主题: 使用ServiceStage全链路流量控制实现Spring Cloud应用全链路灰度