摘 要:视频分析系统随着检测类型、检测视频路数的不断增加,既有系统后台架构的弊端日渐凸显,主要体现在高可用、部署、自动化运维、横向自动扩缩容四个方面。为了解决这四个方面问题,提出了基于 K3s 的云原生应用容器平台的架构设计。经试用实践证明,该平台架构既保证了视频分析系统的高可用性,又有效地提高了部署效率,在基本实现了自动化运维的同时,也具有了横向扩缩容功能。
关键词:K3s;容器;自动化运维
DOI:10.19850/j.cnki.2096-4706.2021.12.006
中图分类号:TP393 文献标识码:A 文章编号:2096-4706(2021)12-0022-04
Design and Practice of Cloud Native Application Container Platform Based on K3s
LIU Zhong
(CRSC Communication & Information Group Company Ltd., Beijing 100070, China)
Abstract: With the continuous increase of detection types and the number of detection video channels, the disadvantages of the background architecture of the existing video analysis system are becoming increasingly prominent, which are mainly reflected in four aspects: high availability, deployment, automatic operation and maintenance and horizontal automatic expansion and contraction. In order to solve these four problems, the architecture design of cloud native application container platform based on K3s is proposed. The trial practice shows that the platform architecture not only ensures the high availability of the video analysis system, but also effectively improves the deployment efficiency. It not only basically realizes automatic operation and maintenance, but also has the function of horizontal expansion and contraction.
Keywords: K3s; container; automatic operation and maintenance
参考文献:
[1] 百度百科 .Docker [EB/OL].[2021-04-19].https://baike. baidu.com/item/Docker/13344470?fr=aladdin.
[2] 翁涅元,单杏花,阎志远,等 . 基于 Kubernetes 的容器 云平台设计与实践 [J]. 铁路计算机应用,2019,28(12):49-53.
[3] Kubernetes. Kubernetes 是什么? [EB/OL].[2021-04- 19].https://kubernetes.io/zh/docs/concepts/overview/whatis-kubernetes/.
[4] Rancher. K3s 介绍 [EB/OL].[2021-04-19].https://docs. rancher.cn/docs/K3s/_index.
[5] Prometheus. OVERVIEW [EB/OL]. [2021-04-19].https:// prometheus.io/docs/introduction/overview/.
[6] Docker Docs. Docker Registry [EB/OL].[2021-04-15].https:// docs.docker.com/registry/.
[7] Rancher. 架构介绍 [EB/OL].[2021-04-20].https://docs. rancher.cn/docs/K3s/architecture/_index.
[8] Kubernetes. 调度 GPU [EB/OL].[2021-04-18].https:// kubernetes.io/zh/docs/tasks/manage-gpus/scheduling-gpus/.
作者简介:刘忠(1976.12—),男,汉族,河北张家口人, 工程师,研究方向:通信信息。