Skip to content

Commit 0ed76c9

Browse files
authored
multus: Pin image (#282)
Since multus doesnt pin image correctly, pin it before deploying multus. See k8snetworkplumbingwg/multus-cni#1170 Signed-off-by: Or Shoval <[email protected]>
1 parent 4247a3c commit 0ed76c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cluster/up.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@ for node in $(./cluster/kubectl.sh get nodes --no-headers | awk '{print $1}'); d
3030
done
3131

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

0 commit comments

Comments
 (0)