Skip to content

Powershell native implementation of kubectx and kubens with autocomplete

Notifications You must be signed in to change notification settings

ptrstpp950/PSKubeContext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

PSKubeContext

Powershell native implementation of kubectx and kubens with autocomplete

How to use

Install it with

Install-Module PSKubeContext

To utilize it, simply add the following to your profile:

Import-Module PSKubeContext
Set-Alias kubens -Value Select-KubeNamespace
Set-Alias kubectx -Value Select-KubeContext
Register-PSKubeContextComplete

What's inside:

  • Select-KubeContext or if you prefer alias kubectx
  • Select-KubeNamespace or kubens
  • 100% autocomplete using 🙈🙉🙊
  • A menu in command line to select the context/namespace if something goes wrong 😅

Demo

Check this YouTube video: https://www.youtube.com/embed/_6XjdLD0TWo

About

Powershell native implementation of kubectx and kubens with autocomplete

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published