Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I use two local kind clusters, and I use .envrc (direnv) to set env vars via cd.
I have read this issue, and up to now it seems not possible to change the kubectl context via an env var: https://github.com/kubernetes/kubectl/issues/1154
check out kubectx/kubens https://github.com/ahmetb/kubectx very handy tool to permanently switch context/namespace
Kubie is what you need.
You can just install kubeswitch , it's easy to use and it's better than kubectx and kubie