03 小罗 python与devops •代码管理(SCM):GitHub、GitLab、SubVersion •构建工具:Ant、maven •自动部署:ansible、saltstack、puppet •持续集成(CI):Jenkins •配置管理:Ansible、Chef、Puppet、SaltStack •容器:Docker、kvm •编排:Kubernetes、openstack、Apache Mesos、swarm •服务注 由Jenkinsfile确定操作流程 K8s Ci/CD快速发布流程 1. 开发人员提交代码到 Gitlab 代码仓库 2. 编写Dockerfile 到代码目录 3. 通过 Gitlab 配置的 Jenkins Webhook 触发 Pipeline 自动构建 4. Jenkins 触发构建构建任务,编写jenkinsfile. 5. 先进行代码静态分析,单元测试 6. 然后进行 Maven Maven 构建(Java 项目) 7. 根据构建结果构建 Docker 镜像 8. 推送 Docker 镜像到 Harbor 仓库 9. 触发更新服务阶段,使用kubectl 从pod构建,当然kubectl版本打包到jenkin-slave镜像里 10. 发布更新、检测状态,更新失败停止,返回上一个版本 THANK YOU law 无 保密 二维码0 码力 | 22 页 | 1.64 MB | 1 年前3
1_丁来强_开源AIOps数据中台搭建与Python的作用hon的作⽤用 • ⽇日志类数据⽅方案 • 指标类时序数据⽅方案 • 其他OLAP选择 • AI增强⽅方案 数据源与监控 - 容器器化架构为例例 物理理主机/VM层监控 容器器POD指标监控 容器器CaaS层资源监控 应⽤用层性能监控 应⽤用层 ⽇日志 指标监控 prometheus + grafana + thanos elastic stack, TICK stack • 机器学习(收费) • Canvas⾃由编辑 Logstash核⼼能⼒ • 插件化灵活:输⼊入/过滤/输出 • 200+插件 • 配置统⼀一管理理 • 数据传输可靠性 Beats核⼼能⼒ • 8类轻量级Beats • 配置统⼀管理,部分逻辑插件化 • 集成50+内置⽣态模块(⽇志与指标) • ⽀持容器类部署场景 其他OLAP选择: Druid • 性能优越:0 码力 | 48 页 | 17.54 MB | 1 年前3
MuPDF 1.22.0 Documentationexception stack (see error handling below), • a memory allocator (allowing for custom allocators) • a resource store (for caching of images, fonts, etc.) • a set of locks and (un-)locking functions (for multi-threading) Create a new empty document with no pages. var pdf = new PDFDocument() // Create and add a font resource. var font = pdf.addObject({ Type: "Font", Subtype: "Type1", Encoding: "WinAnsiEncoding", BaseFont: MuPDF Documentation, Release 1.21.2 (continued from previous page) // Create and add an image resource: var image = pdf.addRawStream( // The raw stream contents, hex encoded to match the Filter entry:0 码力 | 175 页 | 698.87 KB | 8 月前3
MuPDF 1.23.0 Documentationexception stack (see error handling below), • a memory allocator (allowing for custom allocators) • a resource store (for caching of images, fonts, etc.) • a set of locks and (un-)locking functions (for multi-threading) Create and add a font resource. var font = pdf.addObject({ Type: "Font", Subtype: "Type1", Encoding: "WinAnsiEncoding", BaseFont: "Times-Roman", }) // Create and add an image resource: var image = pdf.addRawStream( command line MuPDF Documentation, Release 1.23.0 (continued from previous page) ); // Create resource dictionary. var resources = pdf.addObject({ Font: { Tm: font }, XObject: { Im0: image }, }) //0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.24.0 Documentationexception stack (see error handling below), • a memory allocator (allowing for custom allocators) • a resource store (for caching of images, fonts, etc.) • a set of locks and (un-)locking functions (for multi-threading) Create and add a font resource. var font = pdf.addObject({ Type: "Font", Subtype: "Type1", Encoding: "WinAnsiEncoding", BaseFont: "Times-Roman", }) // Create and add an image resource: var image = pdf.addRawStream( command line MuPDF Documentation, Release 1.24.0 (continued from previous page) ); // Create resource dictionary. var resources = pdf.addObject({ Font: { Tm: font }, XObject: { Im0: image }, }) //0 码力 | 249 页 | 830.15 KB | 8 月前3
MuPDF 1.25.0 Documentationexception stack (see error handling below), • a memory allocator (allowing for custom allocators) • a resource store (for caching of images, fonts, etc.) • a set of locks and (un-)locking functions (for multi-threading) Create and add a font resource. var font = pdf.addObject({ Type: "Font", Subtype: "Type1", Encoding: "WinAnsiEncoding", BaseFont: "Times-Roman", }) // Create and add an image resource: var image = pdf.addRawStream( Height: 2, BitsPerComponent: 8, ColorSpace: "DeviceGray", Filter: "ASCIIHexDecode", } ); // Create resource dictionary. var resources = pdf.addObject({ Font: { Tm: font }, XObject: { Im0: image }, }) //0 码力 | 259 页 | 1.11 MB | 8 月前3
Python 标准库参考指南 3.12 . . . . . . . . . . . . . . . . . . 93 4.16.2 配置限制值 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 4.16.3 推荐配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 14.2 configparser --- 配置文件解析器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556 14.2.1 快速起步 . . . . . . . . . . . . . . . . . . . . 732 16.7 logging.config --- 日志记录配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733 16.7.1 配置函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2253 页 | 11.81 MB | 9 月前3
Python 标准库参考指南 3.12 . . . . . . . . . . . . . . . . . . 93 4.16.2 配置限制值 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 4.16.3 推荐配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 14.2 configparser --- 配置文件解析器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556 14.2.1 快速起步 . . . . . . . . . . . . . . . . . . . . 732 16.7 logging.config --- 日志记录配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733 16.7.1 配置函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2253 页 | 11.81 MB | 9 月前3
Python 标准库参考指南 3.10.15 . . . . . . . . . . . . . . . . . . 87 4.15.2 配置限制值 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 4.15.3 推荐配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510 14.2 configparser --- 配置文件解析器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511 14.2.1 快速起步 . . . . . . . . . . . . . . . . . . . . . . 661 16.7 logging.config --- 日志记录配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661 16.7.1 配置函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2072 页 | 10.39 MB | 9 月前3
Python 标准库参考指南 3.10.15 . . . . . . . . . . . . . . . . . 94 4.15.2 配置限制值 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 4.15.3 推荐配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547 14.2 configparser --- 配置文件解析器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548 14.2.1 快速起步 . . . . . . . . . . . . . . . . . . . 710 16.7 logging.config --- 日志记录配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711 16.7.1 配置函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2207 页 | 10.45 MB | 9 月前3
共 546 条
- 1
- 2
- 3
- 4
- 5
- 6
- 55













