-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathapp-deploy.yaml
82 lines (82 loc) · 3.19 KB
/
app-deploy.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
apiVersion: appsody.dev/v1beta1
kind: AppsodyApplication
metadata:
annotations:
commit.image.appsody.dev/author: josiemundi <johannasaladas@gmail.com>
commit.image.appsody.dev/committer: GitHub <noreply@github.com>
commit.image.appsody.dev/contextDir: /Users/jesusalmaraz/Workspace/Github/jesusmah/EDA/refarch-kc-ms/voyages-ms
commit.image.appsody.dev/date: Mon Aug 3 09:24:06 2020 -0500
commit.image.appsody.dev/message: Amend pom.xml to specify final name of .war
file for Fleet microservice build (#61)
commit.stack.appsody.dev/contextDir: /incubator/nodejs-express
commit.stack.appsody.dev/date: Wed Jul 1 16:05:26 2020 +0100
commit.stack.appsody.dev/message: 'nodejs-express: Install ca-certificates when
building production image (#838)'
image.opencontainers.org/created: "2020-08-07T14:12:06+02:00"
image.opencontainers.org/documentation: https://github.com/jesusmah/refarch-kc-ms
image.opencontainers.org/revision: a0503a875ab148ddd263975bbf1964dd11ee8978-modified
image.opencontainers.org/source: https://github.com/jesusmah/refarch-kc-ms/tree/master
image.opencontainers.org/url: https://github.com/jesusmah/refarch-kc-ms
stack.appsody.dev/authors: Gireesh Punathil <gireeshpunathil>
stack.appsody.dev/configured: docker.io/appsody/nodejs-express:0.4
stack.appsody.dev/created: "2020-07-01T15:09:37Z"
stack.appsody.dev/description: Express web framework for Node.js
stack.appsody.dev/digest: sha256:4d62493bcc83c45665f6fc25959ba7fdc737876851796f81a110dd123bf739b0
stack.appsody.dev/documentation: https://github.com/appsody/stacks/tree/master/incubator/nodejs-express/README.md
stack.appsody.dev/licenses: Apache-2.0
stack.appsody.dev/revision: 06ea2933df2b6f831fef31ddcbe24c7e0135170c
stack.appsody.dev/source: https://github.com/appsody/stacks/tree/master/incubator/nodejs-express/image
stack.appsody.dev/tag: docker.io/appsody/nodejs-express:0.4.13
stack.appsody.dev/title: Node.js Express
stack.appsody.dev/url: https://github.com/appsody/stacks/tree/master/incubator/nodejs-express
creationTimestamp: null
labels:
app.appsody.dev/name: refarch-kc
app.kubernetes.io/part-of: refarch-kc
image.opencontainers.org/title: voyages-ms
stack.appsody.dev/id: nodejs-express
stack.appsody.dev/version: 0.4.13
name: voyages-ms
spec:
applicationImage: quay.io/ibmcase/kcontainer-voyages-ms:latest
createKnativeService: false
env:
- name: PORT
value: "3000"
- name: KAFKA_BROKERS
valueFrom:
configMapKeyRef:
key: brokers
name: kafka-brokers
- name: KCSOLUTION_ORDERS_TOPIC
valueFrom:
configMapKeyRef:
key: ordersTopic
name: kafka-topics
expose: true
livenessProbe:
failureThreshold: 12
httpGet:
path: /live
port: 3000
initialDelaySeconds: 5
periodSeconds: 2
monitoring:
labels:
k8s-app: voyages-ms
readinessProbe:
failureThreshold: 12
httpGet:
path: /ready
port: 3000
initialDelaySeconds: 5
periodSeconds: 2
timeoutSeconds: 1
service:
annotations:
prometheus.io/scrape: "true"
port: 3000
type: NodePort
stack: nodejs-express
version: 1.0.0
status: {}