Warning
This extension is no longer actively maintained.
I originally created this extension for Lens/OpenLens, and later adapted it for Freelens upon request from the FreeLens developers.
However, FreeLens updates frequently introduce breaking changes that require constant adjustments.
As I do not use FreeLens myself, I’m unable to dedicate the time necessary to keep this extension up to date with each release.
Feel free to fork this project if you'd like to maintain or improve it.
Contributions are also welcome, but please be aware that I may not be able to respond promptly to issues or pull requests.
A Freelens extension that enables you to see logs from multiple pods (and multiple containers within the pod) on Kubernetes.
- Freelens
>= 1.0.0
- stern
>= 1.30.0
⚠️ This extension usesstern
under the hood, so it needs to be installed on your computer for the extension to work. If you don't know how to install it you can follow these steps.
Just make sure Freelens is running, and follow these simple steps:
- Go to Extensions view (
Menu -> File -> Extensions
) - Enter the name of this extension,
@andrea-falco/freelens-multi-pod-logs
- Click on the Install button
- Make sure the extension is enabled
After completing the installation, you will see a new action Multi Pod Logs for the menu below:
- Deployments
- StatefulSets
- ReplicaSets
- DaemonSets
The new action will open a new terminal where all the logs coming from all the containers of all the pods of the resource will be shown.
Some extension behaviors and parameters can be adjusted from the Freelens preferences page, in the appropriate section dedicated to the extension:
If you're using Windows 10/11 (and PowerShell as terminal in Freelens) and you don't see colored pod logs, you can enable colors running this command:
Set-ItemProperty HKCU:\Console VirtualTerminalLevel -Type DWORD 1
Then restart Freelens.
To upgrade to a newer release, go to the Extensions view, uninstall the extension, and then re-install it again.
Go to the Freelens Extensions view and click the Uninstall button next to this extension.