-
Notifications
You must be signed in to change notification settings - Fork 1
/
deployment.yaml
64 lines (64 loc) · 1.26 KB
/
deployment.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: villas-doc
namespace: fein
spec:
replicas: 3
selector:
matchLabels:
app: villas-doc
template:
metadata:
labels:
app: villas-doc
spec:
imagePullSecrets:
- name: stvogel-rwth-pull-secret
containers:
- image: registry.git.rwth-aachen.de/acs/public/villas/documentation
imagePullPolicy: Always
name: nginx
ports:
- containerPort: 80
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: villas-doc
namespace: fein
spec:
type: ClusterIP
ports:
- port: 80
protocol: TCP
selector:
app: villas-doc
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: villas-doc
namespace: fein
annotations:
kubernetes.io/ingress.class: nginx
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
eonerc.rwth-aachen.de/description: "VILLASframework Documentation"
spec:
tls:
- hosts:
- villas.fein-aachen.org
secretName: letsencrypt-prod-villas
rules:
- host: villas.fein-aachen.org
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: villas-doc
port:
number: 80