{"repo":"knight42/kt","free":true,"listed":false,"github":"https://github.com/knight42/kt","clone":"git clone https://github.com/knight42/kt.git","description":"yet another pods log tailer for kubernetes","language":"Go","stars":13,"topics":["kubernetes","devops","logging","pod","tail","debugging"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"kt kt is short for Kubernetes Tail. It behaves like kubectl logs -f and its usage is similar to kubectl get . Table of Contents 0. Features 1. Usage 1.1 Install bash/zsh completion 1.2 Filter pods by name or regexp 1.3 Filter pods by labels 1.4 Tail pods belong to a higher level object 1.5 Filter logs by query 1.6 Prefix mode 2. Installation 0. Features Tail all containers in a pod by default. Automatically tail new pods, discard deleted pods and retry if the pod switches to running phase from pending phase. Recover from containers restart. Filter logs by query DSL with and , or , parentheses, and quoted strings. Auto-hide pod/container prefix when tailing a single container. Auto completion. Colorized output. 1. Usage 1.1 Install bash/zsh completion NOTE: If you install kt using homebrew, the completion is already installed. Load the completion code into current shell 1.2 Filter pods by name or regexp or 1.3 Filter pods by labels 1.4 Tail pods belong to a higher level object Currently only the following resources are supported: Service Deployment StatefulSet DaemonSet HPA Job ReplicaSet ReplicationController CronJob 1.5 Filter logs by query Use -q/--query to filter log lines with a boolean DSL: 1.6 Prefix mode The --prefix flag controls pod/container prefix display: auto (default): hide prefix when tailing a single pod with a single container always : always show the prefix off : never show the prefix 2. Installation Using Homebrew: Or download from the release page.","default_branch":null,"files":null,"tree":[],"storefront":"/r/knight42","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/knight42/kt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}