[Docs] Fix invalid service yaml example
This commit is contained in:
parent
e075dfe911
commit
732d73dd43
1 changed files with 5 additions and 1 deletions
|
@ -123,8 +123,10 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
|
name: web
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 8080
|
port: 8080
|
||||||
|
name: admin
|
||||||
type: NodePort
|
type: NodePort
|
||||||
```
|
```
|
||||||
[examples/k8s/traefik-deployment.yaml](https://github.com/containous/traefik/tree/master/examples/k8s/traefik-deployment.yaml)
|
[examples/k8s/traefik-deployment.yaml](https://github.com/containous/traefik/tree/master/examples/k8s/traefik-deployment.yaml)
|
||||||
|
@ -184,8 +186,10 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
|
name: web
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 8080
|
port: 8080
|
||||||
|
name: admin
|
||||||
type: NodePort
|
type: NodePort
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue