Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We partially resolve this by having different namespaces in each of our environments. Nothing is ever run in the 'default' namespace.

So if we think we're targeting the dev cluster and run 'kubectl -n dev-namespace delete deployment service-deployment' but our current context is actually pointing to prod then we trigger an error as there is no 'dev-namespace' in prod.

Obviously we can associate specific namespaces to contexts to traverse this safety net but it can help in some situations.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: