上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 66 下一页
摘要: 部署Envoy的常用方法 镜像方式部署 Envoy项目为多种平台(例如amd64和arm64等)维护有相应的Docker Image,我们可按需猎取相应镜像后以容器形式运行Envoy,而且它们存在以下几种变化形式 envoy:基于Ubuntu Bionic制作的Docker Image envoy- 阅读全文
posted @ 2021-11-29 18:22 小吉猫 阅读(2149) 评论(0) 推荐(0)
摘要: 一 程序架构 1.1 架构的形式与特点 以文档和代码呈现:架构既包含设计过程,也包括设计的产物,可以是各类设计文档、设计图,也可是一些技术验证代码、 Demo或其它相关的程序;文档是设计的载体,而代码是系统功能实现的载体; 架构服务于业务:即架构的首要功能是服务于业务功能,因此,架构设计需要一定的前 阅读全文
posted @ 2021-11-29 14:02 小吉猫 阅读(346) 评论(0) 推荐(0)
摘要: 一 配置Prometheus 1.1 配置prometheus.yml ~# cat prometheus.yml global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 阅读全文
posted @ 2021-11-26 14:18 小吉猫 阅读(208) 评论(0) 推荐(0)
摘要: 一 consul备份内容 Consul 提供了可以使用 CLI 或 API 运行的快照命令。该snapshot命令保存了 Consul 服务器状态的时间点快照,其中包括但不限于: Key-Value entries the service catalog prepared queries sessi 阅读全文
posted @ 2021-11-26 11:45 小吉猫 阅读(838) 评论(0) 推荐(0)
摘要: 一 服务定义 https://www.consul.io/docs/discovery/services#security-configurations 1.1 service 这是定义服务的根级参数。您可以指定参数来配置服务。 范围 描述 默认 必需的 id 指定服务 ID 的字符串值。 如果未指 阅读全文
posted @ 2021-11-25 21:25 小吉猫 阅读(2607) 评论(0) 推荐(1)
摘要: 一 consul监控项 Transaction timing Leadership changes Autopilot Garbage collection 二 consul服务监控 File descriptors CPU usage Network activity Disk activity 阅读全文
posted @ 2021-11-25 20:23 小吉猫 阅读(1461) 评论(0) 推荐(1)
摘要: 一 系统设置 1.1 系统时间同步 ~# apt -y install chrony ~# systemctl start chrony ~# systemctl enable chrony 1.2 服务器规划 主机名 IP 角色 consul-01 192.168.174.103 consul s 阅读全文
posted @ 2021-11-24 21:20 小吉猫 阅读(1922) 评论(0) 推荐(0)
摘要: 一 consul命令格式 root@consul-01:~# consul --help Usage: consul [--version] [--help] <command> [<args>] 可用的命令有: acl 与 Consul 的 ACL 交互 agent 运行一个 Consul 代理 阅读全文
posted @ 2021-11-24 17:59 小吉猫 阅读(249) 评论(0) 推荐(0)
摘要: 一 consul介绍 官方文档:https://www.consul.io/docs/intro Consul 是一种服务网格解决方案,提供具有服务发现、配置和分段功能的全功能控制平面。这些功能中的每一个都可以根据需要单独使用,也可以一起使用以构建完整的服务网格。Consul 需要一个数据平面并支持 阅读全文
posted @ 2021-11-24 17:28 小吉猫 阅读(467) 评论(0) 推荐(0)
摘要: 一 修改zoo.cfg文件 官方文档:http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_configuration root@zk-01:~# echo "4lw.commands.whitelist=*" >> /usr/ 阅读全文
posted @ 2021-11-24 16:18 小吉猫 阅读(394) 评论(0) 推荐(0)
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 66 下一页