Skip to content

Commit 866f2dc

Browse files
authored
Added OSD specific steps for Instascale local vscode deployment (#109)
* Added OSD specific steps for Instascale local vscode deployment * Changed formatting and updated config path * Removed set machine pools step
1 parent d4ca474 commit 866f2dc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ oc apply -f instascale-clusterrolebinding.yaml
5757
- In Visual Studio Code update `.vscode/launch.json` so that `"KUBECONFIG"` points to your Kubernetes config file.<br>
5858
- If you changed the namespace in `instascale-configmap.yaml` update the `args[]` in `launch.json` to include `--configs-namespace="<YOUR_NAMESPACE>"`.<br>
5959
- You can now run the local deployment with the debugger.
60+
## Running locally with a OSD cluster
61+
Running InstaScale locally to an OSD cluster requires extra steps from the above.
62+
- Add the `instascale-ocm-secret`
63+
- Get your API token from [here](https://console.redhat.com/openshift/token)
64+
- Navigate to Workloads -> secrets
65+
- Click Create -> Key/value secret
66+
- Secret name: `instascale-ocm-secret`
67+
- Key: `token`
68+
- Value: `<YOUR_API_TOKEN>`
69+
- Click Create
6070
## Testing
6171

6272
Run tests with command:

0 commit comments

Comments
 (0)