This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.16.5.2. 既存 AWS クラスターでの Ingress コントローラーネットワークロードバランサーの設定
AWS Network Load Balancer (NLB) がサポートする Ingress コントローラーを既存のクラスターに作成できます。
前提条件
- AWS クラスターがインストールされている。
インフラストラクチャーリソースの
PlatformStatus
は AWS である必要があります。PlatformStatus
が AWS であることを確認するには、以下を実行します。Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc get infrastructure/cluster -o jsonpath='{.status.platformStatus.type}'
$ oc get infrastructure/cluster -o jsonpath='{.status.platformStatus.type}' AWS
手順
既存のクラスターの AWS NLB がサポートする Ingress コントローラーを作成します。
Ingress コントローラーのマニフェストを作成します。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow cat ingresscontroller-aws-nlb.yaml
$ cat ingresscontroller-aws-nlb.yaml
出力例
Copy to Clipboard Copied! Toggle word wrap Toggle overflow apiVersion: operator.openshift.io/v1 kind: IngressController metadata: name: $my_ingress_controller namespace: openshift-ingress-operator spec: domain: $my_unique_ingress_domain endpointPublishingStrategy: type: LoadBalancerService loadBalancer: scope: External providerParameters: type: AWS aws: type: NLB
apiVersion: operator.openshift.io/v1 kind: IngressController metadata: name: $my_ingress_controller
1 namespace: openshift-ingress-operator spec: domain: $my_unique_ingress_domain
2 endpointPublishingStrategy: type: LoadBalancerService loadBalancer: scope: External
3 providerParameters: type: AWS aws: type: NLB
クラスターにリソースを作成します。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc create -f ingresscontroller-aws-nlb.yaml
$ oc create -f ingresscontroller-aws-nlb.yaml
新規 AWS クラスターで Ingress コントローラー NLB を設定する前に、インストール設定ファイルの作成 手順を実行する必要があります。