UiPath Documentation
automation-suite
2.2510
true
Guia de instalação do Automation Suite no EKS/AKS
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Como desinstalar o Dapr

Desinstale o Dapr do Automation Suite no EKS/AKS.

Pré-requisitos​

  • CLI do Kubectl (kubectl) instalado e configurado.
  • Permissões apropriadas para excluir recursos nos namespaces de destino.

Informação necessária​

Antes de prosseguir, você deve reunir as seguintes informações:

  • Namespace UiPath onde o Dapr é instalado.
  • Namespace ArgoCD (normalmente argocd ou openshift-gitops).

Processo de desinstalação passo a passo​

  1. Exclua o aplicativo Dapr do 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>
    

    Aguarde a exclusão dos recursos.

  2. Excluir recursos personalizados Dapr:

    # 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. Excluir as definições de recursos personalizados (CRDs) do Dapr:

    # 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. Remova as configurações do webhook do Dapr:

    # 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. Remover associações de função específicas de Dapr

    # 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. Remova funções específicas de Dapr:

    # 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. Limpar recursos restantes do Dapr

    • 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>
      
    • Serviços:
      # 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>
      
    • Implantações:
      # 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>
      

Verificação​

Após concluir todas as etapas de desinstalação, verifique se todos os componentes Dapr foram removidos:

# 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

Solução de problemas​

Se alguns recursos não puderem ser excluídos:

  • Certifique-se de que você tenha as permissões necessárias.
  • Verifique se os recursos estão sendo gerenciados por outro controlador.
  • Investigue quaisquer dependências que possam estar impedindo a exclusão.

Observações​

  • Substitua <uipath_namespace> por seu namespace UiPath real.
  • Substitua <argocd_namespace> por seu namespace do ArgoCD real.
  • Tenha cuidado ao excluir recursos compartilhados que possam afetar outros aplicativos.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades