Improve How You Develop Cloud Native Applications Using Okteto.
Learn more!

Manage your Kubernetes Context Directly from VS Code

Do you keep deploying your applications into the wrong namespace? Now you can see and manage your Kubernetes context directly from VS Code with our new extension 🚀.

Visual Studio Code has taken the IDE world by storm. On Stack Overflow’s 2019 Developer survey it already appears as the most popular development environment. I’m a big fan of it, mostly because of the extension model. These days, I spend most of my coding time in VS Code windows.

When I’m building Cloud Native applications, I use namespaces extensively. I have dedicated Kubernetes namespace for every application I’m working on, and then I also create one for every branch I’m working on. This lets me switch very quickly not only between branches, but also between different versions of an entire application.

I love working in this way, but every now and then I’ll lose track of which namespace I’m on and I’ll end up running kubectl apply -f deployment.yaml in the wrong place. Nothing catastrophic (gotta love this whole infrastructure as code trend), but it makes me lose my flow 😒. On my terminal I use this plugin, but I couldn’t find anything like this for my IDE.

Until now…

Manage your Kubernetes context from VS Code

Like everything else we do around here, we build this extension to make our lives as Cloud Native Developers easier than ever. Install the Kubernetes context extension, reload your VS Code instance, and your current context name and namespace will be displayed in the bottom right of the screen. Need to change it? Click on the status bar, and select another one, without losing your flow.

I hope you find it as useful as we do. Let us know what you think about it on Twitter, or in our #okteto channel in the Kubernetes community Slack.

Ramiro BerrellezaCEO & Co-founder View all posts

Related content

Okteto at KubeCon + CloudNativeCon EuropeOkteto at KubeCon + CloudNativeCon Europe

Okteto at KubeCon + CloudNativeCon Europe

Last week is something we here at Okteto will cherish for a long time! It was a huge milestone for us, as this was the first time we as a company were...

May 26, 2022
Avatar of Arsh SharmaAvatar of Arsh SharmaArsh Sharma

Maybe It's Time To Rethink How You've Been Developing?

Cloud-Native Applications Need Cloud-Native Development Environments We've seen a tremendous change in the way applications get deployed over the last...

March 09, 2022
Avatar of Arsh SharmaAvatar of Arsh SharmaArsh Sharma