Commit 29daa7e4 authored by 温海元's avatar 温海元

change terminal ip from 172.30.220.24 to 172.29.1.16

parent 133893eb
...@@ -841,16 +841,16 @@ export default { ...@@ -841,16 +841,16 @@ export default {
linkShell(scopeData) { linkShell(scopeData) {
if (this.$store.getters.cluster === 'qa') { if (this.$store.getters.cluster === 'qa') {
window.open(`http://172.30.220.24:9600/static/terminal.html?namespace=${this.namespace}&pod=${scopeData.podName}`, '_blank') window.open(`http://172.29.1.16:9600/static/terminal.html?namespace=${this.namespace}&pod=${scopeData.podName}`, '_blank')
} }
if (this.$store.getters.cluster === 'qke') { if (this.$store.getters.cluster === 'qke') {
window.open(`http://172.30.220.24:9601/static/terminal.html?namespace=${this.namespace}&pod=${scopeData.podName}`, '_blank') window.open(`http://172.29.1.16:9601/static/terminal.html?namespace=${this.namespace}&pod=${scopeData.podName}`, '_blank')
} }
// fetchServiceInstance({ serviceName: scopeData.serviceName, namespace: scopeData.namespace }).then(res => { // fetchServiceInstance({ serviceName: scopeData.serviceName, namespace: scopeData.namespace }).then(res => {
// const podName = res.data.instances[0].name // const podName = res.data.instances[0].name
// window.open(`http://172.30.220.24:9600/static/terminal.html?namespace=${scopeData.namespace}&pod=${podName}`, '_blank') // window.open(`http://172.29.1.16:9600/static/terminal.html?namespace=${scopeData.namespace}&pod=${podName}`, '_blank')
// }) // })
}, },
...@@ -870,10 +870,10 @@ export default { ...@@ -870,10 +870,10 @@ export default {
path = `/home/quant_group/logs/*.log` path = `/home/quant_group/logs/*.log`
} }
if (this.$store.getters.cluster === 'qa') { if (this.$store.getters.cluster === 'qa') {
window.open(`http://172.30.220.24:9600/static/logs.html?namespace=${this.namespace}&pod=${scopeData.podName}&paths=${path}`, '_blank') window.open(`http://172.29.1.16:9600/static/logs.html?namespace=${this.namespace}&pod=${scopeData.podName}&paths=${path}`, '_blank')
} }
if (this.$store.getters.cluster === 'qke') { if (this.$store.getters.cluster === 'qke') {
window.open(`http://172.30.220.24:9601/static/logs.html?namespace=${this.namespace}&pod=${scopeData.podName}&paths=${path}`, '_blank') window.open(`http://172.29.1.16:9601/static/logs.html?namespace=${this.namespace}&pod=${scopeData.podName}&paths=${path}`, '_blank')
} }
}, },
......
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