File tree 2 files changed +10
-4
lines changed
web/console/src/modules/cluster/constants
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ rm -rfv /opt/tke-installer
31
31
rm -rfv /var/lib/postgresql /etc/core/token /var/lib/redis /storage /chart_storage
32
32
ip link del cni0 2> /etc/null
33
33
34
- for port in 80 2379 6443 8086 9100 {10249..10259} ; do
34
+ for port in 80 443 2379 2380 6443 8086 8181 9100 30086 31138 31180 31443 {10249..10259} ; do
35
35
fuser -k -9 ${port} /tcp
36
36
done
37
37
@@ -59,4 +59,7 @@ iptables --flush
59
59
iptables --flush --table nat
60
60
iptables --flush --table filter
61
61
iptables --table nat --delete-chain
62
- iptables --table filter --delete-chain
62
+ iptables --table filter --delete-chain
63
+
64
+ # reboot
65
+ reboot now
Original file line number Diff line number Diff line change @@ -722,7 +722,7 @@ rm -rfv /opt/tke-installer
722
722
rm -rfv /var/lib/postgresql /etc/core/token /var/lib/redis /storage /chart_storage
723
723
ip link del cni0 2>/etc/null
724
724
725
- for port in 80 2379 6443 8086 9100 {10249..10259} ; do
725
+ for port in 80 443 2379 2380 6443 8086 8181 9100 30086 31138 31180 31443 {10249..10259} ; do
726
726
fuser -k -9 \${port}/tcp
727
727
done
728
728
@@ -750,7 +750,10 @@ iptables --flush
750
750
iptables --flush --table nat
751
751
iptables --flush --table filter
752
752
iptables --table nat --delete-chain
753
- iptables --table filter --delete-chain` ;
753
+ iptables --table filter --delete-chain
754
+
755
+ # reboot
756
+ reboot now` ;
754
757
755
758
export enum GPUTYPE {
756
759
PGPU = 'Physical' ,
You can’t perform that action at this time.
0 commit comments