Ebook123

导航

2021年8月1日 #

Prometheus 监控Docker服务

摘要: 监控Docker服务器 cAdvisor(Container Advisor):用于收集正在运行的容器资源使用和性能信息。项目地址:https://github.com/google/cadvisor Docker部署cAdvisor:前提主机安装了dockerdocker run -d \--vo 阅读全文

posted @ 2021-08-01 00:27 Ebook123 阅读(201) 评论(0) 推荐(0) 编辑

2021年7月31日 #

Grafana 部署

摘要: Grafana是一个开源的度量分析和可视化系统 部署文档:https://grafana.com/grafana/download cd /opt/monitor && wget http://dl.grafana.com/oss/release/grafana-8.0.3.linux-amd64. 阅读全文

posted @ 2021-07-31 19:51 Ebook123 阅读(64) 评论(0) 推荐(0) 编辑

Prometheus 监控Linux服务器和系统服务

摘要: Prometheus 如何监控服务? 如果要想监控,前提是能获取被监控端指标数据,并且这个数据格式必须遵循Prometheus数据模型,这样才能识别和采集,一般使用exporter提供监控指标数据。 exporter列表:https://prometheus.io/docs/instrumentin 阅读全文

posted @ 2021-07-31 19:45 Ebook123 阅读(363) 评论(0) 推荐(0) 编辑

Prometheus 部署

摘要: Prometheus 介绍 Prometheus(普罗米修斯)是一个最初在SoundCloud上构建的监控系统。自2012年成为社区开源项目,拥有非常活跃的开发人员和用户社区。为强调开源及独立维护,Prometheus于2016年加入云原生云计算基金会(CNCF),成为继Kubernetes之后的第 阅读全文

posted @ 2021-07-31 19:25 Ebook123 阅读(344) 评论(0) 推荐(0) 编辑

2021年7月25日 #

K8S 存储卷

摘要: ?Kubernetes中的Volume提供了在容器中挂载外部存储的能力?Pod需要设置卷来源(spec.volume)和挂载点(spec.containers.volumeMounts)两个信息后才可以使用相应的Volume常用的数据卷:?本地(hostPath,emptyDir)?网络(NFS,C 阅读全文

posted @ 2021-07-25 23:46 Ebook123 阅读(221) 评论(0) 推荐(0) 编辑

K8S HPA自动扩容和伸缩Pod

摘要: Kubernetes对Pod的扩缩容操作提供了手动和自动两种模式,手动模式通过执行kubectl scale命令或通过RESTful API对一个Deployment/RC进行Pod副本数量的设置。自动模式则需要用户根据某个性能指标或者自定义业务指标,并指定Pod副本数量的范围,系统将自动在这个范围 阅读全文

posted @ 2021-07-25 12:03 Ebook123 阅读(508) 评论(0) 推荐(0) 编辑

2021年7月18日 #

Centos7 repo源更换为阿里源

摘要: 1、备份源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/ wget -O /etc/yum.repos 阅读全文

posted @ 2021-07-18 23:44 Ebook123 阅读(653) 评论(0) 推荐(0) 编辑

2021年6月6日 #

kubeadmn 监控集群资源利用率

摘要: Metrics Server部署: wget https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml 增加一个kubelet-insecure-tls参数,这个参数作用是告诉 阅读全文

posted @ 2021-06-06 22:43 Ebook123 阅读(48) 评论(0) 推荐(0) 编辑

kubeadmn 部署

摘要: kubeadmn 部署 目前生产部署Kubernetes集群主要有两种方式: kubeadm Kubeadm是一个K8s部署工具,提供kubeadm init和kubeadm join,用于快速部署Kubernetes集群。 二进制包 从github下载发行版的二进制包,手动部署a56爆大奖在线娱乐组件,组成Kub 阅读全文

posted @ 2021-06-06 15:31 Ebook123 阅读(203) 评论(0) 推荐(0) 编辑

2021年6月4日 #

redis 同步工具redis-migrate-tool实时同步数据

摘要: redis cluster集群 、sentinel模式、twemproxy模式都可以使用redis-migrate-tool 工具同步数据 从github 上克隆代码 https://github.com/tanruixing88/redis-migrate-tool 安装相关依赖包: yum in 阅读全文

posted @ 2021-06-04 20:35 Ebook123 阅读(614) 评论(0) 推荐(0) 编辑