Skip to content

Commit

Permalink
Update Kubernetes examples (#731)
Browse files Browse the repository at this point in the history
* Set `hostNetwork` to `true` in Kubernetes deployment example

* Remove duplicate Kubernetes examples

* Update Kubernetes Træfik Docker Image to 1.1.0
  • Loading branch information
Starefossen authored and emilevauge committed Oct 17, 2016
1 parent 4476861 commit 9b765d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 145 deletions.
2 changes: 1 addition & 1 deletion docs/toml.md
Expand Up @@ -951,7 +951,7 @@ Annotations can be used on containers to override default behaviour for the whol
- `traefik.frontend.rule.type: PathPrefixStrip`: override the default frontend rule type (Default: `PathPrefix`).
You can find here an example [ingress](https://raw.githubusercontent.com/containous/traefik/master/examples/k8s.ingress.yaml) and [replication controller](https://raw.githubusercontent.com/containous/traefik/master/examples/k8s.rc.yaml).
You can find here an example [ingress](https://raw.githubusercontent.com/containous/traefik/master/examples/k8s/cheese-ingress.yaml) and [replication controller](https://raw.githubusercontent.com/containous/traefik/master/examples/k8s/traefik.yaml).
## Consul backend
Expand Down
111 changes: 0 additions & 111 deletions examples/k8s.ingress.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions examples/k8s.rc.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions examples/k8s/traefik.yaml
Expand Up @@ -16,11 +16,12 @@ spec:
labels:
k8s-app: traefik-ingress-lb
name: traefik-ingress-lb
version: v1.0.0
version: v1.1.0
spec:
terminationGracePeriodSeconds: 60
hostNetwork: true
containers:
- image: traefik:v1.0.0
- image: traefik:v1.1.0
name: traefik-ingress-lb
resources:
limits:
Expand Down

0 comments on commit 9b765d2

Please sign in to comment.