I am getting an error `No matching service found f...
# kubernetes
b
I am getting an error
No matching service found for ingress rule: "freepbx.taskrouter.dev.internal/" -> ""
and can't understand why the service name is empty, the service is present and everything works fine besides this pulumi check which leads to a failed deployment
Copy code
spec:
  rules:
  - host: freepbx.taskrouter.dev.internal
    http:
      paths:
      - backend:
          serviceName: freepbx
          servicePort: 80
        path: /
        pathType: ImplementationSpecific
b
Is the ingress and service in the same namespace
b
yes, they are
could it have something to do with the service having many ports?
Copy code
NAME      TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      AGE
freepbx   ClusterIP   172.20.33.151   <none>        80/TCP,5038/TCP,5066/UDP,12000/UDP,12001/UDP,12002/UDP,12003/UDP,12004/UDP,12005/UDP,12006/UDP,12007/UDP,12008/UDP,12009/UDP,12010/UDP,12011/UDP,12012/UDP,12013/UDP,12014/UDP,12015/UDP,12016/UDP,12017/UDP,12018/UDP,12019/UDP,12020/UDP,12021/UDP,12022/UDP,12023/UDP,12024/UDP,12025/UDP,12026/UDP,12027/UDP,12028/UDP,12029/UDP,12030/UDP,12031/UDP,12032/UDP,12033/UDP,12034/UDP,12035/UDP,12036/UDP,12037/UDP,12038/UDP,12039/UDP,12040/UDP,12041/UDP,12042/UDP,12043/UDP,12044/UDP,12045/UDP,12046/UDP,12047/UDP,12048/UDP,12049/UDP,12050/UDP,12051/UDP,12052/UDP,12053/UDP,12054/UDP,12055/UDP,12056/UDP,12057/UDP,12058/UDP,12059/UDP,12060/UDP,12061/UDP,12062/UDP,12063/UDP,12064/UDP,12065/UDP,12066/UDP,12067/UDP,12068/UDP,12069/UDP,12070/UDP,12071/UDP,12072/UDP,12073/UDP,12074/UDP,12075/UDP,12076/UDP,12077/UDP,12078/UDP,12079/UDP,12080/UDP,12081/UDP,12082/UDP,12083/UDP,12084/UDP,12085/UDP,12086/UDP,12087/UDP,12088/UDP,12089/UDP,12090/UDP,12091/UDP,12092/UDP,12093/UDP,12094/UDP,12095/UDP,12096/UDP,12097/UDP,12098/UDP,12099/UDP,12100/UDP   64m