diff --git a/plugins/plslogs.yaml b/plugins/plslogs.yaml new file mode 100644 index 0000000..0d511b6 --- /dev/null +++ b/plugins/plslogs.yaml @@ -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: "."