摘要: 系统:ubuntu21.04 虚拟机:两台(每台 2CPU、2G 内存) 安装 master 安装运行时(runtime) sudo apt install docker.io 编辑 /etc/docker/daemon.json,配置 registry-mirrors 和 live-restore 阅读全文
posted @ 2023-03-09 21:11 xiaoxiongfei 阅读(398) 评论(0) 推荐(0)
摘要: 安装containerd 使用yum安装 yum -y install containerd.io containerd.io包含containerd服务、ctr命令和ctrctl命令 为containerd生成配置 containerd config default > /etc/containe 阅读全文
posted @ 2022-03-31 11:53 xiaoxiongfei 阅读(339) 评论(0) 推荐(0)
摘要: dialer := &net.Dialer{ Control: func(network, address string, c syscall.RawConn) error { return c.Control(func(fd uintptr) { err := syscall.Setsockopt 阅读全文
posted @ 2021-05-07 15:18 xiaoxiongfei 阅读(259) 评论(0) 推荐(0)
摘要: 报错信息: 21/03/29 14:05:08 WARN TaskSetManager: Lost task 53.0 in stage 6.0 (TID 580, test-bdp06, executor 7): org.apache.spark.SparkException: Task fail 阅读全文
posted @ 2021-03-29 19:28 xiaoxiongfei 阅读(570) 评论(0) 推荐(0)
摘要: Redis淘汰策略 1、volatile-lru:从已设置过期时间的数据集(server.db[i].expires)中挑选最近最少使用的数据淘汰 2、volatile-ttl:从已设置过期时间的数据集(server.db[i].expires)中挑选将要过期的数据淘汰 3、volatile-ran 阅读全文
posted @ 2020-12-23 19:09 xiaoxiongfei 阅读(64) 评论(0) 推荐(0)
摘要: 架构图 数据模型 { metric: load.1min, endpoint: open-falcon-host, tags: srv=falcon,idc=aws-sgp,group=az1, value: 1.5, timestamp: `date +%s`, counterType: GAUG 阅读全文
posted @ 2020-12-23 14:20 xiaoxiongfei 阅读(91) 评论(0) 推荐(0)
摘要: 架构图 数据模型 <metric name>{<label name>=<label value>, ...} 指标名称{标签名称=标签值, ...} 示例 api_http_requests_total{method="POST", handler="/messages"} 指标类型 Counte 阅读全文
posted @ 2020-12-23 12:01 xiaoxiongfei 阅读(107) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-14 13:56 xiaoxiongfei 阅读(191) 评论(0) 推荐(0)
摘要: 报错信息中说找不到主模块(main modules). 在开启了GO111MODULE的情况下,不要使用vscode打开项目之外的目录,因为在这些目录下检测不到go.mod就会一直报错。 所以正确的使用方式是: 如果项目已使用了mod或打算使用mod,设置GO111MODULE=on,使用vscod 阅读全文
posted @ 2020-11-19 17:05 xiaoxiongfei 阅读(1116) 评论(0) 推荐(1)
摘要: 1. 安装并启动CentOS 查找centos docker search centos NAME DESCRIPTION STARS OFFICIAL AUTOMATED centos The official build of CentOS. 6169 [OK] 下载官方镜像 docker pu 阅读全文
posted @ 2020-09-03 17:28 xiaoxiongfei 阅读(586) 评论(0) 推荐(0)