Skip to content

Commit b754dbc

Browse files
committed
fix: change default dashboard port from 8080 to 2137
1 parent e26d9bf commit b754dbc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ kubectl krew install tns-csi
8989
| `kubectl tns-csi health` | Check health of all volumes |
9090
| `kubectl tns-csi troubleshoot <pvc>` | Diagnose PVC issues |
9191
| `kubectl tns-csi cleanup` | Delete orphaned volumes |
92-
| `kubectl tns-csi serve` | Start web dashboard on http://localhost:8080 |
92+
| `kubectl tns-csi serve` | Start web dashboard on http://localhost:2137 |
9393

9494
The plugin **auto-discovers credentials** from the installed driver, so it works out of the box on clusters with tns-csi installed.
9595

cmd/kubectl-tns-csi/cmd_dashboard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Examples:
105105
},
106106
}
107107

108-
cmd.Flags().IntVar(&port, "port", 8080, "Port to listen on")
108+
cmd.Flags().IntVar(&port, "port", 2137, "Port to listen on")
109109
cmd.Flags().StringVar(&pool, "pool", "", "ZFS pool to search for unmanaged volumes")
110110
cmd.Flags().BoolVar(&openBrowser, "open", true, "Open dashboard in default browser")
111111

docs/KUBECTL-PLUGIN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ kubectl tns-csi status <pvc-name>
300300
Start a web-based dashboard for viewing tns-csi resources in your browser.
301301

302302
```bash
303-
# Start dashboard on default port 8080
303+
# Start dashboard on default port 2137
304304
kubectl tns-csi serve
305305

306306
# Start on custom port
@@ -325,10 +325,10 @@ Features:
325325

326326
| Flag | Description |
327327
|------|-------------|
328-
| `--port` | Port to listen on (default: 8080) |
328+
| `--port` | Port to listen on (default: 2137) |
329329
| `--pool` | ZFS pool to search for unmanaged volumes |
330330

331-
Access the dashboard at `http://localhost:8080` after starting.
331+
Access the dashboard at `http://localhost:2137` after starting.
332332

333333
## Output Formats
334334

0 commit comments

Comments
 (0)