Skip to content

Commit

Permalink
fix: remove rollout check
Browse files Browse the repository at this point in the history
For incident, part of kube-ovn-controller instances may down,
but it should not prevent kube-ovn-cni starts.

(cherry picked from commit f690085)
  • Loading branch information
oilbeater committed Jun 10, 2021
1 parent 2d67471 commit f11cdf9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dist/images/start-cniserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,4 @@ done
iptables -P FORWARD ACCEPT
iptables-nft -P FORWARD ACCEPT

# wait kube-ovn-controller ready
kubectl rollout status deployment/kube-ovn-controller -n "$(cat /run/secrets/kubernetes.io/serviceaccount/namespace)"
sleep 1

./kube-ovn-daemon --ovs-socket=${OVS_SOCK} --bind-socket=${CNI_SOCK} "$@"

0 comments on commit f11cdf9

Please sign in to comment.