Skip to content

briandeheus/gke-prompt-info

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

GKE Prompt

Shows the cluster to which your kubectl is currently set to connect.

Requirements

  • kubectl

How to install

  1. git clone git@github.com:briandeheus/gke-prompt-info.git
  2. ln -s $HOME/gke-prompt-info $HOME/.oh-my-zsh/plugins
  3. Add gke-prompt-info to your plugins
  4. Update your theme's $PROMPT with $(gke_prompt_info). For example PROMPT='${ret_status} %{$fg[blue]%}$(gke_prompt_info)%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'

Marvel in the wonders of life.

Wow this is so beautiful

About

Show which GKE cluster your kubectl is currently connected to

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published