Hive Proposal for Container Deployment and Scaling
A Hive file is a YAML document structured into three main sections: containers
, scaling
, and geographical_scaling
.
Containers
The containers
section allows you to define individual containers, each with its specific properties. For instance, gpu_app_container
is a container profile representing an application requiring GPU resources to run. Alongside it, the webapp_container
is also defined. This indicates that the Hive file can deploy multiple containers simultaneously, each with its own profile within a single Hive file.
GPU-Enabled Container & Standard WebApp Container
Scaling
The scaling section includes parameters for auto-scaling. If auto_scale
is set to true, specifying max_scale
becomes optional.
Geographical Scaling
The geographical_scaling
section enables geographical scaling and specifies scaling amounts for each container based on location. It ensures data availability in specific regions.
Important Note
Resource Availability: Proposals may be rejected if the specified resources are unavailable in the network. Ensure alignment with the available resources in the decentralized infrastructure. Explore available nodes and their resources via the network explorer.
Last updated