mirror of
https://github.com/alibaba/higress.git
synced 2026-05-25 05:07:26 +08:00
61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
apiVersion: networking.istio.io/v1alpha3
|
|
kind: Gateway
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/gateway-semantics: gateway
|
|
internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
|
|
internal.istio.io/parents: Gateway/gateway/default.istio-system
|
|
name: gateway-istio-autogenerated-k8s-gateway-default
|
|
namespace: istio-system
|
|
spec:
|
|
servers:
|
|
- hosts:
|
|
- '*/*.domain.example'
|
|
port:
|
|
name: default
|
|
number: 80
|
|
protocol: HTTP
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/parents: HTTPRoute/mixed-parent-ref-validity.default
|
|
internal.istio.io/route-semantics: gateway
|
|
name: default~google.com
|
|
namespace: default
|
|
spec:
|
|
gateways:
|
|
- mesh
|
|
hosts:
|
|
- google.com
|
|
http:
|
|
- name: default/mixed-parent-ref-validity
|
|
route:
|
|
- destination:
|
|
host: httpbin.default.svc.domain.suffix
|
|
port:
|
|
number: 80
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/parents: HTTPRoute/mixed-parent-ref-validity.default
|
|
internal.istio.io/route-semantics: gateway
|
|
name: istio-system~gateway-istio-autogenerated-k8s-gateway-default~*
|
|
namespace: default
|
|
spec:
|
|
gateways:
|
|
- istio-system/gateway-istio-autogenerated-k8s-gateway-default
|
|
hosts:
|
|
- '*'
|
|
http:
|
|
- name: default/mixed-parent-ref-validity
|
|
route:
|
|
- destination:
|
|
host: httpbin.default.svc.domain.suffix
|
|
port:
|
|
number: 80
|
|
---
|