# Kubectl tips and tricks

**URL:** <https://discuss.kubernetes.io/t/kubectl-tips-and-tricks/192>\
**Category:** General Discussions\
**Created:** [May 11, 2018, 9:58pm UTC](https://discuss.kubernetes.io/t/kubectl-tips-and-tricks/192 "2018-05-11T21:58:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ValentinNC](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/valentinnc/32/203_2.png) [@ValentinNC](https://discuss.kubernetes.io/u/ValentinNC)\
**Post date:** [May 16, 2018, 10:15pm UTC](https://discuss.kubernetes.io/t/kubectl-tips-and-tricks/192/4 "2018-05-16T22:15:26Z")

</div>

My small contribution :

Prompt info is pretty useful when switching clusters :

> **[jonmosco/kube-ps1](https://github.com/jonmosco/kube-ps1)**
>
> Kubernetes prompt info for bash and zsh. Contribute to jonmosco/kube-ps1 development by creating an account on GitHub.

  

> **[superbrothers/zsh-kubectl-prompt](https://github.com/superbrothers/zsh-kubectl-prompt)**
>
> Display information about the kubectl current context and namespace in zsh prompt. - superbrothers/zsh-kubectl-prompt

and Kubectx allow you to switch namespace & cluster :

> **[ahmetb/kubectx](https://github.com/ahmetb/kubectx)**
>
> Faster way to switch between clusters and namespaces in kubectl - ahmetb/kubectx

---

_[View the full topic](https://discuss.kubernetes.io/t/kubectl-tips-and-tricks/192)._
