☸️ Nuclr Kubernetes Explorer
This plugin shows Kubernetes clusters as a normal Nuclr Commander panel, through the user's own
kubectl.
🌍 Any cluster your kubeconfig can reach works: remote ones in the cloud (GKE, EKS, AKS,
DigitalOcean, OpenShift...) and on your own servers, as well as local ones (kind, minikube,
k3d, Docker Desktop, Rancher Desktop). If kubectl get pods --context=<name> works in a terminal, the
panel works too, with the same login.
Kubernetes
└── <context> one per kubeconfig context
└── <namespace>
├── pods/
│ └── <pod>/
│ ├── <pod>.yaml
│ ├── describe.txt
│ ├── events.log
│ └── logs/<container>.log (+ <container>.previous.log after a restart)
├── deployments/ statefulsets/ daemonsets/ jobs/ cronjobs/
├── services/ ingresses/ persistentvolumeclaims/
└── configmaps/<name>/<key> secrets/<name>/<key> (one file per key, Secrets decoded)
📊 Each folder has the columns kubectl get prints for that kind (Ready, Status, Restarts, Age...).
The pod Status is computed the way kubectl computes it, so CrashLoopBackOff shows instead of
Running.
⌨️ Keys
| Key | On | Command |
|---|---|---|
| F3 | Any object | View its YAML |
| F3 / Enter | A file inside a pod, ConfigMap or Secret | View it |
| Shift+F3 | Pod | Logs of its first container |
| Shift+F5 | Deployment, StatefulSet | Scale |
| Shift+F7 | Deployment, StatefulSet, DaemonSet | Rollout restart |
| Shift+F7 | Pod owned by a controller | Recreate (delete it, the controller starts a new one) |
| F8 / Delete | Any object | Delete |
| Ctrl+O | Inside a pod | Shell in the pod (kubectl exec -it) in Commander's console |
| Alt+F1 / Alt+F2 | Each context is listed in the drive menu |
Writes act on the selection, carry on past objects the cluster refuses, and report the failures together.
🛡️ Safety
Every kubectl call names its context and namespace explicitly (--context=, --namespace=); the
kubeconfig's current context is never relied on or changed. Credentials are never read: kubectl
does its own authentication, including exec plugins.
- 🔒 Protected contexts ask for the context name to be typed before any write or pod shell. By
default that is any context whose name contains
prod,prdorlive. Override the glob list with thenuclr.k8s.protectedsystem property orNUCLR_K8S_PROTECTED. - 👁️ Read-only contexts offer no write commands at all:
nuclr.k8s.readonly/NUCLR_K8S_READONLY, empty by default. - 🚪 A user who may not list namespaces still gets the context's own namespace, plus any listed in
nuclr.k8s.namespaces/NUCLR_K8S_NAMESPACES.
🔧 kubectl
The plugin runs kubectl from the PATH, or the executable named by the nuclr.kubectl.executable
system property or the NUCLR_KUBECTL_EXECUTABLE environment variable.
🚧 Not yet
Copying files in and out of a pod's filesystem, editing and applying YAML, port-forwards, cluster scoped kinds (nodes, persistent volumes), CRDs and coloured rows are planned next.
🏗️ Build
mvn clean package
The ZIP in target/ has the plugin JAR and plugin.json at its root. Jackson, pty4j, SLF4J and the
platform SDK come from Commander at runtime.