{"repo":"kubermatic/fubectl","free":true,"listed":false,"github":"https://github.com/kubermatic/fubectl","clone":"git clone https://github.com/kubermatic/fubectl.git","description":"Reduces repetitive interactions with kubectl","language":"Go","stars":1006,"topics":["kubernetes","kubectl","cli"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"fubectl Because it's fancy-kubectl ! Prerequisites? fzf kubectl kubectl tree kubectl neat - only for kexp to work jq Installation You can directly download the fubectl.source and save it in some directory. Download: then add to your .bashrc/.zshrc file: Alternatively you can install fubectl using the ZSH plugin manager of your choice. What can it do? k – alias for kubectl Like g for git but 233% more effective! Examples: - k get nodes - k get pods - k version --short Usage: --- kw – alias for 'watch kubectl' Examples: - kw nodes - kw pods - kw nodes,pods,services --- kall – All pods in all namespaces Get all pods Usage: --- kwall – Watch all pods in all namespaces Watch all pods in all namespaces every 2 seconds. Usage: --- kdes – Describe a resource Examples: - kdes pod - kdes service - kdes nodes Usage: --- kdel – Delete a resource Examples: - kdel pod - kdel secret - kdel pvc Usage: --- klog – Print the logs for a container in a pod Examples: - klog - Print the last 10 lines - klog 100 - Print the last 100 lines - klog 250 -f - Print the last 250 lines and follow the output, like tail -f - klog 50 -p - Print the last 50 lines of the previous container Usage: --- kex – Execute a command in a container Examples: - kex bash - Start a bash in a container - kex date - Print the date in a container Usage: --- kfor – Forward one or more local ports to a pod Examples: - kfor 8000 - Forwards port 8000 to a pod - kfor 8000:80 Fowards local port 8000 to a pod's port 80 Usage: --- kse","default_branch":null,"files":null,"tree":[],"storefront":"/r/kubermatic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kubermatic/fubectl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}