Cloud Experts Documentation

Using local-zones in ROSA Classic

This content is authored by Red Hat experts, but has not yet been tested on every supported configuration.

This guide walks through setting up a local-zone in an existing ROSA Classic cluster. Use this approach when you have latency requirements that can be reduced when using a local zone. Since you are not using the default ingress, you will not be able to use the router strategy the cluster has.

Prerequisites

ROSA Classic Cluster with AWS Load Balancer Operator already installed:

Local Zone validations and configuration in your AWS Account:

Command line tools used in this guide:

  • aws cli
  • watch
  • nmap

Set up environment

Create environment variables. We assume the CIDR is a valid subnet for the localzone.

AWS Networking Preparation

  1. Tag the vpc.

  2. Create private and public subnets in the local zone.

  3. Associate the new private subnet in the route table.

  4. Associate the new public subnet in the route table.

  5. Tag the private subnet in the local zone with the cluster infra id.

Cluster Preparation (30 min)

Patch the cluster network operator MTU.

Note: It takes more than 1 minute to start the rollout. Wait for the configuration untill everything is UPDATED=True, UPDATING=False, DEGRADED=False. It could take several minutes(aprox. 20) until the configuration is applied to all nodes. Note: Again, it takes more than 1 minute to start the rollout. Wait for the configuration untill everything is UPDATED=True, UPDATING=False, DEGRADED=False. It could take several minutes(aprox. 20) until the configuration is applied to all nodes.

Create and configure ROSA in the localzone

Validate what instance types are available in the configured localzone and set the environment variable with the selected instance type.

Create the machinepool in the localzone and wait until the nodes are available in the list. This could take several minutes.

Note: Wait for the machines to be up and running before continuing with the next steps. It could take several minutes. (7-15 min. depending on the localzone).

Label the machinepool so the applications will be installed on the local zone nodes only.

Test.

To test, we create the deployment, applying the match labels, so the pods will run on the local zone nodes.

Validate the deploy is running on a Node in the Local Zone.

Deploy the hello-openshift load balancer in the private subnet in the local zone.

NOTE: To execute this step successfully it is mandatory to have the AWS Load Balancer Operator installed. (see prerequisites).

Deploy the hello-openshift load balancer in the public subnet in the local zone. (Optional) NOTE: For perdurable environments, the recommendation is not to expose the cluster directly in the Internet. This step is executed in this guide for testing latency from the internet.

Curl the ALB ingress endpoint to verify the hello-openshift service is accessible.

Interested in contributing to these docs?

Collaboration drives progress. Help improve our documentation The Red Hat Way.

Red Hat logo LinkedIn YouTube Facebook Twitter

Products

Tools

Try, buy & sell

Communicate

About Red Hat

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Subscribe to our newsletter, Red Hat Shares

Sign up now
© 2023 Red Hat, Inc.