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

Chapter 3. Set up your environment


This section shows how you can set up your environment variables and deploy the example Toystore application on your OpenShift cluster.

Procedure

  1. Set the following environment variables, which are used for convenience in this guide:

    export KUADRANT_GATEWAY_NS=api-gateway
    export KUADRANT_GATEWAY_NAME=external
    export KUADRANT_DEVELOPER_NS=toystore
    export KUADRANT_AWS_ACCESS_KEY_ID=xxxx
    export KUADRANT_AWS_SECRET_ACCESS_KEY=xxxx
    export KUADRANT_AWS_DNS_PUBLIC_ZONE_ID=xxxx
    export KUADRANT_ZONE_ROOT_DOMAIN=example.com
    export KUADRANT_CLUSTER_ISSUER_NAME=self-signed
    Copy to Clipboard Toggle word wrap

    These environment variables are described as follows:

    • KUADRANT_GATEWAY_NS: Namespace for your example Gateway in OpenShift.
    • KUADRANT_GATEWAY_NAME: Name of your example Gateway in OpenShift.
    • KUADRANT_DEVELOPER_NS: Namespace for the example toystore app in OpenShift.
    • KUADRANT_AWS_ACCESS_KEY_ID: AWS key ID with access to manage your DNS zone.
    • KUADRANT_AWS_SECRET_ACCESS_KEY: AWS secret access key with permissions to manage your DNS zone.
    • KUADRANT_AWS_DNS_PUBLIC_ZONE_ID: AWS Route 53 zone ID for the Gateway. This is the ID of the hosted zone that is displayed in the AWS Route 53 console.
    • KUADRANT_ZONE_ROOT_DOMAIN: Root domain in AWS Route 53 associated with your DNS zone ID.
    • KUADRANT_CLUSTER_ISSUER_NAME: Name of the certificate authority or issuer TLS certificates.

      Note

      This guide uses environment variables for convenience only. Alternatively, if you know the environment variable values, you can set up the required .yaml files to suit your environment.

  2. Create the namespace for the Toystore app as follows:

    kubectl create ns ${KUADRANT_DEVELOPER_NS}
    Copy to Clipboard Toggle word wrap
  3. Deploy the Toystore app to the developer namespace:

    kubectl apply -f https://raw.githubusercontent.com/Kuadrant/Kuadrant-operator/main/examples/toystore/toystore.yaml -n ${KUADRANT_DEVELOPER_NS}
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

Theme

© 2026 Red Hat
맨 위로 이동