Commit e2e4551a by 李二毛

Merge branch 'development' into 'scaling/staging'

伸缩所有微服务

See merge request liermao/microservice-autodevopspipelines!107
parents 29e277ad 6bd50ed6
Pipeline #4371 passed with stages
in 24 seconds
...@@ -11,9 +11,9 @@ GetReplicas replicas ...@@ -11,9 +11,9 @@ GetReplicas replicas
if [ "${AllPublishable}" == "1" ]; if [ "${AllPublishable}" == "1" ];
then then
echo "Tips: All micro-services will be scaled, replicas: [${replicas}]."
for servicePrefix in `ls ./src/Services|xargs -d '/'` for servicePrefix in `ls ./src/Services|xargs -d '/'`
do do
echo "All micro-services will be scaled, replicas: [${replicas}]."
GetServiceName ${servicePrefix} serviceName GetServiceName ${servicePrefix} serviceName
AutoScaling ${namespace} ${serviceName} ${replicas} AutoScaling ${namespace} ${serviceName} ${replicas}
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment