-
Notifications
You must be signed in to change notification settings - Fork 136
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
[proposal] Edgemesh Container Network supports CNI features #487
Conversation
@IdeaMeshDyx Need fix conflict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些.bak文件,确定不用了的,删下吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
cmd/edgemesh-agent/app/server.go
Outdated
@@ -2,6 +2,7 @@ package app | |||
|
|||
import ( | |||
"fmt" | |||
"github.com/kubeedge/edgemesh/pkg/cni" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go import顺序请遵守如下规范:
- 内置包
- 第三方包
- 项目自身的包
用空行间隔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下方所有go文件做相同处理
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
CI / Check helm package (pull_request) Failing 一直出错的原因是,你自己生成的edgemsh.tgz 文件和 github自动生成的tgz,md5不一致 @IdeaMeshDyx 建议先不要改动build/helm目录下的文件 |
@IdeaMeshDyx 需要执行 ./hack/verify-vendor.sh 和 ./hack/update-vendor.sh 和 ./hack/update-vendor-licenses.sh 去更新vendor和licenses |
go.mod
Outdated
@@ -37,6 +35,11 @@ require ( | |||
sigs.k8s.io/yaml v1.2.0 | |||
) | |||
|
|||
require ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此require和上方require合并
pkg/cni/adapter.go
Outdated
import ( | ||
"context" | ||
"fmt" | ||
"github.com/kubeedge/edgemesh/pkg/apis/config/defaults" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import顺序遵循规范
pkg/util/cni/tun.go
Outdated
|
||
import ( | ||
"fmt" | ||
"github.com/songgao/water" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
包导入顺序
14aa5c6
to
44a243e
Compare
Signed-off-by: ideameshdyx <[email protected]>
Signed-off-by: ideameshdyx <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Poorunga The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind design
What this PR does / why we need it:
This proposal provides a design for edgemesh to support CNI feature.
There are two main goals:
Implement network partitioning and container IP allocation functions, compatible with CNI standards, and ensure that the IP address of each container in the cluster is unique.
Support cross-subnet Pod IP traffic proxy and forwarding functions, compatible with CNI standards.
Which issue(s) this PR fixes:
Fixes #465