You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
564 B
26 lines
564 B
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: example-ingress
|
|
annotations:
|
|
ingress.kubernetes.io/rewrite-target: /
|
|
kubernetes.io/ingress.class: nginx
|
|
spec:
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- path: /apple
|
|
pathType: Exact
|
|
backend:
|
|
service:
|
|
name: apple-service
|
|
port:
|
|
number: 5678
|
|
- path: /banana
|
|
pathType: Exact
|
|
backend:
|
|
service:
|
|
name: banana-service
|
|
port:
|
|
number: 5678
|