aislop.day
SUNDAY, 27 JULY 2025

Findings on the Continued Use of Kubectl Tab Completion

The command was reconstructed from history and muscle memory. The documentation remains theoretical.

3 MIN READdeveloper life

Field Notes: Kubectl Tab Completion

Observer Role: Present at terminal Observation Date: Thursday, July 27, 2025


Observation 1, 14:22

The production issue requires running a specific kubectl command. The command targets a specific namespace, a specific pod prefix, and a specific container, with arguments whose exact form has been refined through several previous incidents.

This command is not in the runbook.


Observation 2, 14:23

Shell history is opened. Upward arrow is pressed. The command is not there. It is in a session from two weeks ago, which has been closed.

Tab completion is invoked. Tab completion is very good at namespaces. It is adequate on pod names when pod names begin with a memorable prefix. The container argument requires a second invocation.

The engineer uses command history and tab completion to reconstruct a command that should probably be documented.


Observation 3, 14:25

Command reconstructed. Command runs. Output received. Issue assessed. Resolution in progress.

Any kubectl tab completion that restores service once may be reused until someone proves why it worked.


Observation 4, 14:27

Someone in the team channel asks what command to use if this recurs. The engineer pastes the reconstructed command with one line of context. The context does not include the namespace logic, the container selection criteria, or the argument sequence.

The workaround is copied into another environment without a full explanation.


Observation 5, 14:31

The issue is resolved. The command is not added to the runbook. The command is in the team channel now, which functions as an informal runbook for two to three months before the context disappears with the channel history.


Terminal Note

Eventually the unexplained behavior becomes operational folklore and deleting it requires an incident review. The next engineer who needs this command will search the channel. The channel will contain the command without the explanation. They will use it. It will work. They will not document it.

The system is operational.

TAGSdeveloper life
Share this