Created
June 14, 2023 13:00
-
-
Save alevz257/887a3a00918dc3dec6c8ac8f26a77d64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Gateway | |
apiVersion: gateway.networking.k8s.io/v1beta1 | |
metadata: | |
name: ilb-boa-test | |
spec: | |
gatewayClassName: gke-l7-rilb | |
listeners: | |
- name: http | |
protocol: HTTP | |
port: 80 | |
allowedRoutes: | |
namespaces: | |
from: All | |
--- | |
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: HTTPRoute | |
metadata: | |
name: my-route-svc | |
spec: | |
parentRefs: | |
- name: ilb-boa-test | |
kind: Gateway | |
hostnames: | |
- ledgerwriter.crun.boa | |
rules: | |
- backendRefs: | |
- name: ledgerwriter | |
port: 8080 | |
--- | |
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: HTTPRoute | |
metadata: | |
name: my-route-svc-user | |
spec: | |
parentRefs: | |
- name: ilb-boa-test | |
kind: Gateway | |
hostnames: | |
- userservice.crun.boa | |
rules: | |
- backendRefs: | |
- name: userservice | |
port: 8080 | |
--- | |
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: HTTPRoute | |
metadata: | |
name: my-route-svc-transaction | |
spec: | |
parentRefs: | |
- name: ilb-boa-test | |
kind: Gateway | |
hostnames: | |
- transactionhistory.crun.boa | |
rules: | |
- backendRefs: | |
- name: transactionhistory | |
port: 8080 | |
--- | |
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: HTTPRoute | |
metadata: | |
name: my-route-svc-contacts | |
spec: | |
parentRefs: | |
- name: ilb-boa-test | |
kind: Gateway | |
hostnames: | |
- contacts.crun.boa | |
rules: | |
- backendRefs: | |
- name: contacts | |
port: 8080 | |
--- | |
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: HTTPRoute | |
metadata: | |
name: my-route-svc-balancereader | |
spec: | |
parentRefs: | |
- name: ilb-boa-test | |
kind: Gateway | |
hostnames: | |
- balancereader.crun.boa | |
rules: | |
- backendRefs: | |
- name: balancereader | |
port: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment