Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable shared gateway mode for OVN #727

Merged
merged 1 commit into from Aug 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion bindata/network/ovn-kubernetes/ovnkube-master.yaml
Expand Up @@ -475,6 +475,8 @@ spec:
--loglevel "${OVN_KUBE_LOG_LEVEL}" \
${hybrid_overlay_flags} \
--metrics-bind-address "127.0.0.1:29102" \
--gateway-mode shared \
--gateway-interface br-ex \
--sb-address "{{.OVN_SB_DB_LIST}}" \
--sb-client-privkey /ovn-cert/tls.key \
--sb-client-cert /ovn-cert/tls.crt \
Expand Down Expand Up @@ -537,7 +539,8 @@ spec:
hostPath:
path: /var/lib/ovn/data
- name: run-openvswitch
emptyDir: {}
hostPath:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trozet can you add a type: Directory here so we never accidentally create this?

path: /var/run/openvswitch
- name: run-ovn
hostPath:
path: /var/run/ovn
Expand Down
2 changes: 2 additions & 0 deletions bindata/network/ovn-kubernetes/ovnkube-node.yaml
Expand Up @@ -142,6 +142,8 @@ spec:
--loglevel "${OVN_KUBE_LOG_LEVEL}" \
--inactivity-probe="${OVN_CONTROLLER_INACTIVITY_PROBE}" \
${hybrid_overlay_flags} \
--gateway-mode shared \
--gateway-interface br-ex \
--metrics-bind-address "127.0.0.1:29103"
env:
# for kubectl
Expand Down