From e7409b4ce3c7e20a6d6c9d369b509f375f2bccf4 Mon Sep 17 00:00:00 2001 From: Tobias Germer Date: Sun, 19 Apr 2020 23:47:42 +0200 Subject: [PATCH 1/2] Add dive to plugins --- plugins/dive.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 plugins/dive.yml diff --git a/plugins/dive.yml b/plugins/dive.yml new file mode 100644 index 00000000..8824d132 --- /dev/null +++ b/plugins/dive.yml @@ -0,0 +1,10 @@ +plugin: + dive: + shortCut: d + description: "Dive image" + scopes: + - containers + command: dive + background: false + args: + - $COL-IMAGE From 87a101b5e8670d20c617f593eab6423c2a3a3666 Mon Sep 17 00:00:00 2001 From: Tobias Germer Date: Sun, 19 Apr 2020 23:51:38 +0200 Subject: [PATCH 2/2] Add dive plugin to README --- plugins/README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/README.md b/plugins/README.md index 0ecc4cca..af9331bc 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -2,8 +2,9 @@ K9s plugins extend the tool to provide additonal functionality via actions to further help you observe or administer your Kubernetes clusters. -| Plugin-Name | Description | Available on Views | Shortcut | Kubectl plugin | -|-----------------|--------------------------------|--------------------|----------|----------------------------| -| log_stern.yml | View resource logs using stern | pods | Ctrl-l | | -| log_jq.yml | View resource logs using jq | pods | Ctrl-j | kubetcl-plugins/kubectl-jq | -| job_suspend.yml | Suspends a running cronjob | cronjobs | Ctrl-s | | +| Plugin-Name | Description | Available on Views | Shortcut | Kubectl plugin, external dependencies | +|-----------------|--------------------------------|--------------------|----------|-------------------------------------------| +| log_stern.yml | View resource logs using stern | pods | Ctrl-l | | +| log_jq.yml | View resource logs using jq | pods | Ctrl-j | kubetcl-plugins/kubectl-jq | +| job_suspend.yml | Suspends a running cronjob | cronjobs | Ctrl-s | | +| dive.yml | Dive image layers | containers | d | [Dive](https://github.com/wagoodman/dive) |