Giter VIP home page Giter VIP logo

Comments (4)

vishalovercome avatar vishalovercome commented on July 2, 2024

I suppose there's a way to pull from ECR - https://okteto.com/docs/reference/faqs/#how-to-use-private-images. However, this would be a bit too rigid as part and parcel of development would be experimenting with the dockefile itself and being able to spin up containers after tweaking. Any plan to integrate it with VSCode devcontainer so that we can simply "clone repository into a container volume" wherein the container itself runs in kubernetes?

from remote-kubernetes.

rberrelleza avatar rberrelleza commented on July 2, 2024

@vishalovercome these are great comments, thanks!

  1. Today, the extension assumes the docker image is already available. If you have a Dockerfile, you could pass the --build parameter to the up command (you can do this in the settings) to build it on the fly.
  2. Yes, you can pull images from anywhere, as long as your cluster has the credentials. https://okteto.com/docs/reference/faqs/#how-to-use-private-images has instructions for any cluster. If you're running in Okteto Cloud, I'd recommend you check out Okteto Registry, since it's fully integrated with your account, and doesn't require setting extra credentials.

I'm curious why do you have an image with vscode server running on it? The remote-ssh extension (which okteto leverages) will install that automatically for you.

from remote-kubernetes.

rberrelleza avatar rberrelleza commented on July 2, 2024

I suppose there's a way to pull from ECR - https://okteto.com/docs/reference/faqs/#how-to-use-private-images. However, this would be a bit too rigid as part and parcel of development would be experimenting with the dockefile itself and being able to spin up containers after tweaking. Any plan to integrate it with VSCode devcontainer so that we can simply "clone repository into a container volume" wherein the container itself runs in kubernetes?

We don't have any short term plans for this mode, but this is an interesting approach. Not sure if the VSCode extensions can access that functionality, but we'll research it.

from remote-kubernetes.

rberrelleza avatar rberrelleza commented on July 2, 2024

I can provide my Dockerfile instead of image. Can you share an example?

This is now possible if you are using Okteto v2. Okteto will automatically build the Dockerfile using either a local docker install, or okteto's build service (if you are logged into okteto cloud or an okteto self-hosted instance). https://github.com/okteto/movies is a good example of it.

Try it out and let us know?

from remote-kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.