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

40
examples/k8s/traefik.yaml Normal file
View file

@ -0,0 +1,40 @@
apiVersion: v1
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: traefik-ingress-controller
namespace: kube-system
labels:
k8s-app: traefik-ingress-lb
spec:
replicas: 1
selector:
matchLabels:
k8s-app: traefik-ingress-lb
template:
metadata:
labels:
k8s-app: traefik-ingress-lb
name: traefik-ingress-lb
version: v1.0.0
spec:
terminationGracePeriodSeconds: 60
containers:
- image: traefik:v1.0.0
name: traefik-ingress-lb
resources:
limits:
cpu: 200m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
ports:
- name: http
containerPort: 80
hostPort: 80
- name: admin
containerPort: 8080
args:
- --web
- --kubernetes