Skip to content

Commit

Permalink
multus: Pin image (#282)
Browse files Browse the repository at this point in the history
Since multus doesnt pin image correctly,
pin it before deploying multus.

See k8snetworkplumbingwg/multus-cni#1170

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval authored Oct 3, 2023
1 parent 4247a3c commit 0ed76c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cluster/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ for node in $(./cluster/kubectl.sh get nodes --no-headers | awk '{print $1}'); d
done

echo 'Deploying multus'
./cluster/kubectl.sh apply -f https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/v4.0.1/deployments/multus-daemonset.yml
MULTUS_VERSION=v4.0.1
MULTUS_MANIFEST=https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/${MULTUS_VERSION}/deployments/multus-daemonset.yml
# update the tag until https://github.com/k8snetworkplumbingwg/multus-cni/issues/1170 is fixed
curl -L ${MULTUS_MANIFEST} | sed "s/:snapshot/:${MULTUS_VERSION}/g" | ./cluster/kubectl.sh apply -f -
./cluster/kubectl.sh -n kube-system rollout status daemonset kube-multus-ds --timeout 300s

0 comments on commit 0ed76c9

Please sign in to comment.