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