Commit 2006acc6 authored by 智勇's avatar 智勇

过滤开发环境

parent 08cf6dd2
......@@ -48,7 +48,7 @@ export function formatStatus(tsatus) {
case 'Pending':
return 'Pod等待中'
case 'Waiting' :
return '服务等待'
return '服务启动'
case 'PodScheduling':
return 'Pod调度中'
case 'ContainerCreating':
......
......@@ -762,6 +762,8 @@ export default {
}).catch((res) => {
this.getServicelist()
})
}).catch(() => {
})
},
......
......@@ -90,7 +90,11 @@ export default {
},
fetchK8sList() {
fetchKubernetesList().then(res => {
this.tableData = res.data.namespaces
this.tableData = res.data.namespaces.filter((item) => {
if (item.description === 'dev') {
return 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