- Visão geral
- Requisitos
- Pre-installation
- Preparação da instalação
- Installing and configuring the service mesh
- Baixando os pacotes de instalação
- Configuração do registro compatível com OCI
- Granting installation permissions
- Installing and configuring the GitOps tool
- Deploying Redis through OperatorHub
- Applying miscellaneous configurations
- Running uipathctl
- Instalação
- Pós-instalação
- Migração e atualização
- Administração de cluster
- Configuração específica do produto
- Configuração de parâmetros do Orchestrator
- Configuração do AppSettings
- Configuração do tamanho máximo da solicitação
- Substituição da configuração de armazenamento no nível do cluster
- Configuração do NLog
- Salvando logs do robô no Elasticsearch
- Configuração dos repositórios de credenciais
- Configuração da chave de criptografia por tenant
- Limpeza do banco de dados do Orchestrator
- Solução de problemas
Granting installation permissions
Installation permissions are relevant only if you cannot provide admin privileges to the Automation Suite installer. If you can provide the required admin privileges to the installer, you do not need to follow the instructions in this section.
Automation Suite relies on specific permissions during installation. These permissions are assigned to the service account, which plays a pivotal role in installing the various Automation Suite components.
To configure all the permissions required for installation, take the following steps:
To create a service account, take the following steps:
-
Create the
<uipath>
namespace and project:oc get namespace <uipath> || oc new-project <uipath>
oc get namespace <uipath> || oc new-project <uipath> -
Set the default namespace and project to
<uipath>
:oc project <uipath>
oc project <uipath>All subsequentoc
commands will operate within the<uipath>
namespace. -
Create a service account named
uipathadmin
:oc create serviceaccount uipathadmin
oc create serviceaccount uipathadmin -
Use the existing
admin
cluster role to grant admin permissions to theuipathadmin
service account in the<uipath>
namespace:oc create rolebinding uipathadmin --clusterrole=admin --serviceaccount=<uipath>:uipathadmin
oc create rolebinding uipathadmin --clusterrole=admin --serviceaccount=<uipath>:uipathadmin
uipathadmin
service account requires certain permissions during the Automation Suite installation. You provide the necessary permissions
by creating roles. To create each role, save its configuration as a YAML file and run the following command, replacing the
<file_name.yaml>
placeholder with the actual name of the YAML file:oc apply -f <file_name.yaml>
oc apply -f <file_name.yaml>
You can create the YAML file for each role by copying its corresponding configuration from the following table:
Permissões |
Finalidade |
Configuração |
---|---|---|
Query the namespace [read-only] |
Required to check whether the namespaces, such as the
<istio-system> namespace, are available or not.
|
|
List nodes and CRDs [read-only] |
The prerequisite check and diagnostic health check tool require this permission to perform the node validations, such as the capacity available on the node. |
|
uipath roles [write]
|
Most of the Automation Suite installation is performed via ArgoCD; however, the installation of some components is performed via Helm chart. The
uipathctl tool runs an installation job that executes the installation of the Helm chart. Connecting to the kube-api-server and installing the Helm chart in the <uipath> namespace require a namespace-level role-creator role.
|
|
<istio-system> roles [write]
Observação:
Provide these permissions only if you want the installer to configure the WASM plugin. Otherwise, do not provide the permissions. |
The following operations are performed in the
<istio-system> namespace:
|
|
<istio-system> roles [read-only]
Observação:
Provide these permissions if you have already configured Istio and installed the WASM plugin. |
The following operations are performed in the
<istio-system> namespace:
|
|
uipathadmin
service account, by running the following commands:oc project <istio-system>
oc create rolebinding istio-system-automationsuite-rolebinding \
--role=istio-system-automationsuite-role --serviceaccount=<uipath>:uipathadmin
oc create rolebinding namespace-reader-rolebinding \
--clusterrole=namespace-reader-clusterrole --serviceaccount=<uipath>:uipathadmin
oc project <uipath>
oc create clusterrolebinding list-nodes-and-crd-rolebinding \
--clusterrole=list-nodes-and-crd-clusterrole --serviceaccount=<uipath>:uipathadmin
oc create rolebinding uipath-automationsuite-rolebinding \
--role=uipath-automationsuite-role --serviceaccount=<uipath>:uipathadmin
## This step is needed only if you want installer to configure the WASM Plugin. Otherwise skip it.
oc -n <istio-system> create rolebinding uipadmin-istio-system \
--clusterrole=admin --serviceaccount=<uipath>:uipathadmin
oc project <istio-system>
oc create rolebinding istio-system-automationsuite-rolebinding \
--role=istio-system-automationsuite-role --serviceaccount=<uipath>:uipathadmin
oc create rolebinding namespace-reader-rolebinding \
--clusterrole=namespace-reader-clusterrole --serviceaccount=<uipath>:uipathadmin
oc project <uipath>
oc create clusterrolebinding list-nodes-and-crd-rolebinding \
--clusterrole=list-nodes-and-crd-clusterrole --serviceaccount=<uipath>:uipathadmin
oc create rolebinding uipath-automationsuite-rolebinding \
--role=uipath-automationsuite-role --serviceaccount=<uipath>:uipathadmin
## This step is needed only if you want installer to configure the WASM Plugin. Otherwise skip it.
oc -n <istio-system> create rolebinding uipadmin-istio-system \
--clusterrole=admin --serviceaccount=<uipath>:uipathadmin
kubeconfig
file to pass to the uipathctl
tool for the installation.
kubeconfig
file on Linux or Mac, run the following commands:# For generating kubeconfig
# Creates the token for uipathadmin service account
token=$(oc -n <uipath> create token uipathadmin --duration=8760h)
# Getting api-server details
server=$(oc config view -o jsonpath="{.clusters[]..server}")
# Login logs on using the provided token and server and outputs kubeconfig at the provided path.
oc login --server=$server --token=$token --kubeconfig=uipathadminkubeconfig --insecure-skip-tls-verify=true
# For generating kubeconfig
# Creates the token for uipathadmin service account
token=$(oc -n <uipath> create token uipathadmin --duration=8760h)
# Getting api-server details
server=$(oc config view -o jsonpath="{.clusters[]..server}")
# Login logs on using the provided token and server and outputs kubeconfig at the provided path.
oc login --server=$server --token=$token --kubeconfig=uipathadminkubeconfig --insecure-skip-tls-verify=true
kubeconfig
file named uipathadminkubeconfig
.
# For generating kubeconfig
# Creates the token for uipathadmin service account
$token = oc -n <uipath> create token uipathadmin --duration=8760h
# Getting api-server details
$server = oc config view -o jsonpath="{.clusters[]..server}"
# Login logs on using the provided token and server and outputs kubeconfig at the provided path.
oc login --server=$server --token=$token --kubeconfig=uipathadminkubeconfig --insecure-skip-tls-verify=true
# For generating kubeconfig
# Creates the token for uipathadmin service account
$token = oc -n <uipath> create token uipathadmin --duration=8760h
# Getting api-server details
$server = oc config view -o jsonpath="{.clusters[]..server}"
# Login logs on using the provided token and server and outputs kubeconfig at the provided path.
oc login --server=$server --token=$token --kubeconfig=uipathadminkubeconfig --insecure-skip-tls-verify=true
kubeconfig
file named uipathadminkubeconfig
in the temp
folder.