上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
  2023年9月1日
摘要: 1、单机版下载地址: https://github.com/VictoriaMetrics/VictoriaMetrics 注:集群版选择cluster版本 2、下载解压得到二进制文件 tar -xf victoria-metrics-linux-amd64-v1.93.1.tar.gz mv vi 阅读全文
posted @ 2023-09-01 15:36 MhaiM 阅读(304) 评论(0) 推荐(0) 编辑
  2023年8月16日
摘要: #K8S升级步骤 1、确定升级的集群版本,查看现有的集群版本 kubectl get nodes 2、执行如下命令确定升级的版本,目标版本是v1.27.4 yum list --showduplicates kubeadm --disableexcludes=kubernetes 3、升级maste 阅读全文
posted @ 2023-08-16 12:57 MhaiM 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 现象: [upgrade/config] Making sure the configuration is correct:[upgrade/config] Reading configuration from the cluster...[upgrade/config] FYI: You can 阅读全文
posted @ 2023-08-16 09:27 MhaiM 阅读(121) 评论(0) 推荐(0) 编辑
  2023年8月15日
摘要: 现象:Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "84f81f2eb977db06dcafa1bd9d6000bc562d0c57b83484d 阅读全文
posted @ 2023-08-15 22:28 MhaiM 阅读(523) 评论(0) 推荐(0) 编辑
  2023年8月10日
摘要: 现象: your configuration file uses an old API spec: "kubeadm.k8s.io/v1beta2". Please use kubeadm v1.22 instead and run 'kubeadm config migrate --old-con 阅读全文
posted @ 2023-08-10 15:56 MhaiM 阅读(705) 评论(0) 推荐(0) 编辑
  2023年8月8日
摘要: 1、复制 client-certificate-data: 如下的内容 2、 执行解密 echo" client-certificate-data的内容" |base64 -d >c.crt 3、查看过期时间 cfssl certinfo -cert c.crt 查看 not_before 和not 阅读全文
posted @ 2023-08-08 09:01 MhaiM 阅读(41) 评论(0) 推荐(0) 编辑
  2023年7月27日
摘要: 背景:centos7+ 支持chrony 时间同步配置,centos8 不支持ntp 时间同步,chrony 配置比ntp 更简单高效 1、chrony server 端配置如下配置需要修改 cat /etc/chrony.conf server time2.aliyun.com minpoll 4 阅读全文
posted @ 2023-07-27 10:02 MhaiM 阅读(214) 评论(0) 推荐(0) 编辑
  2023年7月25日
摘要: 现象:后加入master节点报错 error execution phase control-plane-prepare/download-certs: error downloading certs: the Secret does not include the required certifi 阅读全文
posted @ 2023-07-25 00:05 MhaiM 阅读(447) 评论(0) 推荐(0) 编辑
  2023年7月19日
摘要: 1、现象:访问服务时出现如下报错 2、原因:通过 netstat -an 查看到连接 svc 的地址,其中 estab 状态的连接数,已经到达了可用的随机端口数量阈值,无法在新建连接了 执行命令查看: netstat -tan|grep ESTABLISHED|wc -l sysctl -a|gre 阅读全文
posted @ 2023-07-19 13:14 MhaiM 阅读(296) 评论(0) 推荐(0) 编辑
  2023年7月15日
摘要: 1、先停止docker 服务 systemctl stop docker 2、创建docker挂载数据盘目录 mkdir -p /data/docker/lib 3、 安装迁移工具 yum install rsync -y 4、 迁移数据到新目录 rsync -azP /var/lib/docker 阅读全文
posted @ 2023-07-15 09:50 MhaiM 阅读(275) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页