我试图在EKS上设置一个AWS ALB入口。但是Argo UI不工作。但是端口转发工作正常。
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
访问终结点时获得404。
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
我用舵图来展开海图。
我尝试在入口文件中更改不同的值,但没有成功。
3条答案
按热度按时间6yt4nkrj1#
你能试着删除www.example.com吗spec.rules.http.host??
jtoj6r0c2#
你可以试试
我的完整配置是:
e4yzc0pl3#
To achieve this you need to do below steps
Step1: Configure below argogrpc service.
https://raw.githubusercontent.com/naguait85/argocd_helm-1/master/argocd-install/argogrpc.yaml
Step2: Configure ingress using below ingress in argocd. change the hostname and certificate arn from aws public certificate.
https://raw.githubusercontent.com/naguait85/argocd_helm-1/master/argocd-install/ingress.yaml