diff --git a/documents/solution/micro/build-microservices-on-ack.yml b/documents/solution/micro/build-microservices-on-ack.yml index 3ea230c4..8f2d96d1 100644 --- a/documents/solution/micro/build-microservices-on-ack.yml +++ b/documents/solution/micro/build-microservices-on-ack.yml @@ -385,9 +385,14 @@ Resources: name: ecs-ack-test-service-b port: number: 8080 + WaitAlbIngress: + Type: ALIYUN::ROS::Sleep + DependsOn: AlbConfig + Properties: + CreateDuration: 120 IngressInfo: Type: 'DATASOURCE::CS::ClusterApplicationResources' - DependsOn: AlbConfig + DependsOn: WaitAlbIngress Properties: ClusterId: Ref: AckCluster diff --git a/documents/solution/micro/elastic-scaling-container-through-hpa.yml b/documents/solution/micro/elastic-scaling-container-through-hpa.yml index 43e32fef..1781deaf 100644 --- a/documents/solution/micro/elastic-scaling-container-through-hpa.yml +++ b/documents/solution/micro/elastic-scaling-container-through-hpa.yml @@ -469,7 +469,6 @@ Resources: name: coffee-svc port: number: 80 - Hpa: Type: 'ALIYUN::CS::ClusterApplication' DependsOn: Ingress @@ -514,9 +513,14 @@ Resources: averageUtilization: 80 type: Utilization type: Resource + WaitAlbIngress: + Type: ALIYUN::ROS::Sleep + DependsOn: Ingress + Properties: + CreateDuration: 120 IngressInfo: Type: 'DATASOURCE::CS::ClusterApplicationResources' - DependsOn: Ingress + DependsOn: WaitAlbIngress Properties: ClusterId: Ref: AckCluster