摘要: 前期回顾 配置是独立于程序的可配变量,同一份程序在不同配置下会有不同的行为。 云原生(cloud native)程序的特点 程序的配置,通过设置环境变量传递到容器内部 程序的配置,通过程序启动参数配置生效 程序的配置,通过集中在配置中心进行统一管理(CRUD) devops工程师应该做什么? 容器化 阅读全文
posted @ 2021-01-26 11:11 肖云辉 阅读(152) 评论(0) 推荐(0)
摘要: 安装部署主控节点服务 -- etcd 部署master节点服务 部署etcd集群 集群规划 HDss7-12.host.com ectc lead 192.168.154.12 HDss7-21.host.com ectc follow 192.168.154.21 HDss7-22.host.co 阅读全文
posted @ 2021-01-04 13:46 肖云辉 阅读(143) 评论(0) 推荐(0)
摘要: K8S概述 K8S是谷歌在2014年开业的容器化集群管理系统 使用K8S进行容器化应用部署 使用K8S利用应用扩展 K8S目标实施让部署容器化应用更加简单和高效K8S特性 自动装箱 基于容器对应用运行环境的资源配置要求自动部署应用容器 自我修复(自愈能力) 当容器失败时,会对容器进行重启 当容器部署 阅读全文
posted @ 2020-12-28 14:56 肖云辉 阅读(321) 评论(0) 推荐(0)
摘要: 01期中架构开场介绍&&环境准备 第0章 学习方法的变化 1.第一阶段学习方法 1.记命令 80-150 2.记参数 常用 3-5个 3.练习 考试题手写 4.回顾 总结 2.第二阶段学习方法 1.理解 思考 提问 2.应用场景 干嘛用的 怎么用 3.安装部署 配置文件 启动 测试 关闭 4.各种报 阅读全文
posted @ 2020-12-22 09:36 肖云辉 阅读(87) 评论(0) 推荐(0)
摘要: - name: create volume group hosts: test1,test2 tasks: - name: create partition for lvm pareted: device=/dev/vdb number=1 flags=[ lvm ] state=present p 阅读全文
posted @ 2020-12-16 09:47 肖云辉 阅读(358) 评论(0) 推荐(0)
摘要: 安装 yum install mailx -y查询配置文件 rpm -qc mailx /etc/mail.rc配置配置文件 set from=626746XXX@qq.com set smtp=smtps://smtp.qq.com:465 set smtp-auth-user=626746XXX 阅读全文
posted @ 2020-12-13 23:28 肖云辉 阅读(129) 评论(0) 推荐(0)
摘要: 下载阿里云base源 1 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirros.aliyun.com/repo/Centos-7.repo 通过yum安装epel源 yum install -y epel-release 查看可安装的dock 阅读全文
posted @ 2020-12-13 20:42 肖云辉 阅读(356) 评论(0) 推荐(0)
摘要: 第一步安装编译工具 yum install gcc gcc-c++ make automake autoconf ncurses-devel libtool libxml2-devel wget 第二步安装lamp 第二.一.一步yum安装lamp yum install httpd httpd-d 阅读全文
posted @ 2020-12-13 20:41 肖云辉 阅读(258) 评论(0) 推荐(0)
摘要: 序章:做本专题讲座的内容简介 1.prometheus的整体框架图 this diagram illustrate the architecture of prometheus and some of its ecosystem components: 见图:普罗米修斯原理架构图 2.我们来谈谈监控 阅读全文
posted @ 2020-12-13 20:34 肖云辉 阅读(1226) 评论(0) 推荐(0)
摘要: Promethus(普罗米修斯)监控系统 学习目标 能够安装Promethus服务器 能够通过安装node_exporter监控linux 能够通过安装mysqld_exporter监控远程mysql数据库 能够安装grafana 能够在grafana添加prometheus数据源 能够在grafa 阅读全文
posted @ 2020-12-13 17:18 肖云辉 阅读(1028) 评论(0) 推荐(0)