-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtraefik.yaml
102 lines (97 loc) · 2.67 KB
/
traefik.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: traefik
spec:
generators:
- list:
elements:
{{- range .Values.clusters.ingress }}
- cluster: {{ . }}
{{- end }}
template:
metadata:
name: {{ printf "{{cluster}}-traefik" | quote }}
spec:
project: default
destination:
name: {{ printf "{{cluster}}" | quote }}
namespace: traefik
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
repoURL: https://traefik.github.io/charts
chart: traefik
targetRevision: "{{ .Values.versions.traefik }}"
helm:
releaseName: traefik
values: |
ingressClass:
enabled: true
isDefaultClass: true
service:
enabled: true
type: LoadBalancer
single: false
resources:
requests:
cpu: 250m
memory: 256Mi
limits:
cpu: 250m
memory: 256Mi
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 3
metrics:
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: 75
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 75
ports:
traefik:
port: 9000
expose: false
exposedPort: 9000
protocol: TCP
web:
port: 8080
expose: true
exposedPort: 80
protocol: TCP
websecure:
port: 8443
expose: true
exposedPort: 443
protocol: TCP
tls:
enabled: false
kubeapi:
port: 9443
expose: true
exposedPort: 6443
protocol: TCP
tls:
enabled: false
providers:
kubernetesIngress:
publishedService:
enabled: true
allowExternalNameServices: true
allowEmptyServices: true
kubernetesCRD:
allowExternalNameServices: true
allowEmptyServices: true