farmotive / kex Goto Github PK
View Code? Open in Web Editor NEWQuick k8s pod exec utility
Home Page: https://github.com/farmotive/kex
License: MIT License
Quick k8s pod exec utility
Home Page: https://github.com/farmotive/kex
License: MIT License
The brew install works for Linux. So, "For macOS:" can read "Using brew"....
flag -n
would be nice if allowed to set the namespace
When using kex, if a namespace is empty, it can still be accepted as an option, which then fails when the default pod is not found. Testing for this would require querying all namespaces for pods before listing, which may be too much of a burden for the edge case.
kex -ls:
1 boiling-cow-rabbitmq-2375060383-xk4c6
2 nginx-deployment-2122188915-7xrll
3 nginx-deployment-2122188915-8rfq5
4 nginx-deployment-2122188915-dgpzh
5 sqe-wiremock-8xpl6
6 tiller-deploy-553736225-s18vh
7 warped-clam-jenkins-501160700-2cr2h
kex
error: unable to upgrade connection: container not found ("boiling-cow-rabbitmq")
Is it ever really valuable to exec into the very first container listed in your namespace? Currently you have a 1/N chance with kex
. Otherwise, you again type kex -n <NUM> [OPTIONS]
. What if we instead make kex
default to --list
, and prompt for a number (it can still default to 1 if you hit enter with no number). Worst case you type one extra key… normal case, you save 8 keys (plus any addtl options). Thoughts?
Will have to sense if this alias is present and omit...
Tests file should include:
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.