Description
An interactive kubernetes client featuring auto-complete using go-prompt.
kube-prompt accepts the same commands as the kubectl, except you don't need to provide the kubectl prefix. So it doesn't require the additional cost to use this cli.
$ kube-prompt
>>> get pod
...
And you can integrate other commands via pipe (|).
>>> get pod | grep web
web-1144924021-2spbr 1/1 Running 4 25d
web-1144924021-5r1fg 1/1 Running 4 25d
web-1144924021-pqmfq 1/1 Running 4 25d
kube-prompt alternatives and similar packages
Based on the "Go Tools" category.
Alternatively, view kube-prompt alternatives based on common mentions on social networks and blogs.
-
JuiceFS
JuiceFS is a distributed POSIX file system built on top of Redis and S3. -
OctoLinker
OctoLinker โ Links together, what belongs together -
JSON-to-Go
Translates JSON into a Go type in your browser instantly (original) -
gb
An easy to use project based build tool for the Go programming language. -
go-critic
The most opinionated Go source code linter for code audit. -
The Go Play Space
Advanced Go Playground frontend written in Go, with syntax highlighting, turtle graphics mode, and more -
Peanut
๐บ Deploy Databases and Services Easily for Development and Testing Pipelines. -
golang-tutorials
Golang Tutorials. Learn Golang from Scratch with simple examples. -
xdg-go
Go implementation of the XDG Base Directory Specification and XDG user directories -
rts
RTS: request to struct. Generates Go structs from JSON server responses. -
typex
[TOOL/CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations. -
golang-ipc
Golang Inter-process communication library for Window, Mac and Linux. -
Viney's go-cache
A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern. -
gothanks
GoThanks automatically stars Go's official repository and your go.mod github dependencies, providing a simple way to say thanks to the maintainers of the modules you use and the contributors of Go itself. -
zb
an opinionated repo based tool for linting, testing and building go source -
go-lock
go-lock is a lock library implementing read-write mutex and read-write trylock without starvation -
goroutines
It is an efficient, flexible, and lightweight goroutine pool. It provides an easy way to deal with concurrent tasks with limited resource. -
gotestdox
A tool for formatting Go test results as readable documentation -
version
Go package to present your CLI version with an upgrade notice. -
PDF to Image Converter Using Golang
This project will help you to convert PDF file to IMAGE using golang. -
An exit strategy for go routines.
An exit strategy for go routines -
go-james
James is your butler and helps you to create, build, debug, test and run your Go projects -
generator-go-lang
A Yeoman generator to get new Go projects started. -
Paymail Inspector
:money_with_wings: CLI app for interacting with paymail service providers -
gomodrun
The forgotten go tool that executes and caches binaries included in go.mod files. -
go-sanitize
:bathtub: Golang library of simple to use sanitation functions -
docs
Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard -
channelize
A websocket framework to manage outbound streams. Allowing to have multiple channels per connection that includes public and private channels. -
go-whatsonchain
:link: Unofficial golang implementation for the WhatsOnChain API -
Proofable
General purpose proving framework for certifying digital assets to public blockchains -
modver
Compare two versions of a Go module to check the version-number change required (major, minor, or patchlevel), according to semver rules. -
ciiigo
[mirror] Go static website generator with asciidoc markup language -
redispubsub
Redis Streams queue driver for https://godoc.org/gocloud.dev/pubsub package -
go-slices
Helper functions for the manipulation of slices of all types in Go -
retry
Small, full-featured, 100% test-covered retry package for golang. -
num30/go-cache
An in-memory key:value store/cache (similar to Memcached) library that takes advantage of Go Generics
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of kube-prompt or a related project?
README
kube-prompt
An interactive kubernetes client featuring auto-complete using go-prompt.
kube-prompt accepts the same commands as the kubectl, except you don't need to provide the kubectl
prefix.
So it doesn't require the additional cost to use this cli.
And you can integrate other commands via pipe (|
).
>>> get pod | grep web
web-1144924021-2spbr 1/1 Running 4 25d
web-1144924021-5r1fg 1/1 Running 4 25d
web-1144924021-pqmfq 1/1 Running 4 25d
Installation
Downloading standalone binary
Binaries are available from github release.
macOS (darwin) - amd64
wget https://github.com/c-bata/kube-prompt/releases/download/v1.0.11/kube-prompt_v1.0.11_darwin_amd64.zip
unzip kube-prompt_v1.0.11_darwin_amd64.zip
chmod +x kube-prompt
sudo mv ./kube-prompt /usr/local/bin/kube-prompt
Linux - amd64
wget https://github.com/c-bata/kube-prompt/releases/download/v1.0.11/kube-prompt_v1.0.11_linux_amd64.zip
unzip kube-prompt_v1.0.11_linux_amd64.zip
chmod +x kube-prompt
sudo mv ./kube-prompt /usr/local/bin/kube-prompt
Linux - i386
wget https://github.com/c-bata/kube-prompt/releases/download/v1.0.11/kube-prompt_v1.0.11_linux_386.zip
unzip kube-prompt_v1.0.11_linux_386.zip
chmod +x kube-prompt
sudo mv ./kube-prompt /usr/local/bin/kube-prompt
Linux - arm64
wget https://github.com/c-bata/kube-prompt/releases/download/v1.0.11/kube-prompt_v1.0.11_linux_arm64.zip
unzip kube-prompt_v1.0.11_linux_arm64.zip
chmod +x kube-prompt
sudo mv ./kube-prompt /usr/local/bin/kube-prompt
Using Homebrew (macOS)
$ brew install c-bata/kube-prompt/kube-prompt
Arch Linux
An unofficial AUR package kube-prompt
is available. Install instructions can be found on the Arch
wiki.
Building from source
$ GO111MODULE=on go build .
To create a multi-platform binary, use the cross command via make:
$ make cross
Similar projects
- kube-shell: An integrated shell for working with the Kubernetes written in Python using python-prompt-toolkit.
Goal
Hopefully support following commands enough to operate kubernetes.
- [x]
get
Display one or many resources - [x]
describe
Show details of a specific resource or group of resources - [x]
create
Create a resource by filename or stdin - [x]
replace
Replace a resource by filename or stdin. - [x]
patch
Update field(s) of a resource using strategic merge patch. - [x]
delete
Delete resources by filenames, stdin, resources and names, or by resources and label selector. - [x]
edit
Edit a resource on the server - [x]
apply
Apply a configuration to a resource by filename or stdin - [x]
namespace
SUPERSEDED: Set and view the current Kubernetes namespace - [x]
logs
Print the logs for a container in a pod. - [x]
rolling-update
Perform a rolling update of the given ReplicationController. - [x]
scale
Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job. - [x]
cordon
Mark node as unschedulable - [x]
drain
Drain node in preparation for maintenance - [x]
uncordon
Mark node as schedulable - [x]
attach
Attach to a running container. - [x]
exec
Execute a command in a container. - [x]
port-forward
Forward one or more local ports to a pod. - [x]
proxy
Run a proxy to the Kubernetes API server - [x]
run
Run a particular image on the cluster. - [x]
expose
Take a replication controller, service, or pod and expose it as a new Kubernetes Service - [x]
autoscale
Auto-scale a Deployment, ReplicaSet, or ReplicationController - [x]
rollout
rollout manages a deployment - [x]
label
Update the labels on a resource - [x]
annotate
Update the annotations on a resource - [x]
config
config modifies kubeconfig files - [x]
cluster-info
Display cluster info - [x]
api-versions
Print the supported API versions on the server, in the form of "group/version". - [x]
version
Print the client and server version information. - [x]
explain
Documentation of resources. - [x]
convert
Convert config files between different API versions - [x]
top
Display Resource (CPU/Memory/Storage) usage
Author
Masashi Shibata
- Twitter: @c_bata_
- Github: @c-bata
- Facebook: Masashi Shibata
LICENSE
This software is licensed under the MIT License (See [LICENSE](./LICENSE)).
*Note that all licence references and agreements mentioned in the kube-prompt README section above
are relevant to that project's source code only.