Skip to content

Commit 54943e9

Browse files
committed
Add note about k8s list pods auto runtime behavior
1 parent 9a48eb9 commit 54943e9

File tree

1 file changed

+2
-0
lines changed
  • pkg/app/master/command/debug

1 file changed

+2
-0
lines changed

pkg/app/master/command/debug/cli.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ var CLI = &cli.Command{
239239
xc.Exit(-1)
240240
}
241241

242+
// NOTE -> this approach results in the default of `auto` erroring out
243+
// even if the user's system has a `k8s` runtime available`
242244
if commandParams.ActionListPods &&
243245
commandParams.Runtime != crt.KubernetesRuntime {
244246
xc.Out.Error("param", "unsupported runtime flag")

0 commit comments

Comments
 (0)