Shell Kubectl

Open-source Shell projects categorized as Kubectl

Top 23 Shell Kubectl Projects

  • kube-ps1

    Kubernetes prompt info for bash and zsh

  • Project mention: Weekly: Questions and advice | /r/kubernetes | 2023-05-16

    I meant bash/zsh PS1 prompt. Not PowerShell :) Check this out https://github.com/jonmosco/kube-ps1

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

  • Project mention: Kubeconfig-Merger - Dumb script that merge 2 kubeconfig | /r/kubernetes | 2023-04-25

    There is also https://github.com/corneliusweig/konfig which allows to merge, split or export kubeconfig.

  • 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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS 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

Index

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

Project Stars
1 kube-ps1 3,403
2 kubectl-aliases 3,256
3 kubectl-node-shell 1,302
4 geodesic 914
5 zsh-kubectl-prompt 548
6 konfig 331
7 kube-dump 302
8 kube-fzf 194
9 kubectl-plugin-ssh-jump 165
10 kubectl-sudo 160
11 kuttle 152
12 kubectl-build 144
13 kubespy 136
14 kubectl-tmux-exec 120
15 kube-aliases 107
16 kubectl-capture 98
17 krew-net-forward 31
18 dotfiles 18
19 proveasio 18
20 EasyKey.shellmenu 16
21 docker-management-container 12
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