Skip to content

Commit d1cdc20

Browse files
lburgazzolicursoragent
authored andcommitted
docs: update README interactive debugging section
- Fix CLI name from kubectl-odh to rhai-cli - Add oc login example for interactive sessions - Add rhai-cli binary and upgrade helper scripts locations - Add jq to available tools list - Format tools list as bullet points Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c13d8b0 commit d1cdc20

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ The container has `KUBECONFIG=/kubeconfig` set by default, so you just need to m
4444
4545
> **Note:** The images are OCI-compliant and work with both Podman and Docker. Examples for both are provided below.
4646
47-
**Interactive Debugging:**
47+
**Shell Access:**
4848
49-
The container includes kubectl, oc, and debugging utilities for interactive troubleshooting:
49+
The container also bundles migration tools and CLI utilities that can be used directly from a shell session:
5050
5151
**Podman:**
5252
```bash
@@ -64,14 +64,29 @@ docker run -it --rm \
6464
quay.io/rhoai/rhoai-upgrade-helpers-rhel9:dev
6565
```
6666

67-
Once inside the container, use kubectl/oc/wget/curl:
67+
Available tools:
68+
- `rhai-cli`
69+
- `kubectl` (latest stable)
70+
- `oc` (latest stable)
71+
- `jq`
72+
- `wget`
73+
- `curl`
74+
- `tar`
75+
- `gzip`
76+
- `bash`
77+
78+
Example usage:
6879
```bash
80+
oc login --token=sha256~xxxx --server=https://api.my-cluster.p3.openshiftapps.com:6443
81+
6982
kubectl get pods -n opendatahub
7083
oc get dsci
71-
kubectl-odh lint --target-version 3.3.0
84+
85+
rhai-cli lint --target-version 3.3.0
7286
```
7387

74-
Available tools: `kubectl` (latest stable), `oc` (latest stable), `wget`, `curl`, `tar`, `gzip`, `bash`
88+
The `rhai-cli` binary is located at `/opt/rhai-cli/bin/rhai-cli` (already on `PATH`).
89+
Upgrade helper scripts are located at `/opt/rhai-upgrade-helpers`.
7590

7691
**Token Authentication:**
7792

0 commit comments

Comments
 (0)