Operating Service & Components

This page covers Redeploy, Rolling-restart, Add-component, & remove-component.

Operations on existing deployed service or components allow faster changes to desired changes. Odin enables this via odin operate command.

You can use odin operate service or odin operate component as per your requirement. The syntax for odin operate is as follows

// Operating a service using a json file
odin operate service --operation <operationName> --name <serviceName> --env <envName> --file <fileName>

//Operating a service using the json content inline
odin operate service --operation <operationName> --name <serviceName> --env <envName> --options <JsonInline>

Exhaustive list of operationName can be found here - Operations for a Service

//Operating a component
odin operate component --name <component name> --service <service name> --operation <operation> --options <options> --env <env name>

Operations for components

Below is a list of available operations on various components and options that can be passed to them

Application

Available operations

Datastores

Optimus Aerospike [6.3.0.7-1.0.0]

Available operations

Operations for Service

Available operations for service are -

Operate command is available for versions 1.3.0-beta and above

Last updated