Mozilla Public License 2.0

项目介绍

liquidmetal-dev/flintlock 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 Mozilla Public License 2.0 许可证,目前获得 1.5k 个 Star、79 次 Fork。

仓库全名
liquidmetal-dev/flintlock
开源许可证
Mozilla Public License 2.0
Star 数
1.5k
Fork 数
79
未关闭 Issue
106

README 摘要

Flintlock - Create and manage the lifecycle of MicroVMs, backed by containerd. What is flintlock? Flintlock is a service for creating and managing the lifecycle of microVMs on a host machine. We support the Cloud Hypervisor and Firecracker VMMs. The original use case for flintlock was to create microVMs on a bare-metal host where the microVMs will be used as nodes in a virtualized Kubernetes cluster. It is an…

完整内容见 GitHub 原始 README 或本页 。

常见问题

flintlock 用什么语言开发?

主要使用 Go 编写,采用 Mozilla Public License 2.0 许可证,目前有 1.5k 个 Star。

flintlock 可以免费商用吗?

仓库标注的许可证为 Mozilla Public License 2.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 flintlock 的源码?

可以直接克隆仓库:git clone https://github.com/liquidmetal-dev/flintlock.git,默认分支为 main;安装与运行步骤见仓库 README。

flintlock 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 106 个未关闭 Issue;Star 数为 1.5k,可作为社区活跃度的参考。

简要分析

热度分
1691
价值分
933
活跃状态
活跃

语言占比

Go
Go Template
HTML
JavaScript
Makefile
Python
Shell

Release

README

Flintlock - Create and manage the lifecycle of MicroVMs, backed by containerd.

GitHub Tests Go Reference GitHub release

What is flintlock?

Flintlock is a service for creating and managing the lifecycle of microVMs on a host machine. We support the Cloud Hypervisor and Firecracker VMMs.

The original use case for flintlock was to create microVMs on a bare-metal host where the microVMs will be used as nodes in a virtualized Kubernetes cluster. It is an essential part of Liquid Metal and can be orchestrated by:

  • Battery: a warm pool manager that keeps pools of pre-booted microVMs ready to be claimed.
  • Brigade: a distributed orchestrator that schedules microVMs across a fleet of flintlock hosts.
  • Cluster API Provider Microvm: a Cluster API provider that creates Kubernetes clusters with microVMs as the nodes.

However, it’s useful for many other use cases where lightweight virtualization is required (e.g. isolated workloads, pipelines).

Features

Using API requests (via gRPC or HTTP):

  • Create, get, list and delete microVMs
  • Run microVMs with Firecracker or Cloud Hypervisor, chosen per microVM
  • Configure microVM metadata via cloud-init, ignition etc
  • Use OCI images for microVM volumes, kernel and initrd
  • Attach network interfaces using TAP devices (optionally on a Linux bridge) or macvtap devices (Cloud Hypervisor only), with DHCP or static IP addresses
  • Share host directories with a microVM using virtiofs (Cloud Hypervisor only)
  • Customise the CPU features presented to the guest
  • Talk to a guest agent in the microVM over a vsock device
  • Expose microVM metrics for collection by Prometheus

Documentation

See our getting started with flintlock tutorial.

Contributing

Contributions are welcome. Please read the CONTRIBUTING.md and our Code Of Conduct.

You can reach out to the maintainers and other contributors using the #liquidmetal channel on the CNCF slack.

Other interesting resources include:

Getting Help

If you have any questions about, feedback for or problems with flintlock:

Your feedback is always welcome!

Compatibility

The table below shows you which versions of Firecracker are compatible with Flintlock:

Flintlock Firecracker Cloud Hypervisor
v0.16.x Official v1.16+ v48.0 - v53.0
v0.9.x Official v1.11+ v41.0
v0.8.x Official v1.10+ v41.0
v0.7.0 Official v1.10+ v41.0
v0.6.0 Official v1.0+ or v1.0.0-macvtap v26.0
v0.5.0 Official v1.0+ or v1.0.0-macvtap v26.0
v0.4.0 Official v1.0+ or v1.0.0-macvtap Not Supported
v0.3.0 Official v1.0+ or v1.0.0-macvtap Not Supported
<= v0.2.0 <= v0.25.2-macvtap Not Supported
<= v0.1.0-alpha.6 <= v0.25.2-macvtap Not Supported
v0.1.0-alpha.7 Do not use Not Supported
v0.1.0-alpha.8 <= v0.25.2-macvtap Not Supported

NOTE: we no longer support using the Weaveworks fork (with macvtap) of Firecracker. If you want macvtap then please use Cloud Hypervisor as the vm provider.

NOTE: Cloud Hypervisor before v48.0 does not start on some hosts with newer Intel CPUs, see #1265.

License

MPL-2.0 License

Acknowledgements

The biggest acknowledgement goes to @Weaveworks who where pioneers in the early Kubernetes world and produced some fantastic open source that lives on despite the demise of the company. A big thank you to the company and everyone that worked there. It was the engineers at Weaveworks that originally created Liquid Metal. RIP Weaveworks.

评论

暂无评论