Unverified Commit 41bdcd05 authored by bobz965's avatar bobz965 Committed by GitHub
Browse files

fix: clean vip eip snat dant fip in cleanup.sh (#1690)

Showing with 20 additions and 0 deletions
+20 -0
......@@ -29,6 +29,26 @@ for slr in $(kubectl get switch-lb-rule -o name); do
kubectl delete --ignore-not-found $slr
done
for vip in $(kubectl get vip -o name); do
kubectl delete --ignore-not-found $vip
done
for eip in $(kubectl get eip -o name); do
kubectl delete --ignore-not-found $eip
done
for snat in $(kubectl get snat -o name); do
kubectl delete --ignore-not-found $snat
done
for dnat in $(kubectl get dnat -o name); do
kubectl delete --ignore-not-found $dnat
done
for fip in $(kubectl get fip -o name); do
kubectl delete --ignore-not-found $fip
done
sleep 5
# Delete Kube-OVN components
......
Supports Markdown
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