-
Install web-terminal in your cluster. Login using oc as cluster-admin.
curl -Ls https://raw.githubusercontent.com/eformat/web-terminal/refs/heads/main/web-terminal-all-in-one.sh | bash -s -
Select
>_ OpenShift command linein top right of OpenShift UI. -
Initialze default terminal by hitting
Start. -
Wait for the custom image to download and start a pod in the
openshift-terminalnamespace. You should see the following prompt: -
Install
Opencodenpm i opencode-ai@latest
-
Put opencode on path.
echo 'export PATH=$HOME/node_modules/.bin:$PATH' >> ~/.bashrc bash
-
Login to GitHub with a token.
export GH_TOKEN=ghp_<redacted your token> gh auth login
-
Run
opencodeusing the default model.opencode
-
Test a prompt.
"What is the root cause of this issue? Give me a detailed anaylsis. Use gh client, then parse the issue details from the html: https://github.com/eformat/sno-for-100/issues/13"



