Hi,
My requirement : Call my backend service via HAProxy
my configMap for HAProxy
apiVersion: v1
data:
backend-config-snippet: |
mode http
http-request set-header Host restservice.cfapps.eu10.hana.ondemand.com
server server1 restservice.cfapps.eu10.hana.ondemand.com:443 resolvers dnsserver check
timeout connect 5000ms
timeout server 50000ms
frontend-config-snippet: |-
mode http
bind *:8080
maxconn 2000
timeout client 50000
kind: ConfigMap
metadata:
annotations:
meta.helm.sh/release-name: myingress-controller
meta.helm.sh/release-namespace: default
creationTimestamp: ā2023-05-19T05:47:50Zā
labels:
app.kubernetes.io/instance: myingress-controller
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: kubernetes-ingress
app.kubernetes.io/version: 1.10.2
helm.sh/chart: kubernetes-ingress-1.30.5
name: myingress-controller-kubernetes-ingress
namespace: default
resourceVersion: ā416877ā
uid: 9a78aad0-a47d-4f05-b825-58e920478e17
when i make a request using curl -I -H -K http://34.78.236.xxx:8080/home ( where 34.78.236.xxx is load balancer exposed external ip) i always get 404 not found error.
myingress-controller-kubernetes-ingress NodePort 100.106.5.162 80:31075/TCP,443:31898/TCP,1024:31166/TCP 4d1h
myingress-controller-kubernetes-ingress1 LoadBalancer 100.107.156.46 34.78.236.xxx 8080:30794/TCP,8443:31397/TCP,1024:32003/TCP 4d
/home restfull method( GET Request) is exposed on my backend http service (restservice.cfapps.eu10.hana.ondemand.com)
how to fix this issue with configuration?
Best Regards,
Mayur