Closed philips closed 7 years ago
cc @joshix
There is also a great resource here: https://kubernetes.io/docs/user-guide/kubectl-cheatsheet/ Which points out the completion stuff. A must have!!
$ source <(kubectl completion bash) # setup autocomplete in bash, bash-completion package should be installed first.
$ source <(kubectl completion zsh) # setup autocomplete in zsh
@coresolve all updated, LGTY?
From a lesson learned you can also make a backup of the deployment by namespace with.
kubectl get all,daemonset,secret,configmap,ingress,job,role,rolebinding,clusterrole,clusterrolebinding -n your-namespace -o yaml > backup
And use that as a reference should you accidentally a service.
@dutchiechris thanks, I moved this project over to https://github.com/coreos/fabric-kubernetes-nodes
@joshix I think this is ready to merge. cc @coreos/team-docs
Hey - I'm going to close this PR, as it was not part of the 'Kubernetes Make it and Break it' doc rewrite. We can open it as a new PR in the new repo if it should be reconsidered.
I like it. I don't actually find much need to log into nodes though, and
fab
rocks but generally reminds my of the bad 👊 things I've done in automation's sake in the past. Your advancedjq
is impressive tho.