k9s
k9s copied to clipboard
kubectl-jq did not work
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.
@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.