Hello Team,
I am very new with k8s and started exploring it and its quite intresting. I am setting up k8s cluster for our own application and i have setup 3 node cluster (1 Master + 2 Worker node).
I am able to access my application when i am using NodePort Service and its accessible to me.
But i want to use Haproxy ingress controller to access my application. I have setup haproxy ingress controller using the below repo:
But i have used only deploy/haproxy-ingress.yaml
file and write my own ingress file.
Now i am getting below error on haproxy ingress controller pod:
2024/03/22 11:36:51 INFO instance/configuration.go:13 [transactionID=1964c1e3-db81-4138-8bc3-59a944baeb7e] reload required : Runtime update of map file 'sni' failed : error preparing map file: maps dir doesn't exist or not specified. Either use `maps-dir` CLI option or reload HAProxy if map section exists in config file
2024/03/22 11:36:51 INFO instance/configuration.go:13 [transactionID=1964c1e3-db81-4138-8bc3-59a944baeb7e] reload required : Runtime update of map file 'host' failed : error preparing map file: maps dir doesn't exist or not specified. Either use `maps-dir` CLI option or reload HAProxy if map section exists in config file
2024/03/22 11:36:51 INFO instance/configuration.go:13 [transactionID=1964c1e3-db81-4138-8bc3-59a944baeb7e] reload required : Runtime update of map file 'path-exact' failed : error preparing map file: maps dir doesn't exist or not specified. Either use `maps-dir` CLI option or reload HAProxy if map section exists in config file
2024/03/22 11:36:51 INFO instance/configuration.go:13 [transactionID=1964c1e3-db81-4138-8bc3-59a944baeb7e] reload required : Runtime update of map file 'path-prefix' failed : error preparing map file: maps dir doesn't exist or not specified. Either use `maps-dir` CLI option or reload HAProxy if map section exists in config file
Should i clone the repo and need to use with same folder structure?
Please help me and if i able to fix this issue it will help me alot.
Thank You