-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseq-deployment.yaml
More file actions
53 lines (53 loc) · 984 Bytes
/
seq-deployment.yaml
File metadata and controls
53 lines (53 loc) · 984 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
42
43
44
45
46
47
48
49
50
51
52
53
apiVersion: apps/v1
kind: Deployment
metadata:
name: conferenceseq-app
namespace: cloud-native-dev
spec:
replicas: 1
selector:
matchLabels:
app: conferenceseq-app
template:
metadata:
labels:
app: conferenceseq-app
spec:
containers:
- name: conferenceseq-app
image: datalust/seq:latest
ports:
- containerPort: 5341
- containerPort: 80
env:
- name: ACCEPT_EULA
value: "Y"
---
apiVersion: v1
kind: Service
metadata:
name: conferenceseq
namespace: cloud-native-dev
spec:
selector:
app: conferenceseq-app
type: NodePort
ports:
- protocol: TCP
port: 80
targetPort: 80
nodePort: 31534
---
apiVersion: v1
kind: Service
metadata:
name: conferenceseq-svc
namespace: cloud-native-dev
spec:
clusterIP: None # headless service
selector:
app: conferenceseq-app
ports:
- protocol: TCP
port: 5341
targetPort: 5341