UiPath Documentation
automation-suite
2024.10
false
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.

Guia de instalação do Automation Suite no EKS/AKS

Última atualização 13 de mai de 2026

Atendendo aos pré-requisitos do Process Mining

Observação:

Você deve seguir as etapas nesta seção apenas se executar o instalador do Automation Suite com privilégios reduzidos. Se você puder executar o instalador com privilégios de administrador, não precisará seguir as instruções nesta seção.

Importante:

Dapr e cert-manager não são mais requisitos para o Process Mining a partir do Automation Suite 2024.10.3.

Instalação do cert-manager

A instalação Dapr para o Process Mining requer cert-manager.

Você pode instalar o cert-manager por meio do Helm. Para obter instruções de instalação, consulte a documentação do cert-manager.

Desinstalando o Gerenciador de certificados

Observação:

Você não deve remover esse recurso se o Task Mining estiver habilitado. O Task Mining depende do Cert Manager.

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 os recursos do cert-manager estão sendo usados.

Processo de desinstalação passo a passo

  1. Exclua as associações de função para o cert-manager:
    # Verify if the role binding exists
    kubectl get rolebinding -n <uipath_namespace> | grep cert-manager
    
    # If it exists, delete it
    kubectl delete rolebinding <role-binding-name> -n <uipath_namespace>
    # Verify if the role binding exists
    kubectl get rolebinding -n <uipath_namespace> | grep cert-manager
    
    # If it exists, delete it
    kubectl delete rolebinding <role-binding-name> -n <uipath_namespace>
    
  2. Exclua a função cert-manager:
    # Check if the role exists
    kubectl get role cert-manager -n <uipath_namespace> | grep cert-manager
    
    # If it exists, delete it
    kubectl delete role <cert-manamger-role> -n <uipath_namespace>
    # Check if the role exists
    kubectl get role cert-manager -n <uipath_namespace> | grep cert-manager
    
    # If it exists, delete it
    kubectl delete role <cert-manamger-role> -n <uipath_namespace>
    
  3. Limpe os recursos cert-manager no namespace:
    # Delete all certificates
    kubectl delete certificates.cert-manager.io --all -n <uipath_namespace>
    
    # Delete all issuers
    kubectl delete issuers.cert-manager.io --all -n <uipath_namespace>
    
    # Delete all clusterissuers if you created any
    kubectl delete clusterissuers.cert-manager.io --all
    # Delete all certificates
    kubectl delete certificates.cert-manager.io --all -n <uipath_namespace>
    
    # Delete all issuers
    kubectl delete issuers.cert-manager.io --all -n <uipath_namespace>
    
    # Delete all clusterissuers if you created any
    kubectl delete clusterissuers.cert-manager.io --all
    
  4. Desinstale o cert-manager do cluster, exclua o namespace ou qualquer recurso de certificado restante seguindo as etapas 1, 2 e 3 para outros namespaces. Além disso, verifique se cert-manager não é usado por qualquer outro componente.
  5. Verifique os recursos restantes:
    # Check for any remaining cert-manager resources
    kubectl get all -n <uipath_namespace> | grep cert-manager
    kubectl get crd | grep cert-manager
    # Check for any remaining cert-manager resources
    kubectl get all -n <uipath_namespace> | grep cert-manager
    kubectl get crd | grep cert-manager
    

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 usados por outros aplicativos.
  • Para recursos que estão presos no estado Encerrando , você pode precisar remover os finalizadores.

Observações

  • Desinstale o cert-manager apenas se ele não estiver sendo usado por outros aplicativos no seu cluster.
  • Se vários aplicativos dependerem de cert-manager, considere apenas remover os recursos específicos da UiPath.
  • Substitua <uipath_namespace> por seu namespace UiPath real.

Instalando o Dapr

Para instalar o Dapr, execute os seguintes passos:

  1. Crie um segredo de extração de imagem no namespace. <uipath> Para criar o segredo de extração de imagem, você pode usar seu fluxo de trabalho típico ou seguir as seguintes etapas:
    registry= <registry_url> #provide the registry where the UiPath images are hosted
    username= <user_name> #provide the username which will be used for the authentication
    password= <password> #provide the password which will be used for the authentication
    namespace= <namespace> #namespace where you want to create a secret
    kubectl create secret docker-registry uipathpullsecret --namespace=${namespace} \
      --docker-server=${registry} --docker-username=${username} \
      --docker-password=${password} --dry-run=client -o yaml \
      | kubectl apply -f -
    registry= <registry_url> #provide the registry where the UiPath images are hosted
    username= <user_name> #provide the username which will be used for the authentication
    password= <password> #provide the password which will be used for the authentication
    namespace= <namespace> #namespace where you want to create a secret
    kubectl create secret docker-registry uipathpullsecret --namespace=${namespace} \
      --docker-server=${registry} --docker-username=${username} \
      --docker-password=${password} --dry-run=client -o yaml \
      | kubectl apply -f -
    
  2. Crie o aplicativo Argo usando o seguinte arquivo YAML:
    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
      name: dapr
      namespace: <argo_namespace>
    spec:
      destination:
        namespace: <uipath_namespace>
        server: https://kubernetes.default.svc
      ignoreDifferences:
      - jsonPointers:
        - /data
        - /stringData
        - /metadata
        kind: Secret
      - group: apiextensions.k8s.io
        jsonPointers:
        - /spec/conversion
        kind: CustomResourceDefinition
      - group: admissionregistration.k8s.io
        jsonPointers:
        - /webhooks
        kind: MutatingWebhookConfiguration
      project: <project_name>
      source:
        chart: helm/dapr
        helm:
          valueFiles:
          - values.yaml
          values: |
            global:
              registry: <target-registry>/daprio
              imagePullSecrets: uipathpullsecret
              mtls:
                enabled: true
              prometheus:
                enabled: false
              logAsJson: true
              actors:
                enabled: false
              ha:
                enabled: false
                replicaCount: 1
              rbac:
                namespaced: true
              seccompProfile: RuntimeDefault
            dapr_dashboard:
              enabled: false
            dapr_operator:
              watchInterval: 1m
              resources:
                requests:
                  cpu: 100m
                  memory: 100Mi
                limits:
                  cpu: "1"
                  memory: 200Mi
              watchNamespace: <uipath_namespace>
              deploymentAnnotations:
                sidecar.istio.io/inject: "false"
            dapr_sidecar_injector:
              allowedServiceAccounts: <uipath_namespace>:default
              resources:
                requests:
                  cpu: 100m
                  memory: 30Mi
                limits:
                  cpu: "1"
                  memory: 100Mi
              sidecarDropALLCapabilities: true
              deploymentAnnotations:
                sidecar.istio.io/inject: "false"
            dapr_sentry:
              resources:
                requests:
                  cpu: 100m
                  memory: 30Mi
                limits:
                  cpu: "1"
                  memory: 100Mi
              deploymentAnnotations:
                sidecar.istio.io/inject: "false"
            dapr_rbac:
              secretReader:
                enabled: false
              createClusterScopedObjects: true
        repoURL: <target-registry>
        targetRevision: <dapr-version>
      syncPolicy:
        automated:
          prune: true
          selfHeal: true
        retry:
          backoff:
            duration: 10s
            factor: 2
            maxDuration: 1m
          limit: 1000
        syncOptions:
        - CreateNamespace=true
        - RespectIgnoreDifferences=true
    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
      name: dapr
      namespace: <argo_namespace>
    spec:
      destination:
        namespace: <uipath_namespace>
        server: https://kubernetes.default.svc
      ignoreDifferences:
      - jsonPointers:
        - /data
        - /stringData
        - /metadata
        kind: Secret
      - group: apiextensions.k8s.io
        jsonPointers:
        - /spec/conversion
        kind: CustomResourceDefinition
      - group: admissionregistration.k8s.io
        jsonPointers:
        - /webhooks
        kind: MutatingWebhookConfiguration
      project: <project_name>
      source:
        chart: helm/dapr
        helm:
          valueFiles:
          - values.yaml
          values: |
            global:
              registry: <target-registry>/daprio
              imagePullSecrets: uipathpullsecret
              mtls:
                enabled: true
              prometheus:
                enabled: false
              logAsJson: true
              actors:
                enabled: false
              ha:
                enabled: false
                replicaCount: 1
              rbac:
                namespaced: true
              seccompProfile: RuntimeDefault
            dapr_dashboard:
              enabled: false
            dapr_operator:
              watchInterval: 1m
              resources:
                requests:
                  cpu: 100m
                  memory: 100Mi
                limits:
                  cpu: "1"
                  memory: 200Mi
              watchNamespace: <uipath_namespace>
              deploymentAnnotations:
                sidecar.istio.io/inject: "false"
            dapr_sidecar_injector:
              allowedServiceAccounts: <uipath_namespace>:default
              resources:
                requests:
                  cpu: 100m
                  memory: 30Mi
                limits:
                  cpu: "1"
                  memory: 100Mi
              sidecarDropALLCapabilities: true
              deploymentAnnotations:
                sidecar.istio.io/inject: "false"
            dapr_sentry:
              resources:
                requests:
                  cpu: 100m
                  memory: 30Mi
                limits:
                  cpu: "1"
                  memory: 100Mi
              deploymentAnnotations:
                sidecar.istio.io/inject: "false"
            dapr_rbac:
              secretReader:
                enabled: false
              createClusterScopedObjects: true
        repoURL: <target-registry>
        targetRevision: <dapr-version>
      syncPolicy:
        automated:
          prune: true
          selfHeal: true
        retry:
          backoff:
            duration: 10s
            factor: 2
            maxDuration: 1m
          limit: 1000
        syncOptions:
        - CreateNamespace=true
        - RespectIgnoreDifferences=true
    

A tabela a seguir fornece mais informações sobre como substituir os espaços reservados no arquivo YAML por valores adequados para os respectivos parâmetros:

Parâmetro Espaço reservado Description
namespace

<argo_namespace>

  • Use <argocd> para uma instância dedicada do ArgoCD.
  • Use <openshift-gitops> para uma instância do ArgoCD compartilhada.

namespace

watchNamespace

<uipath_namespace>

Namespace para o Automation Suite

project

<project_name>

  • Para uma instância dedicada do ArgoCD, use default .
  • Para uma instância compartilhada do ArgoCD, use o nome do projeto criado para o Automation Suite.

registry

repoURL

<target-registry>

Registro do gráfico do Helm

targetRevision

<dapr-version>

Versão do gráfico Dapr Helm do arquivo versions.json
Observação:

Se você instalar o Automation Suite em um cluster compartilhado e atualizar o FQDN após a instalação, você deve excluir e recriar o aplicativo Dapr executando as seguintes etapas:

  1. Na interface gráfica do ArgoCD, navegue até Dapr > Excluir.
  2. Instale o Dapr novamente seguindo todas as etapas nesta seção.

Geração do arquivo YAML do aplicativo por meio do script Bash

Você também pode usar o seguinte script do Bash para gerar o arquivo YAML do aplicativo:

#!/bin/bas

echo "Enter the namespace of argocd applications"
read argocd_namespace

echo "Enter the name of uipath namespace"
read uipath_namespace


if [[ "${argocd_namespace}" == "openshift-gitops" ]]; then
  echo "Enter the argocd project name"
  read project
else
  project="default"
fi

echo "Enter the registry fqdn"
read registry_fqdn

echo "Enter the DAPR helm chart version"
read dapr_version

echo "-------------------- SUMMARY --------------------"
echo "Argocd Application namespace : $argocd_namespace"
echo "Uipath namespace             : $uipath_namespace"
echo "Argocd Project name          : $project"
echo "Helm registry FQDN           : $registry_fqdn"
echo "DAPR Version                 : $dapr_version"

echo "------------- Application yaml file-------------"

echo -n "apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: dapr
  namespace: $argocd_namespace
spec:
  destination:
    namespace: $uipath_namespace
    server: https://kubernetes.default.svc
  ignoreDifferences:
  - jsonPointers:
    - /data
    - /stringData
    - /metadata
    kind: Secret
  - group: apiextensions.k8s.io
    jsonPointers:
    - /spec/conversion
    kind: CustomResourceDefinition
  - group: admissionregistration.k8s.io
    jsonPointers:
    - /webhooks
    kind: MutatingWebhookConfiguration
  project: $project
  source:
    chart: helm/dapr
    helm:
      valueFiles:
      - values.yaml
      values: |
        global:
          registry: $registry_fqdn/daprio
          imagePullSecrets: uipathpullsecret
          mtls:
            enabled: true
          prometheus:
            enabled: false
          logAsJson: true
          actors:
            enabled: false
          ha:
            enabled: false
            replicaCount: 1
          rbac:
            namespaced: true
          seccompProfile: RuntimeDefault
        dapr_dashboard:
          enabled: false
        dapr_operator:
          watchInterval: 1m
          resources:
            requests:
              cpu: 100m
              memory: 100Mi
            limits:
              cpu: "1"
              memory: 200Mi
          watchNamespace: $uipath_namespace
          deploymentAnnotations:
            sidecar.istio.io/inject: "false"
        dapr_sidecar_injector:
          allowedServiceAccounts: $uipath_namespace:default
          resources:
            requests:
              cpu: 100m
              memory: 30Mi
            limits:
              cpu: "1"
              memory: 100Mi
          sidecarDropALLCapabilities: true
          deploymentAnnotations:
            sidecar.istio.io/inject: "false"
        dapr_sentry:
          resources:
            requests:
              cpu: 100m
              memory: 30Mi
            limits:
              cpu: "1"
              memory: 100Mi
          deploymentAnnotations:
            sidecar.istio.io/inject: "false"
        dapr_rbac:
          secretReader:
            enabled: false
          createClusterScopedObjects: true
    repoURL: $registry_fqdn
    targetRevision: $dapr_version
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    retry:
      backoff:
        duration: 10s
        factor: 2
        maxDuration: 1m
      limit: 1000
    syncOptions:
    - CreateNamespace=true
    - RespectIgnoreDifferences=true"
#!/bin/bas

echo "Enter the namespace of argocd applications"
read argocd_namespace

echo "Enter the name of uipath namespace"
read uipath_namespace


if [[ "${argocd_namespace}" == "openshift-gitops" ]]; then
  echo "Enter the argocd project name"
  read project
else
  project="default"
fi

echo "Enter the registry fqdn"
read registry_fqdn

echo "Enter the DAPR helm chart version"
read dapr_version

echo "-------------------- SUMMARY --------------------"
echo "Argocd Application namespace : $argocd_namespace"
echo "Uipath namespace             : $uipath_namespace"
echo "Argocd Project name          : $project"
echo "Helm registry FQDN           : $registry_fqdn"
echo "DAPR Version                 : $dapr_version"

echo "------------- Application yaml file-------------"

echo -n "apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: dapr
  namespace: $argocd_namespace
spec:
  destination:
    namespace: $uipath_namespace
    server: https://kubernetes.default.svc
  ignoreDifferences:
  - jsonPointers:
    - /data
    - /stringData
    - /metadata
    kind: Secret
  - group: apiextensions.k8s.io
    jsonPointers:
    - /spec/conversion
    kind: CustomResourceDefinition
  - group: admissionregistration.k8s.io
    jsonPointers:
    - /webhooks
    kind: MutatingWebhookConfiguration
  project: $project
  source:
    chart: helm/dapr
    helm:
      valueFiles:
      - values.yaml
      values: |
        global:
          registry: $registry_fqdn/daprio
          imagePullSecrets: uipathpullsecret
          mtls:
            enabled: true
          prometheus:
            enabled: false
          logAsJson: true
          actors:
            enabled: false
          ha:
            enabled: false
            replicaCount: 1
          rbac:
            namespaced: true
          seccompProfile: RuntimeDefault
        dapr_dashboard:
          enabled: false
        dapr_operator:
          watchInterval: 1m
          resources:
            requests:
              cpu: 100m
              memory: 100Mi
            limits:
              cpu: "1"
              memory: 200Mi
          watchNamespace: $uipath_namespace
          deploymentAnnotations:
            sidecar.istio.io/inject: "false"
        dapr_sidecar_injector:
          allowedServiceAccounts: $uipath_namespace:default
          resources:
            requests:
              cpu: 100m
              memory: 30Mi
            limits:
              cpu: "1"
              memory: 100Mi
          sidecarDropALLCapabilities: true
          deploymentAnnotations:
            sidecar.istio.io/inject: "false"
        dapr_sentry:
          resources:
            requests:
              cpu: 100m
              memory: 30Mi
            limits:
              cpu: "1"
              memory: 100Mi
          deploymentAnnotations:
            sidecar.istio.io/inject: "false"
        dapr_rbac:
          secretReader:
            enabled: false
          createClusterScopedObjects: true
    repoURL: $registry_fqdn
    targetRevision: $dapr_version
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    retry:
      backoff:
        duration: 10s
        factor: 2
        maxDuration: 1m
      limit: 1000
    syncOptions:
    - CreateNamespace=true
    - RespectIgnoreDifferences=true"

Desinstalando o Dapr

Observação:

Você não deve remover esse recurso se o Task Mining estiver habilitado. O Task Mining depende do Dapr.

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