Skip to content

Instantly share code, notes, and snippets.

@arapulido
Last active November 10, 2022 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arapulido/e6f1f55d690e2eae9567080abe5502c2 to your computer and use it in GitHub Desktop.
Save arapulido/e6f1f55d690e2eae9567080abe5502c2 to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: simple
spec:
rules:
- host: "foo.bar.com"
http:
paths:
- pathType: Prefix
path: "/foo"
backend:
service:
name: service1
port:
number: 4200
- pathType: Prefix
path: "/bar"
backend:
service:
name: service2
port:
number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment