Skip to content

Instantly share code, notes, and snippets.

@Neutrollized
Last active June 4, 2022 00:57
Show Gist options
  • Save Neutrollized/4a92e0b76387f82b7b48cb58ed5e2379 to your computer and use it in GitHub Desktop.
Save Neutrollized/4a92e0b76387f82b7b48cb58ed5e2379 to your computer and use it in GitHub Desktop.
Medium: Getting started with GKE Gateway controller
---
kind: Gateway
apiVersion: gateway.networking.k8s.io/v1alpha2
metadata:
name: external-http
namespace: infra-ns
spec:
gatewayClassName: gke-l7-gxlb
listeners:
- name: http
protocol: HTTP
port: 80
allowedRoutes:
namespaces:
from: Selector
selector:
matchLabels:
shared-gateway-access: "true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment