【问题标题】:Issue adding new deployment cluster using ArgoCD CLI使用 ArgoCD CLI 添加新部署集群的问题
【发布时间】:2021-07-23 11:52:17
【问题描述】:

我正在尝试使用ArgoCD CLI 将新的部署集群添加到ArgoCD。我已经合并了两个kube-config 文件并设置current-context 指向部署集群名称。

使用argocd login <node-ip>:<node-port>,我成功登录服务器。

当我执行命令argocd cluster add <deployment-cluster-name>时,它给出了以下错误:

INFO[0000] ServiceAccount "argocd-manager" already exists in namespace "kube-system"
INFO[0000] ClusterRole "argocd-manager-role" updated
INFO[0000] ClusterRoleBinding "argocd-manager-role-binding" updated
FATA[0030] rpc error: code = Unknown desc = Get "https://<deployment-cluster-name>:6443/version?timeout=32s": dial tcp: i/o timeout

【问题讨论】:

    标签: kubernetes argocd


    【解决方案1】:

    &lt;deployment-cluster-name&gt; 是您要添加的集群名称,您需要将 &lt;deployment-cluster-name&gt; 替换为您的集群名称

    【讨论】:

      猜你喜欢
      • 2023-04-07
      • 2022-06-10
      • 1970-01-01
      • 2019-08-04
      • 2019-12-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多