Skip to content

017资源镜像规范

唯一性

服务命名规范:[镜像仓库地址]/[使用的语言或者框架]/[服务名称缩写]:version_[时间戳:年月日时分秒]

easzlab.io.local:5000/springboot/cutejava-starter:version_20240521195715

中间件命名规范:[镜像仓库地址]/[中间件类型]/[中间件名称和版本]-link-[服务名称缩写]:version_[时间戳:年月日时分秒]

easzlab.io.local:5000/database/mysql8-link-cutejava-starter:version_20240521195715

原子性

所有环境用同一个基础镜像,包含日志收集和链路追踪等等功能,可以通过构建参数定制最终镜像。

shell
easzlab.io.local:5000/jdk11:odboy20240521

功能性

shell
# 日志收集,elk替代
源码:https://github.com/gotoeasy/glogcenter

官方文档:https://glc.gotoeasy.top/glc/search

# 全链路追踪,由于 SkyWalking 比 Pinpoint 性能好,功能强,虽然bug比较多,但是也能接受
源码:https://github.com/apache/skywalking

官方文档:https://skywalking.apache.org/