Skip to content

Commit b5e5809

Browse files
authored
Merge pull request #56 from rh-aiservices-bu/fix-openshift-deployment
Update openshift-deployment.md
2 parents 401ffcd + 2cf7a2a commit b5e5809

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

docs/deployment/openshift-deployment.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -292,16 +292,20 @@ oc get pods
292292

293293
### Step 1: Verify Database Initialization
294294

295+
(optional, if this does not work the rest won't have deployed...)
296+
295297
```bash
296298
# Check PostgreSQL logs
297299
oc logs -l app=postgres --tail=50
298300
299301
# Test database connectivity from backend
300-
oc exec deployment/backend -- curl -f http://localhost:8081/api/v1/health
302+
oc exec deployment/backend -- curl -f http://localhost:8081/api/v1/health/reeady
301303
```
302304

303305
### Step 2: Access LiteLLM Administration UI
304306

307+
(optional, LiteLLM access not needed anymore)
308+
305309
1. Get the LiteLLM route URL:
306310

307311
```bash
@@ -319,24 +323,7 @@ oc exec deployment/backend -- curl -f http://localhost:8081/api/v1/health
319323
- **Username**: admin (or value of `LITELLM_UI_USERNAME`)
320324
- **Password**: (value of `LITELLM_UI_PASSWORD`)
321325

322-
### Step 3: Configure Initial Models in LiteLLM
323-
324-
1. In the LiteLLM UI, navigate to **Models**
325-
2. Add your first AI model (example for OpenAI):
326-
327-
```json
328-
{
329-
"model_name": "gpt-4",
330-
"litellm_params": {
331-
"model": "gpt-4",
332-
"api_key": "your-openai-api-key"
333-
}
334-
}
335-
```
336-
337-
3. Test the model configuration
338-
339-
### Step 4: Verify LiteMaaS Application
326+
### Step 3: Verify LiteMaaS Application
340327

341328
1. Get the frontend route URL:
342329

0 commit comments

Comments
 (0)