Skip to content

Instantly share code, notes, and snippets.

@digitalronin
Last active April 24, 2023 08:43
Show Gist options
  • Save digitalronin/4ea0c04689244f1fd79a51de7ea1cd72 to your computer and use it in GitHub Desktop.
Save digitalronin/4ea0c04689244f1fd79a51de7ea1cd72 to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bar
namespace: default
spec:
ingressClassName: kong
rules:
- http:
paths:
- path: /bar
pathType: Prefix
backend:
service:
name: bar-service
port:
number: 5000
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: foo
namespace: default
spec:
ingressClassName: kong
rules:
- http:
paths:
- path: /foo
pathType: Prefix
backend:
service:
name: foo-service
port:
number: 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment