应用管理与运维平台 SERVICESTAGE-验证全链路灰度结果:访问基线泳道实例

时间:2024-12-04 15:08:02

访问基线泳道实例

打开cmd命令,执行以下命令访问基线泳道unit-controller组件提供的服务:

curl http://${网关访问地址}/unit-controller/hello

网关访问地址取值,请参考查看应用网关信息

执行结果示例如下:

{
    "unit-consumer": {
        "SERVICECOMB_INSTANCE_PROPS": "cas_lane_tag:base,affinity-tag:base","ip":"x.x.x.x"
    },
    "unit-provider": {
        "SERVICECOMB_INSTANCE_PROPS": "cas_lane_tag:base,affinity-tag:base","ip":"x.x.x.x"
    },
    "unit-controller": {
        "SERVICECOMB_INSTANCE_PROPS": "cas_lane_tag:base,affinity-tag:base","ip":"x.x.x.x"
    }
}

全部流量路由方向为从基线泳道(base)的unit-controller实例流向unit-consumer实例,再流向unit-provider实例。

support.huaweicloud.com/bestpractice-servicestage/servicestage_05_0047.html