Use IBM Cloud Application Load Balancer for VPC and IBM Cloud DNS Services with Red Hat OpenShift

This tutorial is part of the Learning path: Deploying Red Hat OpenShift Container Platform 4.x on IBM Power Systems Virtual Servers.

Topics in “Advanced scenarios” Type
Securely access IBM Cloud services from Red Hat OpenShift Container Platform deployed on IBM Power Systems Virtual Server Tutorial
Securing Red Hat OpenShift Container Platform 4.x clusters and web-based deployments using IBM Power Systems Virtual Server Tutorial
Backing up etcd data from a Red Hat OpenShift Container Platform cluster to IBM Cloud Object Storage Tutorial
Change worker node count on a deployed Red Hat OpenShift Container Platform 4.x cluster on IBM Power Systems Virtual Servers Tutorial
Configure access to a Red Hat OpenShift cluster on a private network in IBM Power Systems Virtual Server Tutorial
Deploy containerized applications on Red Hat OpenShift for IBM Power Systems Tutorial
Use IBM Cloud Application Load Balancer for VPC and IBM Cloud DNS Services with Red Hat OpenShift Tutorial

Introduction

This tutorial describes how to use IBM Cloud Application Load Balancer for Virtual Private Cloud (VPC) and IBM Cloud DNS Services (in the Classic infrastructure) with Red Hat OpenShift on IBM Power Systems Virtual Server.

Note: Using IBM Cloud Application Load Balancer for VPC with Power Virtual Server is currently in experimental state.

Figure 1 provides a high-level overview of the topology.

img1 View image larger

Following are the key aspects of the topology:

  • IBM Cloud Direct Link 2.0 connectivity is established between Power Virtual Server, IBM Cloud VPC, and IBM Cloud Classic.
  • IBM Cloud Application Load Balancer for VPC is used for load balancing the OpenShift control plane and the ingress router.
  • IBM Cloud DNS Services in Classic infrastructure is used for the OpenShift cluster domain.

Prerequisites

Make sure that the following prerequisites are fulfilled before using IBM Cloud Application Load Balancer for VPC and IBM Cloud DNS Services (in Classic infrastructure) with Red Hat OpenShift on IBM Power Virtual Server:

Setup

For deploying OpenShift, refer to the following guide: https://developer.ibm.com/tutorials/install-ocp-on-power-vs/

When running the installation helper script by following the above-mentioned guide, you will be presented with the option to use IBM Cloud DNS Services (in Classic infrastructure) and the VPC application load balancer as shown below:

  • For using IBM Cloud DNS Services, enter yes for the following prompt:
    Do you want to use IBM Cloud Classic DNS and VPC Load Balancer services?

  • Specify IBM Cloud VPC name for the following prompt:
    Enter IBM Cloud VPC name

  • Specify IBM Cloud VPC subnet name for the following prompt:
    Enter IBM Cloud VPC subnet name

The installation helper script creates the required VPC application load balancers, configures the front-end listeners and the back-end pools, creates the DNS records, and deploys the OpenShift cluster.

The following screen capture shows the two VPC application load balancers created for the example OpenShift cluster.

img8 View image larger

The following screen capture shows some of the CNAME records created by the install helper for the example OpenShift cluster. As you can see, the CNAME records point to the load balancers.

img9 View image larger

When using the IBM Cloud Application Load Balancer for VPC, the bastion (helper) node is not used for load balancing.

Additionally, both HTTP and HTTPS ports can be exposed for your application with granular firewall rules when using IBM Cloud Application Load Balancer for VPC with OpenShift. You can also use similar topology to create multi-region cluster for disaster recovery purposes.

Summary

This tutorial provided an overview of using IBM Cloud Application Load Balancer for VPC and IBM Cloud DNS Services (in Classic infrastructure) for OpenShift cluster deployed in Power Systems Virtual Servers.

After the cluster is up and running, you can try out the tutorials under the Exploring Red Hat OpenShift on Power Systems Virtual Server section of the Learning path: Deploying Red Hat OpenShift Container Platform 4.x on IBM Power Systems Virtual Servers.