Code Monkey home page Code Monkey logo

lens-multi-pod-logs's Introduction

Multi Pod Logs Lens Extension

A Lens (or OpenLens) extension that enables you to see logs from multiple pods (and multiple containers within the pod) on Kubernetes.

๐Ÿšง Requirements

  • Lens (or OpenLens) >= 6.0.0
  • stern >= 1.23.0

โš ๏ธ This extension uses stern 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.

๐Ÿงฐ Installing

Just make sure Lens is running, and follow these simple steps:

  1. Go to Extensions view (Menu -> File -> Extensions)
  2. Enter the name of this extension, @andrea-falco/lens-multi-pod-logs
  3. Click on the Install button
  4. Make sure the extension is enabled

install-by-name


๐Ÿš€ Features

After completing the installation, you will see a new action Multi Pod Logs for Deployments/StatefulSets menu:

install-by-name

The new action will open a new terminal where all the logs coming from all the containers of all the pods of the deployment/statefulset will be shown.

๐ŸŽจ Colored logs

If you're using Windows 10 (and PowerShell as terminal in Lens) 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 Lens.


Upgrading

To upgrade to a newer release, go to the Extensions view, uninstall the extension, and then re-install it again.

Uninstalling

Go to the Lens Extensions view and click the Uninstall button next to this extension.

lens-multi-pod-logs's People

Contributors

andrea-falco avatar an-falco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.