You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -146,6 +149,43 @@ root [ / ]# chroot /host systemctl status | head -n 2
146
149
147
150
**If `systemctl` shows an error "Failed to connect to bus: No data available", check that the `retina shell` command has `--host-pid` set and that you have chroot'd to /host.**
148
151
152
+
## Windows Support
153
+
154
+
Retina shell supports Windows nodes by automatically detecting the node OS and using a Windows container image with appropriate networking tools.
155
+
156
+
### Windows Tools and Commands
157
+
158
+
When using a Windows node, you'll have access to these networking tools:
159
+
160
+
-`ipconfig`: Show network configuration
161
+
-`netstat`: Show network connections
162
+
-`ping`: Test connectivity
163
+
-`tracert`: Trace route to destination
164
+
-`nslookup`: DNS lookup
165
+
-`route`: Show/manipulate routing table
166
+
-`netsh`: Network shell for configuration
167
+
-`nmap`: Network discovery and security auditing
168
+
-`portqry`: Port scanner
169
+
-`windump`: Packet analyzer (tcpdump for Windows)
170
+
171
+
### Windows Example
172
+
173
+
```bash
174
+
# Start a shell in a Windows node
175
+
kubectl retina shell win-node-001
176
+
177
+
# You can specify a specific Windows image tag variant
Copy file name to clipboardExpand all lines: shell/README.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,14 @@
3
3
Retina CLI provides a command to launch an interactive shell in a node or pod for adhoc debugging.
4
4
5
5
* The CLI command `kubectl retina shell` creates a pod with `HostNetwork=true` (for node debugging) or an ephemeral container in an existing pod (for pod debugging).
6
-
* The container runs an image built from the Dockerfile in this directory. The image is based on Azure Linux and includes commonly-used networking tools.
6
+
* For Linux nodes, the container runs an image built from the Dockerfile in this directory, based on Azure Linux and includes commonly-used networking tools.
7
+
* For Windows nodes, the container runs a Windows-based image with Windows networking utilities built from Dockerfile.windows.
7
8
8
9
For testing, you can override the image used by `retina shell` either with CLI arguments
9
10
(`--retina-shell-image-repo` and `--retina-shell-image-version`) or environment variables
10
11
(`RETINA_SHELL_IMAGE_REPO` and `RETINA_SHELL_IMAGE_VERSION`).
11
12
12
-
Run `kubectl retina shell -h` for full documentation and examples.
13
+
For Windows nodes, you can specify the Windows image tag suffix with the `--windows-image-tag` flag or
14
+
the `RETINA_SHELL_WINDOWS_IMAGE_TAG` environment variable.
13
15
14
-
Currently only Linux is supported; Windows support will be added in the future.
16
+
Run `kubectl retina shell -h` for full documentation and examples.
0 commit comments