As a PaaS, OKD is designed for building and deploying applications. Depending on how much you want to involve OKD in the development process, you can choose to develop on OKD and use it to continuously develop an application, or you can deploy a fully developed application onto an OKD instance.
You can develop your application on OKD directly. Use the following process if you plan to use OKD as a method to build and deploy your application:
What does your application do?
What programming language will it be developed in?
OKD should be installed by this point, either by yourself or an administrator within your organization.
Using your editor/IDE of choice, create a basic skeleton of an application. It should be developed enough to tell OKD what kind of application it is.
Push the code to your Git repository.
Create a basic application using the new-app
command. OKD generates build and deployment configurations.
Start developing your application code.
Ensure your application builds successfully.
Continue to locally develop and polish your code.
Push your code to a Git repository.
Is any extra configuration needed? Explore the Developer Guide for more options.
You can verify your application in a number of ways. You can push your changes
to your application’s Git repository, and use OKD to rebuild and redeploy
your application. Alternatively, you can hot deploy using rsync
to synchronize
your code changes into a running pod.
Another possible application life cycle is to develop locally, then use OKD to deploy your fully developed application. Use the following process if you plan to have application code already, then want to build and deploy onto an OKD installation when completed:
What does your application do?
What programming language will it be developed in?
Develop your application code using your editor/IDE of choice.
Build and test your application code locally.
Push your code to a Git repository.
OKD should be installed by this point, either by yourself or an administrator within your organization.
Create a basic application using the new-app
command. OKD generates build and deployment configurations.
Ensure that the application that you have built and deployed in the above Generate step is successfully running on OKD.
Continue to develop your application code until you are happy with the results.
Rebuild your application in OKD to accept any newly pushed code.
Is any extra configuration needed? Explore the Developer Guide for more options.