Automation Suite
2022.4
False
横幅背景图像
Automation Suite 安装指南
上次更新日期 2024年4月24日

在 ArgoCD 中管理集群

概述

ArgoCD is a declarative, GitOps continuous delivery tool for Kubernetes. It is designed as a Kubernetes controller that continuously monitors UiPath® running applications and checks the current state against the desired target state as specified in the docker registry. For more details, see ArgoCD documentation.

管理员可以通过简单的用户界面或 CLI 概览集群、配置、应用程序状态和运行状况。 ArgoCD 附带自己的开源捆绑 Redis,该 Redis 支持 HA 和非 HA 配置。

Automation Suite 在以下场景中使用 ArgoCD:

  • Installing and upgrading the Fabric components and core UiPath® services.
  • 在指定目标环境中自动部署所需的应用程序状态。 ArgoCD 遵循 GitOps 模式,即使用 Git/helm 存储库作为定义所需应用程序状态的事实来源。
  • 跟踪安装状态。 如果安装在特定点失败,并且您在一段时间后继续安装,则 ArgoCD 将跳过已同步的所有步骤,并从失败点继续。
  • 对应用程序进行自我修复。 如果您错误地删除了任何对象,则清单将自动同步。

使用 ArgoCD 只读帐户

您可以在以下 基本场景中使用 ArgoCD 只读帐户:

  • 在一个简单的界面中可视化所有应用程序、Pod 和服务;
  • 监控所有应用程序、Pod 和服务的运行状况;
  • 快速识别部署中的问题;
  • 正在重新同步集群中的应用程序。

访问 ArgoCD 只读帐户

要访问 ArgoCD 只读帐户,请执行以下步骤:

  1. 访问以下 URL: https://alm.${CONFIG_CLUSTER_FQDN}
  2. 输入以下用户名: argocdro
  3. 通过运行以下命令来访问您的密码:
    kubectl get secrets/argocd-user-password -n argocd \
    -o "jsonpath={.data['password']}" | echo $(base64 -d)kubectl get secrets/argocd-user-password -n argocd \
    -o "jsonpath={.data['password']}" | echo $(base64 -d)
  4. 输入您的密码。
    重要提示: 只读帐户可以同步默认情况下提供 强制 同步或 同步替换选项的应用程序。 这可能会清除命名空间并删除资源。 强烈建议不要使用 同步强制同步替换


使用 ArgoCD 管理员帐户

重要提示: 不得修改本节中列出的设置或参数以外的任何其他设置或参数。

您可以在以下高级场景中使用 ArgoCD 管理员帐户:

  • 仅出于调试目的更改参数;例如,在 Rancher 中禁用自我修复和编辑 YAML;
  • 删除 Pod;
  • 更新 Kerberos 身份验证
  • 故障排除
  • 管理 Orchestrator 自定义配置;例如,为 每个租户设置加密密钥
  • ;
  • 预迁移步骤
  • 将 Prometheus 指标导出到外部系统: 使用监控堆栈
  • 如果还原后 Insights Looker Pod 无法启动: 备份和还原集群
  • 正在同步应用程序。
    注意: 在删除或更改用户界面上的高级配置之前,请务必参阅相应的 UiPath 文档。

访问 ArgoCD 管理员帐户

要访问 ArgoCD 管理员帐户,请执行以下步骤:

  1. 访问以下 URL: https://alm.${CONFIG_CLUSTER_FQDN}
  2. 输入以下用户名:“admin”。
  3. 通过运行以下命令来访问密码:
    kubectl get secrets/argocd-admin-password -n argocd \
    -o "jsonpath={.data['password']}" | echo $(base64 -d)kubectl get secrets/argocd-admin-password -n argocd \
    -o "jsonpath={.data['password']}" | echo $(base64 -d)
  4. 输入您的密码。
    重要提示: 您必须仅将 ArgoCD 管理员帐户用于高级方案。 如果不小心使用,它可能会导致对集群的破坏性操作。
  • 概述
  • 使用 ArgoCD 只读帐户
  • 访问 ArgoCD 只读帐户
  • 使用 ArgoCD 管理员帐户
  • 访问 ArgoCD 管理员帐户

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.