-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate what actions should be taken in order to deploy component without "odo deploy" #4482
Comments
Odo deploy basically consists of 2 steps - build the application and creating a deployment (probably more steps could be added if needed). The deploy command has to be defined in a devfile. Build step:
Create deployment step:
Here is how odo decides what to do based on a devfile
The deploy command here is defined as
First, it executes command
This applies a component with name
Odo then uses referenced Dockerfile to build a docker image. After the build is finished, it pushes the image to a user specified repository. Second, it executes command
This applies to a component with name
Odo then uses referenced deploy.yaml file to create a Kubernetes deployment |
@lgrossma excellent, detailed explanation. Thanks! So afaiu to replace
@vrubezhny, @datho7561: can you please confirm? ps. given the new plugin(s) we'd work on, we'd most likely stick to odo as long as possible. Still excellent to share the knowledge on what would be needed to replace it. |
No description provided.
The text was updated successfully, but these errors were encountered: