Skip to content

Commit

Permalink
plugins: add tail (github.com/boz/kail) (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
boz authored and k8s-ci-robot committed May 29, 2019
1 parent e169b06 commit 2ea62f0
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions plugins/tail.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: tail
spec:
version: "v0.10.1"
platforms:
- uri: https://github.com/boz/kail/releases/download/v0.10.1/kail_0.10.1_darwin_amd64.tar.gz
sha256: c0539d100c0c72ac88340976df7c3dd96febfcced7cf6cc5272b61a5ea514506
selector:
matchLabels:
os: darwin
arch: amd64
bin: kail
files:
- from: "kail"
to: "."
- uri: https://github.com/boz/kail/releases/download/v0.10.1/kail_0.10.1_linux_amd64.tar.gz
sha256: 253ab06570bc3a7afc6ab163b0ac9808b1ce257d2cbcd87c09859511bcbfc138
selector:
matchLabels:
os: linux
arch: amd64
bin: kail
files:
- from: "kail"
to: "."
homepage: https://github.com/boz/kail
shortDescription: Stream logs from multiple pods and containers using simple, dynamic source selection.
description: -|
Kail https://github.com/boz/kail - "Just show me the logs"

Stream logs from all matched containers of all matched pods. Match pods by service,
replicaset, deployment, and others. Adjusts to a changing cluster - pods are
added and removed from logging as they fall in or out of the selection.
caveats: |
Documentation:
See https://github.com/boz/kail or
$ kubectl tail --help
Usage:
# match all pods
$ kubectl tail
# match pods in the 'frontend' namespace
$ kubectl tail --ns staging
# match pods belonging to a replicaset named 'workers' in any namespace.
$ kubectl tail --rs workers
# match pods belonging to the replicaset named 'workers' only in the 'staging' namespace
$ kubectl tail --rs staging/workers
# match pods belonging to both the service "frontend" and the deployment "webapp"
$ kubectl tail --svc frontend --deploy webapp

0 comments on commit 2ea62f0

Please sign in to comment.