Open dove-young opened 2 months ago
This seems the same as #18696
Tagging @sabre1041 @ishitasequeira and @jannfis for completeness. I think the prefered way to install Argo CD is to use the Argo CD Operator
It seems like you need to create the secrets first. What worked for me is:
echo -n 'SillytestPass' | base64
kubectl create secret generic argocd-redis -n argocd --from-literal=auth=<output of above>
Same issue or me here (v2.11.3, v2.12.0) during upgrade. The workaround with the secret fix "CreateContainerConfigError", but than got( register in v2.7.18 -->) "Error: unknown command "/usr/local/bin/argocd-server" for "argocd-server"" - https://github.com/argoproj/argo-cd/issues/17090.
Try to check argocd-redis
deployment replicaset. I had the event 0 nodes are available: didn't match anti-affinity rules
.
Look into install.yaml manifest for "redis-initial-password" and find that argocd-redis secret should be creating by init container from argocd-redis deployment pod.
I use the ha install, in my case the deployment name is argocd-redis-ha-haproxy
. My test cluster has only 3 worker nodes and all 3 nodes had pods of argocd-redis-ha-haproxy.
Workaround for me: delete one by one old pods and wait for running new pods from new replicaset.
Checklist:
argocd version
.Describe the bug
I got multiple pods in
CreateContainerConfigError
status after install via instruction here https://argo-cd.readthedocs.io/en/stable/getting_started/I described pod
argocd-repo-server
it saidError: secret "argocd-redis" not found
I described pod
argocd-dex-server
, it saidBack-off restarting
Then I checked log from it, and it said
I described pod
argocd-server
, it saidError: secret "argocd-redis" not found
I checked log from it, it said
To Reproduce
on OCP 4.15.18, install argocd on instruction right here https://argo-cd.readthedocs.io/en/stable/getting_started/
Expected behavior
Screenshots
Version
Logs