20 Endpoint Copier Operator #
Endpoint Copier Operator is a Kubernetes operator whose purpose is to create a copy of a Kubernetes Service and Endpoint and to keep them synced.
20.1 How does SUSE Edge use Endpoint Copier Operator? #
At SUSE Edge, the Endpoint Copier Operator plays a crucial role in achieving High Availability (HA) setup for K3s/RKE2 clusters. This is accomplished by creating a kubernetes-vip
service of type LoadBalancer
, ensuring its Endpoint remains in constant synchronization with the kubernetes Endpoint. MetalLB (Chapter 19, MetalLB) is leveraged to manage the kubernetes-vip
service, as the exposed IP address is used from other nodes to join the cluster.
20.2 Best Practices #
Comprehensive documentation for using the Endpoint Copier Operator can be found here.
Additionally, refer to our guide (Chapter 25, MetalLB on K3s (using L2)) on achieving a K3s/RKE2 HA setup using the Endpoint Copier Operator and MetalLB.
20.3 Known issues #
Presently, the Endpoint Copier Operator is limited to working with only one Service/Endpoint. Enhancements to support multiple Services/Endpoints are planned for the future.