kubelog

A wrapper for "kubectl logs po/ -c -f" command.


Project maintained by TheMindCompany Hosted on GitHub Pages — Theme by mattgraham

KubeLOG

A wrapper for kubectl logs po/<pod> -c <container> -f command. Makes life a little simpler with user prompt for a pod list selection.

Install

Use the below command to install binary or build from source.

Binary install:

curl https://themindcompany.github.io/kubelog/install.sh -sS | bash -s

Source install:

git clone https://github.com/TheMindCompany/kubelog.git
cd kubelog
make build
make install

USAGE

Refer to the help menu for details -h or --help.

USAGE:
    kubelog [FLAGS] [OPTIONS] [ARGS] [SUBCOMMAND]

FLAGS:
    -v, --verbose    Enable verbose logging
        --dry-run    Perform dry-run analysis
    -h, --help       Prints help information

OPTIONS:
    -f, --filter <filter>          Filter container list. ( ie: my-deployment-name )
    -n, --namespace <namespace>    Namespace target. ( ie: Environment )
    -c, --context <context>        Cluster target
        --eks <eks>                Update token for eks using aws profile

ARGS:
    <pod>          Pod target
    <container>    Container target

SUBCOMMANDS:
    configuration    Completion scripts for various shells
    help             Prints this message or the help of the given subcommand(s)

Work In Progress

Feel free to contribute or use in any way.

Built with Rust love <3