A detailed description of this application at the dedicated Apolo Console's Service Deployment page.
Managing application via Apolo CLI
The prerequisite for this tutorial is that you read the description of the application via the link mentioned above
1
Load application installation template
apolo app-template get service-deployment -o service-deployment.yaml
2
Fill in required parameters
We configure the application identically to the configuration discussed in the web console installation case.
In a nutshell, we deploy hashicorp/http-echo:1.0.0 with auto scaling, exposting port 8080 and protecting it with authentication. We also enabled startup & readiness healthcheck probes.
You could also configure specific version of the application to be installed by adding template_version: <version> block to the config file. If it is not there, the latest version is assumed.
3
Install the application
$ apolo app install -f service-deployment.yaml
App installed from service-deployment.yaml
The application status could be also displayed via CLI:
$ apolo app ls
ID Name Display Name Template Version State
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
39ba8a4d-cff8-4f8c-b536-253f176d182d apolo-default-service-deployment-39ba8a4d myhttpecho service-deployment v25.5.0 progressing
4
Removal
If you want to remove the application via CLI, use apolo app remove <app-id>.
You can find more information for application management commands in the list of references below.