You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See these values for common configurations to change:
22
21
23
-
| Setting |description |
24
-
| -------- | -------- |
25
-
|`env`| Environment variables as defined in the [MedCAT Trainer docs](https://docs.cogstack.org/projects/medcat-trainer/en/latest/installation.html). |
26
-
|`medcatConfig`|MedCAT config file as described [here](https://github.com/CogStack/cogstack-nlp/blob/main/medcat-v2/medcat/config/config.py)|
27
-
|`env.CSRF_TRUSTED_ORIGINS`| The Host and Port to access the application on |
|`env`| Environment variables as defined in the [MedCAT Trainer docs](https://docs.cogstack.org/projects/medcat-trainer/en/latest/installation.html). |
25
+
|`medcatConfig`| MedCAT config file as described [here](https://github.com/CogStack/cogstack-nlp/blob/main/medcat-v2/medcat/config/config.py)|
26
+
|`env.CSRF_TRUSTED_ORIGINS`| The Host and Port to access the application on |
29
27
30
28
### Use Sqlite instead of Postgres
31
29
@@ -41,9 +39,123 @@ postgresql:
41
39
```
42
40
43
41
## Missing features
42
+
44
43
These features are not yet existing but to be added in future:
44
+
45
45
- Use a pre existing postgres db
46
46
- Use a pre existing SOLR instance
47
47
- Migrate from supervisord to standalone deployment for background tasks for better scaling
48
48
- Support SOLR authentication from medcat trainer
49
49
- Support passing DB OPTIONS to medcat trainer for use in cloud environments
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
67
+
| env | object | `{"CSRF_TRUSTED_ORIGINS":"http://localhost:8080","DB_ENGINE":"postgresql","DB_PORT":"5432","DEBUG":"1","EMAIL_HOST":"mail.cogstack.org","EMAIL_PASS":"to-be-changed","EMAIL_PORT":"465","EMAIL_USER":"example@cogstack.org","ENV":"non-prod","LOAD_NUM_DOC_PAGES":"10","MAX_DATASET_SIZE":"10000","MAX_MEDCAT_MODELS":"2","OPENBLAS_NUM_THREADS":"1","RESUBMIT_ALL_ON_STARTUP":"0","UNIQUE_DOC_NAMES_IN_DATASETS":"True","VITE_USE_OIDC":"0"}` | Add any environment variables here that should be set in the medcat-trainer container |
68
+
| env.CSRF_TRUSTED_ORIGINS | string | `"http://localhost:8080"` | This sets the CSRF trusted origins for the medcat-trainer container. Change to allow access from other domains |
69
+
| envValueFrom | object | `{"K8S_NODE_NAME":{"fieldRef":{"fieldPath":"spec.nodeName"}},"K8S_POD_NAME":{"fieldRef":{"fieldPath":"metadata.name"}},"K8S_POD_NAMESPACE":{"fieldRef":{"fieldPath":"metadata.namespace"}},"K8S_POD_UID":{"fieldRef":{"fieldPath":"metadata.uid"}}}` | Allow setting env values from field/configmap/secret references @default -- Adds K8s downward API values for tracing |
70
+
| fullnameOverride | string | `""` | |
71
+
| hostAliases | list | `[]` | Host aliases for the pod |
72
+
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. |
73
+
| image.repository | string | `"cogstacksystems/medcat-trainer"` | Image repository for the MedCAT service container |
74
+
| imagePullSecrets | list | `[]` | 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/ |
| nginxImage | object | `{"pullPolicy":"IfNotPresent","repository":"nginx","tag":"1.29.1"}` | This sets the container image for the nginx server more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ |
92
+
| nginxImage.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. |
93
+
| nginxImage.repository | string | `"nginx"` | Image repository for the nginx server |
94
+
| nginxImage.tag | string | `"1.29.1"` | This sets the image tag for the nginx server |
| podAnnotations | object | `{}` | This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
103
+
| podLabels | object | `{}` | This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| provisioning.config | object | Config to load example project from github | Provisioning Config Yaml contents. Can be templated See https://docs.cogstack.org/projects/medcat-trainer/en/latest/provisioning/ |
113
+
| provisioning.enabled | bool | `false` | Set to true to enable provisioning of projects and models on startup.. |
114
+
| provisioning.existingConfigMap | object | `{}` | Optional: Reference an existing configmap for the provisioning config. |
| replicaCount | int | `1` | This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ |
118
+
| resources | object | `{}` | Resources for the pod. More information can be found here: https://kubernetes.io/docs/concepts/containers/ Recommendation for a minimal production setup is { requests: { cpu: 2, memory: 2Gi }, limits: { cpu: null <unset>, memory: 4Gi } } |
119
+
| runtimeClassName | string | `""` | Runtime class name for the pod (e.g., "nvidia" for GPU workloads) |
120
+
| securityContext | object | `{}` | |
121
+
| service.apiPort | int | `8000` | |
122
+
| service.port | int | `8001` | This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports |
123
+
| service.type | string | `"ClusterIP"` | This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types |
124
+
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
125
+
| serviceAccount.automount | bool | `true` | Automatically mount a ServiceAccount's API credentials? |
126
+
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
127
+
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| updateStrategy.type | string | `"RollingUpdate"` | Used for Kubernetes deployment .spec.strategy.type. Allowed values are "Recreate" or "RollingUpdate". |
157
+
| volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. |
158
+
| volumes | list | `[]` | Additional volumes on the output Deployment definition. |
159
+
160
+
----------------------------------------------
161
+
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
0 commit comments