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

Add the deployment yaml files for client/server #39

Merged
merged 4 commits into from
Jun 12, 2018
Merged

Conversation

hwchiu
Copy link
Contributor

@hwchiu hwchiu commented Jun 12, 2018

  1. use the shard for /run (for netns/docker.sock/ovsdb.sock)
  2. fix the image
  3. fix the command and args
  4. add the log in server/client
  5. install sudo in dockerfile for ovs-vsctl

@codecov
Copy link

codecov bot commented Jun 12, 2018

Codecov Report

Merging #39 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   86.81%   86.81%           
=======================================
  Files           7        7           
  Lines         182      182           
=======================================
  Hits          158      158           
  Misses         15       15           
  Partials        9        9

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ebd8e65...7b4ba86. Read the comment docs.

- mountPath: /tmp/
name: grpc-sock
volumes:
- name: docker-sock
hostPath:
path: /var/run/docker.sock
path: /run
Copy link
Contributor

Choose a reason for hiding this comment

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

這邊可以拆細一點分開掛

hwchiu added 2 commits June 12, 2018 04:35
1. use the shard for /run (for netns/docker.sock/ovsdb.sock)
2. fix the image
3. fix the command and args
4. add the log in server/client
5. install sudo in dockerfile for ovs-vsctl
@hwchiu hwchiu requested review from chenyunchen and sufuf3 June 12, 2018 06:12
@hwchiu
Copy link
Contributor Author

hwchiu commented Jun 12, 2018

@sufuf3 @chenyunchen
注意一下我們 mount /run/docker/net.ns 到 contaienr 裡面要加上 :shared 這個選項才會通
用k8s的會變成 rShared, 這個反而不通,還要再研究一下原因

@hwchiu hwchiu merged commit 95352cb into master Jun 12, 2018
@hwchiu hwchiu deleted the hwchiu/VX-99 branch June 12, 2018 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants