Open SergeiCherevko opened 1 month ago
This seems to be a configuration error with your Ingress resource. There are many ingresses, and you need to configure argo to use the one for your infrastructure. Some ingresses configuration will take time to propagate, and features such as https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.1/deploy/pod_readiness_gate/ need to be enabled to mitigate it. Since you are getting an inconsistent behavior and it sometimes work, look at the ingress provisioned in your infrastructure's health check. it is likely that if the ingress does not have any healthy pods available, it returns a 502.
Describe the bug
When I run:
I receive the following error:
To Reproduce
According to this documentation, I use the following manifests to deploy Argo CD in a GKE cluster.
First step
Then apply
I receive the load balancer IP address, which correctly points to the Argo CD domain (see the screenshot). When I try to forward the port directly from the service, I can access the Argo CD web page on localhost, and everything works fine. Therefore, the problem seems to be with ingress or load balancing.
Additionally, sometimes everything works correctly. However, when I delete the GKE cluster and create a new identical one, I encounter issues with Argo CD and receive the 502 error. It appears that it either works (if you're lucky) or nothing functions correctly.
When i restart argocd-server pod from ReplicaSet, everything is fixing!!
Expected behavior
I expect to see the Argo CD main page with the login field without restarting argocd-server ReplicaSet
Screenshots With problems
Logs If you need additional logs, please let me know where I can find them.