Deploy and Manage Pods
Horizon CD provide deploy and pods management based on Argo CD. You can easily deploy your application instance and check your pods status.
Build and deploy application instance
You can instantiate a pipeline to build and deploy your application instance. Your source code will be compiled, packaged and made to an artifact image in Build task, and the artifact will be released in kubernetes in Deploy task.
- from the application instance page, click Build and deploy button
- select your git reference and check the differences from the last revision
- click Submit button to confirm the build and deploy.
Note that after changing build and deploy configurations, you could run Build and deploy to sync the changes.
Deploy application instance
You can instantiate a pipeline to deploy your application instance based on the last artifact.
- from the application instance page, click Deploy button
- check the differences from the last revision
- click Submit button to confirm the Deploy.
Note that you just need to deploy your application instance to have deploy configurations take effect.
Restart application instance
When your application instance is unhealthy, you may need to restart it. Horizon will initialize new pods and then delete the old pods.
- from the application instance page, click Restart button
- confirm the Restart.
Rollback application instance
If the new changes are not as expected after released, you can quickly rollback to old revision.
- from the application instance page, click on More and select Rollback
- select a pipeline to rollback
- confirm the rollback.
Free application instance
You can free the unused application instances to save kubernetes resources. Free will destroy all pods and return resources, preserving the application instance configurations. You can only click Deploy to start your application instance up again.
- from the application instance page, click on More and select Free
- confirm the free.
Check pods
From the application instance page, you can check you pods by Stdout, Events and Monitor in the pods table.
- Stdout: Check the stdout log for exception information
- Events: Check the Events for the warning events
- Monitor: view metrics of the application instance
Login pod terminal
From the application instance page, click Terminal button in the pods table to login pod, which is an implementation of the kubernetes API exec.
Delete pods
You can delete one and more unhealthy pods in order to initialize new pods to replace them.
- from the application instance page, select the pods you want to delete in the pods table.
- click Delete button and confirm the deletion.