apiVersion: gateway.networking.k8s.io/v1alpha2 | |
kind: Gateway | |
metadata: | |
name: gateway | |
namespace: dubbo-system | |
spec: | |
gatewayClassName: istio | |
listeners: | |
- name: default | |
port: 80 | |
protocol: HTTP | |
allowedRoutes: | |
namespaces: | |
from: All | |
--- | |
apiVersion: gateway.networking.k8s.io/v1alpha2 | |
kind: HTTPRoute | |
metadata: | |
name: http | |
namespace: default | |
spec: | |
parentRefs: | |
- name: gateway | |
namespace: dubbo-system | |
rules: | |
- | |
backendRefs: | |
- kind: Hostname | |
group: networking.istio.io | |
name: google.com | |
port: 80 | |
--- |