Skip to content

About

A collection of small tools to work with Kubernetes

Resources

Stars

2 stars

Watchers

13 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-tools

A collection of tools to work with Kubernetes

kube-ps1

A super simple command to display a string that you can easily put in your PS1 prompt. The output is usually used in your prompt as follows:

kube-ps1 prompt

Usage

Depending on what and how you want your prompt look like, put the following in your ~/.zshrc / ~/.bashrc:

PS1='%{$fg[green]%}%n@%m:%{$fg_bold[blue]%}%2~ %{$fg[yellow]$(kube-ps1) %}$(git_prompt_info)%{$reset_color%}%(!.#.$) '

Basically, call $(kube-ps1) in your prompt and enjoy!

kcn

Simple utility to switch between namespaces

kcn prompt

Usage

$ kcn ns1 # Switches to ns1

About

A collection of small tools to work with Kubernetes

Resources

Stars

2 stars

Watchers

13 watching

Forks

Releases

Packages

Contributors

Languages