-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
reports.yaml
51 lines (46 loc) · 1.03 KB
/
reports.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
ingress:
enabled: true
className: public-nginx
annotations:
"cert-manager.io/cluster-issuer": "letsencrypt-prod"
"nginx.ingress.kubernetes.io/ssl-redirect": "true"
hosts:
- host: reports.jenkins.io
paths:
- path: /
tls:
- secretName: reports-tls
hosts:
- reports.jenkins.io
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
htmlVolume:
azureFile:
secretName: reports
shareName: reports
readOnly: true
replicaCount: 2
# Specify the "hard" scheduling constraints
nodeSelector:
# arm64 is cheaper than x86
kubernetes.io/arch: arm64
tolerations:
- key: "kubernetes.io/arch"
operator: "Equal"
value: "arm64"
effect: "NoSchedule"
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: "app.kubernetes.io/name"
operator: In
values:
- reports
topologyKey: "kubernetes.io/hostname"