deployments
Last updated: 2025-02-17 08:37:53.132169 File source: link on GitLab
Deploying Workloads on the Network
Overview
Every node on the NuNet network has the ability to deploy jobs across the network's available compute resources, given the necessary capabilities. You can leverage the distributed computing power offered by compute providers to run your workloads efficiently.
How
Ensure your DMS is running and properly connected to the network
Create an ensemble configuration file that defines your deployment requirements
Use the DMS CLI to deploy your jobs
Creating an Ensemble Configuration
An ensemble configuration defines the resources and requirements for your deployment. Here's a basic example:
For more details about the ensemble configuration format and all possible fields, see the EnsembleConfig Documentation.
Deploying Jobs
To deploy a job:
Save your ensemble configuration to a file (e.g.,
ensemble.yaml
)Use the DMS CLI to create a new deployment:
Monitoring Deployments
You can monitor your deployments using these commands:
Best Practices
Monitor resource usage and costs
Use appropriate resource constraints in your ensemble configurations
Implement proper error handling in your deployments
Troubleshooting
Common issues and their solutions:
Deployment fails to start
Verify your ensemble configuration
Ensure proper network connectivity (e.g.: list peers using
nunet actor cmd --context user /dms/node/peers/list
)
Capabilities
Ensure you have the required capabilities to invoke deployment behaviors upon peers on the network
Last updated