Commit e180b3cb authored by 智勇's avatar 智勇

驱逐pod

parent 2bd9681d
......@@ -283,7 +283,9 @@ const getServicesFormat = async (client, namespace) => {
res[0].body.items.forEach(async (item) => {
const serviceName = (item.metadata.labels && item.metadata.labels['qcloud-app']) || item.metadata.name
if (item.status.phase !== 'Failed') {
service[serviceName] = formatPodInfo(item)
}
})
......
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