会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Title
xieweikun
博客园
首页
新随笔
联系
订阅
管理
2025年12月15日
loggie日志收集配置(kebelet、syslog、kern.log、message、auth.log、pod)
摘要: 1、kebelet日志收集配置 # 先将kubelet的日志传到文件中,这里使用创建service脚本的方式直接收集,日志按日期存储在/var/log/kubelet/下 # /etc/systemd/system/kubelet-log-collector.service [Unit] Descr
阅读全文
posted @ 2025-12-15 13:44 xwk123
阅读(1)
评论(0)
推荐(0)
2025年12月14日
helm部署opensearch,并使用fluent-bit收集容器日志与kubelet服务日志,在opensearch-dashboard进行展示
摘要: 一、部署opensearch # 添加helm仓库 helm repo add opensearch https://opensearch-project.github.io/helm-charts helm repo update helm pull opensearch/opensearch -
阅读全文
posted @ 2025-12-14 22:22 xwk123
阅读(6)
评论(0)
推荐(0)
2025年11月26日
frp内网穿透,通过云服务器公网ip实现内网远程连接
摘要: 1、下载frp部署包,并修改配置 地址:https://github.com/fatedier/frp/releases寻找适合自己的架构,arm的架构也能与amd架构服务器相互连接 将包放到带有公网IP的云服务器上并解压 [root@ubt-server ~]# cd frp_0.65.0_lin
阅读全文
posted @ 2025-11-26 15:49 xwk123
阅读(68)
评论(0)
推荐(0)
2025年11月10日
helm部署step-certificates提供证书给traefik,实现自动申请证书功能
摘要: 1、step-certificates安装 helm repo add smallstep https://smallstep.github.io/helm-charts helm repo update helm repo list smallstep helm pull repo smallst
阅读全文
posted @ 2025-11-10 17:15 xwk123
阅读(9)
评论(0)
推荐(0)
2025年10月22日
nginx快速实现平滑版本升级
摘要: 1、解压并编译新版的nginx # 目前版本为1.18,解压一个1.21版本的nginx包 wget https://nginx.org/download/nginx-1.21.0.tar.gz tar -zxf nginx-1.21.0.tar.gz cd nginx-1.21.0/ [root@
阅读全文
posted @ 2025-10-22 00:29 xwk123
阅读(10)
评论(0)
推荐(0)
2025年10月16日
initContainers实现整个数据目录的挂载
摘要: 在部署mysql、oracle、tomcat测试时,面对配置文件非常多的情况下一个个挂载配置文件会显得非常麻烦,这时就可以通过将服务的整个数据目录给挂载下来,以方便修改配置和数据,但是因为服务需要初始化,直接挂载目录会将原本的数据给 覆盖掉导致容器报错,这时就可以采用initContainers将初
阅读全文
posted @ 2025-10-16 12:17 xwk123
阅读(11)
评论(0)
推荐(0)
2025年10月8日
helm 模板的基础使用
摘要: 1、Helm Chart 目录结构 mychart/ ├── Chart.yaml # 存放该Chart的基本信息 ├── values.yaml # 存放参数值 ├── charts/ # 存放该Chart依赖的其他子Chart ├── templates/ # 存放模板文件 │ ├── depl
阅读全文
posted @ 2025-10-08 14:11 xwk123
阅读(11)
评论(0)
推荐(0)
2025年10月1日
velero 备份及使用方法
摘要: 1、安装velero wget https://github.com/vmware-tanzu/velero/releases/download/v1.17.0/velero-v1.17.0-linux-amd64.tar.gz tar -xzf velero-v1.17.0-linux-amd64
阅读全文
posted @ 2025-10-01 22:16 xwk123
阅读(20)
评论(0)
推荐(0)
2025年9月13日
grafana部署并使用harbor监控模板
摘要: 1、部署grafana 拉取helm chart文件 helm repo add grafana https://grafana.github.io/helm-charts helm repo update helm pull grafana/grafana --version 9.4.4 --un
阅读全文
posted @ 2025-09-13 14:21 xwk123
阅读(26)
评论(0)
推荐(0)
2025年9月9日
Prometheus监控harbor仓库
摘要: 1、将harbor的metrics打开 # values.yaml ··· metrics: enabled: true # 打开 core: path: /metrics port: 8001 registry: path: /metrics port: 8001 jobservice: path
阅读全文
posted @ 2025-09-09 00:36 xwk123
阅读(21)
评论(0)
推荐(0)
下一页
公告