All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contributionrapyuta.io supports the native VPN. It now provides the capability to connect devices and device deployments in a warehouse with deployments running in the cloud and vice-versa. It will also allow device (robot/edge) addressability in the warehouse for debugging and maintenance.
You can use the CLI to enable VPN on projects, devices, and cloud deployments.
You can either create a new project and enable VPN in the project manifest or enable VPN in an existing project.
To list projects with features:
rio project list -w
To create a new project you will have to first create a project maifest, set the attribute vpn.enabled
to true
and then apply the manifest.
For example, create a project manifest project.yaml
as below:
apiVersion: api.rapyuta.io/v2
kind: Project
metadata:
name: demo-project
spec:
features:
vpn: true
To apply the maifest:
rio apply project.yaml
To enable VPN on an existing projects:
rio project features vpn <project_name> true
To view the list of devices:
rio device list
To enable VPN on all online devices:
rio device vpn true
To enable VPN on selected devices:
rio device vpn true --devices=<device_name> --devices=<device2_name>
For example, if you want to enable VPN for the devices amr01 and edge02,
rio device vpn true --devices=amr01 --devices=edge01
To Run VPN client in cloud deployments you will have to first create a deployment maifest, set the attribute vpn.enabled
to true
and then apply the manifest.
For example, craete a deployment manifest, deployment.yaml
.
apiVersion: "apiextensions.rapyuta.io/v1"
kind: Deployment
metadata:
name: "nginx-with-tailscale"
depends:
kind: package
nameOrGUID: "nginx"
version: "1.0.0"
spec:
runtime: cloud
features:
vpn:
enabled: true
To apply the maifest:
rio apply deployment.yaml
rio project select <project_name>
rio vpn connect
rio vpn status
tailscale status
rio vpn disconnect