- Community Home
- >
- Services
- >
- The Cloud Experience Everywhere
- >
- Activating a load balancer service in on-premise K...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Receive email notifications
- Printer Friendly Page
- Report Inappropriate Content
Activating a load balancer service in on-premise Kubernetes
By Alex Tesch, Senior Consultant, Cloud Native Computing Practice, HPE Advisory & Professional Services
For many customers transitioning their cloud-native applications from the public cloud to an on-premise Kubernetes environment, a significant hurdle is the absence of load balancing capabilities for services on on-prem Kubernetes clusters.
This challenge is particularly pronounced for those running Kubernetes on the edge, where the infrastructure is insufficient to provide a comprehensive load balancer for the Kubernetes workers.
When deploying cloud-native workloads in managed Kubernetes on public clouds, it is straightforward to define a service of type "LoadBalancer," and the cloud provider will handle provisioning the required appliance to front the application workload. On premise, however, services are created with type โClusterIPโ or โNodePort,โ since using service type โLoadBalancerโ will leave the service external IP on status โPending.โ
The typical approach for on-premise Kubernetes is to place a load balancer appliance in front of the Kubernetes workers. The load balancer appliance will distribute the load across all the workers in the cluster. Once one of the workers gets the request, the Kubernetes service and ingress (if applicable) will handle the traffic until it reaches the application.
MetalLB: In-cluster load balancer for bare-metal clusters
In a recent project delivered by A&PS in Australia, the team faced the challenge of deploying a K3s cluster in the edge. There was only the minimal amount of infrastructure needed to run K3s, and there was no means to provide a load balancer to front the cluster nodes and handle the traffic.
In that scenario, we need to consider a network load balancer implementation that integrates within the Kubernetes cluster itself and does not rely on any external infrastructure. MetalLB is an OpenSource solution that makes it possible to embed the loadbalancer functionality into bare-metal clusters, ending the previous advantage of running Kubernetes on a cloud provider.
The MetalLB deployment provides a controller that handles the IP assignment for the services based on an IP range that the Kubernetes administrator can define from the subnet used by the end users to reach the applications. The deployment also triggers a โspeakerโ daemonset that will run in every single node in the cluster and will speak the protocol of choice to make the application service reachable.
MetalLB is a terrific in-cluster implementation of a load balancer if you need to deploy cloud-native workloads in the edge. Another increasingly common use case is organizations attempting to reduce costs associated with public cloud infrastructure. The load balancer service contributes significantly to monthly expenses. Companies now have the option to repatriate workloads into a bare-metal cluster on-premises without being hindered from breaking free from cloud providers by the "LoadBalancer" service type.
Maximize cloud-native applications strategy with HPE
HPE can help you get the most out of your cloud-native applications strategy. We recognize that once cloud-native workloads have achieved production maturity in the cloud, it is important to manage costs effectively and have the flexibility to repatriate if necessary. And while running cloud-native workloads in the edge is becoming popular, some complex applications require additional planning to make sure that the underlying infrastructure can support the applicationsโ needs for successful operation.
HPE Advisory and Professional Container Adoption Services can help your team design a container platform infrastructure that will allow you to run your applications in production while addressing complex network requirements even at the edge.
To learn more, see our HPE Container Adoption Solution Brief.
Meet HPE Blogger Alex Tesch, Senior Consultant, Cloud Native Computing Practice, HPE Advisory & Professional Services
Alex has worked with open source enterprise technologies for most of his 21-year IT career. He currently leads HPE's Cloud Platform-Hyperscaler and Cloud Native teams. Alex designs and evangelizes cloud native solutions that help companies modernize their infrastructure and adopt new best practices to leverage next-generation IT.
Services Experts
Hewlett Packard Enterprise
twitter.com/HPE_Services
linkedin.com/showcase/hpe-services/
hpe.com/services
- Back to Blog
- Newer Article
- Older Article
- Deeko on: The right framework means less guesswork: Why the ...
- MelissaEstesEDU on: Propel your organization into the future with all ...
- Samanath North on: How does Extended Reality (XR) outperform traditio...
- Sarah_Lennox on: Streamline cybersecurity with a best practices fra...
- Jams_C_Servers on: Unlocking the power of edge computing with HPE Gre...
- Sarah_Lennox on: Donโt know how to tackle sustainable IT? Start wit...
- VishBizOps on: Transform your business with cloud migration made ...
- Secure Access IT on: Protect your workloads with a platform agnostic wo...
- LoraAladjem on: A force for good: generative AI is creating new op...
- DrewWestra on: Achieve your digital ambitions with HPE Services: ...