摘要: 目录基于http_x_forwarded_for访问控制白名单跨域解决方案编译常用nginx.conf模板内核优化参数超时参数 基于http_x_forwarded_for访问控制白名单 参考博客 : https://cloud.tencent.com/developer/article/18471 阅读全文
posted @ 2023-11-16 11:16 zuozhengjun 阅读(4) 评论(0) 推荐(0) 编辑
摘要: kubectl 命令报错couldn't get current server API group list: ... connect: connection refused kubenets在运行时,依赖环境变量。如果所有的服务都是正常的,只是kubectl命令报错,那就是环境变量没有设置导致。一 阅读全文
posted @ 2023-11-03 21:21 zuozhengjun 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: 解决方案 我发现我的 cmd.exe 崩溃了(它会弹出并立即关闭) 我将注册表值Autorun 从更改HKEY_CURRENT_USER\Software\Microsoft\Command Processor为if exists空白(如此链接所示)。 我的 cmd.exe 工作正常,远程 SSH 阅读全文
posted @ 2023-11-03 21:19 zuozhengjun 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 问题描述 版本信息:filebeat-7.7.0-linux-x86_64.tar.gz 启动方式:nohup ./filebeat -c filebeat.yml >/dev/null 2>&1 & 导致问题:运行一段时候后自动关闭。大概就是 很久没有拉取到日志 解决方案 用system管理 ca 阅读全文
posted @ 2021-11-17 23:03 zuozhengjun 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 菜单栏里点击命令面板 输入 remote-ssh: kill vs code server on host… 选择清除出问题的那台host 重新输入密码即可登入 阅读全文
posted @ 2021-11-17 22:57 zuozhengjun 阅读(6547) 评论(0) 推荐(1) 编辑
摘要: 环境准备 2个节点,都是 Centos 7.9 系统,内核版本:3.10.0-1160.el7.x86_64,在每个节点上添加 hosts 信息: cat /etc/hosts 10.0.0.20 Dmaster 10.0.0.21 Dnode1 软件版本 docker-ce-19.03.11 ku 阅读全文
posted @ 2021-11-17 16:50 zuozhengjun 阅读(95) 评论(0) 推荐(0) 编辑