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

mount containerd network namespace #138

Merged
merged 1 commit into from
Jul 24, 2023
Merged
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
6 changes: 6 additions & 0 deletions yaml/galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ spec:
volumeMounts:
- name: galaxy-run
mountPath: /var/run/galaxy/
- name: containerd-run
mountPath: /var/run/netns
mountPropagation: Bidirectional
Copy link
Contributor

Choose a reason for hiding this comment

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

为什么需要Bidirectional?

- name: flannel-run
mountPath: /run/flannel
- name: galaxy-etc
Expand All @@ -126,6 +129,9 @@ spec:
- name: galaxy-run
hostPath:
path: /var/run/galaxy
- name: containerd-run
hostPath:
path: /var/run/netns
Copy link
Contributor

Choose a reason for hiding this comment

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

整个/run/已经被mount了,还需要mount这个目录吗?

- name: flannel-run
hostPath:
path: /run/flannel
Expand Down