diff --git a/tools/clean.sh b/tools/clean.sh index efb487c35..c22b8061a 100755 --- a/tools/clean.sh +++ b/tools/clean.sh @@ -31,7 +31,7 @@ rm -rfv /opt/tke-installer rm -rfv /var/lib/postgresql /etc/core/token /var/lib/redis /storage /chart_storage ip link del cni0 2>/etc/null -for port in 80 2379 6443 8086 9100 {10249..10259} ; do +for port in 80 443 2379 2380 6443 8086 8181 9100 30086 31138 31180 31443 {10249..10259} ; do fuser -k -9 ${port}/tcp done @@ -59,4 +59,7 @@ iptables --flush iptables --flush --table nat iptables --flush --table filter iptables --table nat --delete-chain -iptables --table filter --delete-chain \ No newline at end of file +iptables --table filter --delete-chain + +# reboot +reboot now \ No newline at end of file diff --git a/web/console/src/modules/cluster/constants/Config.ts b/web/console/src/modules/cluster/constants/Config.ts index 6e320d782..057ea9f1c 100644 --- a/web/console/src/modules/cluster/constants/Config.ts +++ b/web/console/src/modules/cluster/constants/Config.ts @@ -722,7 +722,7 @@ rm -rfv /opt/tke-installer rm -rfv /var/lib/postgresql /etc/core/token /var/lib/redis /storage /chart_storage ip link del cni0 2>/etc/null -for port in 80 2379 6443 8086 9100 {10249..10259} ; do +for port in 80 443 2379 2380 6443 8086 8181 9100 30086 31138 31180 31443 {10249..10259} ; do fuser -k -9 \${port}/tcp done @@ -750,7 +750,10 @@ iptables --flush iptables --flush --table nat iptables --flush --table filter iptables --table nat --delete-chain -iptables --table filter --delete-chain`; +iptables --table filter --delete-chain + +# reboot +reboot now`; export enum GPUTYPE { PGPU = 'Physical',