Problem creating ingress for Server #11878
Replies: 3 comments 10 replies
-
I confronted with the same problem (on GKE) and after some extensive research realized that a lot of people struggled with that topic. So I decided to give a try to Gateway API instead (NGINX Gateway Fabric) and after countless of attempts/permutations I still have no working solution on the table, in contrast to ArgoCD, where both Ingress and Gateway API implementations are achievable with ease. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Just deployed Argo Workflows in Kubernetes using argo-workflows helm chart and used regular settings for OAuth2-Proxy ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/proxy-ssl-verify: "off"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
tls:
- hosts:
- ${hostname}
secretName: ${hostname}-tls
hosts:
- ${hostname}
paths: ["/"]
pathType: Prefix And got 502 Bad Gateway after OAuth2-Proxy authentications passed.
Now, all works as expected using HTTPS for backend communication. I would assume that the whole story is started because we expect that Argo Server is listening on # -- Run the argo server in "secure" mode. Configure this value instead of `--secure` in extraArgs.
## See the following documentation for more details on secure mode:
## https://argo-workflows.readthedocs.io/en/stable/tls/
secure: false At the same time, Ingress documentation point us to use
|
Beta Was this translation helpful? Give feedback.
-
I'm using k3d with an nginx ingress controller and trying to setup an ingress for argo workflows.
I applied the ingress below:
When I describe the created ingress I get:
However when I access the location:
https://argo.westie.dev.to/
I get a 502 bad gateway error.
I have several other apps deployed on this cluster with very similar ingress specifications which work perfectly well.
I can access using a port-forward
Any suggestions as to what I'm doing wrong or best way to debug would be most appreciated.
Beta Was this translation helpful? Give feedback.
All reactions