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
Relay a signal to a process or all processes in a container.
sandbox.IOStream(containerID, processID)
Relay a process stdio. Return stdin/stdout/stderr pipes to the process stdin/stdout/stderr streams.
Plugin framework for external proprietary Kata runtime extensions
Hypervisor plugin
TBD.
Metadata storage plugin
The metadata storage plugin controls where sandbox metadata is saved.
All metadata storage plugins must implement the following API:
Name
Description
storage.Save(key, value)
Save a record.
storage.Load(key)
Load a record.
storage.Delete(key)
Delete a record.
Built-in implementations include:
Filesystem storage
LevelDB storage
VM Factory plugin
The VM factory plugin controls how a sandbox factory creates new VMs.
All VM factory plugins must implement following API:
Name
Description
VMFactory.NewVM(HypervisorConfig)
Create a new VM based on HypervisorConfig.
Built-in implementations include:
Name
Description
CreateNew()
Create brand new VM based on 'HypervisorConfig'.
CreateFromTemplate()
Create new VM from template.
CreateFromCache()
Create new VM from VM caches.
Sandbox Creation Plugin Workflow
Sandbox Connection Plugin Workflow
Built-in Shim and Proxy Types and Capabilities
Built-in shim/proxy sandbox configurations
Supported shim configurations:
Name
Description
noopshim
Do not start any shim process.
ccshim
Start the cc-shim binary.
katashim
Start the kata-shim binary.
katashimbuiltin
No standalone shim process but shim functionality APIs are exported.
Supported proxy configurations:
Name
Description
noopProxy
a dummy proxy implementation of the proxy interface, only used for testing purpose.
noProxy
generic implementation for any case where no actual proxy is needed.
ccProxy
run ccProxy to proxy between runtime and agent.
kataProxy
run kata-proxy to translate yamux connections between runtime and kata agent.
kataProxyBuiltin
no standalone proxy process and connect to kata agent with internal yamux translation.
Built-in Shim Capability
Built-in shim capability is implemented by removing standalone shim process, and
supporting the shim related APIs.
Built-in Proxy Capability
Built-in proxy capability is achieved by removing standalone proxy process, and
connecting to kata agent with a custom grpc dialer that is internal yamux translation.
The behavior is enabled when proxy is configured as kataProxyBuiltin.