Title
摘要: 1、juicefs简介 在研发环境中如果使用的是hostpath存储类作为存储的话,在遇到节点宕机的时候会导致容器无法读取本地hostpath的数据,这时候"nfs"与"juicefs"等存储类就可以发挥作用了,相对于服务器来说,专门存储数据不跑主要服务的机器除非断电,不然是很少宕机的,这个时候假设 阅读全文
posted @ 2026-01-16 16:46 xwk123 阅读(2) 评论(0) 推荐(0)
摘要: 1、配置nfs-subdir-external-provisioner # 拉取helm chart文件 helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-extern 阅读全文
posted @ 2026-01-03 23:53 xwk123 阅读(20) 评论(0) 推荐(0)
摘要: 1、kebelet日志收集配置 # 先将kubelet的日志传到文件中,这里使用创建service脚本的方式直接收集,日志按日期存储在/var/log/kubelet/下 # /etc/systemd/system/kubelet-log-collector.service [Unit] Descr 阅读全文
posted @ 2025-12-15 13:44 xwk123 阅读(17) 评论(0) 推荐(0)
摘要: 一、部署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 阅读(36) 评论(0) 推荐(0)
摘要: 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 阅读(82) 评论(0) 推荐(0)
摘要: 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 阅读(24) 评论(0) 推荐(0)
摘要: 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 阅读(14) 评论(0) 推荐(0)
摘要: 在部署mysql、oracle、tomcat测试时,面对配置文件非常多的情况下一个个挂载配置文件会显得非常麻烦,这时就可以通过将服务的整个数据目录给挂载下来,以方便修改配置和数据,但是因为服务需要初始化,直接挂载目录会将原本的数据给 覆盖掉导致容器报错,这时就可以采用initContainers将初 阅读全文
posted @ 2025-10-16 12:17 xwk123 阅读(13) 评论(0) 推荐(0)
摘要: 1、Helm Chart 目录结构 mychart/ ├── Chart.yaml # 存放该Chart的基本信息 ├── values.yaml # 存放参数值 ├── charts/ # 存放该Chart依赖的其他子Chart ├── templates/ # 存放模板文件 │ ├── depl 阅读全文
posted @ 2025-10-08 14:11 xwk123 阅读(11) 评论(0) 推荐(0)
摘要: 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 阅读(28) 评论(0) 推荐(0)