LogStreamTool is a Crystal application for streaming and monitoring logs from Kubernetes pods. It allows you to easily stream logs from a specific pod to your favorite text editor.
- Stream logs from a Kubernetes pod.
- Choose your preferred text editor (vim, neovim, code, etc.).
- Seamless integration with Kubernetes.
download from release pre-built and run:
# chmod +x if need it
./logstream
### Prerequisites
Make sure you have Kubernetes CLI (`kubectl`) installed on your system.
### Build the Application
```shell
git clone https://github.com/DmarshalTU/LogStreamToo.cr.git
cd logstream-tool
shards build --release
./logstream --namespace mynamespace --pod-name mypod --editor vim
### Options
--namespace: Specify the Kubernetes namespace (default: default).
--pod-name: Specify the pod name (default: nginx).
--editor: Choose your text editor (vim, neovim, code, etc.).
TODO: Write development instructions here
- Fork it (https://github.com/dmarshaltu/logstreamtool/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Denis Tu - creator and maintainer