krew VS kubelogin

Compare krew vs kubelogin and see what are their differences.

krew

📦 Find and install kubectl plugins (by kubernetes-sigs)

kubelogin

kubectl plugin for Kubernetes OpenID Connect authentication (kubectl oidc-login) (by int128)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
krew kubelogin
23 14
6,122 1,522
0.7% -
4.6 8.8
18 days ago 6 days ago
Go Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

krew

Posts with mentions or reviews of krew. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-09.
  • Giving Kyma a little spin ... a SpinKube
    6 projects | dev.to | 9 Apr 2024
    Authenticating with Kyma is a (in my opinion) unnecessary challenge as it leverages the OIDC-login plugin for kubectl. You find a description of the setup here. This works fine when on a Mac but can give you some headaches on a Windows and on Linux machine especially when combined with restrictive setups in corporate environments. For Windows I can only recommend installing krew via chocolatey and then install the OIDC plugin via kubectl krew install oidc-login. At least for me that was the only way to get this working on Windows.
  • Kubernetes Üzerinde Hyperledger Fabric Ağının Kurulumu
    1 project | dev.to | 2 Jan 2024
    ( set -x; cd "$(mktemp -d)" && OS="$(uname | tr '[:upper:]' '[:lower:]')" && ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" && KREW="krew-${OS}_${ARCH}" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/download/v0.4.4/krew-linux_amd64.tar.gz" && tar zxvf "${KREW}.tar.gz" && ./"${KREW}" install krew )
  • Krew: Package Manager for Kubectl Plugins
    1 project | news.ycombinator.com | 24 Nov 2023
  • Kubernetes For The Sysadmin - Enter KubeVirt
    2 projects | dev.to | 3 Oct 2023
    Krew is a way to manage plugins for Kubernetes. For more info, check out the following link: https://krew.sigs.k8s.io/
  • Lock your Kubernetes contexts!
    2 projects | /r/kubernetes | 15 Mar 2023
    I plan on getting it added as a krew plugin, so watch this space.
  • Deploying CLIs to developer machines
    3 projects | /r/devops | 9 Mar 2023
  • Getting started with kubectl plugins
    20 projects | dev.to | 18 Jan 2023
    Krew is a plugin manager maintained by the Kubernetes Special Interest Group (SIG) CLI community. Krew makes it easy to use kubectl plugins and helps you discover, install, and manage them on your machine. It is similar to tools like apt, dnf, or brew. Today, over 200 kubectl plugins are available on Krew - and that number is only increasing. Some projects are actively used and some get deprecated over time, but are still accessible via Krew.
  • Most Useful kubectl Plugins
    6 projects | dev.to | 14 Oct 2022
    kubectl plugins can be installed in numerous ways, the easiest way would be to install the official plugin manager called krew.
  • Introduction to Kubectl CLI Plugins ctx and ns
    2 projects | dev.to | 10 Oct 2022
    ( set -x; cd "$(mktemp -d)" && OS="$(uname | tr '[:upper:]' '[:lower:]')" && ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" && KREW="krew-${OS}_${ARCH}" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" && tar zxvf "${KREW}.tar.gz" && ./"${KREW}" install krew )
  • Introduction to Kubernetes extensibility
    2 projects | dev.to | 21 Sep 2022
    -- What is Krew?

kubelogin

Posts with mentions or reviews of kubelogin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-09.
  • Giving Kyma a little spin ... a SpinKube
    6 projects | dev.to | 9 Apr 2024
    Authenticating with Kyma is a (in my opinion) unnecessary challenge as it leverages the OIDC-login plugin for kubectl. You find a description of the setup here. This works fine when on a Mac but can give you some headaches on a Windows and on Linux machine especially when combined with restrictive setups in corporate environments. For Windows I can only recommend installing krew via chocolatey and then install the OIDC plugin via kubectl krew install oidc-login. At least for me that was the only way to get this working on Windows.
  • Windows auth with K8s on prem
    2 projects | /r/k8s | 1 Jun 2023
    It is sort of a roundabout way, but I sync Active Directory to a Keycloak realm, then use OIDC auth with kube-oidc-proxy (https://github.com/jetstack/kube-oidc-proxy) and kubelogin (https://github.com/int128/kubelogin) for OIDC-based auth to the api server.
  • Kubernetes in production.
    2 projects | /r/kubernetes | 21 Feb 2023
    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.
  • Gitlab token exchange with keycloak to execute deployments with kubectl
    1 project | /r/gitlab | 27 Jan 2023
    I've successfully configured kube-apiserver to authenticate users through oidc (https://github.com/int128/kubelogin) so all the users from my keycloak realm can access to the cluster with their credentials.
  • Getting started with kubectl plugins
    20 projects | dev.to | 18 Jan 2023
    Link to GitHub Repository
  • Why are there so many OIDC SSO options for Kubernetes?
    7 projects | /r/kubernetes | 26 Nov 2022
    kubelogin (helper for k8s build in OIDC support)
  • RBAC MANAGEMENT
    5 projects | /r/kubernetes | 7 Nov 2022
    I use the kube-login plugin for kubectl (https://github.com/int128/kubelogin) along with the kube-oidc-proxy (https://github.com/jetstack/kube-oidc-proxy), using Keycloak as my OIDC provider (https://www.keycloak.org) and doing LDAP synchronization to Active Directory.
  • Manage user authentication in on-prem cluster
    1 project | /r/kubernetes | 20 Aug 2022
    Dex oauth and kubelogin. We happen to use google auth in our org, but dex is pretty flexible. You only have to have a way to distribute server certificates. We then have documented script commands to pull certs and create kubectl fig files. OpenUnison always looked interesting, but dex has been good enough for our uses.
  • k8s dex authentications
    2 projects | /r/kubernetes | 6 Jul 2022
    With a working dex/OIDC configuration, you could use: https://github.com/int128/kubelogin
  • A kubectl plugin for Kubernetes OpenID Connect (OIDC) authentication
    1 project | news.ycombinator.com | 3 Feb 2022

What are some alternatives?

When comparing krew and kubelogin you can also consider the following projects:

helm - The Kubernetes Package Manager

lens - Lens - The way the world runs Kubernetes

k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!

pam-keycloak-oidc - PAM module connecting to Keycloak for user authentication using OpenID Connect/OAuth2, with MFA/2FA/TOTP support

kubectx - Faster way to switch between clusters and namespaces in kubectl

kubectl-neat - Clean up Kubernetes yaml and json output to make it readable

stern - ⎈ Multi pod and container log tailing for Kubernetes

okta-k8s-oidc-terraform-example - An example repo showcasing setting up Okta OIDC using Terraform

kubectl-kubesec - Security risk analysis for Kubernetes resources

kubectl-debug - This repository is no longer maintained, please checkout https://github.com/JamesTGrant/kubectl-debug.

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