上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 101 下一页
摘要: 一、使用virtualenv 1. 使用pip pip install virtualenv 2. 创建运行环境 virtualenv [虚拟环境名称] virtualenv venv #如果不想使用系统的包,加上–no-site-packeages参数 virtualenv --no-site-p 阅读全文
posted @ 2023-03-11 10:56 Oops!# 阅读(1485) 评论(0) 推荐(0)
摘要: 众所周知,k8s.gcr.io 长期被墙,导致 k8s 的基础容器 pause 经常无法获取。k8s docker 可使用代理服拉取,再利用 docker tag 解决问题 1 2 docker pull mirrorgooglecontainers/pause:3.1 docker tag mir 阅读全文
posted @ 2023-03-08 16:38 Oops!# 阅读(587) 评论(0) 推荐(0)
摘要: For Centrally manage application export traffic, A/B testing, etc. Perhaps the smallest nginx forward proxy server docker images. Usage start nginx se 阅读全文
posted @ 2023-03-06 21:52 Oops!# 阅读(513) 评论(0) 推荐(0)
摘要: pip国内的一些镜像 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 h 阅读全文
posted @ 2023-02-24 10:37 Oops!# 阅读(96) 评论(0) 推荐(0)
摘要: 迁移nacos的配置文件,欲把机器A上的nacos配置文件加到机器B上的nacos中 step1:将机器A上的配置文件导出并上传到机器B上 若两台机器联通, 直接通过接口下载 curl --location --request GET 'http://ip_of_A/nacos/v1/cs/conf 阅读全文
posted @ 2022-11-22 10:25 Oops!# 阅读(2035) 评论(0) 推荐(0)
摘要: Nacos 0.8.0版本完善了监控系统,支持通过暴露metrics数据接入第三方监控系统监控Nacos运行状态,目前支持prometheus、elastic search和influxdb,下面结合prometheus和grafana如何监控Nacos,官网 grafana监控页面。与elasti 阅读全文
posted @ 2022-11-21 09:32 Oops!# 阅读(501) 评论(0) 推荐(0)
摘要: kubeadm部署k8s集群,kube-controller-manager和kube-scheduler的监听IP默认为127.0.0.1,如果需要将其改为0.0.0.0用以提供外部访问,可分别修改对应的manifest文件。 kube-controller-manager:/etc/kubern 阅读全文
posted @ 2022-11-17 10:15 Oops!# 阅读(229) 评论(0) 推荐(0)
摘要: Prometheus 监控Mysql服务器及Grafana可视化、 mysql_exporter:用于收集MySQL性能信息。 使用版本 mysqld_exporter 0.11.0 官方地址 使用文档:https://github.com/prometheus/mysqld_exporter 图标 阅读全文
posted @ 2022-11-11 09:55 Oops!# 阅读(274) 评论(0) 推荐(0)
摘要: 前言 根據 Promtheus 上的 Exporters and Integrations 頁面 所載,Prometheus 有釋出給 Elasticsearch 所用的 exporter ,也就是 elasticsearch_exporter 。 本文即是根據 elasticsearch_expo 阅读全文
posted @ 2022-11-11 09:32 Oops!# 阅读(689) 评论(0) 推荐(0)
摘要: 前言 第一种:JMX https://help.aliyun.com/document_detail/141108.html?spm=a2c4g.11186623.6.621.12bb4dea7EyM9F 第二种:kafka_exporter 本文就是采用第二种方式实现,相比JMX,优势在于不需要消 阅读全文
posted @ 2022-11-10 17:51 Oops!# 阅读(1846) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 101 下一页