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
|`--port <PORT>`| 8080 | Host port mapped to gateway |
84
86
|`--gateway-host <HOST>`| none | Override gateway host in metadata |
85
-
|`--kube-port [PORT]`| none | Expose K8s control plane on host port |
86
-
|`--update-kube-config`| false | Write kubeconfig into `~/.kube/config`|
87
-
|`--get-kubeconfig`| false | Print kubeconfig to stdout |
88
87
|`--recreate`| false | Destroy and recreate from scratch if a gateway already exists (skips interactive prompt) |
89
88
90
89
### `openshell gateway stop`
@@ -103,26 +102,47 @@ Destroy a cluster and all its state. Same flags as `stop`.
103
102
104
103
### `openshell gateway info`
105
104
106
-
Show deployment details: endpoint, kubeconfig path, kube port, remote host.
105
+
Show deployment details: endpoint and remote host.
107
106
108
107
| Flag | Description |
109
108
|------|-------------|
110
109
|`--name <NAME>`| Cluster name (defaults to active) |
111
110
112
-
### `openshell gateway tunnel`
111
+
### `openshell gateway select [name]`
113
112
114
-
Print or start an SSH tunnel for kubectl access to a remote cluster.
113
+
Set the active gateway. Writes to `~/.config/openshell/active_gateway`. When called without arguments, lists all provisioned gateways with the active one marked with `*`.
115
114
116
-
| Flag | Description |
117
-
|------|-------------|
118
-
|`--name <NAME>`| Cluster name (defaults to active) |
119
-
|`--remote <USER@HOST>`| SSH destination |
120
-
|`--ssh-key <PATH>`| SSH private key |
121
-
|`--print-command`| Only print the SSH command, don't execute |
115
+
---
122
116
123
-
### `openshell gateway select [name]`
117
+
##Doctor Commands
124
118
125
-
Set the active gateway. Writes to `~/.config/openshell/active_gateway`. When called without arguments, lists all provisioned gateways with the active one marked with `*`.
119
+
### `openshell doctor logs`
120
+
121
+
Fetch logs from the gateway Docker container.
122
+
123
+
| Flag | Default | Description |
124
+
|------|---------|-------------|
125
+
|`--name <NAME>`| active gateway | Gateway name |
126
+
|`-n, --lines <N>`| all | Number of log lines to return |
127
+
|`--tail`| false | Stream live logs (follow mode) |
128
+
|`--remote <USER@HOST>`| auto-resolved | SSH destination for remote gateways |
Copy file name to clipboardExpand all lines: architecture/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ For more detail, see [Policy Language](security-policy.md).
232
232
233
233
The CLI is the primary way users interact with the platform. It provides commands organized into four groups:
234
234
235
-
-**Gateway management** (`openshell gateway`): Deploy, stop, destroy, and inspect clusters. Supports both local and remote (SSH) targets. Includes a tunnel command for accessing the Kubernetes API on remote clusters.
235
+
-**Gateway management** (`openshell gateway`): Deploy, stop, destroy, and inspect clusters. Supports both local and remote (SSH) targets.
236
236
-**Sandbox management** (`openshell sandbox`): Create sandboxes (with optional file upload and provider auto-discovery), connect to sandboxes via SSH, and delete sandboxes.
0 commit comments