Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Top 23 Go Kubectl Projects
-
check out kubectx/kubens https://github.com/ahmetb/kubectx very handy tool to permanently switch context/namespace
-
I plan on getting it added as a krew plugin, so watch this space.
-
ONLYOFFICE
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
-
Project mention: Stupid question? Lens vs OpenLens vs Monokle | reddit.com/r/kubernetes | 2023-05-16
-
Project mention: unknown field "capabilities" in io.k8s.api.core.v1.PodSecurityContext (running tshark in a container/k8s pod) | reddit.com/r/codehunter | 2023-05-06
so probably the right way is to use some tool like that (ksniff) or setup a sidecar container. But I am still curious to why I get the above error.
-
vcluster
vcluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
The tenants are internal dev teams so yeah maybe not. I was considering multi-tenanting different environments isolated at the kube layer with vCluster and have the vCluster pods running in Kata containers giving maximum isolation but still having a single management cluster. Ideally also avoiding the need to buy a second set of hardware for a dev environment
-
kubectl-tree
kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (star the repo if you are using)
Project mention: [K8s Go client] How to collect all kinds info of all API groups in a single function? | reddit.com/r/golang | 2022-07-27As is mentioned in the beginning of the file, code their is heavily inspired from https://github.com/ahmetb/kubectl-tree.
-
kubectl-debug
This repository is no longer maintained, please checkout https://github.com/JamesTGrant/kubectl-debug.
Project mention: What are some useful Kubernetes tools you can share? | reddit.com/r/kubernetes | 2022-09-10I’ve used kubectl-debug quite a bit ( https://github.com/aylei/kubectl-debug ), although there might be better ways of doing it nowadays.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
Link to GitHub Repository
-
-
Project mention: Introduce KPT KCL SDK - Kubernetes manifests editing with one line of KCL code. | reddit.com/r/devops | 2023-03-27
For the kpt tool and kpt kcl SDK, all mutations performed by KCL in place will be checked into git. In reality, KCL is not limited to mutating Kubernetes manifests on the client side. It is also suitable for use in the admission controller (mainly with certain advantages in language features and performance). We also have plans to support the use of KCL by operators in clusters to edit or validate Kubernetes manifests just like Kubevela and CUE language.
-
Project mention: What daily terminal based tools are you using for cluster management? | reddit.com/r/kubernetes | 2022-12-05
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
-
Yes, I setup a cluster with no SPFs. That means an HA setup for the external load balancer. I use HAProxy for my ELB, and setup 2 instances with a VRRP + keepalived to provide HA to the ingress controller. I run the control plane private, accessible only from localhost. I setup kube-oidc-proxy (https://github.com/jetstack/kube-oidc-proxy) to expose the API server with single sign-on on the ingress controller, and use the kubelogin plugin (https://github.com/int128/kubelogin) to provide OIDC support to kubectl. I then setup Keycloak to handle OIDC/OAuth2/SAML and syncing to Active Directory, and setup groups in Active Directory to control acccess to clusters. Devs each get their own namespace in the dev cluster, with mostly cluster-admin access to their namespace. Staging/Prod clusters are locked down, with read-only access to devs. Thanks to the OIDC auth to the APIServer, when employees are onboarded & offboarded, we only need to add/remove them from groups in Active Directory and everything else just magically syncs.
-
Link to GitHub Repository
-
Project mention: Web Kubectl – Run kubectl command in web browser | news.ycombinator.com | 2022-08-22
-
Project mention: What daily terminal based tools are you using for cluster management? | reddit.com/r/kubernetes | 2022-12-05
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
-
rbac-tool
Rapid7 | insightCloudSec | Kubernetes RBAC Power Toys - Visualize, Analyze, Generate & Query
Link to GitHub Repository
-
Project mention: kubectl-really-get-all: A kubectl plugin that can list everything in your cluster [I made this for fun, dont use in prod] | reddit.com/r/kubernetes | 2023-03-27
There's also ketall / kubectl get-all .
-
Project mention: A tool that scans repos and workout latest version and pull date of installed version + how to lock down repos (via some cluster policy?) | reddit.com/r/kubernetes | 2023-04-27
https://outdated.sh ?
-
kubectl-foreach
Run kubectl commands in all/some contexts in parallel (similar to GNU xargs+parallel)
Project mention: ahmetb/kubectl-foreach: Run kubectl commands in all/some contexts in parallel (similar to GNU xargs+parallel) | reddit.com/r/devopsish | 2022-11-30 -
binenv
One binary to rule them all. Manage all those pesky binaries (kubectl, helm, terraform, ...) easily.
Pluto is available on multiple platforms and via a variety of package managers. We'll use binenv here.
-
-
kube-lineage
A CLI tool to display all dependencies or dependents of an object in a Kubernetes cluster.
-
Install df-pv plugin with krew :
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Go Kubectl related posts
- unknown field "capabilities" in io.k8s.api.core.v1.PodSecurityContext (running tshark in a container/k8s pod)
- Setting kubectl context via env var
- A tool that scans repos and workout latest version and pull date of installed version + how to lock down repos (via some cluster policy?)
- Who is using VerticalPodAutoscaler?
- Minikube broke my Kubectl config
- Kub'rin' a breeze: Developing on ephemeral cloud-based K8s clusters
- kubectl-really-get-all: A kubectl plugin that can list everything in your cluster [I made this for fun, dont use in prod]
-
A note from our sponsor - SonarLint
www.sonarlint.org | 1 Jun 2023
Index
What are some of the best open-source Kubectl projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | kubectx | 15,334 |
2 | krew | 5,574 |
3 | devtron | 3,141 |
4 | ksniff | 2,729 |
5 | vcluster | 2,611 |
6 | kubectl-tree | 2,551 |
7 | kubectl-debug | 2,247 |
8 | kubectl-trace | 1,831 |
9 | kube-prompt | 1,714 |
10 | kpt | 1,483 |
11 | kubecolor | 1,265 |
12 | kubelogin | 1,223 |
13 | rakkess | 1,150 |
14 | webkubectl | 773 |
15 | fubectl | 664 |
16 | rbac-tool | 650 |
17 | ketall | 566 |
18 | outdated | 394 |
19 | kubectl-foreach | 362 |
20 | binenv | 341 |
21 | launchpad | 340 |
22 | kube-lineage | 315 |
23 | kubectl-df-pv | 299 |