The next gen platform for the edge: SUSE and Synadia Bring Two-Node High Availability to Kubernetes
SUSE and Synadia are partnering to deliver a native two-node option in K3s. This joint solution, powered by K3s and NATS.io, combines services and technology capable of changing the development and operational landscape at the edge.
Many leaders are struggling to figure out an edge strategy that can simultaneously leverage their existing infrastructure and enable innovation. The edge, often defined as the data processed and maintained outside of an on-prem data center, is growing into a dominant market. The challenge: Unfortunately from a design perspective, what worked for the cloud, won’t necessarily work for the edge: when solutions aren’t built to scale, emerging technologies will out-pace current capacities. |
& |
This is already happening as workloads go to the edge from the cloud or data center: the traditional communication layer of enterprise messaging systems doesn’t work. Many companies have invested in physical infrastructure at physical sites and, especially in industries like retail, medical, automotive, have historically wanted to have HA with a limited two-node configuration. If one fails, there is a backup.
However, modern architecture replication standards require an odd number of systems (and certainly more than one!) – the HW/SW costs of which would certainly exceed the savings of true HA. |
|
Together, SUSE and Synadia’s open innovation approach aims to solve this problem by combining K3s and NATS to bring the next generation stack for edge developers. |
The solution: We’re embarking on a mission to empower customers by enabling them to leverage their existing two-node infrastructure setups and optimize their hardware budgets. This involves achieving Kubernetes high availability (HA) with just two nodes, previously considered impossible due to 1) the best practices of HA requiring three nodes, and 2) the challenges associated with etcd, the distributed key-value store at the heart of Kubernetes.
Our approach leverages a combination of known constraints and the NATS messaging system to maintain system state safely and efficiently with only two nodes. While this isn’t entirely new ground (as the concept of active recovery isn’t unheard of), the innovation lies in seamlessly integrating NATS with K3s/Kine and establishing a set of application specific constraints that can be solved while still ensuring HA and resolving potential split-brain scenarios. |
Why now? The two node problem stems from a previous generation of infrastructure decisions where active/passive architecture was common. These architecture decisions were likely a cost consideration. On the flip side, the computer science perspective of data survivability elevates consensus protocols like RAFT (in modern distributed databases) and PAXOS, in which cluster participants must agree in the majority to the integrity of data. Consensus algorithms allow for nodes to fail in a cluster without disruption to service.
But with 2 nodes, this option disappears. Consensus algorithms solve for the split brain problem, but who owns the data if the network is cut in half? There are a whole slew of problems if you’re not conscious of the implications. Nonetheless, legacy and cost based use cases are driving the need for a two node solution. |
Many industries have computers in their stores where there is only ever an active/passive set up. |
The benefits of a two-node HA solution |
|
Economic Advantages:
|
|
Technical Benefits:
|
|
Reaching all stakeholders
The true impact of a K3s + NATS stack, complete with two-node HA configuration, lies in its ability to address the specific needs of various stakeholders. From the c-suite to developers, standardization at the edge allows companies to innovate as quickly as possible with the least amount of friction at the edge. CXO-Level Decision Makers: Executives involved in cloud and edge transformations can innovate at the edge without the requirements of significant HW investments by using the environments they already have. |
|
|
83% of businesses believe edge computing is crucial for future competitiveness.Accenture, 2023 [1] |
Engineer, Architects, and Developers:
In a world of dense complexity we aim to simplify the delivery, sourcing, and understanding of technology. Engineers, architects, and developers who are trying to move quickly and solve a solution eloquently will be happy to know that the K3s + NATS industry standard edge stack they are using is tested and secure in their two-node constrained use cases.
|
|
The challenges we look forward to addressing
While the core K3S/Kine-NATS integration is available for anyone to download, the two-node framework is a custom solution available as part of a joint engagement. We are actively looking to collaborate with early adopters to further define the two-node approach and continuously working to address areas like automation, hardware, behavior tradeoffs, and security considerations and we’re confident that we will unlock the full potential of two-node Kubernetes. |
|
In the long term, we’re committed to removing complexity from the technology landscape and staying ahead of the curve in a world driven by the need for faster and more accurate decisions. The future integration of machine learning and autotuning will further enable this technology to scale beyond the current limits. |
|
Let’s build the future together |
|
The edge is not going away and two-node configurations are the key to unlocking its transformative potential. Together, K3s and NATS create a future where businesses harness the power of data closer to its source, drive innovation, and achieve unprecedented levels of agility and efficiency.
This is not just a technological revolution – it’s the dawn of a new era where simplicity empowers progress and allows us to achieve the seemingly impossible. |
Explore to find out more Come check out a demo at Kubernetes on Edge Day and KubeCon EMEA 2024! |
[1] Accenture (2023). Leading with Edge Computing. Retrieved from https://www.accenture.com/content/dam/accenture/final/accenture-com/document-2/Accenture-Leading-With-Edge-Computing.pdf#zoom=40.
Related Articles
May 03rd, 2023
First Partner Summit of 2023 for SUSE South Africa
Dec 11th, 2024