k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
231 B
10 lines
231 B
#!/bin/bash
|
|
set -e
|
|
echo "Starting cleanup"
|
|
ovs-vsctl list-br | grep contiv | xargs -I % ovs-vsctl del-br %
|
|
for p in $(ifconfig | grep vport | awk '{print $1}');
|
|
do
|
|
ip link delete $p type veth
|
|
done
|
|
touch /tmp/cleanup.done
|
|
sleep 60
|