Conversation
The generated kubeadm init options table omits global flags. -v/--v is how you get verbose logs; it lives on kubeadm itself, not on init. Signed-off-by: Dean Chen <862469039@qq.com>
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
||
| {{< include "generated/kubeadm_init/_index.md" >}} | ||
|
|
||
| ### Inherited global flags {#inherited-global-flags} |
There was a problem hiding this comment.
why only kubeadm init?
all kubeadm commands support the --v flag of klog.
There was a problem hiding this comment.
yeah — it is on the parent command, so join/reset/upgrade get it too. pulled the note into a shared include and dropped it on those pages.
There was a problem hiding this comment.
yeah, it is not init-only — -v sits on the parent kubeadm command. I put the same note on the other subcommand pages and on the kubeadm landing page.
-v/--v lives on the parent kubeadm command, so join/upgrade/reset and the rest inherit it too. Share one note across those pages. Signed-off-by: Dean Chen <862469039@qq.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Same parent-command flags on upgrade/token/config/certs/version and the kubeadm landing page, not only init/join/reset. Signed-off-by: Dean Chen <862469039@qq.com>
neolit123
left a comment
There was a problem hiding this comment.
hm, actually someone is trying to resolve this on the generator level.
i think that might be the better fix if it works:
|
yeah, putting -v in the generated tables is the right fix. i can close this once kubernetes-sigs/reference-docs#469 lands — until then the note is just so people can find the flag. |
|
/sig docs |
The generated options table on the kubeadm init page only lists init-specific flags. People look there for a verbosity switch and miss
-v, which lives on the parentkubeadmcommand.Added a short note after the table.
--v=10is what neolit123 suggested for API traces;--rootfsis mentioned because it's the other inherited flag.Fixes #48717
This PR was written in part with the assistance of generative AI.