-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path04-deployment.yml
More file actions
41 lines (34 loc) · 811 Bytes
/
04-deployment.yml
File metadata and controls
41 lines (34 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: traefik-ingress-deployment
namespace: traefik-ingress
spec:
replicas: 1
selector:
matchLabels:
app: traefik-ingress
template:
metadata:
labels:
app: traefik-ingress
spec:
serviceAccountName: traefik-ingress-service-account
containers:
- name: traefik-ingress
image: traefik:v2.2
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
- name: admin
containerPort: 8080
volumeMounts:
- name: static-config
mountPath: /etc/traefik
volumes:
- name: static-config
configMap:
name: traefik-ingress-config