-
Notifications
You must be signed in to change notification settings - Fork 4
/
deployment.yaml
54 lines (54 loc) · 1.2 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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
generation: 1
labels:
app: trading-data-service
name: trading-data-service
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: trading-data-service
strategy:
type: Recreate
template:
metadata:
labels:
app: trading-data-service
spec:
containers:
- image: sovryn/trading-data-service
imagePullPolicy: Always
name: trading-data-service
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
envFrom:
- secretRef:
name: trading-data-service
- secretRef:
name: trading-data-service-secrets
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
imagePullSecrets:
- name: regcred
---
apiVersion: v1
kind: Service
metadata:
name: trading-data-service
spec:
selector:
app: trading-data-service
ports:
- port: 443
targetPort: 3000
type: NodePort