1.6 KiB
Deterministic Deployment
The concept of Zero-Deploy is a key component of the Smart Contract for IT framework, which can be applied to any type of workload—whether it's containers, virtual machines (VMs), network gateways, volumes, Kubernetes resources, or other network elements. This framework serves as a formal agreement between a farmer (provider) and a user regarding the deployment of an IT workload.
Process
-
Build Your Code
Develop and prepare your application code. -
Convert to Zero-Image
Use a CI/CD solution (e.g., Hero CI/CD) to convert your Docker build (or other format) into a Zero-Image format. -
Define the Workload
Specify all the details of your workload, including network bridges, web gateways, required machines, and more. -
Register and Sign
Register the workload and sign it with your private key. -
Automatic Detection
All necessary Zero-OS nodes (our infrastructure) will detect that a new workload needs to be deployed. -
Deployment Process
The nodes will pull down the formal workload descriptions and initiate the deployment process. -
Validation
Every step of the deployment is verified by Zero-OS (ZOS) to ensure that the intended result is accurately replicated. If any discrepancies are detected, ZOS will halt the deployment and provide an error message.
Benefits
- Deterministic Deployment: There is no dynamic behavior during deployment at runtime, ensuring a consistent and predictable outcome.
- Strict Compliance: No process can start unless all files and configurations are fully described at the flist level.