Checklist:
Describe the bug
When an Application deploys a pod that has restartPolicy: Never, the Application gets stuck with health "Progressing" seemingly forever.
To Reproduce
Apply this manifest:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
finalizers:
- resources-finalizer.argocd.argoproj.io
name: debug
namespace: argocd
spec:
destination:
server: https://kubernetes.default.svc
namespace: default
source:
path: manifests
repoURL: https://github.com/lindhe/debug-argocd-15317.git
That app installs just this seemingly innocuous pod:
apiVersion: v1
kind: Pod
metadata:
name: foo
spec:
containers:
- image: busybox
command: ['sh', '-c', 'sleep 3600']
name: bar
restartPolicy: Never
Expected behavior
The application health should soon become "Healthy".
Screenshots
Version
argocd: v2.7.9+0ee33e5
BuildDate: 2023-07-24T18:26:12Z
GitCommit: 0ee33e52dd1f1bb944488584fc6f854b929f1180
GitTreeState: clean
GoVersion: go1.19.11
Compiler: gc
Platform: linux/amd64
WARN[0000] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web.
argocd-server: v2.8.0+804d4b8
Logs
No relevant logs that I've found.
Other information
Similar to #5620 and some other issues found by searching for "health progressing".
I'm running an RKE2 cluster with version v1.26.6+rke2r1 and Cilium 1.13.2 installed.
Checklist:
argocd version.Describe the bug
When an Application deploys a pod that has
restartPolicy: Never, the Application gets stuck with health "Progressing" seemingly forever.To Reproduce
Apply this manifest:
That app installs just this seemingly innocuous pod:
Expected behavior
The application health should soon become "Healthy".
Screenshots
Version
argocd: v2.7.9+0ee33e5 BuildDate: 2023-07-24T18:26:12Z GitCommit: 0ee33e52dd1f1bb944488584fc6f854b929f1180 GitTreeState: clean GoVersion: go1.19.11 Compiler: gc Platform: linux/amd64 WARN[0000] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web. argocd-server: v2.8.0+804d4b8Logs
No relevant logs that I've found.
Other information
Similar to #5620 and some other issues found by searching for "health progressing".
I'm running an RKE2 cluster with version
v1.26.6+rke2r1and Cilium1.13.2installed.