16 lines
255 B
YAML
16 lines
255 B
YAML
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: my-ingress
|
||
|
spec:
|
||
|
rules:
|
||
|
- http:
|
||
|
paths:
|
||
|
- path: /somepath
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: my-service
|
||
|
port:
|
||
|
number: 80
|