mirror of
https://github.com/alibaba/higress.git
synced 2026-05-24 04:37:25 +08:00
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
apiVersion: networking.istio.io/v1alpha3
|
|
kind: Gateway
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/gateway-semantics: gateway
|
|
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
|
|
internal.istio.io/parents: Gateway/gateway/simple.higress-system
|
|
internal.istio.io/service-account-name: ""
|
|
name: gateway-istio-autogenerated-k8s-gateway-simple
|
|
namespace: higress-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/backend-allowed-ip.higress-system
|
|
internal.istio.io/route-semantics: gateway
|
|
name: higress-system~gateway-istio-autogenerated-k8s-gateway-simple~simple.domain.example
|
|
namespace: higress-system
|
|
spec:
|
|
gateways:
|
|
- higress-system/gateway-istio-autogenerated-k8s-gateway-simple
|
|
hosts:
|
|
- simple.domain.example
|
|
http:
|
|
- name: backend-allowed-ip
|
|
route:
|
|
- destination: {}
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/parents: HTTPRoute/backend-not-allowed-ip.higress-system
|
|
internal.istio.io/route-semantics: gateway
|
|
name: higress-system~gateway-istio-autogenerated-k8s-gateway-simple~simple2.domain.example
|
|
namespace: higress-system
|
|
spec:
|
|
gateways:
|
|
- higress-system/gateway-istio-autogenerated-k8s-gateway-simple
|
|
hosts:
|
|
- simple2.domain.example
|
|
http:
|
|
- name: backend-not-allowed-ip
|
|
route:
|
|
- destination: {}
|
|
weight: 1
|
|
- destination: {}
|
|
weight: 1
|
|
---
|