-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vladimir.Shapkin
authored and
Vladimir.Shapkin
committed
May 30, 2024
1 parent
6161b10
commit 414e853
Showing
8 changed files
with
161 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: Gateway | ||
metadata: | ||
name: req-gateway | ||
spec: | ||
# The selector matches the ingress gateway pod labels. | ||
# If you installed Istio using Helm following the standard documentation, this would be "istio=ingress" | ||
selector: | ||
istio: ingressgateway # use istio default controller | ||
servers: | ||
- port: | ||
number: 8080 | ||
name: http | ||
protocol: HTTP | ||
hosts: | ||
- "*" | ||
--- | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: VirtualService | ||
metadata: | ||
name: req-router | ||
spec: | ||
hosts: | ||
- "*" | ||
gateways: | ||
- req-gateway | ||
http: | ||
- match: | ||
- uri: | ||
prefix: /api/callcount | ||
- uri: | ||
prefix: /api/callping | ||
- uri: | ||
exact: /api/callpinghdr | ||
ignoreUriCase: true | ||
route: | ||
- destination: | ||
host: req-app | ||
port: | ||
number: 8080 | ||
- match: | ||
- uri: | ||
exact: /productpage | ||
- uri: | ||
prefix: /static | ||
- uri: | ||
exact: /login | ||
- uri: | ||
exact: /logout | ||
- uri: | ||
prefix: /api/v1/products | ||
route: | ||
- destination: | ||
host: productpage | ||
port: | ||
number: 9080 | ||
--- |
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
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
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
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
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
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
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