Skip to content

Instantly share code, notes, and snippets.

@Neutrollized
Created February 28, 2023 00:47
Show Gist options
  • Save Neutrollized/c393eed32397f1a49e484ea8f5d490ac to your computer and use it in GitHub Desktop.
Save Neutrollized/c393eed32397f1a49e484ea8f5d490ac to your computer and use it in GitHub Desktop.
Medium: Getting started with Anthos Service Mesh for GKE
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