Releases: ipsegs/sshpodlog
Release list
sshpodlog v1.0.5
New Release: SSH Pod Log v1.0.5
We're excited to introduce SSH Pod Log Downloader v1.0.5, a powerful Go command-line tool designed to enhance your logging experience. This release comes with significant improvements, providing a more streamlined user experience and introducing new features. Here's what's new in this version:
What's New in v1.0.5?
-
Enhanced Configuration: Enjoy simplified configuration with the ability to set all flags either through a configuration file or directly from the command line. This flexibility ensures effortless integration into your workflow.
-
Intuitive Subcommands: SSH Pod Log Downloader now offers four distinct subcommands, each catering to specific use cases:
- File Subcommand: Print logs into a file and transfer them from the server to a local client server.
- Terminal Subcommand: Print logs directly to the terminal for quick viewing.
- Filter Subcommand: Filter logs based on a specified string and print them to the terminal.
- Tail Subcommand: Watch live logs in real-time as they stream into the terminal.
-
Multi-Format Support: The configuration file can now be in YAML, JSON, TOML, or other supported formats, providing flexibility in your setup.
How to Get Started
Installation
Binary Download
Download the binary executable directly from the Releases Assets to start using SSH Pod Log Downloader immediately.
Manual Installation
If you have Go installed, install SSH Pod Log Downloader using the following command:
go install github.com/ipsegs/sshpodlog@v1.0.5Building from Source
If you prefer building from source, follow these steps:
-
Clone the Repository:
git clone https://github.com/ipsegs/sshpodlog.git
-
Navigate to the Project Directory:
cd sshpodlog -
Run the Installation Script:
./installer.sh
The script will guide you through selecting the target operating system (Linux, macOS, or Windows) and build the executable accordingly.
Usage
SSH Pod Log Downloader now supports four subcommands:
-
File Subcommand:
sshpodlog file -f config-file.yaml
-
Terminal Subcommand:
sshpodlog terminal -f config-file.yaml
-
Filter Subcommand:
sshpodlog filter -r ERROR -f config-file.yaml
-
Tail Subcommand:
sshpodlog tail -f config-file.yaml
Configure your SSH Pod Log Downloader using the provided flags in the configuration file. Here's a sample YAML configuration:
# SSH Pod Log Downloader Configuration
server: 192.168.1.100
port: 22
username: myuser
cluster: production
key: ~/.ssh/id_rsaFor detailed flag options, refer to the Readme.
Contributing
We welcome contributions! If you encounter issues or have suggestions, please open an issue or submit a pull request on our GitHub repository.
Upgrade your logging experience with SSH Pod Log Downloader v1.0.5 today! Happy logging! 🚀
SSH Pod Log Downloader v1.0.2
SSH Pod Log Downloader v1.0.2
SSH Pod Log Downloader is a powerful command-line tool written in Go that simplifies the process of connecting to an SSH server, interacting with Kubernetes using kubectl, and downloading logs from a specified pod.
Installation and Usage
To start using SSH Pod Log Downloader, you have a few installation options:
Using go install
If you have Go installed on your system, you can use the following command to install SSH Pod Log Downloader:
go install github.com/ipsegs/sshpodlog@latestBinary Download
Alternatively, you can directly download the pre-built binary from the Releases section. Choose the appropriate binary for your operating system (Linux, macOS, or Windows) and architecture.
Manual Compilation
If you prefer, you can manually compile the tool using the provided scripts. Clone the repository and follow the instructions in the Installation section of the README.
Usage
Using SSH Pod Log Downloader is straightforward. Here are two common usage scenarios:
Using a Config File
You can load configuration settings from a config file using the -f or --from-file flag. This makes it easier to manage different environments and setups. For example:
sshpodlog -f config.yamlUsing Command-Line Arguments
You can also provide command-line arguments to specify the SSH server address, username, private key path, and other options directly. For example:
sshpodlog -s 192.168.1.100 -u myuser -k ~/.ssh/id_rsaReplace the arguments with the appropriate values for your SSH server configuration.
Notable Features
- Efficiently manage and retrieve logs from Kubernetes pods.
- Support for specifying SSH server address, port, username, cluster context, and private key.
- Option to load configuration from a config file for simplified environment management.
- Robustness in getting namespace.
Contributing
Contributions to SSH Pod Log Downloader are welcome! If you encounter any issues or have ideas for improvements, please open an issue or submit a pull request on the GitHub repository.
License
This project is licensed under the MIT License.
For more details and usage instructions, please refer to the official documentation.
v1.0.1
SSH Pod Log Downloader v1.0.1
SSH Pod Log Downloader is a powerful command-line tool written in Go that simplifies the process of connecting to an SSH server, interacting with Kubernetes using kubectl, and downloading logs from a specified pod.
Installation and Usage
To start using SSH Pod Log Downloader, you have a few installation options:
Using go install
If you have Go installed on your system, you can use the following command to install SSH Pod Log Downloader:
go install github.com/ipsegs/sshpodlog@latestBinary Download
Alternatively, you can directly download the pre-built binary from the Releases section. Choose the appropriate binary for your operating system (Linux, macOS, or Windows) and architecture.
Manual Compilation
If you prefer, you can manually compile the tool using the provided scripts. Clone the repository and follow the instructions in the Installation section of the README.
Usage
Using SSH Pod Log Downloader is straightforward. Here are two common usage scenarios:
Using a Config File
You can load configuration settings from a config file using the -f or --from-file flag. This makes it easier to manage different environments and setups. For example:
sshpodlog -f config.yamlUsing Command-Line Arguments
You can also provide command-line arguments to specify the SSH server address, username, private key path, and other options directly. For example:
sshpodlog -s 192.168.1.100 -u myuser -k ~/.ssh/id_rsaReplace the arguments with the appropriate values for your SSH server configuration.
Notable Features
- Efficiently manage and retrieve logs from Kubernetes pods.
- Support for specifying SSH server address, port, username, cluster context, and private key.
- Option to load configuration from a config file for simplified environment management.
Contributing
Contributions to SSH Pod Log Downloader are welcome! If you encounter any issues or have ideas for improvements, please open an issue or submit a pull request on the GitHub repository.
License
This project is licensed under the MIT License.
For more details and usage instructions, please refer to the official documentation.
v1.0.0
Release Notes - Version 1.0.0
Release of sshpodlogv1.0.0 This version brings an efficient solution to a common challenge faced during development - log retrieval in Kubernetes clusters.
Key Features:
Secure SSH Connection: sshpodlog establishes a secure SSH connection to a designated jumper machine connected to your Kubernetes clusters. This enables controlled access and ensures data privacy.
Effortless Context Switching: Developers can now effortlessly switch between different Kubernetes contexts, simplifying interactions with multiple clusters.
Namespace Listing: sshpodlog provides a list of available namespaces.
Pod Selection: The pod selection feature allows developers to choose a specific pod from the selected namespace for targeted log retrieval.
Download Pod Logs Securely: Then logs are download securely from the chosen pod to their local machine, aiding in troubleshooting and debugging.
This project is designed to address real-world needs effectively. We hope it streamlines your log retrieval process and enhances your development experience.
For detailed usage instructions and installation guidelines, please refer to the project's README.md file.
Thank you. Your feedback and support are greatly appreciated.