Search

Installing on Alibaba Cloud

download PDF
OpenShift Container Platform 4.16

Installing OpenShift Container Platform on Alibaba Cloud

Red Hat OpenShift Documentation Team

Abstract

This document describes how to install OpenShift Container Platform on Alibaba Cloud.

Chapter 1. Installing a cluster on Alibaba Cloud by using the Assisted Installer

Alibaba Cloud provides a broad range of cloud computing and data storage services to online businesses and global enterprises. You can install an OpenShift Container Platform cluster on Alibaba Cloud using the Assisted Installer.

Important

Installing Alibaba Cloud with Assisted Installer is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

1.1. Process outline for creating a cluster with the Assisted Installer

The main steps of the installation process are as follows:

  1. Create the cluster with the Assisted Installer and download the generated image.
  2. Convert the image to QCOW2 format. For more information, see the following section.
  3. Upload the image to the Object Storage Service bucket in Alibaba Cloud.
  4. Import the image to the Elastic Compute Service in Alibaba Cloud.
  5. Provision the Alibaba Cloud resources:

    1. In the Virtual Private Cloud (VPC) console, set the networking configurations.
    2. In the Alibaba Cloud DNS console, define the Domain Name System.
    3. In the Elastic Compute Service (ECS) console, provision the compute instances.
  6. Complete host discovery in the Assisted Installer.
  7. Complete the network configurations in Alibaba Cloud.
  8. Complete the cluster configuration and installation in the Assisted Installer.

1.2. Converting the discovery image to QCOW2 format

Convert the generated ISO to QCOW2 format before importing it into Alibaba Cloud.

Prerequisites

  • You have created a cluster and downloaded the discovery image in the Assisted Installer.
  • You have access to a Linux machine that is outside the cluster, such as your desktop machine.

Procedure

  1. Open the command line interface on the Linux machine.
  2. Verify that the system has virtualization flags enabled by running the following command:

    $ grep -e lm -e svm -e vmx /proc/cpuinfo
  3. Install the qemu-img package on a RHEL or Fedora machine by running the following command:

    $ sudo dnf install -y qemu-img
    Note

    If your system uses the APT package manager, install the package using the name qemu-utils instead.

  4. Convert the image to QCOW2 by running the following command:

    $ qemu-img convert -O qcow2 ${CLUSTER_NAME}.iso ${CLUSTER_NAME}.qcow2

Legal Notice

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.