What is Open Source Summer?
Open Source Summer is a summer open source activity initiated and supported by the "Open Source Software Supply Chain Lighting Program", which aims to encourage students to actively participate in the development and maintenance of open source software, promote the vigorous development of excellent open source software communities, and cultivate Discover more great developers.
The event unites major open source communities at home and abroad, provides project tasks for the development and maintenance of important open source software, and opens registration for college students around the world.
Students can choose the project tasks they are interested in to apply for in this activity, and get the opportunity to personally guide the senior maintainer (community mentor) of the open source project after being selected. After completing the project and contributing to the community, participating students will also receive open source. Summer event bonus and certificate of completion.
Project Description
As an open source solution of Alibaba that helps distributed applications to quickly package, deliver and run, sealer can solve the delivery problem of complex applications by packaging distributed applications and their dependencies such as database middleware together.
The product built by sealer is called a cluster image. A complete set of Kubernetes + containers is embedded in the cluster image. They work together to solve the delivery consistency problem of distributed applications.
sealer has entered the CNCF sandbox.
Click to view "Open Source Night Chat Phase 1: Talk about the story behind sealer's open source": https://www.bilibili.com/video/BV1w541197Ht/
Introduction to the topic
sealer runtime extension, support k3s k0s
The sealer architecture is divided into two parts, the Build module and the Run module. The Run part is mainly divided into three layers. The bottom layer is connected to various infrastructures, such as bare servers and various public clouds. The Runtime layer supports specific K8s implementations, such as kubeadm k3s k0s Etc., once the runtime is extended it means that users can build images like this:
FROM k3s:latest
COPY mysql .
CMD kubectl apply -f mysql
Use sealer build -t k3s-with-mysql:latest . To build a mysql cluster image on top of k3s, you only need: sealer run 3s-with-mysql:latest to run a k3s and start the mysql cluster. This topic is mainly about The interface that implements the runtime:
type Interface interface {
Init(cluster *v2.Cluster) error
Upgrade() error
Reset() error
JoinMasters(newMastersIPList []string) error
JoinNodes(newNodesIPList []string) error
DeleteMasters(mastersIPList []string) error
DeleteNodes(nodesIPList []string) error
GetClusterMetadata() (*Metadata, error)
UpdateCert(certs []string) error
}
Make and provide the basic image of k3s k0s, so that users can use k3s k0s with one click through sealer
Participation Requirements
- Familiar with technologies such as docker/kubernetes
- Have a certain ability to read source code
- familiar with golang
Project address: https://github.com/sealerio/sealer
Mentor Email: zhongyi.fht@alibaba-inc.com
Click here to sign up for the sealer Open Source Summer!
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。