Skip to content

Instantly share code, notes, and snippets.

@danehans
Created May 15, 2020 01:13
Show Gist options
  • Save danehans/f054d5931928878408b0cfb5210282cd to your computer and use it in GitHub Desktop.
Save danehans/f054d5931928878408b0cfb5210282cd to your computer and use it in GitHub Desktop.
simple_tcproute_example
kind: TCPRoute
apiVersion: networking.x-k8s.io/v1alpha1
metadata:
name: example
labels:
app: foo
spec:
hosts:
- hostname: example.com # this is SNI server_name to match
rules:
action:
forwardTo:
targetRef:
name: example-svc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment