-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from ruivieira/odhv2
Add ODHv2 guide
- Loading branch information
Showing
12 changed files
with
114 additions
and
137 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Configuration | ||
|
||
## Data sources | ||
|
||
### Metrics data | ||
|
||
Storage backend adapters implement the `Storage` interface which has the responsibility | ||
of reading the data from a specific storage type (flat file on PVC, S3, database, _etc_) | ||
and return the inputs and outputs as `ByteBuffer`. | ||
From there, the service converts the `ByteBuffer` into a TrustyAI `Dataframe` to be used | ||
in the metrics calculations. | ||
|
||
The type of datasource is passed with the environment variable `SERVICE_STORAGE_FORMAT`. | ||
|
||
The supported data sources are: | ||
|
||
| Type | Storage property | | ||
|-------------------------------------------|------------------| | ||
| MinIO | `MINIO` | | ||
| Kubernetes Persistent Volume Claims (PVC) | `PVC` | | ||
| Memory | `MEMORY` | | ||
|
||
The data can be batched into the latest `n` observations by using the configuration key | ||
`SERVICE_BATCH_SIZE=n`. This behaves like a `n`-size tail and its optional. | ||
If not specified, the entire dataset is used. | ||
|
||
## Caching | ||
|
||
The configuration variables include: | ||
|
||
| Environment variable | Values | Default | Purpose | | ||
|-------------------------|----------------|---------|---------------------------------------------------------------------------| | ||
| `QUARKUS_CACHE_ENABLED` | `true`/`false` | `true` | Enables data fetching and metric calculation caching. Enabled by default. | | ||
|
||
|
||
## Kubernetes and OpenShift Deployment | ||
|
||
To deploy in Kubernetes or OpenShift, the connection information can be passed into the manifest using the `ConfigMap`. | ||
For more information, see the [Kubernetes](Installing-on-Kubernetes.md) and [OpenShift](Install-on-Open-Data-Hub.md) installation guides. | ||
|
||
<seealso style="links"> | ||
<category ref="related"> | ||
<a href="Install-on-Open-Data-Hub.md">Installing on Open Data Hub</a> | ||
<a href="Installing-on-Kubernetes.md">Installing on Kubernetes</a> | ||
</category> | ||
</seealso> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# REST API reference | ||
|
||
<api-doc openapi-path="./../specs/openapi.yml"></api-doc> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Statistical Parity Difference | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# TrustyAI service | ||
|
||
<api-doc openapi-path="./../specs/openapi.yml"></api-doc> | ||
* Reference for the [REST API](REST-API-reference.md) | ||
* Service [configuration](Configuration.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters