UiPath Documentation
automation-suite
2023.10
false
Automation Suite in der EKS/AKS-Installationsanleitung
Wichtig :
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Automation Hub und Apps können mit Proxy-Setup nicht gestartet werden

Beheben Sie Startfehler für Automation Hub und Apps, die durch Probleme mit der Proxykonfiguration in der Automation Suite auf EKS/AKS verursacht werden.

Beschreibung

Wenn Sie ein Proxy-Setup verwenden, können Probleme beim Starten von Automation Hub und Apps auftreten.

Lösung

Sie können das Problem beheben, indem Sie die folgenden Schritte ausführen:

  1. Erfassen Sie die vorhandene Konfigurationszuordnung coredns aus dem ausgeführten Cluster:
    kubectl get configmap -n kube-system coredns -o yaml > coredns-config.yaml
    kubectl get configmap -n kube-system coredns -o yaml > coredns-config.yaml
    
  2. Bearbeiten Sie die Datei coredns-config.yaml , um den Rewrite des FQDN an die Konfiguration anzufügen.
    1. Benennen Sie die Konfigurationszuordnung in coredns-custom um.
    2. Wenden Sie die richtige Konfiguration je nach Plattform an:
      • Definieren Sie bei AKS eine neue CoreDNS-Zone für den FQDN, wie im folgenden Beispiel gezeigt:
        apiVersion: v1
        kind: ConfigMap
        metadata:
          name: coredns-custom
          namespace: kube-system
        data:
          <FQDN>.server: |
            <FQDN>:53 {
                errors
                log
                health
                rewrite stop {
                    name exact <FQDN> 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
            }
        apiVersion: v1
        kind: ConfigMap
        metadata:
          name: coredns-custom
          namespace: kube-system
        data:
          <FQDN>.server: |
            <FQDN>:53 {
                errors
                log
                health
                rewrite stop {
                    name exact <FQDN> 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
            }
        
      • Für EKS reicht es aus, nur den Rewrite-Block zur vorhandenen CoreDNS Corefile hinzuzufügen:
        rewrite stop {
            name exact <FQDN> istio-ingressgateway.istio-system.svc.cluster.local
        }
        ```Replace &lt;FQDN&gt; with the actual cluster FQDN.
        rewrite stop {
            name exact <FQDN> istio-ingressgateway.istio-system.svc.cluster.local
        }
        ```Replace &lt;FQDN&gt; with the actual cluster FQDN.
        
  3. Erstellen Sie die coredns-custom-Konfigurationszuordnung:
    kubectl apply -f coredns-config.yaml
    kubectl apply -f coredns-config.yaml
    
  4. Ersetzen Sie die Volume-Referenz von coredns durch coredns-custom in der coredns-Bereitstellung im kube-system-Namespace:
    volumes:
      - emptyDir: {}
        name: tmp
      - configMap:
          defaultMode: 420
          items:
          - key: Corefile
            path: Corefile
          name: coredns-custom
        name: config-volume
    volumes:
      - emptyDir: {}
        name: tmp
      - configMap:
          defaultMode: 420
          items:
          - key: Corefile
            path: Corefile
          name: coredns-custom
        name: config-volume
    
  5. Starten Sie die coredns-Bereitstellung neu und stellen Sie sicher, dass die coredns-Pods problemlos ausgeführt werden:
    kubectl rollout restart deployment -n kube-system coredns
    kubectl rollout restart deployment -n kube-system coredns
    
  6. Sie sollten jetzt Automation Hub und Apps starten können.
  • Beschreibung
  • Lösung

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben