4
4
5
5
Before you begin, ensure you have the following tools installed:
6
6
7
- * ** kubectl:** The Kubernetes command-line tool.
8
- * ** kind:** A tool for running Kubernetes locally using Docker.
9
- * ** OrbStack** (as a container runtime)
7
+ * ** kubectl:** The Kubernetes command-line tool.
8
+ * ** kind:** A tool for running Kubernetes locally using Docker.
9
+ * ** OrbStack** (as a container runtime)
10
10
11
11
## Steps
12
12
@@ -138,6 +138,7 @@ kubectl wait --namespace devworkspace-controller \
138
138
### 8. Create the DevWorkspace Operator Config
139
139
140
140
#### 8.1 Get Load Balancer IP
141
+
141
142
Get the Load Balancer IP from the ` ingress-nginx ` service:
142
143
143
144
``` sh
@@ -146,6 +147,7 @@ kubectl get services \
146
147
ingress-nginx-controller \
147
148
--output jsonpath=' {.status.loadBalancer.ingress[0].ip}'
148
149
```
150
+
149
151
Let's denote this value as ` <HOST_IP> ` .
150
152
151
153
#### 8.2 Create the DevWorkspaceOperatorConfig
@@ -214,14 +216,16 @@ EOF
214
216
``` bash
215
217
kubectl patch devworkspace git-clone-sample-devworkspace -n default --type merge -p ' {"spec": {"started": true}}'
216
218
```
219
+
217
220
You can also check the DevWorkspace status by running:
221
+
218
222
``` sh
219
223
kubectl get devworkspace -n default
220
224
```
221
225
222
226
When the DevWorkspace is running according to the status, open the editor by accesssing the URL from the ` INFO ` column in a web browser. For example:
223
227
224
- ```
228
+ ``` sh
225
229
NAME DEVWORKSPACE ID PHASE INFO
226
230
git-clone-sample-devworkspace workspace0196ce197f0b4e90 Running < URL>
227
231
```
0 commit comments