Cloud Native 6 min read

How to Integrate OpenYurt with FabEdge for Secure Edge‑Cloud Communication

This article explains the challenges of edge computing, introduces OpenYurt and FabEdge, provides step‑by‑step deployment instructions, details verification tests for cloud‑edge and edge‑cloud scenarios, and summarizes the current capabilities and future considerations of their integration.

Alibaba Cloud Native
Alibaba Cloud Native
Alibaba Cloud Native
How to Integrate OpenYurt with FabEdge for Secure Edge‑Cloud Communication

Background

Traditional cloud computing can no longer meet the massive, geographically distributed data processing demands of modern industries. Edge computing has emerged to address these needs, especially with the rise of 5G and IoT. However, edge networks differ fundamentally from data‑center networks: they often operate over weak, high‑latency wireless links, lack fixed public IPs, and rely on the insecure public Internet.

OpenYurt is the first non‑intrusive, cloud‑native edge‑computing project. Its Yurt‑Tunnel component handles control‑plane traffic, but OpenYurt does not provide a native solution for cross‑public‑network data‑plane communication, prompting collaboration with mature cloud‑native networking projects such as FabEdge.

FabEdge Overview

FabEdge is a Kubernetes‑based CNI solution designed specifically for edge scenarios. It complies with the CNI specification and can be seamlessly integrated into any Kubernetes environment, solving cross‑region communication challenges between cloud‑edge and edge‑edge nodes.

Integration and Deployment Steps

1. Prepare the OpenYurt Environment

Two cloud nodes (master, cloud‑node) running CentOS 7.9, placed in the same private network, with Flannel v0.14.0 installed. OpenYurt components: Yurt‑Tunnel‑Server, Yurt‑Controller‑Manager.

Two edge nodes (edge‑node1, edge‑node2) with the same OS. OpenYurt components: Yurt‑Tunnel‑Agent, Yurt‑Hub.

2. Deploy OpenYurt

Manual deployment guide:

https://github.com/openyurtio/openyurt/blob/master/docs/tutorial/manually-setup.md

Kubernetes one‑click conversion to OpenYurt:

https://github.com/openyurtio/openyurt/releases

3. Configure Yurt‑Tunnel

When deploying Yurt‑Tunnel‑Server, add the argument --cert-ips=tunnel-server with the public IP of the server node, because the default certificate IP is a private address.

When deploying Yurt‑Tunnel‑Agent, add the argument --tunnelserver-addr specifying the public IP and exposed port of the Yurt‑Tunnel‑Server, so the agent can establish a connection.

4. Integrate FabEdge

Reference integration documentation:

https://github.com/FabEdge/fabedge/blob/main/docs/integrate-with-openyurt.md

Verification Tests

The integrated environment was evaluated under two main communication patterns: cloud‑side Pods accessing edge‑side Pods/Services and edge‑side Pods accessing cloud‑side Pods/Services. Both hostNetwork Pods and normal container‑network Pods were tested.

The tests confirmed that cross‑public‑network cloud‑edge communication functions as expected, satisfying current requirements. Further testing for cross‑public‑network edge‑edge communication is planned.

Conclusion

Only cross‑public‑network cloud‑edge communication has been validated so far, and it meets basic functional needs.

FabEdge takes over existing container network solutions (e.g., Flannel, Calico) in edge environments, which may impact upgrade paths for existing users who already have a full network stack deployed in the cloud.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Kubernetesnetwork integrationOpenYurtFabEdge
Alibaba Cloud Native
Written by

Alibaba Cloud Native

We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.