File tree Expand file tree Collapse file tree 3 files changed +64
-1
lines changed Expand file tree Collapse file tree 3 files changed +64
-1
lines changed Original file line number Diff line number Diff line change
1
+ # infra-settings
2
+ deepin ci/cd infrastructure config settings
3
+
4
+ # brief introduction
5
+
6
+ Use k3s to manage the physical resources used by deep ci/cd at present, and gradually build, maintain and develop our ci/cd applications and processes on this basis.
Original file line number Diff line number Diff line change
1
+ <p align =" center " >
2
+ 中文 | <a href =" README.zh_CN.md " >English<a />
3
+ </p >
4
+
1
5
# infra-settings
2
- deepin cicd infrastructure config settings
6
+ deepin ci/cd 基础设施配置
7
+
8
+ # 简介
9
+
10
+ 使用[ k3s] ( https://github.com/deepin-community/k3s ) 管理目前deepin ci/cd所用到的物理资源,并在此基础上逐步搭建、维护和开发我们的ci/cd应用以及流程;该项目则用于管理和公示这些基础设置的配置,包括物理资源以及ci/cd相关服务的配置信息等。
11
+
12
+ # 规划
13
+
14
+ 1 . [ k3s] ( https://github.com/deepin-community/k3s ) 资源整理、部署、配置和公示;
15
+ 2 . [ deepin obs] ( https://build.deepin.com/ ) 构建服务逐步迁移至k3s服务内,并配置公开;
16
+ 3 . deepin开发集成流程讨论、实施并公开配置;
17
+ 4 . 接入[ deepinid服务] 进行用户管理,讨论参与sig的角色、职责、权限的划分,实施并公开配置;
18
+ 5 . 捐赠带宽、存储、机器接入方案讨论、实施并公开配置;
19
+ 6 . cicd的维护文档服务方案讨论、实施并公开配置;
20
+ 7 . 基础设施服务的riscv64架构适配方案讨论、实施并公开相关配置。
21
+
22
+ # 相关的deepin系统开发sig
23
+
24
+ - [ deepin-cicd sig] ( https://github.com/deepin-community/SIG/blob/master/sig/deepin-cicd/README.md )
25
+ - [ deepin-sysdev-team sig] ( https://github.com/deepin-community/SIG/blob/master/sig/deepin-sysdev-team/README.md )
26
+ - [ deepin-riscv64 sig] ( https://github.com/deepin-community/SIG/blob/master/sig/deepin-riscv64/README.md )
27
+ - [ deepin-virt sig(待创建)] ( )
Original file line number Diff line number Diff line change
1
+ # k3s 服务相关配置
2
+
3
+ ## 简介
4
+
5
+ 选用k3s服务作为整个基础设施资源的管理和编排,该服务的特点
6
+ - 精简版的k8s,占用更少的资源的同时覆盖k8s的几乎所有的特性
7
+ - 有比较好的架构支持,包括amd64和arm64
8
+
9
+ 基于以上对于目前的deepin系统研发资源规模以及后续的需求来说,基本可以完全覆盖,当然不包括riscv64架构,但本身的适配难度较少,剩下的是主要工作是riscv64的生态适配了,不过我们也可以通过这个点完善riscv64的生态。
10
+
11
+ ## 现有资源规模
12
+
13
+ 现有服务器资源列表:https://docs.qq.com/sheet/DRmxGdERhT3RBbFJI?tab=BB08J2
14
+
15
+ 总的来说能确定的资源有deepin系统母公司提供的服务器从数量上看不算多,因此本文开头标题为` k3s 服务配置 ` ,但是期待后续通过我们在努力发展deepin系统研发的基础设施成为一个` k3s 集群 ` ,陪伴deepin开源操作系统一起壮大。
16
+
17
+
18
+ ## 服务涉及技术
19
+
20
+ 目前笔者能整理到的围绕[ k3s] ( https://github.com/deepin-community/k3s ) 的相关技术点如下:
21
+
22
+ - [ k3sup] ( https://github.com/alexellis/k3sup ) : 用于部署k3s服务的工具。
23
+ - [ ansible] ( https://github.com/ansible/ansible ) : 批量服务部署工具,结合k3sup使用实现
24
+ - [ k3s etcd] ( https://docs.rancher.cn/docs/k3s/installation/ha-embedded/_index ) :k3s服务使用的内嵌配管理数据库,本身[ etcd] ( https://github.com/etcd-io/etcd ) 也是作为k8s服务的默认数据库,不同在与k3s为了简化配置,将etcd内置到k3s服务中。
25
+ - [ kuboard面板] ( https://github.com/eip-work/kuboard-press ) : 方便进行资源管理和服务编排的界面。
26
+ - 存储技术:待补充。
27
+ - 容器技术:[ containerd] ( https://github.com/containerd/containerd ) 以及[ docker] ( https://www.docker.com/ ) 相关。
28
+ - 网络技术:有涉及到网关或代理相关,包括[ nginx] ( https://blog.redis.com.cn/doc/ ) 、[ traefik-ingress] ( https://doc.traefik.io/traefik/providers/kubernetes-ingress/ ) 相关,有涉及到k3s服务网络后端[ CNI] ( https://github.com/containernetworking/cni ) 的[ flannel] ( https://github.com/flannel-io/flannel ) 、[ wireguard] ( https://github.com/WireGuard/wireguard-go ) 等相关技术。
29
+ - [ kubevirt] ( https://github.com/kubevirt/kubevirt ) : 兼容k8s pod管理的虚拟机管理工具,围绕这个会涉及到[ libvirt] ( https://github.com/libvirt/libvirt ) 、[ qemu] ( https://github.com/qemu/qemu ) 、kvm] 等虚拟化相关技术点。
30
+ - [ obs] ( https://openbuildservice.org/ ) : 全称open build service,为opensuse开源的系统软件包构建工具,[ deepin obs] ( https://build.deepin.com/ ) 服务调研并采用了该工具。
31
+ - [ ServerStatus服务] ( https://github.com/cppla/ServerStatus ) : 用于统计并展示服务资源占用情况。
32
+ - 未完待续。。。
You can’t perform that action at this time.
0 commit comments