@@ -7,28 +7,92 @@ icon: redhat/Technology_icon-Red_Hat-Ansible_Lightspeed-Standard-RGB
77---
88# All about OpenShift Lightspeed
99
10- Official documentation:
10+ Resources:
11+ * < https://developers.redhat.com/articles/2025/11/05/use-openshift-lightspeed-locally-served-llms >
1112
12- Tested with:
1313
14- | Component| Version|
15- | ---| ---|
16- | OpenShift| v4.17.14|
17- | OpenShift Virt| v4.17.4|
14+ ``` yaml
15+ apiVersion : ols.openshift.io/v1alpha1
16+ kind : OLSConfig
17+ metadata :
18+ name : cluster
19+ spec :
20+ llm :
21+ providers :
22+ - credentialsSecretRef :
23+ name : azure-api-keys
24+ deploymentName : gpt-4
25+ models :
26+ - name : gpt-4
27+ name : Azure
28+ type : azure_openai
29+ url : ' https://llm-gpt4-lightspeed.cognitiveservices.azure.com/'
30+ ols :
31+ defaultModel : gpt-4
32+ defaultProvider : Azure
33+ introspectionEnabled : true
34+ logLevel : DEBUG
35+ queryFilters :
36+ - name : ip-address
37+ pattern : ' ((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}'
38+ replaceWith : <IP-ADDRESS>
39+ rag :
40+ - image : ' quay.io/dialvare/acme-byok:latest'
41+ indexID : ' '
42+ indexPath : /rag/vector_db
43+ ` ` `
1844
19- ## Content
2045
21- {% set current_page_title = page.title %}
22- {% for n in navigation if n.title == current_page_title %}
23- {% for c in n.children if c.title != current_page_title %}
24- {% if c.abs_url is string %}
2546
26- - [ {{ c.title }}] ( {{c.canonical_url}} )
47+ ` ` ` yaml
48+ apiVersion : ols.openshift.io/v1alpha1
49+ kind : OLSConfig
50+ metadata :
51+ labels :
52+ app.kubernetes.io/created-by : lightspeed-operator
53+ app.kubernetes.io/instance : olsconfig-sample
54+ app.kubernetes.io/managed-by : kustomize
55+ app.kubernetes.io/name : olsconfig
56+ app.kubernetes.io/part-of : lightspeed-operator
57+ name : cluster
58+ spec :
59+ llm :
60+ providers :
61+ - credentialsSecretRef :
62+ name : credentials
63+ models :
64+ - name : granite-8b-code
65+ url : ' https://granite-8b-code-code-assistant.apps.cluster-v7lnz.v7lnz.sandbox5321.opentlc.com/v1'
66+ name : granite-8b-code
67+ type : rhoai_vllm
68+ url : ' https://granite-8b-code-code-assistant.apps.cluster-v7lnz.v7lnz.sandbox5321.opentlc.com/v1'
69+ ols :
70+ conversationCache :
71+ postgres :
72+ credentialsSecret : lightspeed-postgres-secret
73+ dbName : postgres
74+ maxConnections : 2000
75+ sharedBuffers : 256MB
76+ user : postgres
77+ type : postgres
78+ defaultModel : granite-8b-code
79+ defaultProvider : granite-8b-code
80+ deployment :
81+ console :
82+ replicas : 1
83+ replicas : 1
84+ introspectionEnabled : true
85+ logLevel : DEBUG
86+ olsDataCollector :
87+ logLevel : INFO
88+ ` ` `
2789
28- {% else %}
2990
30- - ** [ {{ c.title }} ] ({{ c.children [ 0 ] .canonical_url }}) **
91+ Official documentation:
3192
32- {% endif %}
33- {% endfor %}
34- {% endfor %}
93+ Tested with:
94+
95+ |Component|Version|
96+ |---|---|
97+ |OpenShift|v4.17.14|
98+ |OpenShift Virt|v4.17.4|
0 commit comments