2022-05-10 23:24:25 +00:00
|
|
|
kind: Deployment
|
|
|
|
apiVersion: apps/v1
|
|
|
|
metadata:
|
|
|
|
name: traefik
|
|
|
|
labels:
|
|
|
|
app: traefik
|
|
|
|
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: traefik
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: traefik
|
|
|
|
spec:
|
|
|
|
serviceAccountName: traefik-ingress-controller
|
|
|
|
containers:
|
|
|
|
- name: traefik
|
|
|
|
image: traefik:v2.7
|
|
|
|
args:
|
|
|
|
- --log.level=DEBUG
|
|
|
|
- --api
|
|
|
|
- --api.insecure
|
|
|
|
- --entrypoints.web.address=:80
|
2022-05-15 17:28:59 +00:00
|
|
|
- --entrypoints.minecrafttcp.address=:25565/tcp
|
2022-05-10 23:24:25 +00:00
|
|
|
- --providers.kubernetescrd
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
containerPort: 80
|
|
|
|
- name: admin
|
|
|
|
containerPort: 8080
|
2022-05-15 17:28:59 +00:00
|
|
|
- name: minecrafttcp
|
2022-05-10 23:24:25 +00:00
|
|
|
containerPort: 25565
|
|
|
|
|
|
|
|
|