automation-suite
2024.10
true
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

EKS/AKS の Automation Suite のインストール ガイド

最終更新日時 2025年10月3日

その他の設定の適用

手記: Automation Suite インストーラーに管理者権限を付与できない場合にのみ、このセクションの設定を適用してください。 インストーラーに必要な権限を付与できる場合は、このセクションの設定を適用する必要はありません。

優先順位クラスの作成

UiPath® アプリケーションの優先度クラスを作成するには、次の手順を実行します。

  1. 次の構成を YAML ファイルとして保存します。
    ---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: uipath-high-priority
    value: 1000000
    preemptionPolicy: PreemptLowerPriority
    globalDefault: false
    description: "Priority class for uipath applications"---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: uipath-high-priority
    value: 1000000
    preemptionPolicy: PreemptLowerPriority
    globalDefault: false
    description: "Priority class for uipath applications"
  2. 次のコマンドを実行し、 <file_name.yaml> プレースホルダーをYAMLファイルの実際の名前に置き換えます。
    kubectl apply -f <file_name.yaml>kubectl apply -f <file_name.yaml>

名前空間をラベル付けする

名前空間ラベルを作成するには、次のコマンドを実行します。
kubectl label namespace <uipath> uipath-injection=enabled
kubectl label namespace <uipath> istio-injection=enabledkubectl label namespace <uipath> uipath-injection=enabled
kubectl label namespace <uipath> istio-injection=enabled

CoreDNS を構成する

プロキシ設定を使用している場合、Automation Hub と Apps のインストールと操作を正常に完了させるには、特定の CoreDNS 構成の変更が必要です。

これを CoreDNS の設定に追加することをお勧めします。クラスターの FQDN を使用するサービス間要求が、ロード バランサーをバイパスして内部的に Istio を経由してルーティングできるようになるためです。

次の手順に従って、インストール時にクラスターを構成します。

  1. 実行中のクラスターから既存の coredns 構成マップをキャプチャします。
    kubectl get configmap -n kube-system coredns -o yaml > coredns-config.yamlkubectl get configmap -n kube-system coredns -o yaml > coredns-config.yaml
  2. coredns-config.yaml ファイルを編集して、fqdn 書き換えを構成に追加します。
    1. 構成マップの名前を coredns-custom に変更します。
    2. 以下のコード ブロックを coredns-config.yaml ファイルに追加します。 コード ブロックが kubernetes cluster.local in-addr.arpa ip6.arp 行の前に来ていることを確認してください。
      rewrite stop {
                              name exact <cluster-fqdn> istio-ingressgateway.istio-system.svc.cluster.local
                              }rewrite stop {
                              name exact <cluster-fqdn> istio-ingressgateway.istio-system.svc.cluster.local
                              }
    3. <cluster-fqdn> を実際の値に置き換えます。
    これらの手順を完了すると、ファイルは次のサンプルのようになります。
    apiVersion: v1
                    data:
                    Corefile: |
                    .:53 {
                    errors
                    log
                    health
                    rewrite stop {
                    name exact mycluster.autosuite.com istio-ingressgateway.istio-system.svc.cluster.local
                    }
                    kubernetes cluster.local in-addr.arpa ip6.arpa {
                    pods insecure
                    fallthrough in-addr.arpa ip6.arpa
                    }
                    prometheus :9153
                    forward . /etc/resolv.conf
                    cache 30
                    loop
                    reload
                    loadbalance
                    }
                    kind: ConfigMap
                    metadata:
                    name: coredns-custom
                    namespace: kube-systemapiVersion: v1
                    data:
                    Corefile: |
                    .:53 {
                    errors
                    log
                    health
                    rewrite stop {
                    name exact mycluster.autosuite.com istio-ingressgateway.istio-system.svc.cluster.local
                    }
                    kubernetes cluster.local in-addr.arpa ip6.arpa {
                    pods insecure
                    fallthrough in-addr.arpa ip6.arpa
                    }
                    prometheus :9153
                    forward . /etc/resolv.conf
                    cache 30
                    loop
                    reload
                    loadbalance
                    }
                    kind: ConfigMap
                    metadata:
                    name: coredns-custom
                    namespace: kube-system
  3. coredns-custom 構成マップを作成します。
    kubectl apply -f coredns-config.yamlkubectl apply -f coredns-config.yaml
  4. kube-system 名前空間の coredns デプロイで、ボリューム参照を coredns から coredns-custom に置き換えます。
    volumes:
                    - emptyDir: {}
                    name: tmp
                    - configMap:
                    defaultMode: 420
                    items:
                    - key: Corefile
                    path: Corefile
                    name: coredns-custom
                    name: config-volumevolumes:
                    - emptyDir: {}
                    name: tmp
                    - configMap:
                    defaultMode: 420
                    items:
                    - key: Corefile
                    path: Corefile
                    name: coredns-custom
                    name: config-volume
  5. coredns デプロイを再起動し、coredns ポッドが問題なく起動して実行されていることを確認します。
    kubectl rollout restart deployment -n kube-system corednskubectl rollout restart deployment -n kube-system coredns

これらの手順が完了すると、Automation Hub と Apps がプロキシが有効な環境で正常に起動します。

このページは役に立ちましたか?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo
信頼とセキュリティ
© 2005-2025 UiPath. All rights reserved.