I am trying to setup a AWS ALB Ingress on EKS. But the Argo UI is not working. But the port forwarding is working fine.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
alb.ingress.kubernetes.io/healthcheck-path: /
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}]'
alb.ingress.kubernetes.io/scheme: internal
kubernetes.io/ingress.class: alb
name: admin-ns-endpoints
namespace: admin
spec:
rules:
- host: argo-nonprod.sample.com
http:
paths:
- backend:
serviceName: argo-server
servicePort: 2746
path: /*
status:
loadBalancer:
ingress:
- hostname: xxxxxxx.ap-south-1.elb.amazonaws.com
Getting 404 when accessing the endpoint.
apiVersion: apps/v1
kind: Deployment
metadata:
name: argo-server
namespace: admin
spec:
replicas: 1
template:
spec:
containers:
- args:
- server
- --configmap=argo-workflow-controller-configmap
env:
- name: BASE_HREF
value: /
- name: IN_CLUSTER
value: "true"
- name: ARGO_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: argoproj/argocli:v2.9.3
imagePullPolicy: Always
name: argo-server
ports:
- containerPort: 2746
name: web
protocol: TCP
I used helm chart to deploy the chart.
I tried changing different values from in the ingress file but I am not successful.
Could you try removing spec.rules.http.host? Aside, this works for us: