-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.yaml
More file actions
57 lines (56 loc) · 1.94 KB
/
Copy pathdeployment.yaml
File metadata and controls
57 lines (56 loc) · 1.94 KB
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: request-consumables
spec:
replicas: 1
template:
metadata:
annotations:
co.elastic.logs/processors.add_fields.target: ""
co.elastic.logs/processors.add_fields.fields.application.name: "request-consumables"
co.elastic.logs/processors.add_fields.fields.application.domain: "request-consumables"
co.elastic.logs/processors.add_fields.fields.application.tier: "service"
co.elastic.logs/processors.add_fields.fields.application.language: "javascript"
co.elastic.logs/processors.dissect.tokenizer: "[%{?timestamp}] %{log_level} - %{log_message}"
co.elastic.logs/processors.dissect.target_prefix: ""
co.elastic.logs/multiline.pattern: "^\\[[0-9]{4}-[0-9]{2}-[0-9]{2}"
co.elastic.logs/multiline.negate: "true"
co.elastic.logs/multiline.match: "after"
spec:
containers:
- name: request-consumables
imagePullPolicy: Always
ports:
- containerPort: 3000
env:
- name: CONFIG_PATH
value: /FBS/.env
volumeMounts:
- name: env-config
mountPath: "/FBS"
readOnly: true
- name: common-views
mountPath: "/app/build/common-views"
readOnly: true
- name: common-js
mountPath: "/app/build/common-public/js"
readOnly: true
readinessProbe:
httpGet:
path: /consumables/health/ready
port: 3000
initialDelaySeconds: 10
periodSeconds: 5
imagePullSecrets:
- name: registry-creds
volumes:
- name: env-config
secret:
secretName: request-consumables-environment
- name: common-views
configMap:
name: common-pug-views
- name: common-js
configMap:
name: common-pug-content-js