Skip to content

Commit

Permalink
kubectl wait for multus
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal B. committed Feb 16, 2025
1 parent f1945c9 commit c5544e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions netclab-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ unset version
version=$(basename $(curl -s -w %{redirect_url} "https://github.com/k8snetworkplumbingwg/multus-cni/releases/latest"))
log "Multus ${version}"
kubectl apply -f https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/master/deployments/multus-daemonset-thick.yml

unset timeout; timeout=5m
log "Deploying, give me ${timeout}"
kubectl -n kube-system wait --for=jsonpath='{.status.numberReady}'=1 --timeout=${timeout} daemonset.apps/kube-multus-ds

wait_dir_has_file "/etc/cni/net.d/" "00-multus.conf" 120


Expand Down

0 comments on commit c5544e7

Please sign in to comment.