add kubels v0.1.0
This commit is contained in:
parent
4998e224a4
commit
be0604b90c
30
plugins/kubels.yaml
Normal file
30
plugins/kubels.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: krew.googlecontainertools.github.com/v1alpha2
|
||||||
|
kind: Plugin
|
||||||
|
metadata:
|
||||||
|
name: ls
|
||||||
|
spec:
|
||||||
|
homepage: https://git.qoobing.com/r/opensource/kubernetes/kubectl-plugins.git
|
||||||
|
shortDescription: Interactive list and select resource before execute kubectl.
|
||||||
|
version: "v0.1.0"
|
||||||
|
description: |
|
||||||
|
Interactive list and select resource before execute kubectl.
|
||||||
|
You don't need to 'copy' pod name(or something else) when you execute a kubectl command which need it.
|
||||||
|
Usage example:
|
||||||
|
kubectl ls get pod
|
||||||
|
kubectl ls get pod -n kube-system
|
||||||
|
kubectl ls exec -it -- bash
|
||||||
|
kubectl ls logs --tail 100
|
||||||
|
platforms:
|
||||||
|
- selector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: "os"
|
||||||
|
operator: "In"
|
||||||
|
values:
|
||||||
|
- darwin
|
||||||
|
- linux
|
||||||
|
uri: https://git.qoobing.com/public/download/kubels-v0.1.0.tar.gz
|
||||||
|
sha256: e21b141392356efe95c1113bd7e9c8a5e0044a6e1e182a248b08349fd40aca0f
|
||||||
|
bin: kubels
|
||||||
|
files:
|
||||||
|
- from: /kube*/*
|
||||||
|
to: .
|
@ -1,26 +0,0 @@
|
|||||||
apiVersion: krew.googlecontainertools.github.com/v1alpha2
|
|
||||||
kind: Plugin
|
|
||||||
metadata:
|
|
||||||
name: plslogs
|
|
||||||
spec:
|
|
||||||
homepage: https://git.qoobing.com/r/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 by youself).
|
|
||||||
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://git.qoobing.com/public/static/kubectl-plslogs-v0.1.0.tar.gz
|
|
||||||
sha256: de7a55d7b44a78f75885f3b5a97703b68ebf9fa6386940d40ab830b201da1161
|
|
||||||
bin: plslogs.sh
|
|
||||||
files:
|
|
||||||
- from: /kubectl-*/*
|
|
||||||
to: .
|
|
Loading…
Reference in New Issue
Block a user