Commit e180b3cb authored by 智勇's avatar 智勇

驱逐pod

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