Clarify where to run the command in the "Is kube-proxy running?" section
Description
What would you like to be added or changed?
In the "Is kube-proxy running?" section of the Debug Services tutorial, the instructions mention:
Running directly on a Node, you should get something like the below:
However, for someone following the tutorial with a local Kubernetes cluster running in Docker, it may not be obvious how to access the Node to execute the command.
Would it be helpful to add a brief hint explaining that, when using the Docker driver, docker exec can be used from the local terminal to access the node container and run the command inside it?
Why is this needed?
While following the tutorial, I understood that the command needed to be executed directly on a Node, but I wasn't sure how to access the Node itself.
A small hint about using docker exec could help beginners understand how to get into the node container and where to execute the command, without interrupting the flow of the tutorial.
I'm raising this to check whether such a clarification would be useful or whether the current instructions intentionally leave this step for readers to figure out.
If this clarification makes sense, I'd be happy to open a PR to address it. Please let me know if you have any suggestions or a preferred approach.
This issue is currently awaiting triage.
SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.
The triage/accepted label can be added by org members by writing /triage accepted in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
To me, this proposed addition is a very niche detail.
Most people don't run a Kubernetes node inside a Docker container. If you're doing that, you're probably using a tool like Minikube. The docs for the tool should guide people to understand the difference between their local test cluster and a typical one.
Bear in mind also that Docker is one of several (about six?) drivers for Minikube, and that there are tens of tools that are like Minikube but different…
Hi @lmktfy, thanks for sharing your perspective
I see your point about keeping the tutorial focused on Kubernetes concepts rather than covering the specifics of different local cluster tools and their drivers.
My intention was mainly to highlight a possible point of confusion for beginners. I understood that the command needed to run directly on a Node, but wasn't immediately sure how to access it in my local setup.
I agree that adding Docker-specific instructions might not be the right approach here. Perhaps the existing instructions are sufficient, with users referring to their respective tools' documentation for accessing nodes.
Thanks for helping me understand the broader documentation perspective
I agree that Docker-specific instructions may be too narrow. Would a tool-agnostic clarification be acceptable, such as:
"Run this command directly on a Kubernetes node. If you are using a local cluster tool, refer to that tool's documentation for how to access the node."
If that direction is acceptable, I can prepare a PR.
@Rohit-ATS, yes this could be a good solution