Install OpenELB on KubeSphere

This document describes how to install and delete OpenELB on the KubeSphere web console.

NOTE

  • In a Kubernetes cluster, you only need to install OpenELB once. After the installation is complete, a openelb-manager Deployment that contains a openelb-manager Pod is installed in the cluster. The openelb-manager Pod implements the functionality of OpenELB for the entire Kubernetes cluster.
  • After the installation is complete, you can scale the openelb-manager Deployment and assign multiple OpenELB replicas (openelb-manager Pods) to multiple cluster nodes to ensure high availability. For details, see Configure Multiple OpenELB Replicas.

Prerequisites

You need to prepare a Kubernetes cluster with KubeSphere, and ensure that the Kubernetes version is 1.15 or later. OpenELB requires CustomResourceDefinition (CRD) v1, which is only supported by Kubernetes 1.15 or later. You can use the following methods to install KubeSphere:

OpenELB is designed to be used in bare-metal Kubernetes environments. However, you can also use a cloud-based Kubernetes cluster for learning and testing.

Install OpenELB on the KubeSphere Web Console

  1. Log in to the KubeSphere console.

  2. On the top navigation bar, choose App Store, and search openelb.

    search-openelb

  3. Click Install and follow the wizard instructions to complete the installation. You can customize the chart configuration in the YAML file based on your requirements.

    deploy-openelb

    openelb-setting

    openelb-yaml

  4. Choose Application Workloads > Pods on the left navigation bar to check whether the status of openelb-manager is running. If yes, OpenELB has been installed successfully.

    verify-openelb

Delete OpenELB on the KubeSphere Web Console

To delete OpenELB on the KubeSphere web console, go to your project, choose Application Workloads > Apps on the left navigation bar, click openelb-operation on the right of the OpenELB application, and choose Delete from the drop-down list.

delete-openelb

NOTE

Before deleting OpenELB, you must first delete all Services that use OpenELB.

Last modified January 30, 2023: improve documentation (6d8b189)