kconf
jqp
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kconf
-
What daily terminal based tools are you using for cluster management?
To anyone visiting here, I got a lot of feedback for new tools (which I haven't tried yet), both on Youtube and here, so I compiled it into a list: A comment on Lens: Initially I wanted to include Lens in the video but decided it's a bit different in that it's not a CLI / TUI. Many users shared bad experience with Lens, mainly around performance and a large amount of requests it shoots at the cluster API to a point where some companies banned it. These are the tools (I may add a video review on if anyone thinks it's worth it): * https://github.com/kubermatic/fubectl - for an improved kubectl experience * https://github.com/particledecay/kconf - for those with complex kubeconfig changes requirements * https://github.com/MuhammedKalkan/OpenLens - an open version of Lens (note the above before using) * https://github.com/hidetatz/kubecolor - colored kubectl output :) * https://github.com/astefanutti/kubebox - the K9s little brother? * https://github.com/bergerx/kubectl-status - human friendly resource status output
-
Managing Kubernetes config files
See my other comment re: kconf. It's as simple as kconf add /my/file.conf. You could also pipe in from stdin (like if you're reading from Vault): vault kv get -field=kubeconfig /path/to/conf | kconf add.
jqp
-
FZF + JQ = Interactive JQ (+ a vim bonus)
You may be familiar with some utilities that provide this interactivity, like jqp, but these come with their own downsides, namely subtle bugs due to the re-implementation of the original JQ in language X, but also they are additional dependencies you have to track and install for your platform architecture and OS/distribution.
-
What daily terminal based tools are you using for cluster management?
Jqp: https://github.com/noahgorstein/jqp (for more complex jq stuff)
-
Jsonhero.io: Enhanced JSON structure visualization
Also check out jqp (jq REPL) for when you need a few tries to get the right jq selector: https://github.com/noahgorstein/jqp
Looks a bit like fzf combined with jq.
-
Jq Internals: Backtracking
jqp the Text User Interface for playing about with jq might help a bit.
You can have your input JSON terminal left, the output post jq terminal right and interactively edit your jq script elements above.
( based upon the Go implementation of jq )
See: https://github.com/noahgorstein/jqp
-
Use npm query and jq to dig into your dependencies
I also showed using a TUI wapper around `jq` called `jqp` https://github.com/noahgorstein/jqp which can be nice when iterating on a `jq` filter
- jqp
- A TUI playground for exploring jq
- noahgorstein/jqp: A TUI playground to experiment with jq
-
Hacker News top posts: Sep 20, 2022
Jqp – A TUI playground for exploring jq\ (22 comments)
- Jqp – A TUI playground for exploring jq
What are some alternatives?
kubectx - Faster way to switch between clusters and namespaces in kubectl
OpenLens - OpenLens Binary Build Repository
kubie - A more powerful alternative to kubectx and kubens
stern - ⎈ Multi pod and container log tailing for Kubernetes -- Friendly fork of https://github.com/wercker/stern
kubeswitch - The kubectx for operators.
kubebox - ⎈❏ Terminal and Web console for Kubernetes
kubecm - Manage your kubeconfig more easily.
kubectl-status - A kubectl plugin to print a human-friendly output that focuses on the status fields of the resources in kubernetes.
kubecolor - colorizes kubectl output
jaq - A jq clone focussed on correctness, speed, and simplicity
konfig - konfig helps to merge, split or import kubeconfig files
up - Ultimate Plumber is a tool for writing Linux pipes with instant live preview