This is my VS
```apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: pulp-vs
namespace: pulp
spec:
gateways:
- istio-system/istiogateway
hosts:
- artifacts.314ecorp.tech
http:
- match:
- uri:
prefix: /pulp/content/
- uri:
prefix: /pulp/container/
route:
- destination:
host: pulp-content-svc
port:
number: 24816
- match:
- uri:
prefix: /token/
route:
- destination:
host: pulp-api-svc
port:
number: 24817
- match:
- uri:
prefix: /pulp/api/v3/
route:
- destination:
host: pulp-api-svc
port:
number: 24817
- match:
- uri:
prefix: /auth/login/
route:
- destination:
host: pulp-api-svc
port:
number: 24817
- match:
- uri:
prefix: /pulp_ansible/galaxy/
route:
- destination:
host: pulp-api-svc
port:
number: 24817
- match:
- uri:
prefix: /v2/
route:
- destination:
host: pulp-api-svc
port:
number: 24817
- match:
- uri:
prefix: /extensions/v2/
route:
- destination:
host: pulp-api-svc
port:
number: 24817
- match:
- uri:
prefix: /pypi/
route:
- destination:
host: pulp-api-svc
port:
number: 24817
- match:
- uri:
prefix: /
route:
- destination:
host: pulp-api-svc
port:
number: 24817
基于这个Ingress转换
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: pulp
spec:
rules:
- http:
paths:
- backend:
service:
name: pulp-content-svc
port:
name: content-24816
path: /pulp/content/
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /pulp/api/v3/
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /auth/login/
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /pulp_ansible/galaxy/
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /v2/
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /extensions/v2/
pathType: Prefix
- backend:
service:
name: pulp-content-svc
port:
name: content-24816
path: /pulp/container/
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /token/
pathType: Prefix
- backend:
service:
name: pulp-api-svc
port:
name: api-24817
path: /pypi/
pathType: Prefix```