You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
538 B
YAML
22 lines
538 B
YAML
apiVersion: extensions/v1beta1
|
|
# apiVersion: networking.k8s.io/v1 # Supposed to be the new API but of course the spec structure has changed.
|
|
kind: Ingress
|
|
metadata:
|
|
name: guestbook-ingress
|
|
spec:
|
|
rules:
|
|
- host: frontend.runcible.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
backend:
|
|
serviceName: frontend
|
|
servicePort: 80
|
|
- host: backend.runcible.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
backend:
|
|
serviceName: backend
|
|
servicePort: 80
|