Created
February 28, 2023 00:47
-
-
Save Neutrollized/c393eed32397f1a49e484ea8f5d490ac to your computer and use it in GitHub Desktop.
Medium: Getting started with Anthos Service Mesh for GKE
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
apiVersion: networking.istio.io/v1beta1 | |
kind: Gateway | |
metadata: | |
name: productpage-gateway | |
namespace: bookinfo | |
spec: | |
selector: | |
istio: ingressgateway | |
servers: | |
- port: | |
number: 80 | |
name: http | |
protocol: HTTP | |
hosts: | |
- "*" | |
--- | |
apiVersion: networking.istio.io/v1beta1 | |
kind: VirtualService | |
metadata: | |
name: productpage-vs | |
namespace: bookinfo | |
spec: | |
hosts: | |
- "*" | |
gateways: | |
- productpage-gateway | |
http: | |
- route: | |
- destination: | |
host: productpage | |
port: | |
number: 9080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment