Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

在 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 支持两种帐户类型:

  • 只读帐户
  • 管理员帐户

ArgoCD 只读帐户

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

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

ArgoCD 管理员帐户

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

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

  • 更改参数仅用于调试目的;例如,在 Rancher 中禁用自我修复和编辑 YAML;
  • 删除 Pod;
  • 更新 Kerberos 身份验证
  • 故障排除
  • 管理 Orchestrator 自定义配置;例如,为每个租户设置加密密钥
  • 更新数据库连接字符串
  • 将 Prometheus 指标导出到外部系统
  • 如果还原后 Insights Looker Pod 无法启动: 备份和还原集群
  • 正在同步应用程序。
    Note: Make sure to refer to the proper UiPath® documentation before deleting or changing the advanced configuration on the UI.

访问 ArgoCD

ArgoCD 支持两种身份验证方法:

  • 用户名和密码 – 默认身份验证方法;
  • SSO– 推荐的身份验证方法。 您可以在安装后启用 SSO 身份验证。 有关说明,请参阅 为 ArgoCD 启用 SSO

用户名和密码身份验证

访问 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 管理员帐户,请执行以下步骤:

  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 管理员帐户用于高级方案。 如果不小心使用,它可能会导致对集群的破坏性操作。

SSO 身份验证

要使用 SSO 访问 ArgoCD,请执行以下步骤:

  1. 单击 ArgoCD 登录页面上的 SSO 按钮。
  2. 输入公司域凭据。
  • 概述
  • ArgoCD 帐户类型
  • ArgoCD 只读帐户
  • ArgoCD 管理员帐户
  • 访问 ArgoCD
  • 用户名和密码身份验证
  • SSO 身份验证

此页面是否有帮助?

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