Commit e33841ec authored by 智勇's avatar 智勇

修改时间间隔

parent 10b76394
...@@ -40,7 +40,7 @@ const deploy = async (cluster) => { ...@@ -40,7 +40,7 @@ const deploy = async (cluster) => {
summary[namespace.name].latestArray.push(svc.serviceName) summary[namespace.name].latestArray.push(svc.serviceName)
await serviceRestart(client.clientInfo, namespace.name, svc.podName) await serviceRestart(client.clientInfo, namespace.name, svc.podName)
} }
await sleep(60 * 1000) await sleep(5 * 1000)
} }
// 把master更新部署成lastet // 把master更新部署成lastet
if (~svc.image.search(':master-')) { if (~svc.image.search(':master-')) {
...@@ -62,7 +62,7 @@ const deploy = async (cluster) => { ...@@ -62,7 +62,7 @@ const deploy = async (cluster) => {
data.resources = resources data.resources = resources
await deployUpdate(client.clusterInfo, client.clientInfo, data) await deployUpdate(client.clusterInfo, client.clientInfo, data)
summary[namespace.name].masterArray.push(svc.serviceName) summary[namespace.name].masterArray.push(svc.serviceName)
await sleep(60 * 1000) await sleep(5 * 1000)
} }
} }
......
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