Skip to content

Commit 92b70f1

Browse files
committed
feat(helm): Medcat service - support custom init container for model loading. Update documentation - ci values
1 parent fa506b2 commit 92b70f1

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

deployment/kubernetes/charts/medcat-service-helm/ci/values.yaml renamed to deployment/kubernetes/charts/medcat-service-helm/ci/default-values.yaml

File renamed without changes.

deployment/kubernetes/charts/medcat-service-helm/ci/values-initcontainer.yaml renamed to deployment/kubernetes/charts/medcat-service-helm/ci/initcontainer-values.yaml

File renamed without changes.

docs/docs/platform/deployment/helm/tutorial.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,35 @@ We will use the CLI to interact with the cluster, then use Terraform to declarat
99
- Terraform CLI
1010

1111
## Helm Terraform Provider
12-
Terraform is the recommended way to declaritively run CogStack using helm.
12+
Terraform is a recommended way to declaritively run CogStack using helm.
1313

1414
```hcl
1515
resource "helm_release" "medcat-service" {
16-
name = "medcat-service-terraform"
16+
name = "medcat-service-helm"
1717
chart = "oci://registry-1.docker.io/cogstacksystems/medcat-service-helm"
18-
timeout = 600
19-
atomic = true
2018
}
2119
```
2220

21+
### Values
22+
We can pass values into the helm chart to customize it.
23+
24+
```hcl
25+
resource "helm_release" "medcat-service" {
26+
name = "medcat-service-helm"
27+
chart = "oci://registry-1.docker.io/cogstacksystems/medcat-service-helm"
28+
values = [<<EOT
29+
replicaCount: 3
30+
EOT
31+
]
32+
}
33+
```
34+
35+
2336
### CogStack Helm Module
2437
The above resource is enough to deploy a helm chart using terraform.
2538

2639
An example module has been created to provide further examples of using Terraform to deploy helm. Please see [Cogstack Helm Module](./cogstack-helm-module.md) for more details.
2740

28-
## Values
29-
We can pass values into the helm chart to customize it.
3041

3142

3243
## Helm CLI Install

0 commit comments

Comments
 (0)