All Projects → kubermatic → Fubectl

kubermatic / Fubectl

Licence: apache-2.0
Reduces repetitive interactions with kubectl

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Fubectl

Kui
A hybrid command-line/UI development experience for cloud-native development
Stars: ✭ 2,052 (+454.59%)
Mutual labels:  cli, kubectl
Ckube
A cli to simplify working with kubectl for some common workflows
Stars: ✭ 127 (-65.68%)
Mutual labels:  cli, kubectl
Kubelive
kubectl tool reinvented to be more reactive and interactive 🔥
Stars: ✭ 497 (+34.32%)
Mutual labels:  cli, kubectl
Tubekit
🧪 kubectl alternative with quick context switching, kubectl on steroids
Stars: ✭ 194 (-47.57%)
Mutual labels:  cli, kubectl
Confy
🛋 Zero-boilerplate configuration management in Rust
Stars: ✭ 379 (+2.43%)
Mutual labels:  cli
Go Github Selfupdate
Binary self-update mechanism for Go commands using GitHub
Stars: ✭ 370 (+0%)
Mutual labels:  cli
Cw
The best way to tail AWS CloudWatch Logs from your terminal
Stars: ✭ 368 (-0.54%)
Mutual labels:  cli
Replace In File
A simple utility to quickly replace contents in one or more files
Stars: ✭ 369 (-0.27%)
Mutual labels:  cli
Certificationy Cli
The CLI tool to train certifications
Stars: ✭ 381 (+2.97%)
Mutual labels:  cli
Lazygit
simple terminal UI for git commands
Stars: ✭ 24,910 (+6632.43%)
Mutual labels:  cli
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (+1.35%)
Mutual labels:  cli
Gitlab Time Tracker
🦊🕘 A command line interface for GitLab's time tracking feature.
Stars: ✭ 371 (+0.27%)
Mutual labels:  cli
Visidata
A terminal spreadsheet multitool for discovering and arranging data
Stars: ✭ 4,606 (+1144.86%)
Mutual labels:  cli
Kondo
Save disk space by cleaning non-essential files from software projects.
Stars: ✭ 373 (+0.81%)
Mutual labels:  cli
Cloud189
天翼云盘 CLI Python
Stars: ✭ 374 (+1.08%)
Mutual labels:  cli
Pixo
Convert SVG icons into React components
Stars: ✭ 371 (+0.27%)
Mutual labels:  cli
Abc
Power of appbase.io via CLI, with nifty imports from your favorite data sources
Stars: ✭ 375 (+1.35%)
Mutual labels:  cli
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Stars: ✭ 20,499 (+5440.27%)
Mutual labels:  cli
Npx card
use npx anmol to connect with me
Stars: ✭ 377 (+1.89%)
Mutual labels:  cli
Superplate
Performance-oriented frontend application creator with popular tools.
Stars: ✭ 368 (-0.54%)
Mutual labels:  cli

fubectl

Because it's fancy-kubectl!

Prerequisites?

Installation

You can directly download the fubectl.source and save it in some directory.

Download:

curl -LO https://rawgit.com/kubermatic/fubectl/master/fubectl.source

then add to your .bashrc/.zshrc file:

[ -f <path-to>/fubectl.source ] && source <path-to>/fubectl.source

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 133% more effective!

Examples:

  • k get nodes
  • k get pods
  • k version --short

Usage: kGif


kw - alias for 'watch kubectl'

Examples:

  • kw nodes
  • kw pods
  • kw nodes,pods,services

kall - All pods in all namespaces

Get all pods

Usage: kGif


kwall - Watch all pods in all namespaces

Watch all pods in all namespaces every 2 seconds.

Usage: kGif


kdes - Describe a resource

Examples:

  • kdes pod
  • kdes service
  • kdes nodes

Usage: kGif


kdel - Delete a resource

Examples:

  • kdel pod
  • kdel secret
  • kdel pvc

Usage: kGif


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: kGif


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: kGif


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: kGif


ksearch - Search for string in resources

Examples:

  • // TODO

Usage: kGif


kcl - Displays one or many contexts from the kubeconfig file

Context list

Usage: kGif

kcs - Sets the current context

Usage: kGif


kcns - Switch the default namespace

kcns - Set the current default namespace from list kcns kube-system - Set kube-system as default namespace immediately

Usage: kGif

kdebug - Start a debugging Pod in a Cluster

Usage: kGif


kp - Open the Kubernetes dashboard

Opens localhost:8001/ui in your browser and runs kubectl proxy


Extra!

Do you wan't to have the current kubecontext in your prompt?:

export PS1="\[$(kube_ctx_name)\] $PS1"

for the current namespace (this is currently slow, because it calls kubectl every time):

export PS1="\[$(kube_ctx_namespace)\] $PS1"

Troubleshooting

If you encounter issues file an issue or talk to us on the #fubectl channel on the Kubermatic Slack.

Contributing

Thanks for taking the time to join our community and start contributing!

Feedback and discussion are available on Kubermatic Slack.

Before you start

  • Please familiarize yourself with the Code of Conduct before contributing.
  • See CONTRIBUTING.md for instructions on the developer certificate of origin that we require.

Pull requests

  • We welcome pull requests. Feel free to dig through the issues and jump in.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].