Comments (4)
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.
@vishalovercome these are great comments, thanks!
- 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. - 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.
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.
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)
- Okteto Up fails to launch the remote SSH window HOT 3
- Field selector not found HOT 2
- SSH connection unstable / reconnecting endlessly HOT 3
- Oketeto up not deploying to active context HOT 3
- Okteto up - VSCode can't open SSH session DNS issues HOT 1
- create manifest command doesn't work on 0.4.1 HOT 1
- Question on converting okteto v1 manifest to v2 manifest HOT 4
- "Unexpected token 'up' in expression or statement" when running "okteto up" via vscode HOT 1
- Unknown flag: --loglevel HOT 2
- Support paths with spaces
- The remote window fails to start if `scp` is not installed in the dev image HOT 3
- "No matching results" for Ctrl-P-"Okteto"after extension install HOT 5
- `okteto up` not working after cli `2.5.0` upgrade HOT 1
- Remote SSH window fails to open with “Error missing proxy instance MainThreadDebugService” HOT 1
- Okteto destroy doesn't work as expected in VS Code plugin
- Unable to use the extension Cannot read properties of undefined (reading 'track')) HOT 9
- In development containers, environment variables are inherited from the base image, with the exception of PATH. HOT 4
- Command 'okteto.up' not found. HOT 1
- Terminal on IDE connected to Remote Environment crashes HOT 1
- Environment variables are not being honored by extension
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remote-kubernetes.