Skip to content

Commit

Permalink
fix ovs-ovn not running on newly added nodes (#1661)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Jul 5, 2022
1 parent 4616285 commit 200c531
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dist/images/install.sh
Expand Up @@ -188,7 +188,9 @@ fi
kubectl label no -lbeta.kubernetes.io/os=linux kubernetes.io/os=linux --overwrite
kubectl label no -l$LABEL kube-ovn/role=master --overwrite

kubectl label no -lovn.kubernetes.io/ovs_dp_type!=userspace ovn.kubernetes.io/ovs_dp_type=kernel --overwrite
if [ "$DPDK" = "true" -o "$HYBRID_DPDK" = "true" ]; then
kubectl label no -lovn.kubernetes.io/ovs_dp_type!=userspace ovn.kubernetes.io/ovs_dp_type=kernel --overwrite
fi

echo "-------------------------------"
echo ""
Expand Down Expand Up @@ -2291,7 +2293,6 @@ spec:
memory: 1000Mi
nodeSelector:
kubernetes.io/os: "linux"
ovn.kubernetes.io/ovs_dp_type: kernel
volumes:
- name: host-modules
hostPath:
Expand Down

0 comments on commit 200c531

Please sign in to comment.