k9s icon indicating copy to clipboard operation
k9s copied to clipboard

kubectl-jq did not work

Open JayKus opened this issue 4 years ago • 1 comments

The plugin did not work for me.

The file kubectl-plugins/kubectl-jq only asks for 3 variables but log_jq.yml provided 4, with 'jq' being the first, which isn't a proper value for -f $1 (that pod does not exist).

After we fixed that, we'd get this error:

ERR Command exited: exec: "kubectl-jq": executable file not found in $PATH error="exec: \"kubectl-jq\": executable file not found in $PATH"

So we hardcoded the path to kubectl-jq, which fixed that. To clarify this, I amended the README.md

  • Made 'kubectl-jq' work for me
  • Amended documentation and yaml for clarity.

JayKus avatar Jul 30 '21 14:07 JayKus

@derailed Since this PR is ~4 years old and k9s now has multiple working jq log plugins in master, this looks outdated. Probably best to mark stale.

uozalp avatar Sep 16 '25 07:09 uozalp