kubectl console
A CloudShell-style kubectl console for each cluster, right in the browser: no local kubectl, no credentials on your machine. Every command goes through your permissions and the organization’s policy and is recorded in the audit log.
Before you start
- Any plan. On Free the console uses the default policy; custom policies need Pro or Enterprise.
- Read permission on the connection to run read commands; write permission for anything that modifies the cluster.
- Only owners and admins can edit the policy.
Open the console
- 1Go to Clusters, click Manage on the cluster and open the kubectl tab.
- 2Type a command without the
kubectlprefix, for exampleget pods -A, and click Run. You can set a default namespace and paste a manifest for-f -. - 3Open several sessions, move the console to the bottom panel, go full screen or open it in a new window (its own page,
/clusters/<connection>/<cluster>/kubectl).

- No shell: no pipes or redirections. 60-second timeout and up to 1 MB of output per command.
logs -f,exec -itandattachopen an interactive session.- The header shows your access (read only or read and write), which commands ask for confirmation and which are blocked.
Policy
In Settings → Kubernetes → kubectl console, owners and admins choose, for the whole organization or for a specific connection, which subcommands are Enabled, which run With confirmation and which are Blocked, plus how Secrets are handled. A connection without its own configuration inherits the organization’s. The policy only restricts: commands that modify the cluster still require write permission.
| Group | Subcommands |
|---|---|
| Read | get, describe, logs, top, explain, api-resources, api-versions, version, events, cluster-info, wait |
| Write (need write permission) | apply, create, delete, scale, rollout, patch, label, annotate, cordon, uncordon, drain, taint, set, autoscale, expose, run, replace, exec, certificate, auth, attach |
| Always blocked | port-forward, proxy, edit, cp, config, plugin, debug, kustomize, completion, alpha, diff |
Secrets have three levels:
| Level | What it allows |
|---|---|
| Blocked | No command that names Secrets, and the explorer does not list them. |
| Names only (recommended, default) | List and describe (get secrets, -o name, -o wide); never values (-o yaml/json/jsonpath, --template, --raw). |
| Allowed (with values) | Secret values are visible in the console and in the explorer. |
delete and drain ask for confirmation, and Secrets on names only. Custom policies (organization or per connection) require Pro or Enterprise; if the organization moves to Free, a saved policy stays stored but has no effect until it upgrades again.
Confirmation and audit
- Commands that ask for confirmation open Confirm command: “Run … on cluster …? This action modifies the cluster.” The server refuses them without that confirmation.
- Every command is recorded in the audit log and in Terminal sessions (Enterprise).
- The same policy applies to the KeelPilot kubeconfig for your local kubectl.
Troubleshooting
Write commands are not available.
Cause: Your access to this connection is read only.
Fix: Ask an owner or admin for write permission on the connection.
“Blocked:” when running a command.
Cause: The subcommand is blocked by policy, always blocked, or uses a forbidden flag (--kubeconfig, --token, --as…) or a local file.
Fix: Check the policy in Settings → Kubernetes → kubectl console. For files, paste the manifest and use -f -.
A command was cut.
Cause: It exceeded the 60-second timeout or 1 MB of output.
Fix: Narrow it (namespace, -l selector, --tail) or use the interactive mode for logs -f.