上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: 1.添加helm repo helm repo add bitnami https://charts.bitnami.com/bitnami 2.更新helm库 helm repo update 3.查找包 helm search repo kafka 4.下载包 helm pull bitnami 阅读全文
posted @ 2024-12-24 16:15 潇潇暮鱼鱼 阅读(1424) 评论(0) 推荐(0)
摘要: 在github找对应版本的rancher https://github.com/rancher/rancher/releases/ 找到: rancher-images.txt rancher-load-images.sh rancher-save-images.sh三个脚本进行下载 其中ranch 阅读全文
posted @ 2024-12-24 14:46 潇潇暮鱼鱼 阅读(149) 评论(0) 推荐(0)
摘要: 修改syslog配置文件并重启 sudo vi /etc/rsyslog.conf 找到此行:#$ModLoad imklog # reads kernel messages (the same are read from journald) 修改为:$ModLoad imklog # reads 阅读全文
posted @ 2024-12-02 10:05 潇潇暮鱼鱼 阅读(101) 评论(0) 推荐(0)
摘要: 1.windows文件转码成 Unix 格式 # 安装 yum install dos2unix # 将文件从 Windows 格式转换为 Unix 格式: dos2unix file.txt 2.查看cpu个数 nproc 阅读全文
posted @ 2024-11-20 10:23 潇潇暮鱼鱼 阅读(14) 评论(0) 推荐(0)
摘要: 1.按照内存查看pod kubectl top pods -A --sort-by=memory 2.查看io使用率,其中%util为已用IO百分比 iostat -x 1 3. 按磁盘使用量降序排序并显示前 20 项 du -sh * |sort -hr|head -n20 4.查看容器日志对应的 阅读全文
posted @ 2024-11-13 08:52 潇潇暮鱼鱼 阅读(7) 评论(0) 推荐(0)
摘要: Linux命令 iostat -x 1 最后一列%util为磁盘IO使用百分比 阅读全文
posted @ 2024-10-31 08:42 潇潇暮鱼鱼 阅读(53) 评论(0) 推荐(0)
摘要: 问题: 在华为专有云中创建了nginx服务器用于代理k8s集群的ingress。用户反馈当配置后端返回数据时间为21分钟时,在nginx端拿不到返回数据,当后端在10分钟以内返回数据时,则能在ngin端拿到数据。 另外经测试得知在本地服务器上搭建nginx时使用同样的配置文件,前端21分钟正常拿到数 阅读全文
posted @ 2024-10-29 16:36 潇潇暮鱼鱼 阅读(32) 评论(0) 推荐(0)
摘要: 有的集群安装完之后没有metrics组件,无法使用top命令查看node和pod的资源利用率 下载Metrics Server 配置文件 wget https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/c 阅读全文
posted @ 2024-10-15 09:28 潇潇暮鱼鱼 阅读(187) 评论(0) 推荐(0)
摘要: k8s克隆了集群且在老集群尚在运行的情况下,新克隆的服务器开机。导致了集群的ip一直在跳,一会是老ip一会是新ip,且集群在rancher上不可访问,但是在服务器上仍可使用kubectl命令,就是有点延迟。 表现:查看到calico node的pod都down了 处理操作1: 使用calicoctl 阅读全文
posted @ 2024-10-14 14:04 潇潇暮鱼鱼 阅读(35) 评论(0) 推荐(0)
摘要: centos是自带rsyslog服务的 直接打开rsyslog的配置文件: vim /etc/rsyslog.conf 在底端加入内容 module(load="imfile") # 加载imfile模块 input(type="imfile" File="/data/app1.log" Tag=" 阅读全文
posted @ 2024-09-09 09:55 潇潇暮鱼鱼 阅读(242) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 19 下一页