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