yangtian9999 commented on issue #130:
URL:
https://github.com/apache/apisix-helm-chart/issues/130#issuecomment-900815929
Hi, @tokers
helm install got error message:
Error: Ingress.extensions "apisix" is invalid:
spec.rules[0].http.paths[0].path: Invalid value:
"map[backend:map[service:map[serviceName:apisix-gateway servicePort:80]] path:/
pathType:Prefix]": must be an absolute path
I tried many times by this:
gateway:
type: NodePort
# If you want to keep the client source IP, you can set this to Local.
# ref:
https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
externalTrafficPolicy: Cluster
# type: LoadBalancer
# annotations:
# service.beta.kubernetes.io/aws-load-balancer-type: nlb
http:
enabled: true
servicePort: 80
containerPort: 9080
tls:
enabled: false
servicePort: 443
containerPort: 9443
http2:
enabled: true
stream: # L4 proxy (TCP/UDP)
enabled: false
tcp: []
udp: []
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: "ag.xx.xx.xx"
paths:
- pathType: Prefix
path: /
backend:
service:
serviceName: apisix-gateway
servicePort: 80
tls: []
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]