Skip to content

okteto/remote-kubernetes

Repository files navigation

Remote - Kubernetes

The Remote - Kubernetes extension uses Okteto to move your development environment to Kubernetes.

Kubernetes, Okteto and VS Code make a great development environment because you can:

  • Launch reproducible development environment with all your tools in seconds.
  • Automatically synchronize your code between local and remote environments.
  • Eliminate integration issues by developing the same way code runs in production.
  • Keep using your favorite tools.
  • Forget about building images or redeploying containers to test your changes in Kubernetes.
  • Run your tests directly in Kubernetes

The extension starts a development environment in your Kubernetes cluster by using https://github.com/okteto/okteto. Once the environment is ready, the extension prompts you to open it directly in VS Code using the Visual Studio Code Remote - SSH extension.

Requirements

  1. VS Code 1.88 or newer.
  2. Deploy access to a Kubernetes cluster.
  3. An OpenSSH compatible SSH client available in your workstation.

Installation

  1. Install VS Code and this extension.
  2. Install the Remote - SSH extension.
  3. Download and configure your kubeconfig file.

Getting started

There is a complete tutorial here. The steps can be summarized as follows:

  1. Clone https://github.com/okteto/vscode-remote-go
  2. Start VS Code
  3. Run the Okteto: Up command to launch your development environment in Kubernetes. When prompted, pick the okteto.yml manifest.
  4. After a few seconds, you'll be asked to select a host. Pick the vscode-remote-go.okteto entry from the dialog to launch your remote VS Code instance.
  5. Develop directly in Kubernetes from VS Code!

Questions and Feedback

Got questions? Have feedback?

  1. See the documentation
  2. Request features, upvote existing issues or report a problem.
  3. Contribute to our documentation.
  4. Submit a pull request 😎

Stay in Touch

Join the conversation in our online community. You can also reach out to @OktetoHQ on Twitter.

License

Remote - Kubernetes is licensed under the Apache 2.0 License.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].