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

Chapter 1. Service Registry Operator quickstart


You can quickly install the Service Registry Operator on the command line by using Custom Resource Definitions (CRDs).

The quickstart example deploys your Service Registry instance with storage in an SQL database:

Note

The recommended installation option for production environments is the OpenShift OperatorHub. The recommended storage option is an SQL database for performance, stability, and data management.

1.1. Quickstart Service Registry Operator installation

You can quickly install and deploy the Service Registry Operator on the command line, without the Operator Lifecycle Manager, by using a downloaded set of installation files and example CRDs.

Prerequisites

  • You are logged in to an OpenShift cluster with administrator access.
  • You have the OpenShift oc command-line client installed. For more details, see the OpenShift CLI documentation.

Procedure

  1. Browse to Red Hat Software Downloads, select the product version, and download the examples in the Service Registry CRDs .zip file.
  2. Extract the downloaded CRDs .zip file and change to the apicurio-registry-install-examples directory.
  3. Create an OpenShift project for the Service Registry Operator installation, for example:

    export NAMESPACE="apicurio-registry"
    oc new-project "$NAMESPACE"
  4. Enter the following command to apply the example CRD in the install/install.yaml file:

    cat install/install.yaml | sed "s/apicurio-registry-operator-namespace/$NAMESPACE/g" | oc apply -f -
  5. Enter oc get deployment to check the readiness of the Service Registry Operator. For example, the output should be as follows:

    NAME                     	READY   UP-TO-DATE  AVAILABLE   AGE
    apicurio-registry-operator  1/1 	1        	1       	XmYs

1.2. Quickstart Service Registry instance deployment

To create your Service Registry instance deployment, use the example CRs.

Prerequisites

  • Ensure that the Service Registry Operator is installed.
  • You have a PostgreSQL database that is reachable from your OpenShift cluster.

Procedure

  1. Browse to Red Hat Software Downloads, select the product version, and download the examples in the Service Registry CRDs .zip file.
  2. Choose an example deployment.
  3. Enter the following commands to apply the updated ApicurioRegistry3 CR in the namespace with the Service Registry Operator, and wait for the Service Registry instance to deploy:

    oc project "$NAMESPACE"
    oc apply -f <example-yaml>
  4. Enter oc get deployment to check the readiness of the Service Registry instance. For example, the output should be as follows:

    NAME                     	        READY UP-TO-DATE AVAILABLE AGE
    example-apicurioregistry-sql-deployment 1/1   1          1         XmYs
  5. Enter oc get routes to get the HOST/PORT URL to launch the Service Registry web console in your browser. For example:

    example-apicurioregistry-sql.apicurio-registry.router-default.apps.mycluster.myorg.mycompany.com
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

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

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

会社概要

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

© 2024 Red Hat, Inc.