Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions bindata/network/ovn-kubernetes/common/008-script-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ data:
exit 1
fi

echo "$(date -Iseconds) - waiting for 10 minutes for ovnkube-controller to sync and SB DB hot..."
local retries=0
# ten minutes timeout
while [[ 3000 -gt "${retries}" ]]; do
(( retries += 1 ))
if [[ -f /run/ovn-kubernetes/ovnkube-controller-sb-db-hot ]]; then
break
fi
sleep .2
done

echo "$(date -Iseconds) - starting ovn-controller"
exec ovn-controller \
unix:${vswitch_dbsock} \
Expand Down
3 changes: 3 additions & 0 deletions bindata/network/ovn-kubernetes/managed/ovnkube-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ spec:
name: node-log
- mountPath: /dev/log
name: log-socket
- mountPath: /run/ovn-kubernetes
name: host-run-ovn-kubernetes
readOnly: True
terminationMessagePolicy: FallbackToLogsOnError
resources:
requests:
Expand Down
3 changes: 3 additions & 0 deletions bindata/network/ovn-kubernetes/self-hosted/ovnkube-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ spec:
name: node-log
- mountPath: /dev/log
name: log-socket
- mountPath: /run/ovn-kubernetes
name: host-run-ovn-kubernetes
readOnly: True
terminationMessagePolicy: FallbackToLogsOnError
resources:
requests:
Expand Down