Change code block of traefik-web-ui to match file

This commit is contained in:
Drew G. Wallace 2018-06-28 14:10:03 -07:00 committed by Traefiker Bot
parent 3192307d59
commit 11691019a0

View file

@ -332,7 +332,8 @@ spec:
selector: selector:
k8s-app: traefik-ingress-lb k8s-app: traefik-ingress-lb
ports: ports:
- port: 80 - name: web
port: 80
targetPort: 8080 targetPort: 8080
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
@ -340,16 +341,15 @@ kind: Ingress
metadata: metadata:
name: traefik-web-ui name: traefik-web-ui
namespace: kube-system namespace: kube-system
annotations:
kubernetes.io/ingress.class: traefik
spec: spec:
rules: rules:
- host: traefik-ui.minikube - host: traefik-ui.minikube
http: http:
paths: paths:
- backend: - path: /
backend:
serviceName: traefik-web-ui serviceName: traefik-web-ui
servicePort: 80 servicePort: web
``` ```
[examples/k8s/ui.yaml](https://github.com/containous/traefik/tree/master/examples/k8s/ui.yaml) [examples/k8s/ui.yaml](https://github.com/containous/traefik/tree/master/examples/k8s/ui.yaml)