Comments (7)
You're both right, we can have a library defining a high level API. I just want to make sure we try to define such a thing without relying on existing things like frakti so that we make this API convenient for an already exiting application. It would be more the other way around, which means we would define an API, and existing projects like frakti should adapt themselves to the newly defined API.
from runtime.
Well that's a good question ? Do we expect kata to provide such API ? If you look at CRI-O and CRI-containerd, they both rely on the runtime binary directly, assuming the runtime is compliant with OCI. Shouldn't frakti try to do the same ?
IMO, we are taking the problem upside down here.
from runtime.
@sboeuf Both virtcontainers and runv already have the library APIs. My proposal is to consolidate them to provide kata library APIs, which aligns with the goal of merging cc and runv. Given that we want to represent kata rather than either virtcontainers or runv to consumers, it makes sense to converge the libraries as well. Once we merge the libraries, we would have kata library APIs. And the issue is to define such APIs. It is next step now that we have both cc and runv cli in place.
And IMO we should not decide consumer architectures. The discussion among CRI-O/CRI-containerd/frakti is others' fight. As an OCI runtime implementation, it is better for kata to stand neutral.
from runtime.
@sboeuf IIRC, fratki is not a yet another CRI-tool, nor a yet another CRI-O/CRI-containerd.
It is the first implementation of the CRI which was originated born for fratki. It aims to leverage the best of vm containers to k8s. The aim will not be unchanged.
from runtime.
It would be fine to provide such a library as virtcontainers
, I don't see any conflicts with our OCI-compatible goal, runc command line is also making using of libcontainer
, so it would be OK to building a libkata
(or better name), and kata-runtime command line can also be built based on this libkata
. It's only about the detailed implementation of kata-runtime.
from runtime.
yes @sboeuf, frakti should be changed to use the new kata library API not the other way around.
from runtime.
I see this as addressed by https://github.com/kata-containers/documentation/blob/master/design/kata-api-design.md
Please re-open if I am mistaken.
from runtime.
Related Issues (20)
- Attaching multiple network interfaces to Firecracker container HOT 5
- add observability bind mount to retrieve logs from guest HOT 1
- don't pass cpuset details to guest when creating container
- 9pfs: Tar reports that file shrank HOT 2
- clh: Upgrade to cloud-hypervisor v0.14.0
- Kata Containers 1.x container hangs running Python scripts HOT 12
- Enabling sangbox_cgroup_only causes the creation of pods with small memory.limits settings to fail HOT 3
- Disk io limit of kata container (bps and iops) HOT 2
- Thread creation can be orders of magnitude slower in Kata containers under certain conditions HOT 20
- versions: Upgrade to cloud-hypervisor release v0.14.1
- cli: the incorrect info of command "kata-runtime exec" HOT 1
- `Dead agent` will block kata-agent exit HOT 6
- cli: the default hostname should not be "runc" HOT 1
- kill: does kata container support "terminationGracePeriodSeconds" in pod definition of kubernetes? HOT 5
- versions: Upgrade to cloud-hypervisor v15.0
- Kata on MSFT Win10 WSL2 HOT 5
- Manually hot-plugged interfaces don't work HOT 2
- Network hotplug issues with firecracker HOT 7
- Revert 1.13.0-alpha1 version bump, as the release was never tagged.
- Incorrect agent version specified in versions.yaml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runtime.