update
update services
⚙️ Rename a service or change its spherelet size.
Renaming keeps the service's URL and custom domains: a name is a label, and the service keeps its ID. If a computesphere.yaml names the service, update it to the new name before you apply it again; applying the old name is refused.
Usage
csph services update <service-id> [flags]
Aliases
services update, services edit, service update, service edit, svc update, svc edit, svcs update, svcs edit
Options
Command Specific
Inherited
Examples
# start an interactive prompt to update a service
> csph service update
# start an interactive prompt to update a service with the given ID
> csph service update <service-id>
# rename a service
> csph service update <service-id> --name api
# change a service's spherelet size
# plan id or code — see 'csph plan list'
> csph service update <service-id> --plan MAX
See also
- csph services — manage services
- csph services get — get services
- csph services list — list services
- csph services create — create services
- csph services delete — delete services
- csph services variables — manage a service's variable overrides
- csph services secrets — manage a service's secret overrides