mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-08 04:04:18 +02:00
34 lines
772 B
YAML
34 lines
772 B
YAML
|
apiVersion: v1
|
||
|
kind: ReplicationController
|
||
|
metadata:
|
||
|
name: traefik-ingress-controller
|
||
|
labels:
|
||
|
k8s-app: traefik-ingress-lb
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
k8s-app: traefik-ingress-lb
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
k8s-app: traefik-ingress-lb
|
||
|
name: traefik-ingress-lb
|
||
|
spec:
|
||
|
terminationGracePeriodSeconds: 60
|
||
|
containers:
|
||
|
- image: easypi/traefik-arm
|
||
|
name: traefik-ingress-lb
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
ports:
|
||
|
- containerPort: 80
|
||
|
hostPort: 80
|
||
|
- containerPort: 443
|
||
|
hostPort: 443
|
||
|
- containerPort: 8080
|
||
|
args:
|
||
|
- --web
|
||
|
- --kubernetes
|
||
|
- --logLevel=DEBUG
|
||
|
nodeSelector:
|
||
|
kubernetes.io/hostname: 192.168.31.231
|