Kubernetes 异常配置检测框架
顾静, 阿里云 邓隽, 阿里云 Kubernetes 异常配置检测框架 我们来自阿里云容器服务 • 顾静,研发工程师 • 邓隽,技术专家 我们参与打造 • 容器服务(ACK/ASK) • 容器镜像服务(ACR) • 服务网格(ASM) • … 1 Kubernetes 典型异常 2 检测框架演进 3 生产实践 4 总结 Kubernetes 使用日常 • 应用部署 • API Server Pod Master API Server Pod Master API Server Pod Kubernetes 典型异常 网络异常 • 安全组、路由表配置错误 • 节点防火墙软件等修改 iptables、内核参数 • 网络链路长,手动排查成本高 异常影响 • 应用间无法正常通信 • 集群内 Controller 无法正常工作 YUM 安装自动运维工具 在集群中运行 CIS Benchmark 检测项依赖于 CIS Benchmark 内容 能发现集群核心组件配置错误 无法发现如 Flannel 组件异常 增加检查项流程较复杂 kuberhealthy 在集群中运行 CronJob 实现检查 可以自定义检查项 无法检测集群核心组件配置 集群异常时无法进行检测 kube-hunter 适用于集群安全检测 仅能检测集群安全性 kubectl-trace0 码力 | 31 页 | 9.57 MB | 1 年前3From DevOps to GitOps with GitLab 公開版
Chen @ Cloud Edge Sumit 2020 From DevOps to GitOps with GitLab Cheng Wei Chen 陳 正瑋 DevOps Engineer @ 得寬科技 《Effective DevOps 中⽂版》譯者、GitLab Hero http://chengweichen.com https://devopstw.club Agenda Automation Ops / Infra 團隊 Provision 圖片來源 https://youtu.be/Usb9iUphT6Y GitOps = IaC + MRs + CI/CD GitLab 說的~ GitOps = IaC + MRs + CI/CD Infrastructure as Code Infrastructure System Configuration Application Commit 檢查 .gitlab-ci.yml GitLab Server 產⽣ CI/CD Pipeline GitLab Runner 執⾏ Job CI Job 回傳 Logs 顯⽰於 Pipeline Terraform Ansible Cloud Vault Repository Cloud Cloud App Infra GitLab Runner0 码力 | 46 页 | 14.46 MB | 1 年前3Java 应用系统开发 - ServletContext 和 Web 配置
应用环境对象 Java EE Web 的配置 Servlet 配置对象 转发和重定向 本节习题 Java 应用系统开发 ServletContext 和 Web 配置 王晓东 wangxiaodong@ouc.edu.cn 中国海洋大学 November 26, 2018 大纲 Web 应用环境对象 Java EE Web 的配置 Servlet 配置对象 转发和重定向 本节习题 学习目标 ServletContext。 2. 了解 Web 应用的配置方法。 3. 掌握 MVC 模式 Web 开发中发挥核心作用的转发,区别转 发与重定向。 大纲 Web 应用环境对象 Java EE Web 的配置 Servlet 配置对象 转发和重定向 本节习题 大纲 Web 应用环境对象 Java EE Web 的配置 Servlet 配置对象 转发和重定向 本节习题 大纲 Web 应用环境对象 应用环境对象 Java EE Web 的配置 Servlet 配置对象 转发和重定向 本节习题 接下来⋯ Web 应用环境对象 Java EE Web 的配置 Servlet 配置对象 转发和重定向 本节习题 大纲 Web 应用环境对象 Java EE Web 的配置 Servlet 配置对象 转发和重定向 本节习题 Web 应用环境对象 将 Web 应用部署到服务器上,启动 Web0 码力 | 33 页 | 668.91 KB | 1 年前3《玩转webpack》 第四章 进阶篇: 编写可维护的 webpack 构建配置
webpack 构建配置 04 进阶篇:webpack 构建速度和体积优化策略 05 原理篇:通过源码掌握 webpack 打包原理 06 原理篇:编写 Loader 和插件 07 实战篇:React 全家桶 和 webpack 开发商城项目 08 基础篇:webpack 进阶用法 03 构建配置抽离成 npm 包的意义 可维护性 通用性 质量 ·业务开发者无需关注构建配置 ·统一团队构建脚本 ·统一团队构建脚本 ·构建配置合理的拆分 ·README 文档、ChangeLog 文档等 ·冒烟测试、单元测试、测试覆盖率 ·持续集成 构建配置管理的可选方案 将构建配置设计成一个库,比如:hjs-webpack、Neutrino、webpack-blocks 通过多个配置文件管理不同环境的构建,webpack --config 参数进行控制 抽成一个工具进行管理,比如:create-react-app eact-app, kyt, nwb 将所有的配置放在一个文件,通过 --env 参数控制分支选择 构建配置包设计 通过多个配置文件管理不同环境的 webpack 配置 抽离成一个 npm 包统一管理 ·开发环境:webpack.dev.js ·生产环境:webpack.prod.js ·规范:Git commit日志、README、ESLint 规范、Semver 规范 ·质量:冒烟测试、单元测试、测试覆盖率和0 码力 | 30 页 | 5.38 MB | 1 年前3Weblate 4.3.2 用户文档
客户端 Weblate’s Python API Administrator docs 配置手册 Weblate 部署 升级 Weblate 备份和移动 Weblate 身份验证 访问控制 翻译项目 语言定义 持续本地化集成 翻译许可 翻译进程 检查并修正 机器翻译 附加组件 翻译记忆库 配置 配置的例子 管理命令 公告 组件列表 可选的 Weblate 模块 定制 Weblate 管理界面 default. This lightens the burden of repetitive and multi version translation. Disable it as per 组件配置, still producing errors for seemingly inconsistent resulting translations. Registration and user profile When Weblate is configured for a single project using SINGLE_PROJECT in the settings.py file (see 配置), the dashboard will not be shown, as the user will be redirected to a single project or component0 码力 | 676 页 | 9.37 MB | 1 年前3Weblate 4.3.2 用户文档
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 2 Administrator docs 146 2.1 配置手册 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 . . . . . . . . . . . . . . . . 280 2.16 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 2.17 配置的例子 . . . . . . . . . . . . . . . . . . . . default. This lightens the burden of repetitive and multi version translation. Disable it as per 组件配置, still producing errors for seemingly inconsistent resulting translations. 1.2 Registration and user0 码力 | 424 页 | 4.77 MB | 1 年前3Weblate 4.3.1 用户文档
客户端 Weblate’s Python API Administrator docs 配置手册 Weblate 部署 升级 Weblate 备份和移动 Weblate 身份验证 访问控制 翻译项目 语言定义 持续本地化集成 翻译许可 翻译进程 检查并修正 机器翻译 附加组件 翻译记忆库 配置 配置的例子 管理命令 公告 组件列表 可选的 Weblate 模块 定制 Weblate 管理界面 default. This lightens the burden of repetitive and multi version translation. Disable it as per 组件配置, still producing errors for seemingly inconsistent resulting translations. Registration and user profile When Weblate is configured for a single project using SINGLE_PROJECT in the settings.py file (see 配置), the dashboard will not be shown, as the user will be redirected to a single project or component0 码力 | 667 页 | 9.36 MB | 1 年前3Weblate 4.3.1 用户文档
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 2 Administrator docs 145 2.1 配置手册 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 . . . . . . . . . . . . . . . . 277 2.16 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278 2.17 配置的例子 . . . . . . . . . . . . . . . . . . . . default. This lightens the burden of repetitive and multi version translation. Disable it as per 组件配置, still producing errors for seemingly inconsistent resulting translations. 1.2 Registration and user0 码力 | 419 页 | 4.74 MB | 1 年前3git 操作手册
user.name #查看用户名 ★以上3个范围的设置优先级: 本地设置 > 全局设置 > 系统设置 ★push.default配置项 # git config --local push.default simple #设置推送模式 nothing 直接push会出错,需要显式的指出推送的远程分支,例如 库和拉取数据的远程仓库不一 致,那么该模式会像current模式一样进行操作。因为该选项对于新 手来说是最安全的,所以在git 2.0中,simple是push.default的默认 值配置项(2.0以前的默认配置项是matching) matching 推送本地和远程都存在的同名分支 ★仓库操作 # mkdir ~/testgit #创建项目目录 #基于原有的old-tag创建新tag(可用于重命名,生 成新tag后,再删除旧的tag) ★git远程协作开发 远程协作的基本流程: ① 管理员在创建一个空的远程仓库(比如在gitlab上创建一个空的项目) ② 管理员创建一个待推送的本地仓库 ③ 管理员关联本地仓库与远程仓库 ④ 管理员在本地仓库中编辑代码,提交代码 ⑤ 管理员推送本地仓库代码到远程仓库 ⑥ 管理员邀请协作成员0 码力 | 35 页 | 1.69 MB | 1 年前3Weblate 4.4 用户文档
客户端 Weblate’s Python API Administrator docs 配置手册 Weblate 部署 升级 Weblate 备份和移动 Weblate 身份验证 访问控制 翻译项目 语言定义 持续本地化集成 翻译许可 翻译进程 检查并修正 机器翻译 附加组件 翻译记忆库 配置 配置的例子 管理命令 公告 组件列表 可选的 Weblate 模块 定制 Weblate 管理界面 burden of repetitive and multi version translation. The translation propagation can be disabled per 组件配置 in case the translations should diverge. 参见 与 Weblate 集成 Registration and user profile 注册 Everybody When Weblate is configured for a single project using SINGLE_PROJECT in the settings.py file (see 配置), the dashboard will not be shown, as the user will be redirected to a single project or component0 码力 | 712 页 | 9.37 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100