Go Kubectl

Open-source Go projects categorized as Kubectl

Top 23 Go Kubectl Projects

  • kubectx

    Faster way to switch between clusters and namespaces in kubectl

    Project mention: Setting kubectl context via env var | reddit.com/r/kubernetes | 2023-05-02

    check out kubectx/kubens https://github.com/ahmetb/kubectx very handy tool to permanently switch context/namespace

  • krew

    📦 Find and install kubectl plugins

    Project mention: Lock your Kubernetes contexts! | reddit.com/r/kubernetes | 2023-03-15

    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

  • devtron

    Tool integration platform for Kubernetes

    Project mention: Stupid question? Lens vs OpenLens vs Monokle | reddit.com/r/kubernetes | 2023-05-16
  • ksniff

    Kubectl plugin to ease sniffing on kubernetes pods using tcpdump and wireshark

    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.

    Project mention: Anyone using Kata Containers? | reddit.com/r/kubernetes | 2023-04-23

    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-27

    As 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-10

    I’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.

  • kubectl-trace

    Schedule bpftrace programs on your kubernetes cluster using the kubectl

    Project mention: Getting started with kubectl plugins | dev.to | 2023-01-18

    Link to GitHub Repository

  • kube-prompt

    An interactive kubernetes client featuring auto-complete.

  • kpt

    Automate Kubernetes Configuration Editing

    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.

  • kubecolor

    colorizes kubectl output

    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

  • kubelogin

    kubectl plugin for Kubernetes OpenID Connect authentication (kubectl oidc-login)

    Project mention: Kubernetes in production. | reddit.com/r/kubernetes | 2023-02-21

    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.

  • rakkess

    Review Access - kubectl plugin to show an access matrix for k8s server resources

    Project mention: Getting started with kubectl plugins | dev.to | 2023-01-18

    Link to GitHub Repository

  • webkubectl

    Run kubectl command in Web Browser.

    Project mention: Web Kubectl – Run kubectl command in web browser | news.ycombinator.com | 2022-08-22
  • fubectl

    Reduces repetitive interactions with kubectl

    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

    Project mention: Getting started with kubectl plugins | dev.to | 2023-01-18

    Link to GitHub Repository

  • ketall

    Like `kubectl get all`, but get really all resources

    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 .

  • outdated

    Kubectl plugin to find and report outdated images running in a Kubernetes cluster

    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.

    Project mention: Detecting Kubernetes API Deprecations with pluto | dev.to | 2022-07-24

    Pluto is available on multiple platforms and via a variety of package managers. We'll use binenv here.

  • launchpad

    From Code to Kubernetes in One Step.

    Project mention: launchpad | reddit.com/r/devopspro | 2023-02-05
  • kube-lineage

    A CLI tool to display all dependencies or dependents of an object in a Kubernetes cluster.

  • kubectl-df-pv

    kubectl plugin - giving admins df (disk free) like utility for persistent volumes

    Project mention: Most Useful kubectl Plugins | dev.to | 2022-10-14

    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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-16.

Go Kubectl related posts

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
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.
www.sonarlint.org