-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-deploy.yaml
79 lines (79 loc) · 3.27 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
apiVersion: appsody.dev/v1beta1
kind: AppsodyApplication
metadata:
annotations:
commit.image.appsody.dev/author: Bhattacharyya, B <[email protected]>
commit.image.appsody.dev/committer: Bhattacharyya, B <[email protected]>
commit.image.appsody.dev/date: Tue Apr 28 00:06:30 2020 +0530
commit.image.appsody.dev/message: initial commit
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: Wed Apr 15 16:05:23 2020 +0100
commit.stack.appsody.dev/message: ' java-spring-boot2: add kafka template (#742)'
image.opencontainers.org/created: "2020-04-28T12:58:06+05:30"
image.opencontainers.org/documentation: https://github.com/barnalib/dnb-transaction
image.opencontainers.org/revision: e9e0f06ac5bb40e5daa9dba9b974a0e463097792-modified
image.opencontainers.org/source: https://github.com/barnalib/dnb-transaction/tree/master
image.opencontainers.org/url: https://github.com/barnalib/dnb-transaction
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-04-15T15:38:49Z"
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: 516d028cc6fe99e26c0ad0f3f49aca36e8949594
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.29
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: dnb-transaction
stack.appsody.dev/id: java-spring-boot2
stack.appsody.dev/version: 0.3.29
name: dnb-transaction
namespace: cpfa-dnb
spec:
applicationImage: docker-registry.default.svc:5000/cpfa-dnb/dnb-transaction:v4
autoscaling:
maxReplicas: 3
minReplicas: 1
targetCPUUtilizationPercentage: 60
createKnativeService: false
expose: true
livenessProbe:
failureThreshold: 12
httpGet:
path: /api/v1/transaction/liveness
port: 8080
initialDelaySeconds: 5
periodSeconds: 2
monitoring:
endpoints:
- path: /actuator/prometheus
labels:
k8s-app: dnb-transaction
readinessProbe:
failureThreshold: 12
httpGet:
path: /actuator/health
port: 8080
initialDelaySeconds: 5
periodSeconds: 2
timeoutSeconds: 2
replicas: 4
resourceConstraints:
requests:
cpu: 75m
route:
host: dnb-transaction-cpfa-dnb.mcmhub-demo01-32d7c19d4374c7b6f6308b1ef2de3e3e-0001.us-east.containers.appdomain.cloud
service:
annotations:
prometheus.io/path: /actuator/prometheus
prometheus.io/scrape: "true"
port: 8080
type: NodePort
stack: java-spring-boot2
version: 1.0.0