이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 3. Provisioning 3scale services and configurations via the operator (Capabilities)


3.1. Introduction

This document provides information about provisioning 3scale services and configurations via the 3scale operator.

Important

The 3scale operator 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.

3.1.1. Prerequisites

  • A 3scale 2.5 On-Premises instance
  • You must have the 3scale operator installed.
  • OpenShift Container Platform 3.11

    • A user account with administrator privileges in the OpenShift cluster
Warning

When using the operator to update API configurations in 3scale, the custom resource definitions (CRDs) are the source of truth. If changes are made in the Admin UI, they will not persist and eventually be overridden by the definition in the CRD.

3.3. Deploying optional tenants custom resource

Optionally, you may create other tenants deploying Tenant custom resource objects.

  1. Deploy a new tenant in your 3scale instance by creating a secret to store the administrator password:

    $ cat ecorp-admin-secret.yaml
    apiVersion: v1
    kind: Secret
    metadata:
      name: ecorp-admin-secret
    type: Opaque
    stringData:
      admin_password: <admin password value>
    
    $ oc create -f ecorp-admin-secret.yaml
    secret/ecorp-admin-secret created
    Copy to Clipboard Toggle word wrap
  2. Create a new tenant CR YAML file with the following content:

    apiVersion: capabilities.3scale.net/v1alpha1
    kind: Tenant
    metadata:
      name: ecorp-tenant
    spec:
      username: admin
      systemMasterUrl: https://master.<wildcardDomain>
      email: admin@ecorp.com
      organizationName: ECorp
      masterCredentialsRef:
        name: system-seed
      passwordCredentialsRef:
        name: ecorp-admin-secret
      tenantSecretRef:
        name: ecorp-tenant-secret
        namespace: operator-test
    Copy to Clipboard Toggle word wrap
    Note

    For more information about the Tenant Custom Resource fields and possible values, refer to the Tenant CRD Reference documentation.

    export NAMESPACE="operator-test"
    oc project ${NAMESPACE}
    oc create -f <yaml-name>
    Copy to Clipboard Toggle word wrap
    1. This should trigger the creation of a new tenant in your 3scale solution in the operator-test project.

Tenant provider_key and admin domain URL will be stored in a secret. You can specify the secret location by using tenantSecretRef tenant spec key.

3.4. Deleting created custom resources

Warning

Deleting the APIManager will delete the 3scale installation.

  • Delete the APIManager custom resource and the 3scale solution elements that have been deployed from it.

    • Deleting the APIManager will delete all 3scale related objects in where it has been deployed:

      oc delete -f <yaml-name-of-the-apimanager-custom-resource>
      Copy to Clipboard Toggle word wrap
  • Delete the 3scale operator, its associated roles and service accounts.

    oc delete -f deploy/operator.yaml
    oc delete -f deploy/role_binding.yaml
    oc delete -f deploy/service_account.yaml
    oc delete -f deploy/role.yaml
    Copy to Clipboard Toggle word wrap
  • Delete the APIManager and Capabilities related CRDs.

    oc delete -f deploy/crds/
    Copy to Clipboard Toggle word wrap
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat