Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Kube OVN
Commits
41bdcd05
Unverified
Commit
41bdcd05
authored
2 years ago
by
bobz965
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix: clean vip eip snat dant fip in cleanup.sh (#1690)
parent
c2cea885
upgrade-ovs
add_unknown_to_lsp
debug
fdb
fix-base
fix-dnat
fix-resubmit-limit
fix/metrics-name
fix/src-priority
fix_make_kind_reload
nat-gw
networkpolicy
np_master
ovn-controller
ovn-db-recover
perf/libovsdb
qos
reflactor_note
remove_no_need_parms_svcAsName
subnet
sync-ovn-db
testing
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dist/images/cleanup.sh
+20
-0
dist/images/cleanup.sh
with
20 additions
and
0 deletions
+20
-0
dist/images/cleanup.sh
+
20
-
0
View file @
41bdcd05
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help