Friedrich Ewald My Personal Website

Temporary Namespace for Kubernetes

To set a temporary namespace for k8s simply create an alias like so:

alias k='kubectl -n NAMESPACE '
Then use it:
k get pods
After the shell session ends it is set to default.


About the author

is an experienced Software Engineer with a Master's degree in Computer Science. He started this website in late 2015, mostly as a digital business card. He is interested in Go, Python, Ruby, SQL- and NoSQL-databases, machine learning and AI and is experienced in building scalable, distributed systems and micro-services at multiple larger and smaller companies.