The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. 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.
-
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.
-
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
I meant bash/zsh PS1 prompt. Not PowerShell :) Check this out https://github.com/jonmosco/kube-ps1
# 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: Kubeconfig-Merger - Dumb script that merge 2 kubeconfig | /r/kubernetes | 2023-04-25There is also https://github.com/corneliusweig/konfig which allows to merge, split or export kubeconfig.
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 - WorkOS
workos.com | 25 Apr 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,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