All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contributionTo deploy a package in rapyuta.io, follow the steps:
In the rapyuta.io console, on the left navigation bar, select Development > Packages.
Select the package you want to deploy.
Click Deploy package and enter:
Field | Description |
---|---|
Name of deployment | Specify the deployment name. |
Labels | A set of key value pairs used to filter out resources. To add a label, click Add label. |
Adding Configurations
At an executable level you can auto sync the configuration parameters present on rapyuta.io with cloud deployment configs.
Field | Description |
---|---|
Apply to all executables | Enable this toggle button to select all the executables. |
Executables | Select the list of executables that need to be synced. |
Configuration trees | Specify the list of configuration trees to be synced from. |
Set a custom param directory | An optional directory where the synced configuration parameter files are present. This folder is created inside the executable. /tmp/paramsync directory is created for the same purpose. This step may silently fail if the executable does not have the required permissions to create the folder. |
Disable param sync | Enable this toggle button to disable the sync for the selected executable. |
To enable/disable VPN client for cloud deployments, click the Enabled/Disabled button. For more information, see Enabling VPN Services
Adding Volumes
Field | Description |
---|---|
Applicable Component | Select the package component to attach the volume package from the dropdown list. |
Applicable executable | Select the executable from the dropdown list. |
MountPath | Specify the path in the container where the referenced volume should be mounted. |
SubPath | Specify the SubPath to mount only specific directory instead of the whole volume as root. SubPath allows you to share one volume for multiple uses. |
Field | Description |
---|---|
Disk | Select the disk to be mounted from the dropdown list. |
Applicable Component | Select the package component to attach the volume package from the dropdown list. |
Adding Dependency
To add a dependent deployment:
ROS Bag Jobs
To add a ROS Bag Jobs:
Routed or Native Network
To add a Routed or Native Network:
For information on how to create a routed or native network, see Routed Network or Native Network.
If you have a cloud component in your package, you can select only cloud routed networks.
You cannot add a native network for a package with hybrid runtime.
You can also view the details related to topic configuration in the dependency composition graph on the Deployment Details page. For more information, see Dependency Composition.
Restart Policies If you want to modify the initial setting of the restart policy of components with device runtime, click Modify.
Click CREATE DEPLOYMENT and Confirm. You will be redirected to the Details page of the newly created deployment. On successful deployment, the Status changes to Running and the Deployment Phase changes to Succeeded. Additionally, if dependent deployments are added, the status of each should be Running. You may analyze the corresponding deployment logs generated while deploying a package.
If a deployment fails, the DEPLOYMENT PHASE will read Failed to start. You may have to click Deprovision Deployment, delete the package, create the package all over again, and try deploying it.
This feature allows users to re-deploy a running deployment without stopping and while retaining its ID, dependencies, configuration, and endpoints. The advantages f this feature are as follows:
The “in-place” Update/Redeploy feature is currently supported only on containers leveraging a containerized device runtime and in the cloud. This feature is unavailable for Device components powered by the pre-installed.
To update/re-deploy a deployment:
It takes a few minutes and the deployment is updated. You can view the details of updated deployment in the Details tab.
Update Deployment can be done when the DEPLOYMENT PHASE is either Succeeded or Failed To Update. The Update Deployment button will be disabled for other deployment phases. In case of Failed To Update, you can check the historical logs for debugging.
You can view the Deployment Generation in the Details tab of the deployment. The generation increments by 1 for each update deployment. Suppose the current deployment generation is i and if the user does Update Deployment then the new deployment generation will be (i+1).
You can view the updated deployment history in the History tab. For a successful update, it shows a green success icon under Deployment Status. In case of a failure (due to network issue or device being offline), it shows a red failure icon under Deployment Status.
When Update Deployment is triggered, all the replicas are deleted gracefully and the rapyuta.io platform automatically re-creates new replicas for the component.