But we are getting status code 404 while accessing the API.
Implemented below steps:
- Pointed domain URL to istio load balancer external IP.
- Applyed a VirtualService that maps its route destinations to istio-ingressgateway.istio-system.svc.cluster.local
Yaml file :
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: entry-route
namespace: vulcan
spec:
# gateways:
# - istio-ingressgateway.istio-system.svc.cluster.local
hosts:
- ktest.xxx.com
http:
- match:
- uri:
prefix: "/atlas/*"
rewrite:
authority: k-atlas-service.vulcan.xxx.com
route:
- destination:
host: istio-ingressgateway.istio-system.svc.cluster.local
weight: 100