-
Notifications
You must be signed in to change notification settings - Fork 14
/
carts.yaml
51 lines (51 loc) · 1.16 KB
/
carts.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
#
# Copyright (c) 2020, 2024, 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: carts
spec:
role: Carts
replicas: 1
image: ghcr.io/oracle/coherence-helidon-sockshop-carts:latest
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 10
env:
- name: TRACING_HOST
value: "jaeger-collector"
- name: JAEGER_SAMPLER_TYPE
value: "const"
- name: JAEGER_SAMPLER_PARAM
value: "1"
- name: JAEGER_SERVICE_NAME
value: Carts
- name: JAEGER_ENDPOINT
value: "http://jaeger-collector:14268/api/traces"
application:
type: helidon
jvm:
memory:
heapSize: 2g
args:
- "-Dhelidon.serialFilter.ignoreFiles=true"
- "-Dhelidon.serialFilter.pattern=*"
- "-Dhelidon.serialFilter.failure.action=WARN"
coherence:
metrics:
enabled: true
ports:
- name: http
port: 7001
service:
name: carts
port: 80
serviceMonitor:
enabled: true
- name: metrics
serviceMonitor:
enabled: true