このコンテンツは選択した言語では利用できません。

Chapter 3. User tasks


3.1. Creating applications from installed Operators

You can deploy applications on your Red Hat OpenShift Service on AWS cluster from Operators that a cluster administrator installed. Use the Installed Operators page in the web console to create an application from an Operator custom resource (CR) API, such as an etcd cluster.

3.1.1. Creating an etcd cluster using an Operator

You can create an etcd cluster using the etcd Operator in the Red Hat OpenShift Service on AWS web console. The Operator creates the pods, services, and other cluster resources for you.

Prerequisites

  • Access to a Red Hat OpenShift Service on AWS cluster.
  • The etcd Operator already installed cluster-wide by an administrator.

Procedure

  1. Create a new project in the Red Hat OpenShift Service on AWS web console for this procedure. This example uses a project called my-etcd.
  2. Navigate to the Ecosystem Installed Operators page.

    The Operators installed on the cluster by the dedicated-admin and available for use are shown here as a list of cluster service versions (CSVs). Each CSV launches and manages the software provided by the Operator.

    Tip

    You can get this list from the CLI by running the following command:

    $ oc get csv
  3. On the Installed Operators page, click the etcd Operator to view more details and available actions.

    As shown under Provided APIs, this Operator makes available three new resource types, including one for an etcd Cluster, the EtcdCluster resource.

    These objects work similarly to the built-in native Kubernetes ones, such as Deployment or ReplicaSet, but contain logic specific to managing etcd.

  4. Create a new etcd cluster:

    1. In the etcd Cluster API box, click Create instance.
    2. Optional: Modify the minimal starting template of an EtcdCluster object, such as the size of the cluster.
    3. Click Create to finalize. This triggers the Operator to start up the pods, services, and other components of the new etcd cluster.
  5. Click the example etcd cluster.
  6. Click the Resources tab.

    Your project contains several resources that the Operator created and configured.

  7. Verify that a Kubernetes service exists that allows you to access the database from other pods in your project.
  8. Optional: To grant another user permission to create Operator-managed applications in the project, add the edit role by running the following command:

    $ oc policy add-role-to-user edit <user> -n <target_project>

    Users with the edit role in a project can create, manage, and delete Operator-managed application instances, such as an etcd cluster.

Results

You have an etcd cluster that reacts to failures and rebalances data as pods become unhealthy or migrate between nodes in the cluster. dedicated-admins or developers with proper access can use the database with their applications.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る