Configuring external client access by using the Mesh console
Use the IBM® Hybrid Cloud Mesh (Mesh) console to connect client applications that run on non-Kubernetes infrastructure to services over the Mesh network segment.
Before you begin
These instructions use the example of a single-node MicroK8s cluster that is installed on a VM. However, the instructions also apply to multi-node and managed Kubernetes clusters.
For more information about supported Kubernetes distributions, see Supported platforms and software.- MicroK8s is installed on a separate VM in the same VPC or local network as the external client. See Getting started with MicroK8s.
- MetalLB is installed in the MicroK8s cluster, in the
metallb-system
namespace.MetalLB provides load-balancer services for bare metal and on-premises environments such as VMs running MicroK8s. To enable the MetalLB add-on for MicroK8s, see Enabling MetalLB for MicroK8s. For other Kubernetes distributions, see Installing MetalLB.
To enable Mesh to manage the necessary MetalLB resources, complete the following steps:- Create a Kubernetes role in the
metallb-system
namespace that grants permission to manage MetalLB resources such as address pools. - Bind this role to a service account in the namespace on the MicroK8s cluster where you install the Mesh gateway.
- Create a Kubernetes role in the
- A set of IP addresses is reserved on the local network for the primary network interface of the
MicroK8s VM.
For cloud environments, the primary network interface of the VM might need to be configured to accept these IP addresses, which are used to expose services.
About this task
An external client is a client application that operates outside of a Kubernetes cluster but can connect to services within a Mesh network segment. External clients can operate in non-Kubernetes environments such as VMs, mainframes, and bare metal servers.
For on-premises environments, the equivalent to a virtual private cloud (VPC) might be, for example, a VLAN or subnet.
Procedure
What to do next
Use the Topology view to monitor traffic and visualize relationships between the external client and the other Mesh resources in the network segment.
On the Gateway details page, view the service entry points that are assigned to services at the gateway.