AWS Redis & argocdCLI - cannot find pod with selector #17118
Replies: 3 comments 1 reply
-
The error is coming from kube port forwarder, which appears to expect to find redis pod (and port forward to it) within the namespace. It looks as if It may be worth setting Line 139 in 7e80f1e |
Beta Was this translation helpful? Give feedback.
-
@badsector3 Could you please share more details of your ElastiCache setup? Is it a multi node replication group with clustermode off? |
Beta Was this translation helpful? Give feedback.
-
Hi guys, what's up? argocd cluster add gke_cluster \ ─╯
--name dev-bigdata \
--upsert --yes \
{"level":"info","msg":"ServiceAccount \"argocd-manager\" already exists in namespace \"kube-system\"","time":"2025-09-04T09:44:50-03:00"}
{"level":"info","msg":"ClusterRole \"argocd-manager-role\" updated","time":"2025-09-04T09:44:51-03:00"}
{"level":"info","msg":"ClusterRoleBinding \"argocd-manager-role-binding\" updated","time":"2025-09-04T09:44:51-03:00"}
{"level":"info","msg":"Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.","time":"2025-09-04T09:44:55-03:00"}
{"grpc.code":"Unknown","grpc.component":"server","grpc.error":"error setting cluster info in cache: cannot find ready pod with selector: [app.kubernetes.io/name=argocd-redis-ha-haproxy app.kubernetes.io/name=argocd-redis] - use the --{component}-name flag in this command or set the environmental variable (Refer to https://argo-cd.readthedocs.io/en/stable/user-guide/environment-variables), to change the Argo CD component name in the CLI","grpc.method":"Create","grpc.method_type":"unary","grpc.service":"cluster.ClusterService","grpc.start_time":"2025-09-04T09:44:54-03:00","grpc.time_ms":"1003.604","level":"error","msg":"finished call","peer.address":"127.0.0.1:43412","protocol":"grpc","time":"2025-09-04T09:44:55-03:00"}
{"level":"fatal","msg":"rpc error: code = Unknown desc = error setting cluster info in cache: cannot find ready pod with selector: [app.kubernetes.io/name=argocd-redis-ha-haproxy app.kubernetes.io/name=argocd-redis] - use the --{component}-name flag in this command or set the environmental variable (Refer to https://argo-cd.readthedocs.io/en/stable/user-guide/environment-variables), to change the Argo CD component name in the CLI","time":"2025-09-04T09:44:55-03:00"} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I couldn't find an answer, so maybe someone had similar issue and knows the solution.
I use ArgoCD with redis deployed on AWS Elasticache.
Some of the commands triggered via argoCD CLI gives the following error:
I understand that there is a label missing on the redis pod, but my redis is external - is there a solution?
Beta Was this translation helpful? Give feedback.
All reactions