SaaSHub helps you find the best software and product alternatives Learn more β
Top 23 Shell Kubectl Projects
-
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.
-
zsh-kubectl-prompt
Display information about the kubectl current context and namespace in zsh prompt.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
-
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
# 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'
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
Project mention: Tool for dumping manifests from your Kubernetes clusters | /r/kubernetes | 2023-06-01I use this tool with similar name https://github.com/WoozyMasta/kube-dump
Feel free to take a look: Ziwi01/proveasio
Shell Kubectl related posts
-
Weekly: Questions and advice
-
Manage multiple version of K8s clients from same jumpbox / bastion
-
Fast-Terraform: Terraform Tutorial, Hands-on LABs, and AWS Hands-on Sample Usage Scenarios
-
Good and/or helpful aliases to know for CKA/CKAD/Daily use?
-
Sshuttle for K8s: Kuttle
-
Deploying CLIs to developer machines
-
Aliasing kubectl with "kc"
-
A note from our sponsor - SaaSHub
www.saashub.com | 22 May 2024
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 | 136 |
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