kubefunc
Collection of handy kubernetes related plugins and bash functions.
Plugin Install
mkdir -p ${HOME}/.kube/plugins
git clone https://github.com/danisla/kubefunc.git ${HOME}/.kube/plugins/kubefunc
Collection of handy kubernetes related helper scripts and bash functions.
Collection of handy kubernetes related plugins and bash functions.
mkdir -p ${HOME}/.kube/plugins
git clone https://github.com/danisla/kubefunc.git ${HOME}/.kube/plugins/kubefunc
👋 Hello, maintainer of the kubectl plugin manager krew here.
Thank you for your commitment to open source by making this plugin available via krew
!
Krew wants to give credit where credit is due by installing the proper license file for the plugins it distributes. However, your plugin was found to not contain any license file. We wanted to remind you that if you're using a license such as Apache 2.0, you should be bundling your LICENSE file with your plugin’s distributions.
What do you have to do?
files:
section to copy the file to the installation directory. Have a look at this PR for an example: https://github.com/kubernetes-sigs/krew-index/pull/314/filesIf you need further assistance, don't hesitate to ask for help.
kubectl debug-shell
error: --rm should only be used for attached containers
See 'kubectl run -h' for help and examples
kubectl get pods node-admin
NAME READY STATUS RESTARTS AGE
node-admin 0/1 Pending 0 87s
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 11s (x3 over 94s) default-scheduler 0/23 nodes are available: 1 node(s) had taints that the pod didn't tolerate, 22 node(s) didn't match node selector.
With the changed plugin model in 1.12 kubectl won't be passing env vars like KUBECTL_PLUGINS_CURRENT_NAMESPACE anymore.
👋 Hello, maintainer of the kubectl plugin manager krew here.
Thank you for your commitment to open source by making this plugin available via krew
!
Krew wants to give credit where credit is due by installing the proper license file for the plugins it distributes. However, your plugin was found to not contain any license file. We wanted to remind you that if you're using a license such as Apache 2.0, you should be bundling your LICENSE file with your plugin’s distributions.
What do you have to do?
files:
section to copy the file to the installation directory. Have a look at this PR for an example: https://github.com/kubernetes-sigs/krew-index/pull/314/filesIf you need further assistance, don't hesitate to ask for help.
❯ k debug-shell
error: --rm should only be used for attached containers
See 'kubectl run -h' for help and examples.
kubectl: Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.0", GitCommit:"0ed33881dc4355495f623c6f22e7dd0b7632b7c0", GitTreeState:"clean", BuildDate:"2018-09-27T17:05:32Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Tested in fish and bash.
👋 Hello, maintainer of the kubectl plugin manager krew here.
Thank you for your commitment to open source by making this plugin available via krew
!
Krew wants to give credit where credit is due by installing the proper license file for the plugins it distributes. However, your plugin was found to not contain any license file. We wanted to remind you that if you're using a license such as Apache 2.0, you should be bundling your LICENSE file with your plugin’s distributions.
What do you have to do?
files:
section to copy the file to the installation directory. Have a look at this PR for an example: https://github.com/kubernetes-sigs/krew-index/pull/314/filesIf you need further assistance, don't hesitate to ask for help.
👋 Hello, maintainer of the kubectl plugin manager krew here.
Thank you for your commitment to open source by making this plugin available via krew
!
Krew wants to give credit where credit is due by installing the proper license file for the plugins it distributes. However, your plugin was found to not contain any license file. We wanted to remind you that if you're using a license such as Apache 2.0, you should be bundling your LICENSE file with your plugin’s distributions.
What do you have to do?
files:
section to copy the file to the installation directory. Have a look at this PR for an example: https://github.com/kubernetes-sigs/krew-index/pull/314/filesIf you need further assistance, don't hesitate to ask for help.
👋 Hello, maintainer of the kubectl plugin manager krew here.
Thank you for your commitment to open source by making this plugin available via krew
!
Krew wants to give credit where credit is due by installing the proper license file for the plugins it distributes. However, your plugin was found to not contain any license file. We wanted to remind you that if you're using a license such as Apache 2.0, you should be bundling your LICENSE file with your plugin’s distributions.
What do you have to do?
files:
section to copy the file to the installation directory. Have a look at this PR for an example: https://github.com/kubernetes-sigs/krew-index/pull/314/filesIf you need further assistance, don't hesitate to ask for help.
Hi Dan,
We just published https://github.com/GoogleContainerTools/krew/blob/master/docs/NAMING_GUIDE.md which discourages kube-
prefix from plugin names.
Would you consider renaming those plugins and submitting a PR (breaking change) to the index?
OSX bash doesn't like ,,
TMC02YJ3FXJGH6:kubefunc jdobner1$ RUN=(RUN Run run)
TMC02YJ3FXJGH6:kubefunc jdobner1$ echo ${RUN[1],,}
Run
TMC02YJ3FXJGH6:kubefunc jdobner1$ echo $SHELL
/bin/bash
This results in
Select a Pod: 112
ERROR: Pod totally-real-eks-pod-name-5cd48dd956-7ktlb is not running
Because the status is Running
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.