Skip to content

Commit 046a3fe

Browse files
authored
Updated README with vscode instructions (#107)
* Updated README with vscode instructions * fixed incorrect commit
1 parent 75d632e commit 046a3fe

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,20 @@ oc apply -f instascale-clusterrole.yaml
4343
oc apply -f instascale-clusterrolebinding.yaml
4444
oc apply -f deployment.yaml
4545
```
46-
46+
## Running an InstaScale deployment locally with Visual Studio Code
47+
- Deploy MCAD using steps [here](https://github.com/project-codeflare/multi-cluster-app-dispatcher/blob/main/doc/deploy/deployment.md).
48+
- Deploy InstaScale by following the steps below:
49+
```
50+
git clone https://github.com/project-codeflare/instascale.git
51+
cd deployment/
52+
oc apply -f instascale-configmap.yaml
53+
oc apply -f instascale-sa.yaml
54+
oc apply -f instascale-clusterrole.yaml
55+
oc apply -f instascale-clusterrolebinding.yaml
56+
```
57+
- In Visual Studio Code update `.vscode/launch.json` so that `"KUBECONFIG"` points to your Kubernetes config file.<br>
58+
- If you changed the namespace in `instascale-configmap.yaml` update the `args[]` in `launch.json` to include `--configs-namespace="<YOUR_NAMESPACE>"`.<br>
59+
- You can now run the local deployment with the debugger.
4760
## Testing
4861

4962
Run tests with command:

0 commit comments

Comments
 (0)