Skip to content

Instantly share code, notes, and snippets.

@Neutrollized
Last active June 4, 2022 00:57
Show Gist options
  • Select an option

  • Save Neutrollized/9e369996a28b0d21239679ee89d7cea9 to your computer and use it in GitHub Desktop.

Select an option

Save Neutrollized/9e369996a28b0d21239679ee89d7cea9 to your computer and use it in GitHub Desktop.
Medium: Getting started with GKE Gateway controller
---
kind: HTTPRoute
apiVersion: gateway.networking.k8s.io/v1alpha2
metadata:
name: store
namespace: store-ns
spec:
parentRefs:
- kind: Gateway
name: external-http
namespace: infra-ns
hostnames:
- "store.example.com"
rules:
- backendRefs:
- name: store-v1
port: 8080
- matches:
- path:
type: PathPrefix
value: /de
backendRefs:
- name: store-german
port: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment