-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add minio support for custom creds (#25)
* feat: Add minio support for custom creds Signed-off-by: Chris Butler <[email protected]> * fix: Typos and yaml formatting Signed-off-by: Chris Butler <[email protected]> * fix: Typos and yaml formatting Signed-off-by: Chris Butler <[email protected]> * fix: Typos and yaml formatting Signed-off-by: Chris Butler <[email protected]> * fix: Typos and yaml formatting Signed-off-by: Chris Butler <[email protected]> * fix: Typos and yaml formatting Signed-off-by: Chris Butler <[email protected]> * fix: Typos and yaml formatting Signed-off-by: Chris Butler <[email protected]> * fix: Typos and yaml formatting Signed-off-by: Chris Butler <[email protected]> --------- Signed-off-by: Chris Butler <[email protected]>
- Loading branch information
Showing
8 changed files
with
78 additions
and
181 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# --- | ||
# apiVersion: "external-secrets.io/v1beta1" | ||
# kind: ExternalSecret | ||
# metadata: | ||
# name: minio-secret-eso | ||
# spec: | ||
# refreshInterval: 15s | ||
# secretStoreRef: | ||
# name: {{ .Values.secretStore.name }} | ||
# kind: {{ .Values.secretStore.kind }} | ||
# target: | ||
# name: minio-secret | ||
# template: | ||
# type: Opaque | ||
# dataFrom: | ||
# - extract: | ||
# key: {{ .Values.minioRootCreds.key }} | ||
--- | ||
apiVersion: "external-secrets.io/v1beta1" | ||
kind: ExternalSecret | ||
metadata: | ||
name: minio-secret-eso | ||
spec: | ||
refreshInterval: 15s | ||
secretStoreRef: | ||
name: {{ .Values.secretStore.name }} | ||
kind: {{ .Values.secretStore.kind }} | ||
target: | ||
name: minio-tenant-secret | ||
template: | ||
type: Opaque | ||
dataFrom: | ||
- extract: | ||
key: {{ .Values.minioRootCreds.key }} |
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 @@ | ||
# dev-scripts | ||
|
||
See detailed explaination on the [docs site](https://opendatahub-io-contrib.github.io/genai-llm-rag-pattern/dev-scripts) |
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,5 @@ | ||
#!/bin/sh | ||
ARGO_CMD=`oc get secrets -A -o jsonpath='{range .items[*]}{"oc get -n "}{.metadata.namespace}{" routes; oc -n "}{.metadata.namespace}{" extract secrets/"}{.metadata.name}{" --to=-\\n"}{end}' | grep gitops-cluster` | ||
CMD=`echo $ARGO_CMD | sed 's|- oc|-;oc|g'` | ||
|
||
eval $CMD |
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,26 @@ | ||
--- | ||
title: Deploying the RAG pattern. | ||
--- | ||
|
||
## Assumptions | ||
|
||
### GPUs | ||
|
||
The current demonstration relies on [`flash-attention`](https://github.com/Dao-AILab/flash-attention) to decrease memory consumption for the LLM models. Today support to this limited to specific Nvidia GPUs which this system can work with. GPUs which are known to be good include: | ||
|
||
- Nvidia L40S | ||
- Nvidia A100 | ||
- Nvidia H100/H200 | ||
|
||
Note: The V100 GPUs are not supported. | ||
|
||
### GPU pool management (WIP) | ||
|
||
The pattern today allows GPU pools to be managed for scale-out computing via [MCAD](https://github.com/project-codeflare/multi-cluster-app-dispatcher/) and [Instascale](https://github.com/project-codeflare/instascale). It is important to note that this is designed primarily to manage scaling for batch workloads. | ||
|
||
This works where: | ||
|
||
1. The cluster auto-scaler is enabled (e.g. using the assisted installer into your own tenancy on AWS / GCP) | ||
1. Clusters managed via OpenShift Cluster Manager (e.g. ROSA, ARO and OSD) | ||
|
||
### Manual setup steps on OSD. |
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,15 @@ | ||
--- | ||
title: Development scripts | ||
--- | ||
|
||
# Development scripts | ||
|
||
These scripts are useful for development and automation where the gap has not been completely closed. | ||
|
||
## `argo-env.sh` | ||
|
||
Two argoCD deployments are created by the validated patterns operator. The depending on your identity and RBAC setup you may not get access with `cluster-admin` or similar. | ||
|
||
Running (pre-authenticated with `oc`) `sh argo-env.sh` will provide the default admin passwords for each argo instance. | ||
|
||
## |
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