Skip to main content

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​

--name <string>
name
--plan <string>
plan ID or code [FLX|MAX|PWR]

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

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​