Shell Kubectl

Open-source Shell projects categorized as Kubectl

Top 23 Shell Kubectl Projects

  • kube-ps1

    Kubernetes prompt info for bash and zsh

  • kubectl-aliases

    Programmatically generated handy kubectl aliases.

  • Project mention: ☸️ Kubernetes: A Pragmatic Kubectl Aliases Collection | dev.to | 2024-01-06

    # autocomplete kubectl & helm source <(kubectl completion zsh) source <(helm completion zsh) alias k=kubectl # when using below aliases, print kubectl command and then execute it function kctl() { echo "+ kubectl $@" && command kubectl $@ } # add aliases collection like 'kgpo' for 'kubectl get pods` from https://github.com/ahmetb/kubectl-aliases [ ! -f ~/.kube/aliases.sh ] && curl -fsSL "https://raw.githubusercontent.com/ahmetb/kubectl-aliases/master/.kubectl_aliases" > ~/.kube/aliases.sh && sed -i -e 's/kubectl/kctl/g' ~/.kube/aliases.sh source ~/.kube/aliases.sh # set default namespace alias kn='kctl config set-context --current --namespace' # get events sorted by last timestamp alias kgel='kctl get events --sort-by=.lastTimestamp' # get events sorted by creation timestamp alias kgec='kctl get events --sort-by=.metadata.creationTimestamp' # get pod's descending events function kger() { kctl get events --sort-by=.lastTimestamp --field-selector involvedObject.name="$@" } # get 'real' all alias kgworld='kctl get $(kubectl api-resources --verbs=list --namespaced -o name | paste -sd ",")' # display all nodes resources request and limits alias kgnr="k get nodes --no-headers | awk '{print \$1}' | xargs -I {} sh -c 'echo {} ; kubectl describe node {} | grep Allocated -A 5 | grep -ve Event -ve Allocated -ve percent -ve -- ; echo '" # start a debug pod (including lots of troubleshooting tools) alias kdebug="kctl -n default run debug-$USER --rm -it --tty --image leodotcloud/swiss-army-knife:v0.12 --image-pull-policy=IfNotPresent -- bash" # get pod's containers list function kgpc() { kctl get pod -o jsonpath="{.spec.containers[*].name}" "$@" && echo "" } # ping a service, ex: 'kping whoami:8080' alias kping='kctl run httping -it --image bretfisher/httping --image-pull-policy=IfNotPresent --rm=true --' # get existing pod's yaml without forbidden fields, ex: 'kyaml pod whoami' function kyaml() { kubectl get "$@" -o yaml | kubectl-neat } # display and delete failed pods in current namespace alias krmfailed='kctl delete pods --field-selector=status.phase=Failed'

  • 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.

    InfluxDB logo
  • kubectl-node-shell

    Exec into node via kubectl

  • Project mention: There are only 12 binaries in Talos Linux | news.ycombinator.com | 2024-03-04

    Big fan of Talos, have used it in some homelab + cloud clusters over the years, currently powers all my self-hosting. The `talosctl` command is great, and any time you need to do node-level debugging, there's always something like node-shell [1].

    [1] https://github.com/kvaps/kubectl-node-shell

  • geodesic

    πŸš€ Geodesic is a DevOps Linux Toolbox in Docker

  • zsh-kubectl-prompt

    Display information about the kubectl current context and namespace in zsh prompt.

  • konfig

    konfig helps to merge, split or import kubeconfig files (by corneliusweig)

  • kube-dump

    Backup a Kubernetes cluster as a yaml manifest

  • Project mention: Tool for dumping manifests from your Kubernetes clusters | /r/kubernetes | 2023-06-01

    I use this tool with similar name https://github.com/WoozyMasta/kube-dump

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • kube-fzf

    Shell commands using kubectl and fzf for command-line fuzzy searching of Kubernetes Pods.

  • kubectl-plugin-ssh-jump

    A kubectl plugin to access nodes or remote services using a SSH jump Pod

  • kubectl-sudo

    Run kubernetes commands with the security privileges of another user

  • kuttle

    Kubernetes wrapper for sshuttle

  • kubectl-build

    Build dockerfiles directly in your Kubernetes cluster.

  • kubespy

    pod debugging tool for kubernetes clusters with docker runtimes (by huazhihao)

  • kubectl-tmux-exec

    A kubectl plugin to control multiple pods simultaneously using Tmux

  • kube-aliases

    Kubernetes Aliases and Bash Functions

  • kubectl-capture

    A kubectl plugin which triggers a Sysdig capture

  • krew-net-forward

    Variety of kubectl krew tools usually security focused

  • dotfiles

    $HOME of my ~/.dotfiles (macOS & Linux) (by frankroeder)

  • proveasio

    Provision (and maintain) your dev terminal easily.

  • Project mention: Ubuntu course directed at developers? | /r/Ubuntu | 2023-05-27

    Feel free to take a look: Ziwi01/proveasio

  • EasyKey.shellmenu

    Simple script to generate shell / bash menu with key selectors.

  • Project mention: New Version of EasyKey.shellmenu v1.3.0 | news.ycombinator.com | 2024-03-20
  • docker-management-container

    The Docker Management Container includes a set of plugins and services that make it easier to build, test, deploy and manage infrastructure.

  • kubernetes-k8s

    πŸ–ŠοΈ Some notes about Kubernetes (k8s), Docker, Storage.

  • provbee

    Provisioning All the platforms for Cloud-native(includes terraform, virsh, kubectl, helm with all configurations)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Shell Kubectl related posts

  • Weekly: Questions and advice

    1 project | /r/kubernetes | 16 May 2023
  • Manage multiple version of K8s clients from same jumpbox / bastion

    3 projects | /r/kubernetes | 7 May 2023
  • Fast-Terraform: Terraform Tutorial, Hands-on LABs, and AWS Hands-on Sample Usage Scenarios

    2 projects | /r/Terraform | 25 Apr 2023
  • Good and/or helpful aliases to know for CKA/CKAD/Daily use?

    1 project | /r/kubernetes | 16 Apr 2023
  • Sshuttle for K8s: Kuttle

    1 project | news.ycombinator.com | 22 Mar 2023
  • Deploying CLIs to developer machines

    3 projects | /r/devops | 9 Mar 2023
  • Aliasing kubectl with "kc"

    1 project | /r/devops | 22 Feb 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 May 2024
    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. Learn more β†’

Index

What are some of the best open-source Kubectl projects in Shell? This list will help you:

Project Stars
1 kube-ps1 3,421
2 kubectl-aliases 3,276
3 kubectl-node-shell 1,333
4 geodesic 920
5 zsh-kubectl-prompt 552
6 konfig 331
7 kube-dump 305
8 kube-fzf 195
9 kubectl-plugin-ssh-jump 168
10 kubectl-sudo 162
11 kuttle 157
12 kubectl-build 145
13 kubespy 137
14 kubectl-tmux-exec 121
15 kube-aliases 109
16 kubectl-capture 99
17 krew-net-forward 31
18 dotfiles 18
19 proveasio 18
20 EasyKey.shellmenu 16
21 docker-management-container 13
22 kubernetes-k8s 9
23 provbee 6

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com