diff --git a/lua_configuration/trafficrouting_ingress/aliyun-alb.lua b/lua_configuration/trafficrouting_ingress/aliyun-alb.lua index c35e5825..4ec44126 100644 --- a/lua_configuration/trafficrouting_ingress/aliyun-alb.lua +++ b/lua_configuration/trafficrouting_ingress/aliyun-alb.lua @@ -9,6 +9,7 @@ annotations["alb.ingress.kubernetes.io/canary-by-header"] = nil annotations["alb.ingress.kubernetes.io/canary-by-header-pattern"] = nil annotations["alb.ingress.kubernetes.io/canary-by-header-value"] = nil annotations["alb.ingress.kubernetes.io/canary-weight"] = nil +annotations["alb.ingress.kubernetes.io/order"] = "1" if ( obj.weight ~= "-1" ) then annotations["alb.ingress.kubernetes.io/canary-weight"] = obj.weight