Deploy your Development Environments from your Git Repositories

You can deploy your development environments directly from your Git repositories on Okteto Cloud. Okteto automates all the process needed to build, deploy, configure, upgrade and destroy your development environments.

Deploy

Log in to Okteto Cloud, and click on the Deploy button on the top left. A dialog will open asking for a Git repository URL to deploy. Type the one of the Movies App repository, pick a branch and click Deploy:

When you deploy a Git repository, Okteto Cloud will analyze your repo and automatically deploy it. In the example above, Okteto will install the chart of the Movies App with Helm.

Check the Configuration section to learn more about Okteto's auto deployment capabilities, and how to customize this with a okteto-pipeline.yml file.

As soon as your application is deployed, you'll see its state in the UI. The UI will be automatically updated as the different components are created. Your application will be ready to go once it reaches the Success state.

Redeploy

Click on the Redeploy button on the right of your application.

A dialog will open where you can modify the branch to redeploy:

Click Deploy and your applications will be updated with the source code of the given branch. This action will follow the same deploy pipeline than the Deploy action.

Destroy

You can also destroy your application with a single click.

Go back to the extended menu of your application and click the Destroy button. A confirmation dialog will pop up. Click on Destroy and your application and all of the resources created for it will be gone:

You won't be able to recover resources after the application has been destroyed, so back up any sensitive data before running this action.