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

[BUG] Mount the ovs directory for tcp-network-controller #72

Merged
merged 1 commit into from
Aug 8, 2018
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions deploy/server/tcp-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ spec:
#mountPropagation: Bidirectional
- mountPath: /var/run/docker.sock
name: docker-sock
- mountPath: /var/run/openvswitch/db.sock
name: ovs-sock
- mountPath: /var/run/openvswitch/
name: ovs-data
volumes:
- name: docker-ns
hostPath:
path: /run/docker/netns
- name: docker-sock
hostPath:
path: /run/docker.sock
- name: ovs-sock
name: ovs-data #for some operations(dump ports) it needs extra unix socker to handle, so we mount whole ovs directory
hostPath:
path: /run/openvswitch/db.sock
path: /run/openvswitch/
hostNetwork: true
2 changes: 1 addition & 1 deletion deploy/server/unix-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
- name: docker-sock
hostPath:
path: /run/docker.sock
- name: ovs-sock
- name: ovs-sock #since the UNIX version only add-port, the db.sock is enough
hostPath:
path: /run/openvswitch/db.sock
- name: grpc-sock
Expand Down