小编Utk*_*rma的帖子

ArgoCD 应用程序陷入同步/终止状态

我们\xe2\x80\x99在生产中面临一个奇怪的问题,其中一个应用程序陷入终止和同步状态。

\n

ArgoCD版本:2.1.7

\n

背景

\n

我们手动终止了应用程序的同步,现在应用程序陷入终止同步状态,并且禁用自动同步按钮也不起作用。

\n

注意:\n使用类似的配置创建一个新应用程序是可行的,但我们想调查当前应用程序卡住的原因。

\n

执行的步骤:

\n
    \n
  • 我们尝试从 UI 和 CLI 禁用自动同步
  • \n
  • 我们尝试终止该应用程序
  • \n
  • 我们尝试同步应用程序
  • \n
\n

已尝试的命令

\n
argocd app terminate-op APPNAME\nargocd app sync APPNAME\nargocd app sync APPNAME --force --prune \n
Run Code Online (Sandbox Code Playgroud)\n

一些日志(不确定这些是否相关):

\n
time="2022-01-07T16:19:36Z" level=debug msg="Failed to apply normalization: error in remove for path: \'/spec/preserveUnknownFields\': Unable to remove nonexistent key: preserveUnknownFields: missing value"\ntime="2022-01-07T16:19:36Z" level=debug msg="Failed to apply normalization: error in remove for path: \'/status\': Unable to remove nonexistent key: …
Run Code Online (Sandbox Code Playgroud)

argo argocd

6
推荐指数
0
解决办法
1万
查看次数

标签 统计

argo ×1

argocd ×1