Created
January 28, 2025 18:48
-
-
Save dmc5179/fc54356429a8d80fb44f2c3e0b62efa9 to your computer and use it in GitHub Desktop.
OpenShift Lightspeed for Disconnected systems
This file contains hidden or 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
apiVersion: ols.openshift.io/v1alpha1 | |
kind: OLSConfig | |
metadata: | |
name: cluster | |
spec: | |
llm: | |
providers: | |
- credentialsSecretRef: | |
name: credentials | |
models: | |
- name: "granite-code:8b" | |
name: OpenAI | |
type: rhelai_vllm | |
url: 'http://ollama/v1' # change this to the DNS name of where your model is hosted | |
ols: | |
conversationCache: | |
redis: | |
credentialsSecret: lightspeed-redis-secret | |
maxMemory: 1024mb | |
maxMemoryPolicy: allkeys-lru | |
type: redis | |
defaultModel: "granite-code:8b" | |
defaultProvider: OpenAI | |
deployment: | |
console: | |
replicas: 1 | |
replicas: 1 | |
logLevel: INFO | |
olsDataCollector: | |
logLevel: INFO |
This file contains hidden or 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
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: credentials | |
namespace: openshift-lightspeed | |
type: Opaque | |
stringData: | |
apitoken: fake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment