-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.yaml
52 lines (52 loc) · 1.3 KB
/
app.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
#
# Copyright (c) 2021 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at
# https://oss.oracle.com/licenses/upl.
#
apiVersion: coherence.oracle.com/v1
kind: Coherence
metadata:
name: catalog
spec:
cluster: SockShop
role: Catalog
replicas: 1
image: ghcr.io/oracle/coherence-spring-sockshop-catalog:latest
env:
- name: TRACING_HOST
value: "jaeger-collector"
- name: JAEGER_SAMPLER_TYPE
value: "const"
- name: JAEGER_SAMPLER_PARAM
value: "1"
- name: COHERENCE_SERVICE_NAME
value: "Catalog"
- name: JAEGER_SERVICE_NAME
value: catalog
- name: JAEGER_ENDPOINT
value: "http://jaeger-collector:14268/api/traces"
application:
main: com.oracle.coherence.examples.sockshop.spring.catalog.CatalogApp
args:
- "--port=8080"
- "--management.tracing.enabled=false"
- "--coherence.server.startup-timeout=5m"
jvm:
memory:
heapSize: 2g
coherence:
metrics:
enabled: true
ports:
- name: http
port: 8080
service:
name: catalogue # for compatibility with the existing front-end implementation
port: 80
serviceMonitor:
enabled: true
path: /actuator/prometheus
- name: metrics
serviceMonitor:
enabled: true