mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 12:07:26 +08:00
111 lines
2.6 KiB
Plaintext
111 lines
2.6 KiB
Plaintext
apiVersion: networking.istio.io/v1alpha3
|
|
kind: Gateway
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
|
|
internal.istio.io/parents: Gateway/gateway/http.higress-system
|
|
creationTimestamp: null
|
|
name: gateway-istio-autogenerated-k8s-gateway-http
|
|
namespace: higress-system
|
|
spec:
|
|
servers:
|
|
- hosts:
|
|
- '*/*.domain.example'
|
|
port:
|
|
name: default
|
|
number: 80
|
|
protocol: HTTP
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: Gateway
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
|
|
internal.istio.io/parents: Gateway/gateway/tcp.higress-system
|
|
creationTimestamp: null
|
|
name: gateway-istio-autogenerated-k8s-gateway-tcp
|
|
namespace: higress-system
|
|
spec:
|
|
servers:
|
|
- hosts:
|
|
- '*/*'
|
|
port:
|
|
name: default
|
|
number: 34000
|
|
protocol: TCP
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/parents: HTTPRoute/http.default
|
|
internal.istio.io/route-semantics: gateway
|
|
creationTimestamp: null
|
|
name: http-0-istio-autogenerated-k8s-gateway
|
|
namespace: default
|
|
spec:
|
|
gateways:
|
|
- higress-system/gateway-istio-autogenerated-k8s-gateway-http
|
|
hosts:
|
|
- first.domain.example
|
|
http:
|
|
- match:
|
|
- uri:
|
|
prefix: /weighted-100
|
|
name: default/http
|
|
route:
|
|
- destination:
|
|
host: foo-svc.default.svc.domain.suffix
|
|
port:
|
|
number: 8000
|
|
headers:
|
|
request:
|
|
add:
|
|
foo: bar
|
|
response:
|
|
add:
|
|
response: header
|
|
- match:
|
|
- uri:
|
|
prefix: /get
|
|
name: default/http
|
|
route:
|
|
- destination:
|
|
host: httpbin.default.svc.domain.suffix
|
|
port:
|
|
number: 80
|
|
weight: 2
|
|
- destination:
|
|
host: httpbin-other.default.svc.domain.suffix
|
|
port:
|
|
number: 8080
|
|
weight: 3
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/parents: TCPRoute/tcp.default
|
|
internal.istio.io/route-semantics: gateway
|
|
creationTimestamp: null
|
|
name: tcp-tcp-istio-autogenerated-k8s-gateway
|
|
namespace: default
|
|
spec:
|
|
gateways:
|
|
- higress-system/gateway-istio-autogenerated-k8s-gateway-tcp
|
|
hosts:
|
|
- '*'
|
|
tcp:
|
|
- route:
|
|
- destination:
|
|
host: httpbin.default.svc.domain.suffix
|
|
port:
|
|
number: 9090
|
|
weight: 1
|
|
- destination:
|
|
host: httpbin-alt.default.svc.domain.suffix
|
|
port:
|
|
number: 9090
|
|
weight: 2
|
|
---
|