init
This commit is contained in:
parent
31677d500b
commit
bac6c98933
28
plugins/plslogs.yaml
Normal file
28
plugins/plslogs.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: krew.googlecontainertools.github.com/v1alpha2
|
||||||
|
kind: Plugin
|
||||||
|
metadata:
|
||||||
|
name: plslogs
|
||||||
|
spec:
|
||||||
|
homepage: https://git.qoobing.com/opensource/kubernetes/kubectl-plugins.git
|
||||||
|
shortDescription: "pls(pod list select) and then logs(kubectl logs)"
|
||||||
|
version: "v0.1.0"
|
||||||
|
description: |
|
||||||
|
Provide a simple tools for logs pod without 'copy' pod name.
|
||||||
|
It show a pod list first and after you choose one,
|
||||||
|
and it will execute 'kubectl logs --tail 100 -f $selectpod'
|
||||||
|
platforms:
|
||||||
|
- selector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: "os"
|
||||||
|
operator: "In"
|
||||||
|
values:
|
||||||
|
- darwin
|
||||||
|
- linux
|
||||||
|
uri: https://github.com/morningspace/kubeassert/archive/v0.2.0.tar.gz
|
||||||
|
sha256: a35b62a111212a74c954f2991fdfa7b4cad8e92b9318773f87c9ff8c12a5ea52
|
||||||
|
bin: kubectl-assert.sh
|
||||||
|
files:
|
||||||
|
- from: "/kubeassert-*/kubectl-assert.sh"
|
||||||
|
to: "."
|
||||||
|
- from: "/kubeassert-*/LICENSE"
|
||||||
|
to: "."
|
Loading…
Reference in New Issue
Block a user