get
get deployments
🚀 Retrieve a deployment. The deployment is a snapshot of the service in some environment at a specific point in time. The deployment includes the service's configuration, the environment's configuration, and the service's status.
The deployment ID is a unique identifier for the deployment. You can use the deployment ID to retrieve a specific deployment. Also, a deployment can be retrieved by specifying the service ID and the environment ID where the service is deployed.
Usage​
csph deployments get [flags]
Aliases​
deployments get, deployments show, deployment get, deployment show, deploys get, deploys show
Options​
Command Specific​
Formatting​
For more information about formatting options, see Formatting.
Available Fields​
env_id, environment, id, last_deployed_at, name, object, service_id, service_name, service_type, sphere_count, status, type
Inherited​
Examples​
# retrieve a deployment interactively
> csph deployments get
# retrieve a deployment by ID
> csph deployments get <deployment-id>
# retrieve a deployment of a service in an environment
> csph deployments get --service <service-id> --environment <environment-id>
See also​
- csph deployments — manage deployments
- csph deployments logs — view deployment logs (runtime, build, or deploy)
- csph deployments list — list deployments
- csph deployments update — update deployments
- csph deployments delete — delete deployments
- csph deployments start — start a deployment
- csph deployments stop — stop a deployment
- csph deployments restart — restart a deployment
- csph deployments redeploy — redeploy a deployment
- csph deployments promote — deploy an image built for another environment, without rebuilding
- csph deployments rollback — roll a deployment back to a previous version
- csph deployments scale — scale a deployment to a target spherelet count
- csph deployments port — update the port of a deployment
- csph deployments domains — manage a deployment's custom domains
- csph deployments builds — manage a deployment's builds
- csph deployments runs — start and manage runs
- csph deployments default-url — turn the deployment's default URL off or on