You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate json-log-viewer with k9s to view formatted JSON logs directly within the k9s interface.
52
52
53
+
### Prerequisites
54
+
For the plugin to work correctly, the following must be installed on your system:
55
+
1.**coursier** - Used to download and run `json-log-viewer` if it's not installed.
56
+
2.**json-log-viewer** (optional) - If already installed, the plugin will use it directly; otherwise, it will fall back to using `coursier` to launch it.
57
+
58
+
### Installation
53
59
Add the following to your k9s plugin file
54
60
(usually located at ~/.k9s/plugins.yaml or, on macOS, check the plugin path with `k9s info`):
55
61
@@ -66,10 +72,16 @@ plugins:
66
72
args:
67
73
- -c
68
74
- |
75
+
if command -v json-log-viewer >/dev/null 2>&1; then
0 commit comments