Skip to content

Commit f48bc8b

Browse files
skitttpantelis
authored andcommitted
Reclaim storage after deploying OVN-K-enabled clusters
The OVN-IC jobs are running out of storage, deleting the ovn-kubernetes clone should help. Signed-off-by: Stephen Kitt <skitt@redhat.com>
1 parent 366b31d commit f48bc8b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/shared/lib/clusters_kind

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ data:
281281
EOF
282282
}
283283

284+
function provider_succeeded() {
285+
# At this stage we no longer need ovn-kubernetes,
286+
# remove it to reclaim storage
287+
rm -rf ovn-kubernetes
288+
}
289+
284290
function provider_failed() {
285291
if [[ "$(cat /proc/sys/fs/inotify/max_user_instances)" -lt 512 ]]; then
286292
echo "Your inotify settings are lower than our recommendation."

0 commit comments

Comments
 (0)