kubelet 常用命令
kubelet 常用命令
# 根据状态筛选pods kubectl get pods --field-selector status.phase=Failed ...
linux开启tcp_tw_recycle引发的问题总结
linux开启tcp_tw_recycle引发的问题总结
存在场景 服务端 cat /etc/sysctl.conf ... net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_timestamps = 1 ... 客户端 k8s集群pod中请求服务端的http接口 客户端host抓包 tcpdump -i bo ...
Linux 查看SN序列号及服务器型号
Linux 查看SN序列号及服务器型号
查看服务器型号 dmidecode | grep 'Product Name' 查看SN序列号 dmidecode -t system | grep 'Serial Number' 查看SN序列号和型号 dmidecode | grep "System Information" -A9 ...
ansible 超详细讲解[值得收藏]
ansible 超详细讲解[值得收藏]
ansible安装 yum install python39 -y pip3.9 install ansible # 查看版本 ansible --version ansible配置 mkdir /etc/ansible # 此处根据安装的 ansible 版本进行修改 # wget -O ...
检测内存错误(edac)
检测内存错误(edac)
安装工具 yum install -y libsysfs edac-utils 检测命令 # 详细信息 edac-util -v # 只显示错误信息 edac-util -q ...
netem 模拟丢包乱序延迟
netem 模拟丢包乱序延迟
安装工具 # centos yum install iproute-tc -y # debian apt-get install iproute2 使用方法 帮助信息 tc -h tc qdisc help 查看配置 tc qdisc show dev bond0 删除配置 t ...
linux 查询内存条信息
linux 查询内存条信息
内存条数 dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range 内存最大容量 dmidecode|grep -P 'Maximum\s+Capacity' 内存频率 dmidecode|grep -A16 "Me ...
Nginx 使用 logrotate 滚动日志
Nginx 使用 logrotate 滚动日志
安装logrotate 一般系统已经安装了logrotate, 如果没有安装使用一下命令安装 yum install logrotate 入口文件 /etc/cron.daily/logrotate 使用crontab每天执行一次 配置文件 主配置文件/etc/logrotate.co ...
centos 禁止更新内核
centos 禁止更新内核
# 禁止更新内核等 if [ "$(grep -c "exclude=kernel" /etc/yum.conf)" -eq '0' ]; then sed -i '$a exclude=kernel* centos-release* initscripts* gcc-*' /etc/yum ...
Attempting next endpoint for pull after error: manifest unknown: OCI manifest found, but accept header does not support OCI manifests
Attempting next endpoint for pull after error: manifest unknown: OCI manifest found, but accept header does not support OCI manifests
podman 构建镜像是发现报 Attempting next endpoint for pull after error: manifest unknown: OCI manifest found, but accept header does not support OCI manifests。 ...
zhr

张文兵

90后程序员

 湖南 - 长沙



友情链接