Explore how to use the CLI to interact with Valyent.
valyent.json
configuration file in your current directory. You can either:
--fleet
flagmachine-config.json
):
region
: The region where the machine will be deployed (e.g., “gra-1”)skip_start
: Whether to skip starting the machine after creationconfig
:
image
: Docker image to use for the machineworkload
:
env
: Array of environment variablesrestart.policy
: Container restart policyinit.user
: User to run the container asgateway_enabled
: Whether to enable gateway accessguest
:
cpu_kind
: Type of CPU (“eco” for economical)cpus
: Number of CPU coresmemory_mb
: Memory allocation in megabytes.env
valyent.json
.git
, node_modules
, and paths in .dockerignore
)fleet
for fleets
, gateway
for gateways
).env
files or set individually