1
0
Fork 0

Kubernetes user-guide

This commit is contained in:
Ed Robinson 2016-05-06 11:34:30 +01:00
parent 1c60f0b53b
commit d3aa056151
No known key found for this signature in database
GPG key ID: EC501FCA6421CCF0
8 changed files with 684 additions and 2 deletions

28
examples/k8s/ui.yaml Normal file
View file

@ -0,0 +1,28 @@
---
apiVersion: v1
kind: Service
metadata:
name: traefik-web-ui
namespace: kube-system
spec:
selector:
k8s-app: traefik-ingress-lb
ports:
- name: web
port: 80
targetPort: 8080
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: traefik-web-ui
namespace: kube-system
spec:
rules:
- host: traefik-ui.local
http:
paths:
- path: /
backend:
serviceName: traefik-web-ui
servicePort: web