kubectl-clog

module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: Apache-2.0

README

clog kubectl

A kubectl plugin to colorize you logs

Quick Start

kubectl krew install clog
# everything just like kubectl logs, just replace logs with clog
kubectl clog deploy/helloworld --tail=1 -f

Feature

Some content are detected to colorizing.

  • json format log with level field. e.g. {"level":"debug"}
  • envoy format log via istio-proxy. e.g. 2023-12-26T07:01:24.212130Z debug envoy upstream
  • istio access log. e.g. [2023-12-26T05:45:58.421Z] "POST /package.service/method HTTP/2" 200 ...
image image image

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳