07 2024 档案

摘要:gzip /etc/yum.repos.d/* # base curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.huaweicloud.com/repository/conf/CentOS-7-anon.repo cat>/etc/y 阅读全文
posted @ 2024-07-15 16:01 Gshelldon 阅读(435) 评论(0) 推荐(0) 编辑
摘要:背景:k8s集群是使用的calico IPIP模式的网络。 1、通过sar查看异常的网口 # 没秒统计一次,按ctrl + c结束 sar -n DEV 1 上一个步骤能看到是哪个网络接口的流量异常。 然后根据获取到的网口名称。过滤查找到是哪个pod IP在过滤出pod route -n | gre 阅读全文
posted @ 2024-07-12 17:19 Gshelldon 阅读(11) 评论(0) 推荐(0) 编辑
摘要:Ubuntu 24.04 安装配置 1、安装基本优化 1.1 关闭cloud-init进程 cloud init进程在云计算中,开机的时候会去访问一个固定的IP地址,来获取主机的元数据信息,比如初始化的脚本,重置操作系统密码等功能。单独装不需要可以关闭。 echo 'network: {config 阅读全文
posted @ 2024-07-11 14:39 Gshelldon 阅读(1182) 评论(0) 推荐(0) 编辑
摘要:cat k8s-events-elasticsearch.yaml # 采集k8s事件(events)到elasticsearch # https://github.com/AliyunContainerService/kube-eventer apiVersion: apps/v1 kind: D 阅读全文
posted @ 2024-07-05 16:34 Gshelldon 阅读(20) 评论(0) 推荐(0) 编辑
摘要:# redis7.2 安装部署 https://redis.io/download/ https://github.com/redis/redis/tree/7.2 wget https://github.com/redis/redis/archive/7.2.3.tar.gz redis-7.2. 阅读全文
posted @ 2024-07-05 16:29 Gshelldon 阅读(164) 评论(0) 推荐(0) 编辑
摘要:mysqlbinlog 命令行 常见的选项 mysqlbinlog常见的选项有一下几个: a、--start-datetime:从二进制日志中读取指定等于时间戳或者晚于本地计算机的时间。 b、--stop-datetime:从二进制日志中读取指定小于时间戳或者等于本地计算机的时间 取值和上述一样。 阅读全文
posted @ 2024-07-05 16:24 Gshelldon 阅读(270) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示