会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaoxiongfei
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
下一页
2023年3月9日
在 ubuntu21.04 上使用 kubeadm 安装单机 kubenetes 笔记
摘要: 系统: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)
2022年3月31日
在centos7.9上使用kubeadm+containerd+flannel搭建kuberntes1.23.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)
2021年5月7日
Go语言HTTP客户端设置IP_TOS
摘要: 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)
2021年3月29日
Failed to rename HdfsNamedFileStatus
摘要: 报错信息: 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)
2020年12月23日
Redis
摘要: 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)
Open-falcon
摘要: 架构图 数据模型 { 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)
Prometheus
摘要: 架构图 数据模型 <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)
2020年12月14日
OAuth2.0授权码授权过程
摘要:
阅读全文
posted @ 2020-12-14 13:56 xiaoxiongfei
阅读(191)
评论(0)
推荐(0)
2020年11月19日
VS Code报错:The code in the workspace failed to compile
摘要: 报错信息中说找不到主模块(main modules). 在开启了GO111MODULE的情况下,不要使用vscode打开项目之外的目录,因为在这些目录下检测不到go.mod就会一直报错。 所以正确的使用方式是: 如果项目已使用了mod或打算使用mod,设置GO111MODULE=on,使用vscod
阅读全文
posted @ 2020-11-19 17:05 xiaoxiongfei
阅读(1116)
评论(0)
推荐(1)
2020年9月3日
Mac上使用docker安装centos,使用ssh登录centos容器,使用vscode通过ssh查看远程代码
摘要: 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)
1
2
3
4
5
下一页
公告