adamant-kite-43734
06/07/2023, 3:13 AMpolite-ocean-96458
06/07/2023, 3:51 AMpolite-ocean-96458
06/07/2023, 3:51 AMstale-painting-80203
06/07/2023, 3:53 AMstale-painting-80203
06/07/2023, 3:55 AMstale-painting-80203
06/07/2023, 4:25 AMapiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
name: webapp
namespace: bare
spec:
rules:
- host: webapp10165.senode.dev
http:
paths:
- path: /cam1
backend:
service:
name: inference-service-1
port:
number: 5000
pathType: ImplementationSpecific
- path: /cam2
backend:
service:
name: inference-service-2
port:
number: 5000
pathType: ImplementationSpecific
tls:
- hosts:
- sgs-wrk1
- sgs-wrk2
secretName: tls-sec
If I set the path to "/" then I can reach one of the services, but if I want to reach either then I need to set specific paths and get a "404 Not Found"stale-painting-80203
06/07/2023, 4:28 AM172.16.1.20 - - [07/Jun/2023:04:26:25 +0000] "GET /cam1 HTTP/2.0" 404 13 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" 453 0.004 [bare-inference-service-1-5000] [] 10.42.172.79:5000 13 0.004 404 fe509cad820cc46f6e67a4293ff901e2
green-rain-9522
06/07/2023, 1:26 PMstale-painting-80203
06/07/2023, 1:34 PM