自签名证书--x509: certificate signed by unknown authority
摘要:问题描述: 后端日志报错:x509: certificate signed by unknown authority 登陆pod测试: 原因: 因为自签名证书,不能识别到根证书 解决: 1.临时办法 把根证书复制到pod kubectl cp **.crt /usr/local/share/ca-c
阅读全文
常用命令--top
摘要:一、功能 实时显示系统中各个进程资源占用情况 二、使用 1.常用快捷键 top 按1,显示cpu状态 top按c,显示完整命令 top按P,cpu使用排序 top按M,内存使用排序 top按e:切换数据单位 2.字段说明 top - 01:26:18 up 2 days, 18:53, 2 user
阅读全文
常用命令(磁盘使用)--iostat
摘要:一、功能 cpu使用情况,磁盘使用情况 二、安装 yum install sysstat 三、使用 命令行参数: -c: 显示系统cpu信息 -d: 只显示设备使用情况 -h: 人性化输出 -m:mb/s为单位 -k:Kb/s为单位 -o: 用json格式输出 -t:显示每次统计信息时间,脚本监控适
阅读全文
常用命令(进程资源)--pidstat
摘要:一、功能 监控进程占用系统资源使用情况,如CPU,内存、设备IO、任务切换、线程等 二、安装 yum install sysstat 三、使用 1.查看使用方式说明 man pidstat 2.每隔1s打印一次 pidstat 1 3.统计10次, 每隔2s打印一次 pidstat 2 10 4.c
阅读全文
记录一次华为云服务器,pod dns解析(openstacklocal)问题
摘要:1.解析报错现象 [root@lanxin01 log]# kubectl exec -it permission-service-768874bbf-6wfjr -- nslookup devau.cnooc.com.cn Server: 172.21.0.10 Address: 172.21.0
阅读全文