Reference#
Commands#
Run workstation commands in the intended Kubernetes context. At DLS, your
beamline module sets the default namespace: for example, module load ec/p47
selects p47-beamline. Elsewhere use your context’s default or add -n NAMESPACE.
Command |
Purpose |
|---|---|
|
Check prerequisites; optionally install local SSH configuration |
|
Show seats, hotfix state and probe holds |
|
Add or reuse a seat and print SSH connection details |
|
Open a seat with generated Podbench debug launchers |
|
Run the full hotfix startup command and wait for health |
|
Hold supported probes and deliberately stop the application |
|
Stop, then start normally |
|
Edit a local service chart for hotfix |
|
Print wiring for manual integration |
|
Initialize an empty source claim |
|
Restart the child, optionally syncing Python dependencies |
|
Check an unused claim and optionally delete it |
Attach and IDE use --target; hotfix commands use --container. Pass it
consistently for multi-container pods. Use --help on any command for all options.
--context NAME selects a context explicitly.
Inside a configured seat, podbench start, podbench stop and podbench restart
infer the target without Kubernetes credentials. These commands require a current
seat package as well as updated application supervisor wiring.
Other seat commands:
Command |
Purpose |
|---|---|
|
Select a process interactively and attach GDB |
|
Attach GDB to a known PID |
|
Inject debugpy for a manual Python attach on port 5678 |
For manual Python attach, forward pod/POD port 5678:5678 with kubectl on your
workstation and connect your IDE to 127.0.0.1:5678. This needs port-forward
permission. The generated VS Code workflow handles its connection separately and
does not need this manual forward. Restart the hotfix child after Python debugging.
Cluster access commands, for remote work:
Command |
Purpose |
|---|---|
|
Create a namespace-confined account and its kubeconfig, then prove it is confined |
|
Remove that account, its bound tokens and its kubeconfig |
|
Write a kubeconfig that reaches the API through an SSH tunnel, and start the tunnel |
See the release notes for published versions.