Change code block of traefik-web-ui to match file
This commit is contained in:
parent
3192307d59
commit
11691019a0
1 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue