-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-deploy.yaml
62 lines (62 loc) · 2.36 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
apiVersion: app.stacks/v1beta1
kind: RuntimeComponent
metadata:
annotations:
commit.stack.appsody.dev/author: Harish Yayi <[email protected]>
commit.stack.appsody.dev/committer: GitHub <[email protected]>
commit.stack.appsody.dev/contextDir: /incubator/java-spring-boot2
commit.stack.appsody.dev/date: Fri Feb 21 16:00:55 2020 +0000
commit.stack.appsody.dev/message: java-spring-boot2 - add additional stack maintainers
to the stack (#681)
image.opencontainers.org/created: "2020-02-27T13:22:40-05:00"
stack.appsody.dev/authors: Erin Schnabel <[email protected]>, Ozzy Osborne <[email protected]>,
Richard Trotter <[email protected]>, Harish Yayi <[email protected]>
stack.appsody.dev/configured: docker.io/appsody/java-spring-boot2:0.3
stack.appsody.dev/created: "2020-02-21T16:05:31Z"
stack.appsody.dev/description: Spring Boot using OpenJ9 and Maven
stack.appsody.dev/documentation: https://github.com/appsody/stacks/tree/master/incubator/java-spring-boot2/README.md
stack.appsody.dev/licenses: Apache-2.0
stack.appsody.dev/revision: 04f9230fac0d9add6c367c10e9908192fedcd7cc
stack.appsody.dev/source: https://github.com/appsody/stacks/tree/master/incubator/java-spring-boot2/image
stack.appsody.dev/tag: docker.io/appsody/java-spring-boot2:0.3.26
stack.appsody.dev/title: Spring Boot®
stack.appsody.dev/url: https://github.com/appsody/stacks/tree/master/incubator/java-spring-boot2
creationTimestamp: null
labels:
image.opencontainers.org/title: sample-service-binding-db2
stack.appsody.dev/id: java-spring-boot2
stack.appsody.dev/version: 0.3.26
name: sample-service-binding-db2
spec:
applicationImage: <<applicationImage>>
createKnativeService: false
expose: true
livenessProbe:
failureThreshold: 12
httpGet:
path: /actuator/liveness
port: 8080
initialDelaySeconds: 5
periodSeconds: 2
monitoring:
endpoints:
- path: /actuator/prometheus
labels:
k8s-app: sample-service-binding-db2
pullPolicy: Always
service:
annotations:
prometheus.io/path: /actuator/prometheus
prometheus.io/scrape: "true"
type: NodePort
stack: java-spring-boot2
version: 1.0.0
volumeMounts:
- mountPath: /etc/secrets/db2
name: db2-secrets
readOnly: true
volumes:
- name: db2-secrets
secret:
secretName: db2-secrets
status: {}