Skip to content

Commit 8897268

Browse files
committed
fix(helm): MMove to bitnamilegacy repo for trainer. Fix medcat service tracing
1 parent 6723837 commit 8897268

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

deployment/kubernetes/charts/medcat-service-helm/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ env:
5353
OTEL_EXPORTER_OTLP_PROTOCOL: "grpc"
5454
OTEL_EXPERIMENTAL_RESOURCE_DETECTORS: "containerid,os"
5555
OTEL_RESOURCE_ATTRIBUTES: "k8s.pod.uid=$(K8S_POD_UID),k8s.pod.name=$(K8S_POD_NAME),k8s.namespace.name=$(K8S_POD_NAMESPACE),k8s.node.name=$(K8S_NODE_NAME)"
56-
56+
OTEL_METRICS_EXPORTER: "none"
57+
OTEL_LOGS_EXPORTER: "none"
58+
OTEL_PYTHON_FASTAPI_EXCLUDED_URLS: "/api/health,/metrics"
59+
5760
# Enable downloading of public models using wget on startup. Model will be downloaded to /models/<name> and used for APP_MEDCAT_MODEL_PACK
5861
model: {}
5962
# Public URL to download a model pack from

deployment/kubernetes/charts/medcat-trainer-helm/values.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ postgresql:
5656
persistence:
5757
# Size of the PVC for the postgres database
5858
size: 500Mi
59-
59+
image:
60+
repository: bitnamilegacy/postgresql
61+
# Pin legacy version of postgresql following bitnami change to remove free images. Match prefect version
62+
tag: 17.6.0-debian-12-r4
63+
6064
persistence:
6165
media:
6266
# Size of PVC for files like model packs and other media downloaded by medcat trainer
@@ -104,6 +108,17 @@ solr:
104108
podLabels:
105109
app.kubernetes.io/component: solr
106110
app.kubernetes.io/part-of: cogstack
111+
image:
112+
repository: bitnamilegacy/solr
113+
# Pin legacy version of postgresql following bitnami change to remove free images. Match prefect version
114+
tag: 9.9.0-debian-12-r1
115+
116+
zookeeper:
117+
image:
118+
repository: bitnamilegacy/zookeeper
119+
tag: 3.9.3-debian-12-r22
120+
121+
107122

108123
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
109124
imagePullSecrets: []

0 commit comments

Comments
 (0)