You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During bootstrap the vm factory uses the VM runtime engine to start a vm subprocess[1]. Currently this is very specific to the subprocess implementation. We loop the files in the directory[1] and attempt to match VMID. In order for the node to pick up the configuration for the container we will want to drop the pod yaml in the plugins dir using the following format. <VMID>_pod.yaml
hexfusion
changed the title
task: extend vm factory to provide support for container implementation
[task]: extend vm factory to provide support for container implementation
Jun 22, 2023
During bootstrap the vm factory uses the VM runtime engine to start a vm subprocess[1]. Currently this is very specific to the subprocess implementation. We loop the files in the directory[1] and attempt to match VMID. In order for the node to pick up the configuration for the container we will want to drop the pod yaml in the plugins dir using the following format.
<VMID>_pod.yaml
Then if we match
_pod.yaml
use the container implementation otherwise subprocess.[1] https://github.com/ava-labs/avalanchego/blob/eb6e7973a900dc647d29a2da8e7a233ac0a5fe77/vms/registry/vm_getter.go#L102
[2] https://github.com/ava-labs/avalanchego/blob/master/vms/rpcchainvm/factory.go#L36
[3] https://github.com/ava-labs/avalanchego/blob/master/vms/registry/vm_getter.go#L64
The text was updated successfully, but these errors were encountered: