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

[OSPP] EdgeMesh supports high availability architecture Design and Implementation #372

Merged
merged 47 commits into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
ea5fa27
TunnelAgentConfig adds RelayNodes field
Poorunga Aug 17, 2022
a453076
rename TunnelAgent to EdgeTunnel
Poorunga Aug 17, 2022
5be7214
init mdns functions
NKDYX Aug 19, 2022
fe41596
update vendor
NKDYX Aug 19, 2022
36157c1
add functions: GeneratePeerInfo, AddCircuitAddrsToPeer, AppendMultiaddrs
NKDYX Aug 19, 2022
d4cc28a
update vendor because go-libp2p-tls has been modified
Poorunga Aug 24, 2022
a928bbc
add nodeController in edgetunnel module
Poorunga Aug 24, 2022
67862c3
update vendor because add libp2p/go-tcp-transport and delete go-libp2…
Poorunga Aug 24, 2022
a4985d9
add relayPeers in EdgeTunnel module
Poorunga Aug 24, 2022
1f18905
run the Heartbeat function to maintain the connection with the relay …
Poorunga Aug 25, 2022
0194e32
add mdns discovery function
Poorunga Aug 26, 2022
0ae5cb9
add mdns discovery StreamHandler
Poorunga Aug 26, 2022
500d14d
add dht discovery StreamHandler
Poorunga Aug 27, 2022
0421f70
When necessary, update the record of peer information
Poorunga Aug 27, 2022
076e4c9
move proxy to EdgeTunnel
Poorunga Aug 29, 2022
6ef5bb2
add bootstrap connect
Poorunga Aug 29, 2022
ae5041e
remove node informer and its handlers
Poorunga Aug 29, 2022
af53959
update vendor because of upgrading go-libp2p packages
Poorunga Aug 30, 2022
338525e
replace relayv2 to relayv1
Poorunga Aug 30, 2022
059c052
add hole punch service
NKDYX Aug 31, 2022
f58c154
add Rendezvous field in EdgeTunnel config
NKDYX Aug 31, 2022
a58def6
remove useless code tunnel/controller from source tree
NKDYX Aug 31, 2022
58957a2
modify the order of functions inside the module.go file
NKDYX Aug 31, 2022
53577ee
remove useless param in Register and newEdgeTunnel
NKDYX Aug 31, 2022
6f1288c
add EnableIpfsLog field in EdgeTunnel module config
NKDYX Aug 31, 2022
6127f94
update vendor because delete some go-libp2p packages
Poorunga Sep 1, 2022
8795b40
remove server from source tree, and modify source code directory stru…
Poorunga Sep 1, 2022
89afd99
update vendor because coredns version is modified
Poorunga Sep 1, 2022
00381e6
run native coredns through caddy functions
Poorunga Sep 1, 2022
8643d8e
add util_test.go file to pkg/tunnel
NKDYX Sep 8, 2022
5c4a66e
update vendor because of upgrading go-libp2p pkg to v0.22.0
Poorunga Sep 10, 2022
70ea502
update relay service to relayv2 and add relayFinder
Poorunga Sep 10, 2022
2d7eed1
private network protection implemented using libp2p's psk
Poorunga Sep 11, 2022
adbf5ec
extract the gateway as a separate component
Poorunga Sep 11, 2022
d0f193b
Fragment reference kube-proxy code rectification
Poorunga Sep 12, 2022
9c1959c
update vendor because some packages has been upgraded
Poorunga Sep 15, 2022
267c9cf
Use the loadbalancer package to unify the traffic forwarding of the p…
Poorunga Sep 15, 2022
8e3a64b
add edgemesh-gateway build files
Poorunga Sep 16, 2022
a8a52e9
When bootstrap connects to a relay for multiple timeouts, remove it f…
Poorunga Sep 17, 2022
7bc0b76
update edgemesh and edgemesh-gateway helm charts
Poorunga Sep 17, 2022
a3dfc1c
update docs and readme
Poorunga Sep 19, 2022
a5269af
fix ci problem
NKDYX Sep 19, 2022
b86e618
update hack/update-vendor-licenses.sh and rebuild LICENSES dir
NKDYX Sep 19, 2022
5b19c35
fix e2e test in ci
NKDYX Sep 19, 2022
625ec48
fix review comments
NKDYX Sep 19, 2022
a6c2eb1
fix codecheck issues
NKDYX Sep 19, 2022
73dd47e
fix e2e ci failed
NKDYX Sep 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 7 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ GO_LDFLAGS='$(shell hack/make-rules/version.sh)'

# make all builds both agent and server binaries

BINARIES=edgemesh-agent \
edgemesh-server
BINARIES=edgemesh-agent

# the env PLATFORMS defines to generate linux images for amd 64-bit, arm 64-bit and armv7 architectures
# the full list of PLATFORMS is linux/amd64,linux/arm64,linux/arm/v7
PLATFORMS ?= linux/amd64,linux/arm64
COMPONENTS=agent \
server
PLATFORMS ?= linux/amd64,linux/arm64,linux/arm/v7
COMPONENTS=agent

.EXPORT_ALL_VARIABLES:
OUT_DIR ?= _output/local
Expand All @@ -50,8 +48,8 @@ define ALL_HELP_INFO
# to "-N -l" to disable optimizations and inlining, this will be helpful when you want to
# use the debugging tools like delve. When GOLDFLAGS is unspecified, it defaults to "-s -w" which strips
# debug information, see https://golang.org/cmd/link for other flags.

endef

.PHONY: all
ifeq ($(HELP),y)
all: clean
Expand Down Expand Up @@ -166,9 +164,9 @@ lb:
endif


.PHONY: images agentimage serverimage
images: agentimage serverimage
agentimage serverimage:
.PHONY: images agentimage
images: agentimage
agentimage:
docker build --build-arg GO_LDFLAGS=${GO_LDFLAGS} -t kubeedge/edgemesh-${@:image=}:${IMAGE_TAG} -f build/${@:image=}/Dockerfile .


Expand Down
165 changes: 0 additions & 165 deletions agent/cmd/edgemesh-agent/app/config/config.go

This file was deleted.

34 changes: 0 additions & 34 deletions agent/cmd/edgemesh-agent/app/config/validation/validation.go

This file was deleted.

48 changes: 0 additions & 48 deletions agent/cmd/edgemesh-agent/app/options/options.go

This file was deleted.