andrea-falco / lens-multi-pod-logs Goto Github PK
View Code? Open in Web Editor NEWMulti pod and container logs for Lens
Home Page: https://www.npmjs.com/package/@andrea-falco/lens-multi-pod-logs
License: MIT License
Multi pod and container logs for Lens
Home Page: https://www.npmjs.com/package/@andrea-falco/lens-multi-pod-logs
License: MIT License
Hi, will these features be added at some point? Or am I missing something obvious to enable them?
I am using a custom template for stern to not have such a long prefix as the default.
Right now, I have to execute the command manually.
Could you add an option to be able to add a custom template in the settings?
I guess a simple text box which's content (if not empty) gets appended to the command with the --template -Tag would be enough.
Currently logs from all the containers in all the pods are being written to the terminal. Could we have an option to select only specific containers. I think having sub menus to select a container would be possible in lens.
Hi!
I have deployment with 30 pods and 3 containers.
When i try to read logs i get this error:
stern deployment/api --color auto --namespace default --since 1s
➜ ~ stern deployment/api --color auto --namespacedefault --since 1s
...
CUT: <list of pods and container>
...
Error: stern reached the maximum number of log requests (50), use --max-log-requests to increase the limit
how can i pass this parameter?
Hi, First of all I think this couldn't really be an issue at all but it will be greatly appreciated if the plugin cover this little problem.
I install stern with krew by kubectl krew install stern
in my powershell teminal.
To use stern
I have to run kubectl stern
instead of single stern
command
so when using this plugin on lens I got this error.
PS C:\Users\user> stern deployment/web --color auto --namespace project_namespace --since 1s
stern : The term 'stern' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ stern deployment/web --color auto --namespace project_n ...
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (stern:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
My solution is to mapping kubectl stern
command to stern
for example in powershell terminal.
function stern {
kubectl stern $args
}
I would like to ask if its possible to limit the output by an specific pattern given by a search input field?
For example, I'm using this extension for access log across multiple pods, but I'm only looking for an specific IP.
stern supports --include
and --exclude
natively.
When both openlens-node-pod-menu + lens-multi-pod-logs are installed none of them work :-(
It would be great if we could have both extensions installed at the same time.
Hi, thanks for this helpful extension!
Would it be possible to provide the same functionality for StatefulSets as well?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.