SIENTIAPDE-1309: Update README with Helm instructions and refactor experiment status messages. Also, update values.yaml with new image and configurations.
This commit is contained in:
46
README.md
46
README.md
@@ -1037,13 +1037,13 @@ For support and questions:
|
||||
|
||||
### Create image
|
||||
|
||||
```shell
|
||||
```bash
|
||||
$ docker build --ssh default --no-cache --progress=plain -t aignosi.azurecr.io/sientia-dataops-model-manager:0.0.0 .
|
||||
```
|
||||
|
||||
### Create container
|
||||
|
||||
```shell
|
||||
```bash
|
||||
$ docker run --env-file .env --network="host" --name sientia-dataops-model-manager -d aignosi.azurecr.io/sientia-dataops-model-manager:0.0.0
|
||||
|
||||
$ docker logs -f sientia-dataops-model-manager
|
||||
@@ -1051,13 +1051,13 @@ $ docker logs -f sientia-dataops-model-manager
|
||||
|
||||
### Login using access token
|
||||
|
||||
```shell
|
||||
```bash
|
||||
$ docker login -u bruno-aignosi -p LD/IyZ4vtDI7khRYnH4HzfdTx3toorg6hlCetJM54n+ACRDim3xO aignosi.azurecr.io
|
||||
```
|
||||
|
||||
### Push image to repository
|
||||
|
||||
```shell
|
||||
```bash
|
||||
$ docker push aignosi.azurecr.io/sientia-dataops-model-manager:0.0.0
|
||||
```
|
||||
|
||||
@@ -1065,40 +1065,42 @@ $ docker push aignosi.azurecr.io/sientia-dataops-model-manager:0.0.0
|
||||
|
||||
### Reference
|
||||
|
||||
https://www.baeldung.com/ops/kubernetes-helm
|
||||
https://aignosi-wiki.atlassian.net/wiki/spaces/IT1/pages/274563074/Como+utilizar+o+Helm+Repo+Privado
|
||||
|
||||
### Create Helm Chart folder
|
||||
### Add Helm Chart repository
|
||||
|
||||
```shell
|
||||
# inside project root folder
|
||||
$ helm create helm-chart
|
||||
```
|
||||
```bash
|
||||
$ helm repo add sientia \
|
||||
https://raw.githubusercontent.com/Aignosi/sientia-dataops-helm-repo/refs/heads/main/ \
|
||||
--username $GITHUB_USER \
|
||||
--password $GITHUB_PASS
|
||||
|
||||
### Helm Lint
|
||||
# Update repository
|
||||
$ helm repo update
|
||||
|
||||
```shell
|
||||
# Firstly, this is a simple command that takes the path to a chart and runs a battery of tests to ensure that the chart is well-formed:
|
||||
$ helm lint ./helm-chart
|
||||
```
|
||||
# List repositories
|
||||
$ helm repo list
|
||||
|
||||
### Helm Template
|
||||
# List versions of a specific chart
|
||||
$ helm search repo sientia --versions
|
||||
|
||||
```shell
|
||||
# Also, we've this command to render the template locally for quick feedback:
|
||||
$ helm template ./helm-chart
|
||||
# List all charts available
|
||||
$ helm search repo sientia
|
||||
|
||||
# List chart details
|
||||
$ helm show all sientia/sientia-module
|
||||
```
|
||||
|
||||
### Helm Install
|
||||
|
||||
```shell
|
||||
# Once we've verified the chart to be fine, finally, we can run this command to install the chart into the Kubernetes cluster:
|
||||
$ helm upgrade --install mlops-bff ./helm-chart -n sientia-core
|
||||
$ helm upgrade --install sientia-dataops-model-manager sientia/sientia-module -n sientia --create-namespace -f ./values.yaml --version 0.5.0
|
||||
```
|
||||
|
||||
### Uninstall Helm Chart
|
||||
|
||||
```shell
|
||||
$ helm uninstall mlops-bff -n sientia-core
|
||||
$ helm uninstall sientia-dataops-model-manager -n sientia
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user