Service Deployment
Managing application via Apolo CLI
1
2
Fill in required parameters
template_name: service-deployment
display_name: myhttpecho
input:
preset:
name: cpu-mini
image:
tag: 1.0.0
repository: hashicorp/http-echo
dockerconfigjson: null
autoscaling:
max_replicas: 3
min_replicas: 1
target_cpu_utilization_percentage: 70
target_memory_utilization_percentage: 70
container:
env: []
args:
- '-text="hello apolo"'
- '-listen=:8080'
command: null
storage_mounts: null
networking:
ports:
- name: http
path: /
port: 8080
path_type: Prefix
ingress_http:
auth: true
service_enabled: true
health_checks:
startup:
period: 10
timeout: 5
initial_delay: 30
failure_threshold: 5
health_check_config:
path: /
port: 8080
probe_type: HTTP
http_headers: null
liveness: null
readiness:
period: 10
timeout: 5
initial_delay: 30
failure_threshold: 5
health_check_config:
path: /
port: 8080
probe_type: HTTP
http_headers: null3
Install the application
$ apolo app install -f service-deployment.yaml
App installed from service-deployment.yaml$ 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
References
Last updated
Was this helpful?