UiPath Documentation
automation-suite
2.2510
true
Automation Suite in der EKS/AKS-Installationsanleitung
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

So deinstallieren Sie Dapr

Deinstallieren Sie Dapr aus der Automation Suite auf EKS/AKS.

Voraussetzungen​

  • Kubectl-CLI (kubectl) installiert und konfiguriert.
  • Entsprechende Berechtigungen zum Löschen von Ressourcen in den Ziel-Namespaces.

Information erforderlich​

Bevor Sie fortfahren, müssen Sie die folgenden Informationen sammeln:

  • UiPath-Namespace, in dem Dapr installiert ist.
  • ArgoCD-Namespace (normalerweise argocd oder openshift-gitops).

Schritt-für-Schritt-Deinstallationsprozess​

  1. Löschen Sie die Dapr-Anwendung aus ArgoCD:

    # Verify the application exists first
    kubectl get application.argoproj.io dapr -n <argocd_namespace>
    
    # If it exists, delete it
    kubectl delete application.argoproj.io dapr -n <argocd_namespace>
    # Verify the application exists first
    kubectl get application.argoproj.io dapr -n <argocd_namespace>
    
    # If it exists, delete it
    kubectl delete application.argoproj.io dapr -n <argocd_namespace>
    

    Warten Sie, bis die Ressourcen gelöscht wurden.

  2. Benutzerdefinierte Dapr-Ressourcen löschen:

    # Delete all Dapr components in the UiPath namespace
    kubectl delete components.dapr.io --all -n <uipath_namespace>
    
    # Delete all Dapr configurations in the UiPath namespace
    kubectl delete configurations.dapr.io --all -n <uipath_namespace>
    
    # Delete all Dapr resiliencies in the UiPath namespace
    kubectl delete resiliencies.dapr.io --all -n <uipath_namespace>
    
    # Delete all Dapr subscriptions in the UiPath namespace
    kubectl delete subscriptions.dapr.io --all -n <uipath_namespace>
    # Delete all Dapr components in the UiPath namespace
    kubectl delete components.dapr.io --all -n <uipath_namespace>
    
    # Delete all Dapr configurations in the UiPath namespace
    kubectl delete configurations.dapr.io --all -n <uipath_namespace>
    
    # Delete all Dapr resiliencies in the UiPath namespace
    kubectl delete resiliencies.dapr.io --all -n <uipath_namespace>
    
    # Delete all Dapr subscriptions in the UiPath namespace
    kubectl delete subscriptions.dapr.io --all -n <uipath_namespace>
    
  3. Benutzerdefinierte Dapr-Ressourcendefinitionen (CRDs) löschen:

    # Delete Dapr CRDs
    kubectl delete crd components.dapr.io
    kubectl delete crd configurations.dapr.io
    kubectl delete crd resiliencies.dapr.io
    kubectl delete crd subscriptions.dapr.io
    # Delete Dapr CRDs
    kubectl delete crd components.dapr.io
    kubectl delete crd configurations.dapr.io
    kubectl delete crd resiliencies.dapr.io
    kubectl delete crd subscriptions.dapr.io
    
  4. Entfernen Sie Dapr-Webhook-Konfigurationen:

    # Delete the Dapr sidecar injector webhook
    kubectl delete mutatingwebhookconfigurations dapr-sidecar-injector
    # Delete the Dapr sidecar injector webhook
    kubectl delete mutatingwebhookconfigurations dapr-sidecar-injector
    
  5. Entfernen Sie Dapr-spezifische Rollenbindungen

    # Verify if the role binding exists
    kubectl get rolebinding -n <uipath_namespace> | grep dapr
    
    # If it exists, delete dapr specific role binding
    kubectl delete rolebinding <dapr-role-binding> -n <uipath_namespace>
    # Verify if the role binding exists
    kubectl get rolebinding -n <uipath_namespace> | grep dapr
    
    # If it exists, delete dapr specific role binding
    kubectl delete rolebinding <dapr-role-binding> -n <uipath_namespace>
    
  6. Entfernen Sie Dapr-spezifische Rollen:

    # Check if the dapr-creator role exists
    kubectl get role -n <uipath_namespace> | grep dapr
    
    # If it exists, delete dapr specific rolekubectl delete role <dapr-role> -n <uipath_namespace>
    # Check if the dapr-creator role exists
    kubectl get role -n <uipath_namespace> | grep dapr
    
    # If it exists, delete dapr specific rolekubectl delete role <dapr-role> -n <uipath_namespace>
    
  7. Bereinigen Sie verbleibende Dapr-Ressourcen

    • Pods:
      # List all Dapr-related pods
      kubectl get pods -n <uipath_namespace> | grep dapr
      
      # Delete each Dapr pod if any
      kubectl delete pod <pod_name> -n <uipath_namespace>
      # List all Dapr-related pods
      kubectl get pods -n <uipath_namespace> | grep dapr
      
      # Delete each Dapr pod if any
      kubectl delete pod <pod_name> -n <uipath_namespace>
      
    • Dienste:
      # List all Dapr-related services
      kubectl get svc -n <uipath_namespace> | grep dapr
      
      # Delete each Dapr service if any
      kubectl delete svc <service_name> -n <uipath_namespace>
      # List all Dapr-related services
      kubectl get svc -n <uipath_namespace> | grep dapr
      
      # Delete each Dapr service if any
      kubectl delete svc <service_name> -n <uipath_namespace>
      
    • Bereitstellungen:
      # List all Dapr-related deployments
      kubectl get deployments -n <uipath_namespace> | grep dapr
      
      # Delete each Dapr deployment
      kubectl delete deployment <deployment_name> -n <uipath_namespace>
      # List all Dapr-related deployments
      kubectl get deployments -n <uipath_namespace> | grep dapr
      
      # Delete each Dapr deployment
      kubectl delete deployment <deployment_name> -n <uipath_namespace>
      

Verifizierung​

Stellen Sie nach Abschluss aller Deinstallationsschritte sicher, dass alle Dapr-Komponenten entfernt wurden:

# Check for any remaining Dapr resources
kubectl get pods -n <uipath_namespace> | grep dapr
kubectl get svc -n <uipath_namespace> | grep dapr
kubectl get deployments -n <uipath_namespace> | grep dapr
kubectl get crd | grep dapr
# Check for any remaining Dapr resources
kubectl get pods -n <uipath_namespace> | grep dapr
kubectl get svc -n <uipath_namespace> | grep dapr
kubectl get deployments -n <uipath_namespace> | grep dapr
kubectl get crd | grep dapr

Fehlersuche und ‑behebung​

Wenn bestimmte Ressourcen nicht gelöscht werden können:

  • Stellen Sie sicher, dass Sie über die erforderlichen Berechtigungen verfügen.
  • Überprüfen Sie, ob die Ressourcen von einem anderen Controller verwaltet werden.
  • Untersuchen Sie alle Abhängigkeiten, die das Löschen verhindern könnten.

Hinweise​

  • Ersetzen Sie <uipath_namespace> durch Ihren tatsächlichen UiPath-Namespace.
  • Ersetzen Sie <argocd_namespace> durch Ihren tatsächlichen ArgoCD-Namespace.
  • Seien Sie vorsichtig beim Löschen gemeinsam genutzter Ressourcen, die sich auf andere Anwendungen auswirken könnten.

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